This content has been marked as final.
Show 3 replies
-
1. Re: Number as commandLink -Parent not an instance of ValueHo
nbelaevski Mar 9, 2009 8:14 AM (in response to nimo22)Hello,
Converter can be attached to ValueHolder only. Command link is not an instance of ValueHolder. Add h:outputText inside. -
2. Re: Number as commandLink -Parent not an instance of ValueHo
nimo22 Mar 9, 2009 10:04 AM (in response to nimo22)hello,
thank you. I have solved that via a4j:support:<h:outputLabel value="#100"> <f:convertNumber/> <a4j:support event="onclick" action="#{...}" > </a4j:support> </h:outputLabel>
Is that better as using commandLink with nested outputLabel?:<a4j:commandLink action="#..." > <h:outputText value="1000"> <f:convertNumber/> </h:outputText> </a4j:commandLink>
-
3. Re: Number as commandLink -Parent not an instance of ValueHo
nimo22 Mar 9, 2009 10:14 AM (in response to nimo22)The a4j:support-solution makes less markup than a4j:commandLink.
So I guess, I prefer the first one.