File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EL

 
Popescu Ion
Ranch Hand
Posts: 33
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,
I have a bean method process(String value) and I want to call this method in my JSF with other method. Something like this :

#{myBean.process( #{cell.getId()} )}

How cand I do that inside the JSF page ?
Any help ?
Thnx
 
Tim Holloway
Saloon Keeper
Pie
Posts: 17646
39
Android Eclipse IDE Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The first - and most important question is: Should you?

When you place logic in the View, you're violating the contract of the MVC design paradigm. The only logic that should normally appear on a JSF View is display-control logic, and even then I recommend that you keep the actual logic to a minimum - debugging and maintaining that stuff is a real pain.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic