aspose file tools
The moose likes JSF and the fly likes Accessing JSF Bean for custom JSP Tag Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "Accessing JSF Bean for custom JSP Tag" Watch "Accessing JSF Bean for custom JSP Tag" New topic
Author

Accessing JSF Bean for custom JSP Tag

Kalichar Rangantittu
Ranch Hand

Joined: Jan 15, 2002
Posts: 240
I have a <h atatable> tag that loops over a list of values. To render a particular column, I have a custom jsp tag. I am trying to pass the value of the current iterated element to the jsp tag but am unable to do so.



The "#{item.getId()}" is not being evaluated. I have set <retrexpr>true</retrexpr> in the tag defintion. Thanks....


Never be satisfied with anything less than the best and you will surely pass the test...
Garann Means
Ranch Hand

Joined: Jan 28, 2002
Posts: 214
I've had this problem because of the getters in my component. If the getter just returns the local variable from the component, you could add some code to check for a value binding. And of course you need to set up the value binding in the tag handler, as well.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Accessing JSF Bean for custom JSP Tag
 
Similar Threads
h:selectOneMenu problem
Dynamic value for verbatim tag
problem h:selectOneRadio
Extending Standard Components
Help with MyFaces dataTable in portlet