This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I am developing a custom component using JSF 1.2 . My tag class extends UIComponentELTag and has variables of data type ValueExpression.
The values for these are getting set from the corresponding attributes of the tag. (Using setProperties function)
I am stuck when I try to get the bodyContent of the tag as a binding value.
This is how far I have proceeded:
This is the code in doAfterBody()
If the body of the tag does not contain binding value, this code works fine. I want to check if the body has binding value and then set the value from the bean.
In JSF 1.1, I checked this using isValueReference(body). How do I achieve this in JSF 1.2?
I could not find any examples of getting the body content as binding value anywhere. Please help me out.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: 1.2 Custom Component - Body Content From Backing Bean