struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 34711] New: - [Shale] Strange behaviour when Clay and JSF tags are mixed on the same page.
Date Mon, 02 May 2005 15:41:24 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34711>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34711

           Summary: [Shale] Strange behaviour when Clay and JSF tags are
                    mixed on the same page.
           Product: Struts
           Version: Nightly Build
          Platform: PC
        OS/Version: Windows 2000
            Status: NEW
          Severity: major
          Priority: P2
         Component: Shale
        AssignedTo: dev@struts.apache.org
        ReportedBy: manklu@web.de


Each component in the tree needs an unique ID. To support this UIViewRoot has a
function to create unique IDs (createUniqueId), which is also used by Clay.

When a page is reshown, the components uses the ID to determine whether a
component already exists, or one should be created. It is very important that
createUniqueId creates every time the same sequence of IDs.

And this is the point where the problem lies.

Clay doesn't reprocess the tree, doesn't call createUniqueId, and the sequence
of IDs is damaged.

The easy solution is as follows:

After the Clay-Tag has finished, store the next output of createUniqueId
and when the page is reshown, call createUniqueId an appropriate number of times.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message