Dear Community
I'm using JSF 2.0 with Glassfisch 3.1.
When I use <f:attribute/> in the following way in a JSF page that uses a Composite Component Library (CCL)
<less:formItem type="date" label="Datum" required="true">
<f:attribute name="styleClass" value="#{lf:test()}"/>
</less:formItem>
the specified attribute "styleClass" is not in the attribute map of the CCL.
lf:test() is a static method that returns "blue". For test reasons I moved <f:attribute name="styleClass" value="#{lf:test()}"/> into the CCL and it worked perfect.
If I pass the attribute as string then it will be in the cc.attrs.
If only this way works the question is, if there is any possibility to call the EL-Resolver dynamically in the CCL with the string to be resolved?
For your support many thanks in advance ... Raffaele
[Message sent by forum member 'rmerico']
http://forums.java.net/jive/thread.jspa?messageID=485853