How to pass args to bean method and use what a bean method returns?
0 posts in topic
Flat View  Flat View

Posted By:   Amin_Arbabi
Posted On:   Thursday, May 28, 2009 03:27 AM

Hi I'm new to JSF and have 2 question. the first one is if I can have methods that take arguements in my bean and pass those to the method in my JSP page and if I can how can I do that? the second one is I read that the return type of bean methods must be String. What if I want to do something that returns a list or an array and I want to show that list in my page? can't I call that method like what can be done in JSP? The only way I could find was puting the data in a array in the class and then call the getter in JSP which is pretty stupid.

About | Sitemap | Contact