This content has been marked as final.
Show 2 replies
-
-
2. Re: Help with custom tag attribute
szilardk Jan 14, 2016 6:36 AM (in response to fkj)jsf 2.1.7 + facelets 1.1.5
<f:attribute name="maxlength" value="#{Integer.valueOf(maxlength)}" />
this did not work for me.
<f:attribute name="maxlength" value="#{bean.toInt(maxlength)}" />
public int toInt(String str){ return Integer.valueOf( str); } this did work.