File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes Value of " title="" /> Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Value of "idx" is not printing  in the tag    <f:attribute  name="fieldRef"   value="#{idx}"/>" Watch "Value of "idx" is not printing  in the tag    <f:attribute  name="fieldRef"   value="#{idx}"/>" New topic
Author

Value of "idx" is not printing in the tag <f:attribute name="fieldRef" value="#{idx}"/>

Adi Wanik
Greenhorn

Joined: Feb 15, 2011
Posts: 7
Hi all,
i am using <a4j:repeat> loop inside which i have defined rowKeyVar="idx"; which should iterate and give me values like 0,1,2 with respective error messages, but it is not...the <a4j:repeat> is as follows:
<a4j:repeat value="#{DIALOG.DATA.dayModel.breaks}" var="key" first="1" rowKeyVar="idx" >..and i am using idx in <f:atribute > like as follows:
<f:attribute name="fieldRef" value="#{idx}"/>..but here the value for idx is not printing...its printing nothing(blank)...please help guys..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Value of "idx" is not printing in the tag <f:attribute name="fieldRef" value="#{idx}"/>
 
Similar Threads
Setting dynamic value in <f:attribute
Can we define a counter variable in jsf?
want to show error message when illegal characters are entered in input fields
a4j:repeat and generated Id problem
need help on jsf error message