Hi,

Thanks for sharing your experience.
It is become more and more evident that this weird behaviour of
ui:repeat is being caused by some JVM-quircks.

Since I don't like to force my clients to use a certain application
server or JVM, using ui:repeat is a '-1' for me in the next couple of
projects. The t:dataList with type="simple" provided me the needed
portable alternative, so again: Using MyFaces (tomahawk) makes me (and
my clients) happy.

Regards,
  Marco




-----Original Message-----
From: Maciek M [mailto:[EMAIL PROTECTED] 
Sent: dinsdag 10 april 2007 10:27
To: users@myfaces.apache.org
Subject: Re: [OT?] ui:repeat stops after first entry


Hi,

I had similar problem. During development everything was ok, but after
deploy to pre-production ui:repeat did not work properly. I found that
the
problem occur in jvm server mode. When I switched preproduction Tomcat
jvm
to client mode it started working ok. 
It's quite interesting becouse there should be no difference between jvm
server/client mode, except performance.

--
Regards
MM


Beelen, Marco wrote:
> 
> Hello all,
> 
> This post might be a bit of topic on this list, but I decided to post
> anyhow, since I'm quite confused about a problem I'm having at the
> moment. Maybe somebody can enlighten me with some great insight.
> Otherwise: Sorry for bothering you.
> 
> 
> The problem I'm having occurs when I'm using ui:repeat (Facelets) to
> iterate over a List.
> The entries of the list contain object which have another List nested
> within them and I again use a ui:repeat to iterate over the entries in
> the nested list, to create <h:inputText /> for all nested items.
> 
> I use this constuction on several tabs,which each have a seperate
action
> button.
> Using the updateActionListener I determine on which tab the user was
> when submitting the form and will save only those entries on that
> specific tab.
> 
> The user submits each form and goes to the next tab. All goes well
until
> they submit the form on the final tab.
> From that moment on just the very first entry of the first nested list
> gets rendered and more strangely: It happens only on my test and
> production-server (Linux) and not on my development machine (WinXP).
> I downgraded my local java version to 1.5.0_11 to match the version of
> the server and made sure both machines use the same version of Tomcat
> (5.5.20), but still I could not reproduce the problem locally.
> Using some logging and debugging I determined that the managed-bean
does
> contain more than just that signle entry.
> 
> Initially I had java 1.6.0 on my local machine, so I tried running the
> application on the test-server with Java 1.6.0 and the problem did not
> occur anymore, so that appair to be the obvious solution, but it
doesn't
> stop me for wondering what might be the cause of this problem. (
> Especially since an upgrade to Java 6 on the server requires some
> additional testing of other applications as well, which doesn't quite
> fit neetly within the planned schedule. )
> 
> 
> Any suggestions how I could further proceed with the investigationof
> this problem are highly appreciated.
> 
> 
> With kind regards,
>     Marco Beelen.
> 
> 
> 
>
------------------------------------------------------------------------
------
> Notice:  This e-mail message, together with any attachments, contains
> information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station,
> New Jersey, USA 08889), and/or its affiliates (which may be known
> outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD
> and in Japan, as Banyu - direct contact information for affiliates is 
> available at http://www.merck.com/contact/contacts.html) that may be 
> confidential, proprietary copyrighted and/or legally privileged. It is

> intended solely for the use of the individual or entity named on this 
> message. If you are not the intended recipient, and have received this

> message in error, please notify us immediately by reply e-mail and
then 
> delete it from your system.
> 
>
------------------------------------------------------------------------
------
> 

-- 
View this message in context:
http://www.nabble.com/-OT---ui%3Arepeat-stops-after-first-entry-tf348030
0.html#a9915738
Sent from the MyFaces - Users mailing list archive at Nabble.com.




------------------------------------------------------------------------------
Notice:  This e-mail message, together with any attachments, contains
information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station,
New Jersey, USA 08889), and/or its affiliates (which may be known
outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD
and in Japan, as Banyu - direct contact information for affiliates is 
available at http://www.merck.com/contact/contacts.html) that may be 
confidential, proprietary copyrighted and/or legally privileged. It is 
intended solely for the use of the individual or entity named on this 
message. If you are not the intended recipient, and have received this 
message in error, please notify us immediately by reply e-mail and then 
delete it from your system.

------------------------------------------------------------------------------

Reply via email to