Some things to try:

1) Replace ui:repeat with t:dataList.   There have been issues with
ui:repeat in the past which did not happen with t:dataList.

2) Replace t:updateActionListener with f:setPropertyActionListener
(property attribute renamed target) if you're using facelets 1.1.11
and beyond.  f:setPropertyActionListener handles some situations that
some t:updateActionListener implementations do not when used with
facelets (particularly ui:includes).

For what it's worth, I've seen a number of "weird" bugs posted, caused
when people have tried upgrading from 1.5 to 1.6.   I avoid 1.6 at
this time.

On 3/28/07, Beelen, Marco <[EMAIL PROTECTED]> 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.

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

Reply via email to