Maybe you forgot to put it in an h:form ? It should work, I've done some similar things. That's the only thing I can think of for now. I know sometimes when I'm testing I forgot something obvious like that and none of the commands work.
-----Original Message----- From: Baljeet Nijjhar [mailto:[email protected]] Sent: vendredi 24 avril 2009 16:41 To: [email protected] Subject: Can I use h:commandButton on a Tomahawk t:aliasBean aliased bean Hi I have declared an aliasBean using the following syntax: In top-level jsp: <t:aliasBean alias="#{aliasBean}" value="#{realBean}"> <%@ include file="fragment.jspf" %> </t:aliasBean> In included jsp: <h:commandButton action="#{aliasBean.doSomething}" type="submit" value="buttonA" title="buttonA"/> However, although I can use h:outputText fine on my aliasBean, firing a command does not seem to work. Is this expected behaviour, or am I missing something? Many thanks, Baljeet. -- View this message in context: http://www.nabble.com/Can-I-use-h%3AcommandButton-on-a-Tomahawk-t%3Aalia sBean-aliased-bean-tp23217782p23217782.html Sent from the MyFaces - Users mailing list archive at Nabble.com.

