• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to call a static java method directly in JSF?  RSS feed

 
satya anvesh
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is the code snippet I am working on.
I need to process the username as string which can display the processed username. I cannot edit the vehicleDetails bean.

<hutputText value="Leading bidder : <% Util.mymethod(#{vehicleDetails.username}) %> "/>

Please help me, thanks.
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
anvesh, please check your private messages.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!