Actually the only way in JSF 1.2 to do this really is to write a tag
handler to generate a method binding somone pointed out the links which
explain it. So no further explanation here.
But there is hope,JSF 2.0 allows to do that from Facelets itself via its
composite interface definitions,
Hallo,
I use JSF 1.2 with Facelets and Tomahawk.
Now I would like to make a facelets custom component for a navigation
/ toolkit bar (button panel) that looks the same in every page. This
component should exist of a number of t:commandButtons that can be
defined by calling this custom component.
Hi, Georg,
yes, there are some (quite ugly) solutions:
http://www.ibm.com/developerworks/java/library/j-facelets2.html
Component with the same problem/solution:
http://code.google.com/p/trinidadcomponents
Cheers,
Walter Mourão
http://waltermourao.com.br
http://arcadian.com.br
Hi Walter,
thanks for the fast answer.
I tried it like that and it worked at once:
I defined a custom control in a file 'schalterpanel.xhtml'
span xmlns=http://www.w3.org/1999/xhtml;
xmlns:ui=http://java.sun.com/jsf/facelets;
xmlns:f=http://java.sun.com/jsf/core;
4 matches
Mail list logo