Re: AW: is it possible to call a method and pass an arguement from jsf?

2006-04-05 Thread Andrew Robinson
Take a look at facelets and functions. The only question that I would have is if you can pass the current component to facelets. Not sure if you can... Facelet functions are static public functions on Java classes that are registered using taglib.xml files. You use them like: #{fn:yourFunction(ar

Re: AW: is it possible to call a method and pass an arguement from jsf?

2006-04-05 Thread David Schlotfeldt
But the link won't be correct what I want. If #{bean.method} returns "test.xhtml" the anchor will be The url needs to be exactly what I have below. It's for a sites navigation so for search engine optimization (SEO) reasons I can't be having it do any "funny" things. It must be href="c/b/a

AW: is it possible to call a method and pass an arguement from jsf?

2006-04-04 Thread Schaal, Roland
Have a look at to pass an attribute to a method. For Example: -Ursprüngliche Nachricht- Von: David Schlotfeldt [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 5. April 2006 04:56 An: users@myfaces.apache.org Betreff: is it possible to call a method and pass an arguement from jsf? I ha