Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within JSF
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
paul wheaton
Liutauras Vilda
Ron McLeod
Sheriffs:
Jeanne Boyarsky
Devaka Cooray
Paul Clapham
Saloon Keepers:
Scott Selikoff
Tim Holloway
Piet Souris
Mikalai Zaikin
Frits Walraven
Bartenders:
Stephan van Hulst
Carey Brown
Forum:
JSF
Variables used as map keys
Daniel Prene
Ranch Hand
Posts: 241
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Is it possible to have a variable represent a map key in a
jsf
tag?
Effectively I'm trying to do this:
<t:columns value="#{userBacker.users}" var="user"> <f:facet name="header"> <h :-o utputText value="#{projectBacker.assigneeParticipation[#{user.id}]}"/> </f:facet> </t:columns>
Any help would be endlessly appreciated, thank you
- D.P.
[ March 13, 2006: Message edited by: Daniel Prene ]
[ March 13, 2006: Message edited by: Daniel Prene ]
Sergey Smirnov
Ranch Hand
Posts: 167
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
you do have not repear #{} inside EL. So, at least, it should be:
"#{projectBacker.assigneeParticipation[user.id]}"
--
Sergey :
http://jsfTutorials.net
Sunglasses. AKA Coolness prosthetic. This tiny ad doesn't need shades:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Changing a component's properties from a bean
Property can't be found that's definitely there!
MyFaces Tomahawk t:columns tag - basic example needed
Best way to handle login varification
Need the value of an String in an EL-expression
More...