• Post Reply Bookmark Topic Watch Topic
  • New Topic

a href to call a backing bean impl?  RSS feed

 
Kalichar Rangantittu
Ranch Hand
Posts: 240
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a tag where I write out the response from a segment of code.

writer.write(foo.getView()) where the getView() method returns "<a href="some url"/>" I would like to have the <a href> on click invoke a backing bean method. In other words, I would like the foo.getView() method to return back a <html:commandLink> equivalent using <a href>

Thanks.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!