Re: t:dataTable using problem

2006-08-10 Thread vasiliy.kiryanov

Are you asking how to convert this jsp code into JSF components? 
two days ago i was seeking for best aproach. Now I see that I was need to
convert my code JSF component.
I have done it using DataTable. 

thank you.
-- 
View this message in context: 
http://www.nabble.com/t%3AdataTable-using-problem-tf2073378.html#a5739289
Sent from the MyFaces - Users forum at Nabble.com.



Re: t:dataTable using problem

2006-08-09 Thread Mike Kienenberger

Are you asking how to convert this jsp code into JSF components?


On 8/8/06, vasiliy.kiryanov [EMAIL PROTECTED] wrote:


Good afternoon.

I have next code to format my table using JSTL:
c:forEach items=${ReportingBackBean.customers} 
var=customer
c:if test=${customer.value.systemName 
eq
ReportingBackBean.companies_selectMenu.value}
c:set value=true 
var=valueExist/
  tr
td 
class=celltce${customer.key}/td
td 
class=celltce${customer.value.customerName}/td
td class=celltce
c:forEach 
items=${customer.value.componentsNumber}
var=component
${component.key}: 
${component.value}br/
/c:forEach
/td
td 
class=celltce${customer.value.contractType}/td
td 
class=celltce${customer.value.licensesNumber}/td
  /tr
  /c:if
/c:forEach

but I can't recieve data for dataTable using JSF EL.
I don't understand how to recieve value of (MapString, CustomerEntity
customers) using something like value attribute in JSTL.

thank you.



--
View this message in context: 
http://www.nabble.com/t%3AdataTable-using-problem-tf2073378.html#a5708783
Sent from the MyFaces - Users forum at Nabble.com.




t:dataTable using problem

2006-08-08 Thread vasiliy.kiryanov

Good afternoon.

I have next code to format my table using JSTL:
c:forEach 
items=${ReportingBackBean.customers} var=customer
c:if test=${customer.value.systemName 
eq
ReportingBackBean.companies_selectMenu.value}
c:set value=true 
var=valueExist/
  tr
td 
class=celltce${customer.key}/td
td 
class=celltce${customer.value.customerName}/td
td class=celltce
c:forEach 
items=${customer.value.componentsNumber}
var=component
${component.key}: 
${component.value}br/
/c:forEach
/td
td 
class=celltce${customer.value.contractType}/td
td 
class=celltce${customer.value.licensesNumber}/td
  /tr
  /c:if
/c:forEach

but I can't recieve data for dataTable using JSF EL.
I don't understand how to recieve value of (MapString, CustomerEntity
customers) using something like value attribute in JSTL.

thank you.



-- 
View this message in context: 
http://www.nabble.com/t%3AdataTable-using-problem-tf2073378.html#a5708783
Sent from the MyFaces - Users forum at Nabble.com.