PickList always applies style class PickList.SOURCE_CONTROLS

UI Components for JSF
Post Reply
lxs
Posts: 9
Joined: 19 Oct 2011, 12:03

07 Nov 2011, 18:05

PickListRenderer#encodeListControls, line 129:
writer.writeAttribute("class", PickList.SOURCE_CONTROLS, null);

It should use the "styleClass" parameter which has been passed in. The result is style class "ui-picklist-source-controls" being incorrectly applied to target controls.

This is causing PickList#setupButtons in picklist.js line 100 to not match a jQuery expression, leading to iconOnly not being applied and nonfunctional buttons.

I'll open an issue.
PrimeFaces 3.0.M4
Mojarra 2.1.3 (FCS b02)
GlassFish 3.1.1
Firefox 9001

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 45 guests