Hi,
i got a question concerning a possible patch for
https://issues.apache.org/jira/browse/TRINIDAD-1397.

The issue is, that the SelectManyShuttleRenderer uses
rc.setSkinResourceKeyMap(getResourceKeyMap()); to render the
 SelectManyShuttle styleClasses.
But at the end of encodeElementContent() the skinResourceKeyMap gets
not cleared.

Therefore a panelBox containing a selectManyShuttle gets corrupted styleClasses.

I could provided a possible patch for this issue, but honestly i don`t
know how to do this.
So could anyone advice me?

thx
elmar

Patch Information:

file 
org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.SelectManyShuttleRenderer

Line 293:

    change:
    rc.setSkinResourceKeyMap(getResourceKeyMap());

    to:
   Map<String, String> originalSkinResourceMap = rc.getSkinResourceKeyMap();
    rc.setSkinResourceKeyMap(getResourceKeyMap());

Line 326:

   change:
   _clearContext(rc);

  to:
  rc.setSkinResourceKeyMap(originalSkinResourceMap);
  _clearContext(rc);

Reply via email to