Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

tag inside other tag  RSS feed

 
Eugene Babiev
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i need to generate the form's name dynamically (from the property file)

and i can't do that in another way

So, is there ANY way to generate the form's name dynamically?

Thanks!
[ June 14, 2006: Message edited by: Eugene Mr ]
 
Sergey Smirnov
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you cannot. for jsf 1.1, the id of any jsf component does not accept any kind of expression.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66142
141
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not just that, you can never use a custom action as the attribute value of another custom action.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66142
141
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Eugene Mr", you have previously been warned on one or more occasions regarding adjusting your display name to meet JavaRanch standards. This is not optional. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it prior to your next post.

Be aware that accounts with invalid display names are removed.

bear
JavaRanch Sheriff
 
Eugene Babiev
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Bear Bibeault:
"Eugene Mr", you have previously been warned on one or more occasions


Sorry, i've updated my profile.
 
Eugene Babiev
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Sergey Smirnov:
you cannot. for jsf 1.1, the id of any jsf component does not accept any kind of expression.


OK, but can i extend the form tag and add some more params which would permit that dynamic action. So is there the standard way to extend the existing tags, like h:form tag?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!