Probably you could also use this:
| ...
| f:view beforePhase=#{pageLoadCallback.beforePhase}
| ...
where
...
| public class PageLoadCallback {
|
| public void beforePhase(PhaseEvent event) {
| ...
|
hope it helps
View the original post :
Thanks Pete,
Could that become a new feature request? I believe it can be useful when
rendering UI components.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4116364#4116364
Reply to the post :
Yes, it is something we have discussed (and consider useful), but it is
currently hard to implement (I think we would need an extension point added to
facelets OR to use gravel style inline to the page declarations of stuff like
page actions). So, do open a JIRA issue.
View the original post
There is currently no support for this, but you can fake it by doing something
h:outputText rendered=#{foo.action} /
public boolean action() {
|// Do work
|return false;
| }
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4116104#4116104
Reply to