Yes! There is a cool add-in that I use for exactly this purpose. Check out http://sourceforge.net/projects/jsfcomp/
It's a sweet little phase listener that you can easily and seamlessly add to handle this very thing. Since you can pass url's like /myurl.html?cid=12 it gives convenient bookmarking support to jsf also. Mark -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 17, 2007 2:11 PM To: [email protected] Subject: [appfuse-user] Call default JSF managed bean method Hi Appfuse is using the struts-menu for its menu system and I like it so I would prefer not to change it. Not my problem is that you define the links for the menu in the menu-config.xml file. That means NO JSF stuff there :| I have a link to a JSF page where the backing bean has a method that I want to call. Normally you would just use a commandLink og outputlink with the action attr set but this is not possible ín this case because it's a struts-menu page. How can you call a default method in a backing bean with a normal link ? In appfuse the password page is using some javascript to call the method when you call on the link but that looks like a hack to me . Is there any alternative way ? The best would be to have a menu-config that accepted JSF tags Cheers Tommy -- View this message in context: http://www.nabble.com/Call-default-JSF-managed-bean-method-tf3029248s2369..ht ml#a8416874 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
