myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "MR (JIRA)" <>
Subject [jira] Updated: (TOMAHAWK-86) HtmlDataScrollerRenderer getLink methods creating duplicate HtmlCommandLinks
Date Wed, 01 Mar 2006 15:54:55 GMT
     [ ]

MR updated TOMAHAWK-86:

> HtmlDataScrollerRenderer getLink methods creating duplicate HtmlCommandLinks
> ----------------------------------------------------------------------------
>          Key: TOMAHAWK-86
>          URL:
>      Project: MyFaces Tomahawk
>         Type: Bug
>  Environment: Windows 2000, IE
>     Reporter: Ryan Wynn
>     Assignee: Thomas Spiegl

> The getLink methods in HtmlDataScrollerRenderer are called every time the HtmlDataScroller
is rendered.  The methods return a transient HtmlCommandLink.  It looks like the transient
property is not being honored because I am getting duplicate id exceptions for these links.
> In order to patch it I extended HtmlDataScrollerRenderer and checked for the existence
of the links.  This seemed to work for me.  But I still think it should have been ok as it
was because the links are being set to transient.
> In my extension of HtmlDataScrollerRenderer I added the following:
> HtmlCommandLink link = (HtmlCommandLink) scroller.findComponent(scroller.getId() + facetName);
> if (link == null) { // create link and link's children and add link to scroller ....
> return link;
> The Faces view is being stored in the session.  Not sure how transient property disallows
Components to be stored in the session along with the view tree.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message