| Author |
jstl value into jsf tags
|
Nishita Jain
Ranch Hand
Joined: Mar 30, 2006
Posts: 97
|
|
hi, how we can retrive value of jstl tag into jsf tags. i mean if i write <c:foreach var="a" items="${backingBean.all}"> i can get that value like <c ut value="${test.testName}"/> how can i get that value using something like this, <h utputText id="testname" value="#{test.testName}"/> Thnaks, Nishita [ April 04, 2006: Message edited by: Nishita Jain ]
|
Nishita
|
 |
Christophe Verré
Sheriff
Joined: Nov 24, 2005
Posts: 14669
|
|
You can with the Unified Expression Language. Everything described here : http://java.sun.com/products/jsp/reference/techart/unifiedEL.html
|
[My Blog]
All roads lead to JavaRanch
|
 |
Nishita Jain
Ranch Hand
Joined: Mar 30, 2006
Posts: 97
|
|
hi, i read that link and i think it was hard to understand for me. but what i understood was i have to change some tag lib and that they have written that it only works in Glassfish. is that Glassfish server? pl let me know am i correct? i m using Tomcat server. any other link or any other solution [ April 07, 2006: Message edited by: Nishita Jain ]
|
 |
Sergey Smirnov
Ranch Hand
Joined: May 29, 2003
Posts: 167
|
|
Take a look at my "Test-Driving the JSF 1.2 RI Implementation on Tomcat" article if you are interesting about running it on Tomcat. Unified EL requires JSP2.1 container. Only Glassfish server has it now. That is the reason it cannot work on the current Tomcat as is.
|
 |
 |
|
|
subject: jstl value into jsf tags
|
|
|