Yea thats it...

generated popup-ids with h:datatable
'_id70:HANSJ:0:_id107'
'_id70:HANSJ:1:_id107'

generated popup-ids with t:datatable / t:datalist
'_id70:HANSJ:_id107'
'_id70:HANSJ:_id107'

-> all the same...

What can I do to fix this? I already published it in JIRA but I need a quick solution... Has anybody an idea??



Yee CN wrote:

I just fixed a problem with the same manifestation. In my case I was having
two dataTables with the same id. The second dataTable is wrong in the same
way that you described. Hope this help!

Regards
Yee

-----Original Message-----
From: Hansjörg Meuschel [mailto:[EMAIL PROTECTED] Sent: Thursday, 10 November 2005 5:07 PM
To: [email protected]
Subject: datalist component - problem when iterating components with facet
inside!?

Hi,
I've a problem with the datalist component:

The Code:
<t:dataList value="#{projectBenefitBean.data11}" var="benefit">
  <x:popup ...>
    <h:outputText value=#{benefit.description}"/>
     <f:facet name="popup">
            <h:outputText value="#{benefit.description}" />
      </f:facet>
  </x:popup>
</t:dataList>

The Problem:
All variables used inside the facet seem to stay on the first value of the iterated list.
The means for the above shown example:
- the first benefit.description shows all the items correctly
- the second description (inside the facet) shows the first item only.
- using the h:datatable - h:column component instead works fine.

What's wrong here, does anybody know? I've already done some experiments with EL foreach - without success.
Does anybody have a workarround for that issue?

Thank you...
Hans




--
Mit freundlichen Grüßen,

------------------------------
Hansjörg Meuschel
Martin-Treu-Str. 40
90403 Nürnberg
Tel.   +49 (0)911 274 278 1
mobil: +49 (1)60 725 3479
mail:  [EMAIL PROTECTED]
http://www.meuschel.net

Reply via email to