• Post Reply Bookmark Topic Watch Topic
  • New Topic

Setting ID attribute in backing bean

 
Michael Lechner
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to be able to set the id attribute in a backing bean and have that id visible in the generated HTML. Below is a simple example and the undesired output.

JSP Page


Backing Bean


HTML Output


Now the logfile shows the form name was changed to Myform but the generated HTML does not. Any thoughts?

PS: I know I can set the id attribute in the tag however I need to set the id in the backing bean for a more complex example but I am using the form tag for simplicity.
 
Michael Lechner
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since I did not get any replies here I posted this in another forum.

Here is a solution if anyone cares.

Setting ID attribute in backing bean
[ November 26, 2008: Message edited by: Michael Lechner ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!