• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to pass a value inside rich:element?

 
Raghu Sha
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
using richface 4.



showing syntax error.
How to pass the value #{id.No} inside rich:element
 
Tim Holloway
Bartender
Posts: 18408
58
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You cannot nest "#" expressions in EL. You also are probably not going to be able to use a property named "No" because property names must not begin with an upper-case letter per JavaBean conventions. It conflicts with how the set/get method names are formulated and in practical terms means that the mechanism won't work reliably.

Renaming "No" to "number", try this:




If my memory is correct, that will concatenate the value of "id.number" to the literal value "detailsTable. Since detailsTable is not (presumably) the name of an object.
 
Raghu Sha
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks..

It is not working..
Concatenate the value with Table id.

Please suggest.

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!