posted 15 years ago
Is it possible to give the value of a given taglib as the attribute to a another concrete taglib?
Ex:
<portlet:button type="primary" name='<resources:text key="buttonText"/>'/>
Whereas "<resources:text key="buttonText"/>" will return a text, found in a resourcefile defined by the key "buttonText".
At the time of writing I have not been succesful at getting this or any alternative to work..
The only working solution I have is to skip the "name" parameter and instead define the name of the button in the body, such as this:
<portlet:button type="primary"><resources:text key="buttonText"/><portlet:button/>
However, this approach is not really what I necessarily want.
[ April 30, 2008: Message edited by: Morten Frostie ]
[ April 30, 2008: Message edited by: Morten Frostie ]