[richfaces-issues] [JBoss JIRA] Created: (RF-1321) Tab Panel encodes wrong tab name

Denis Morozov (JIRA) jira-events at lists.jboss.org
Fri Nov 9 07:23:44 EST 2007


Tab Panel encodes wrong tab name
--------------------------------

                 Key: RF-1321
                 URL: http://jira.jboss.com/jira/browse/RF-1321
             Project: RichFaces
          Issue Type: Bug
    Affects Versions: 3.2.0
            Reporter: Denis Morozov


I have page with tabPanel.
 
In Html, input is rendered 
<input id="mainForm:tabPanel_input" type="hidden" name="mainForm:tabPanel" value="mainForm:tab0"/>

When I scroll scrollableDataTable, an event is fired (org.richfaces.renderkit.TabPanelRendererBase:104)

new SwitchablePanelSwitchEvent(panel, newValue, null).queue();
taking input value as newValue.

Then, in queeuEvent method, 
UITab tab = processedTab(switchEvent.getEventSource(),switchEvent.getValue()); 
returns null because UITab.getName() returns component id (tab0), but not clientId(mainForm:tab0)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list