[JBoss JIRA] (RF-13623) Merge components/pom with components/parent/pom in 4.5.x
by Pavol Pitonak (JIRA)
Pavol Pitonak created RF-13623:
----------------------------------
Summary: Merge components/pom with components/parent/pom in 4.5.x
Key: RF-13623
URL: https://issues.jboss.org/browse/RF-13623
Project: RichFaces
Issue Type: Enhancement
Security Level: Public (Everyone can see)
Components: build/distribution
Affects Versions: 4.5.0.Alpha2
Reporter: Pavol Pitonak
components/pom.xml doesn't contain any useful information so it should be merged with components/parent/pom.xml.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 7 months
[JBoss JIRA] (RF-12347) popupPanel shrinks while moving on zoomed page
by Valli Valli (JIRA)
[ https://issues.jboss.org/browse/RF-12347?page=com.atlassian.jira.plugin.s... ]
Valli Valli commented on RF-12347:
----------------------------------
@ David: I face the same problem and fixed it as you suggested. But, the style that I added in the external style sheet does not show up in Firefox. it works well in Chrome. I've tried various Firefox hacks. Still, no luck.
> popupPanel shrinks while moving on zoomed page
> ----------------------------------------------
>
> Key: RF-12347
> URL: https://issues.jboss.org/browse/RF-12347
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-panels-layout-themes
> Affects Versions: 4.2.2.Final
> Reporter: Dun Pierrafeu
> Fix For: 5-Future
>
>
> On a zoomed page, the autosized popupPanel gets shrinked while moved
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 7 months
[JBoss JIRA] (RF-13616) PopupPanel autosize with togglePanel doesn't resize
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13616?page=com.atlassian.jira.plugin.s... ]
Brian Leathem commented on RF-13616:
------------------------------------
@QE: Please verify that resizing/moving continues to work as expected in the attribute matrix:
* autosized = true | false
* moveable = true | false
* resizeable = true | false
* minWidth, maxWidth, width = set | unset
> PopupPanel autosize with togglePanel doesn't resize
> ---------------------------------------------------
>
> Key: RF-13616
> URL: https://issues.jboss.org/browse/RF-13616
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component
> Affects Versions: 4.2.3.Final, 4.3.6
> Reporter: abhishek vijra
> Assignee: Brian Leathem
> Labels: gss, needs-qe
> Fix For: 4.3.7
>
> Attachments: popupPanel-maven.zip, popupPanel.zip
>
> Original Estimate: 4 hours
> Remaining Estimate: 4 hours
>
> PopupPanel doesn't autosize correctly after move. Moving a PopupPanel with 'autosized' attribute enabled causes the width properties of its inner container div, content div, srcoller div, and shadow div to be hard-set such that a subsequent content change doesn't trigger the auto-resize of the PopupPanel any longer. The PopupPanel height is apparently unaffected.
> Attached is a testcase to demonstrate the problem, see the attached zip file containing a minimal JSF application which reproduces the undesired behavior.
> {code}
> <ui:define name="body"
> onload="#{rich:component('popup')}.hide(); return false;">
> <h:outputStylesheet>
> .rf-tgp-itm {
> border: 1px solid #{richSkin.panelBorderColor};
> padding: 5px;
> }
>
> .tabDiv {
> margin: 0 5px 5px 0;
> border: 1px solid #{richSkin.panelBorderColor};
> background-color: #{richSkin.headerBackgroundColor};
> cursor: pointer;
> padding: 0 5px;
> float: left;
> }
> </h:outputStylesheet>
> <h:form>
> <h:commandButton value="Open the popup">
> <rich:componentControl target="popup" operation="show" />
> </h:commandButton>
> </h:form>
> <rich:popupPanel id="popup" modal="false" autosized="true"
> resizeable="false">
> <f:facet name="header">
> <h:outputText value="Demo PopupPanel" />
> </f:facet>
> <f:facet name="controls">
> <h:outputLink value="#"
> onclick="#{rich:component('popup')}.hide(); return false;">X</h:outputLink>
> </f:facet>
> <h:form>
> <rich:togglePanel id="panel1" activeItem="item1" render="tabs"
> itemChangeListener="#{panelMenuBean.processItemChange}">
> <rich:togglePanelItem name="item1">
> <h3>Panel Item 1</h3>
> <p>Steps to reproduce:</p>
> <p>1. Without moving the PopupPanel directly switch to Panel
> Item 2.</p>
> <p>3. Now move the PopupPanel around and then switch back to
> Panel Item 2.</p>
> </rich:togglePanelItem>
> <rich:togglePanelItem name="item2" style="width:777px">
> <h3>Panel Item 2</h3>
> <p>2. The PopupPanel is autosized, correctly adjusting to the
> size difference between its previous and its current content. Now
> switch back to Panel Item 1.</p>
> <p>4. As you notice, the PopupPanel isn't properly autosized
> anymore after first moving it but is now stuck to the smaller
> width of Panel Item 1, its previous content.</p>
> </rich:togglePanelItem>
> </rich:togglePanel>
> <a4j:outputPanel id="tabs" layout="block">
> <a4j:outputPanel layout="block" styleClass="tabDiv">
> <rich:toggleControl event="click" targetPanel="panel1"
> targetItem="item1" />
> <h:outputText value="Toggle Panel Item 1"
> style="#{rich:findComponent('panel1').activeItem == 'item1' ? 'font-weight:bold' : 'font-weight:normal'}" />
> </a4j:outputPanel>
> <a4j:outputPanel layout="block" styleClass="tabDiv">
> <rich:toggleControl event="click" targetPanel="panel1"
> targetItem="item2" />
> <h:outputText value="Toggle Panel Item 2"
> style="#{rich:findComponent('panel1').activeItem == 'item2' ? 'font-weight:bold' : 'font-weight:normal'}" />
> </a4j:outputPanel>
> </a4j:outputPanel>
> </h:form>
> </rich:popupPanel>
> <h:outputScript name="js/patch-popup-panel.js" />
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 7 months
[JBoss JIRA] (RF-13616) PopupPanel autosize with togglePanel doesn't resize
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13616?page=com.atlassian.jira.plugin.s... ]
Brian Leathem updated RF-13616:
-------------------------------
Labels: gss needs-qe (was: gss)
> PopupPanel autosize with togglePanel doesn't resize
> ---------------------------------------------------
>
> Key: RF-13616
> URL: https://issues.jboss.org/browse/RF-13616
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component
> Affects Versions: 4.2.3.Final, 4.3.6
> Reporter: abhishek vijra
> Assignee: Brian Leathem
> Labels: gss, needs-qe
> Fix For: 4.3.7
>
> Attachments: popupPanel-maven.zip, popupPanel.zip
>
> Original Estimate: 4 hours
> Remaining Estimate: 4 hours
>
> PopupPanel doesn't autosize correctly after move. Moving a PopupPanel with 'autosized' attribute enabled causes the width properties of its inner container div, content div, srcoller div, and shadow div to be hard-set such that a subsequent content change doesn't trigger the auto-resize of the PopupPanel any longer. The PopupPanel height is apparently unaffected.
> Attached is a testcase to demonstrate the problem, see the attached zip file containing a minimal JSF application which reproduces the undesired behavior.
> {code}
> <ui:define name="body"
> onload="#{rich:component('popup')}.hide(); return false;">
> <h:outputStylesheet>
> .rf-tgp-itm {
> border: 1px solid #{richSkin.panelBorderColor};
> padding: 5px;
> }
>
> .tabDiv {
> margin: 0 5px 5px 0;
> border: 1px solid #{richSkin.panelBorderColor};
> background-color: #{richSkin.headerBackgroundColor};
> cursor: pointer;
> padding: 0 5px;
> float: left;
> }
> </h:outputStylesheet>
> <h:form>
> <h:commandButton value="Open the popup">
> <rich:componentControl target="popup" operation="show" />
> </h:commandButton>
> </h:form>
> <rich:popupPanel id="popup" modal="false" autosized="true"
> resizeable="false">
> <f:facet name="header">
> <h:outputText value="Demo PopupPanel" />
> </f:facet>
> <f:facet name="controls">
> <h:outputLink value="#"
> onclick="#{rich:component('popup')}.hide(); return false;">X</h:outputLink>
> </f:facet>
> <h:form>
> <rich:togglePanel id="panel1" activeItem="item1" render="tabs"
> itemChangeListener="#{panelMenuBean.processItemChange}">
> <rich:togglePanelItem name="item1">
> <h3>Panel Item 1</h3>
> <p>Steps to reproduce:</p>
> <p>1. Without moving the PopupPanel directly switch to Panel
> Item 2.</p>
> <p>3. Now move the PopupPanel around and then switch back to
> Panel Item 2.</p>
> </rich:togglePanelItem>
> <rich:togglePanelItem name="item2" style="width:777px">
> <h3>Panel Item 2</h3>
> <p>2. The PopupPanel is autosized, correctly adjusting to the
> size difference between its previous and its current content. Now
> switch back to Panel Item 1.</p>
> <p>4. As you notice, the PopupPanel isn't properly autosized
> anymore after first moving it but is now stuck to the smaller
> width of Panel Item 1, its previous content.</p>
> </rich:togglePanelItem>
> </rich:togglePanel>
> <a4j:outputPanel id="tabs" layout="block">
> <a4j:outputPanel layout="block" styleClass="tabDiv">
> <rich:toggleControl event="click" targetPanel="panel1"
> targetItem="item1" />
> <h:outputText value="Toggle Panel Item 1"
> style="#{rich:findComponent('panel1').activeItem == 'item1' ? 'font-weight:bold' : 'font-weight:normal'}" />
> </a4j:outputPanel>
> <a4j:outputPanel layout="block" styleClass="tabDiv">
> <rich:toggleControl event="click" targetPanel="panel1"
> targetItem="item2" />
> <h:outputText value="Toggle Panel Item 2"
> style="#{rich:findComponent('panel1').activeItem == 'item2' ? 'font-weight:bold' : 'font-weight:normal'}" />
> </a4j:outputPanel>
> </a4j:outputPanel>
> </h:form>
> </rich:popupPanel>
> <h:outputScript name="js/patch-popup-panel.js" />
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 7 months
[JBoss JIRA] (RF-13616) PopupPanel autosize with togglePanel doesn't resize
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13616?page=com.atlassian.jira.plugin.s... ]
Brian Leathem updated RF-13616:
-------------------------------
Sprint: (was: 4.3.7 Sprint 2)
> PopupPanel autosize with togglePanel doesn't resize
> ---------------------------------------------------
>
> Key: RF-13616
> URL: https://issues.jboss.org/browse/RF-13616
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component
> Affects Versions: 4.2.3.Final, 4.3.6
> Reporter: abhishek vijra
> Assignee: Brian Leathem
> Labels: gss
> Fix For: 4.3.7
>
> Attachments: popupPanel-maven.zip, popupPanel.zip
>
> Original Estimate: 4 hours
> Remaining Estimate: 4 hours
>
> PopupPanel doesn't autosize correctly after move. Moving a PopupPanel with 'autosized' attribute enabled causes the width properties of its inner container div, content div, srcoller div, and shadow div to be hard-set such that a subsequent content change doesn't trigger the auto-resize of the PopupPanel any longer. The PopupPanel height is apparently unaffected.
> Attached is a testcase to demonstrate the problem, see the attached zip file containing a minimal JSF application which reproduces the undesired behavior.
> {code}
> <ui:define name="body"
> onload="#{rich:component('popup')}.hide(); return false;">
> <h:outputStylesheet>
> .rf-tgp-itm {
> border: 1px solid #{richSkin.panelBorderColor};
> padding: 5px;
> }
>
> .tabDiv {
> margin: 0 5px 5px 0;
> border: 1px solid #{richSkin.panelBorderColor};
> background-color: #{richSkin.headerBackgroundColor};
> cursor: pointer;
> padding: 0 5px;
> float: left;
> }
> </h:outputStylesheet>
> <h:form>
> <h:commandButton value="Open the popup">
> <rich:componentControl target="popup" operation="show" />
> </h:commandButton>
> </h:form>
> <rich:popupPanel id="popup" modal="false" autosized="true"
> resizeable="false">
> <f:facet name="header">
> <h:outputText value="Demo PopupPanel" />
> </f:facet>
> <f:facet name="controls">
> <h:outputLink value="#"
> onclick="#{rich:component('popup')}.hide(); return false;">X</h:outputLink>
> </f:facet>
> <h:form>
> <rich:togglePanel id="panel1" activeItem="item1" render="tabs"
> itemChangeListener="#{panelMenuBean.processItemChange}">
> <rich:togglePanelItem name="item1">
> <h3>Panel Item 1</h3>
> <p>Steps to reproduce:</p>
> <p>1. Without moving the PopupPanel directly switch to Panel
> Item 2.</p>
> <p>3. Now move the PopupPanel around and then switch back to
> Panel Item 2.</p>
> </rich:togglePanelItem>
> <rich:togglePanelItem name="item2" style="width:777px">
> <h3>Panel Item 2</h3>
> <p>2. The PopupPanel is autosized, correctly adjusting to the
> size difference between its previous and its current content. Now
> switch back to Panel Item 1.</p>
> <p>4. As you notice, the PopupPanel isn't properly autosized
> anymore after first moving it but is now stuck to the smaller
> width of Panel Item 1, its previous content.</p>
> </rich:togglePanelItem>
> </rich:togglePanel>
> <a4j:outputPanel id="tabs" layout="block">
> <a4j:outputPanel layout="block" styleClass="tabDiv">
> <rich:toggleControl event="click" targetPanel="panel1"
> targetItem="item1" />
> <h:outputText value="Toggle Panel Item 1"
> style="#{rich:findComponent('panel1').activeItem == 'item1' ? 'font-weight:bold' : 'font-weight:normal'}" />
> </a4j:outputPanel>
> <a4j:outputPanel layout="block" styleClass="tabDiv">
> <rich:toggleControl event="click" targetPanel="panel1"
> targetItem="item2" />
> <h:outputText value="Toggle Panel Item 2"
> style="#{rich:findComponent('panel1').activeItem == 'item2' ? 'font-weight:bold' : 'font-weight:normal'}" />
> </a4j:outputPanel>
> </a4j:outputPanel>
> </h:form>
> </rich:popupPanel>
> <h:outputScript name="js/patch-popup-panel.js" />
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 7 months
[JBoss JIRA] (RF-13598) Richfaces 4.3.5.Final ajax calls broke with JSF2.1.28
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13598?page=com.atlassian.jira.plugin.s... ]
Brian Leathem updated RF-13598:
-------------------------------
Sprint: (was: 4.3.7 Sprint 2)
> Richfaces 4.3.5.Final ajax calls broke with JSF2.1.28
> ------------------------------------------------------
>
> Key: RF-13598
> URL: https://issues.jboss.org/browse/RF-13598
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: compatibility
> Affects Versions: 4.2.3.Final, 4.3.5
> Environment: Tomcat 7.0.50, Richfaces 4.3.5.Final, JSF 2.1.28, client side: IE8+
> Reporter: Wang Liyu
> Assignee: Brian Leathem
> Priority: Critical
> Original Estimate: 4 hours
> Remaining Estimate: 4 hours
>
> I recently tried to update the JSF to 2.1.28 with using Richfaces 4.2.3.Final or Richfaces 4.3.5.Final, and I had issue with AJAX calls. not sure if this is Richfaces issue or JSF issue.
> My setup is JSF2.1.28, Richfaces 4.2.3.Final (or 4.3.5.Final), WELD 2.1.2.Final, Tomcat 7.0.50, on the client is IE browser.
> The ajax call will stuck, I looked into the JSF.js, seems it added new method from 2.1.28,
> {code}
> var getEncodedUrlElement = function getEncodedUrlElement(form) {
> var encodedUrlElement = form['javax.faces.encodedURL'];
>
>
> if (encodedUrlElement) {
> return encodedUrlElement;
> } else {
> var formElements = form.elements;
> for (var i = 0, length = formElements.length; i < length; i++) {
> var formElement = formElements[i];
> if (formElement.name.indexOf('javax.faces.encodedURL') >= 0) {
> return formElement;
> }
> }
> }
>
>
> return undefined;
> };
> {code}
> In IE, form['javax.faces.encodedURL'] is undefined, and the " if (formElement.name.indexOf('javax.faces.encodedURL') >= 0) {" will throw exception before it return. this cause the Browser miss behavior,
>
> Just wondering is there anybody has the same issue or is Richface 4.x support this version of JSF?
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 7 months
[JBoss JIRA] (RF-13616) PopupPanel autosize with togglePanel doesn't resize
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13616?page=com.atlassian.jira.plugin.s... ]
Brian Leathem resolved RF-13616.
--------------------------------
Assignee: Brian Leathem
Resolution: Done
Skipped the width calculation in the doResizeOrMove function when options.autosized is true
> PopupPanel autosize with togglePanel doesn't resize
> ---------------------------------------------------
>
> Key: RF-13616
> URL: https://issues.jboss.org/browse/RF-13616
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component
> Affects Versions: 4.2.3.Final, 4.3.6
> Reporter: abhishek vijra
> Assignee: Brian Leathem
> Labels: gss
> Fix For: 4.3.7
>
> Attachments: popupPanel-maven.zip, popupPanel.zip
>
> Original Estimate: 4 hours
> Remaining Estimate: 4 hours
>
> PopupPanel doesn't autosize correctly after move. Moving a PopupPanel with 'autosized' attribute enabled causes the width properties of its inner container div, content div, srcoller div, and shadow div to be hard-set such that a subsequent content change doesn't trigger the auto-resize of the PopupPanel any longer. The PopupPanel height is apparently unaffected.
> Attached is a testcase to demonstrate the problem, see the attached zip file containing a minimal JSF application which reproduces the undesired behavior.
> {code}
> <ui:define name="body"
> onload="#{rich:component('popup')}.hide(); return false;">
> <h:outputStylesheet>
> .rf-tgp-itm {
> border: 1px solid #{richSkin.panelBorderColor};
> padding: 5px;
> }
>
> .tabDiv {
> margin: 0 5px 5px 0;
> border: 1px solid #{richSkin.panelBorderColor};
> background-color: #{richSkin.headerBackgroundColor};
> cursor: pointer;
> padding: 0 5px;
> float: left;
> }
> </h:outputStylesheet>
> <h:form>
> <h:commandButton value="Open the popup">
> <rich:componentControl target="popup" operation="show" />
> </h:commandButton>
> </h:form>
> <rich:popupPanel id="popup" modal="false" autosized="true"
> resizeable="false">
> <f:facet name="header">
> <h:outputText value="Demo PopupPanel" />
> </f:facet>
> <f:facet name="controls">
> <h:outputLink value="#"
> onclick="#{rich:component('popup')}.hide(); return false;">X</h:outputLink>
> </f:facet>
> <h:form>
> <rich:togglePanel id="panel1" activeItem="item1" render="tabs"
> itemChangeListener="#{panelMenuBean.processItemChange}">
> <rich:togglePanelItem name="item1">
> <h3>Panel Item 1</h3>
> <p>Steps to reproduce:</p>
> <p>1. Without moving the PopupPanel directly switch to Panel
> Item 2.</p>
> <p>3. Now move the PopupPanel around and then switch back to
> Panel Item 2.</p>
> </rich:togglePanelItem>
> <rich:togglePanelItem name="item2" style="width:777px">
> <h3>Panel Item 2</h3>
> <p>2. The PopupPanel is autosized, correctly adjusting to the
> size difference between its previous and its current content. Now
> switch back to Panel Item 1.</p>
> <p>4. As you notice, the PopupPanel isn't properly autosized
> anymore after first moving it but is now stuck to the smaller
> width of Panel Item 1, its previous content.</p>
> </rich:togglePanelItem>
> </rich:togglePanel>
> <a4j:outputPanel id="tabs" layout="block">
> <a4j:outputPanel layout="block" styleClass="tabDiv">
> <rich:toggleControl event="click" targetPanel="panel1"
> targetItem="item1" />
> <h:outputText value="Toggle Panel Item 1"
> style="#{rich:findComponent('panel1').activeItem == 'item1' ? 'font-weight:bold' : 'font-weight:normal'}" />
> </a4j:outputPanel>
> <a4j:outputPanel layout="block" styleClass="tabDiv">
> <rich:toggleControl event="click" targetPanel="panel1"
> targetItem="item2" />
> <h:outputText value="Toggle Panel Item 2"
> style="#{rich:findComponent('panel1').activeItem == 'item2' ? 'font-weight:bold' : 'font-weight:normal'}" />
> </a4j:outputPanel>
> </a4j:outputPanel>
> </h:form>
> </rich:popupPanel>
> <h:outputScript name="js/patch-popup-panel.js" />
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 7 months
[JBoss JIRA] (RF-13616) PopupPanel autosize with togglePanel doesn't resize
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13616?page=com.atlassian.jira.plugin.s... ]
Brian Leathem updated RF-13616:
-------------------------------
Attachment: popupPanel-maven.zip
I de-compiled the class file in the uploaded war and created the maven project:
{{popupPanel-maven.zip}}
> PopupPanel autosize with togglePanel doesn't resize
> ---------------------------------------------------
>
> Key: RF-13616
> URL: https://issues.jboss.org/browse/RF-13616
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component
> Affects Versions: 4.2.3.Final, 4.3.6
> Reporter: abhishek vijra
> Labels: gss
> Fix For: 4.3.7
>
> Attachments: popupPanel-maven.zip, popupPanel.zip
>
> Original Estimate: 4 hours
> Remaining Estimate: 4 hours
>
> PopupPanel doesn't autosize correctly after move. Moving a PopupPanel with 'autosized' attribute enabled causes the width properties of its inner container div, content div, srcoller div, and shadow div to be hard-set such that a subsequent content change doesn't trigger the auto-resize of the PopupPanel any longer. The PopupPanel height is apparently unaffected.
> Attached is a testcase to demonstrate the problem, see the attached zip file containing a minimal JSF application which reproduces the undesired behavior.
> {code}
> <ui:define name="body"
> onload="#{rich:component('popup')}.hide(); return false;">
> <h:outputStylesheet>
> .rf-tgp-itm {
> border: 1px solid #{richSkin.panelBorderColor};
> padding: 5px;
> }
>
> .tabDiv {
> margin: 0 5px 5px 0;
> border: 1px solid #{richSkin.panelBorderColor};
> background-color: #{richSkin.headerBackgroundColor};
> cursor: pointer;
> padding: 0 5px;
> float: left;
> }
> </h:outputStylesheet>
> <h:form>
> <h:commandButton value="Open the popup">
> <rich:componentControl target="popup" operation="show" />
> </h:commandButton>
> </h:form>
> <rich:popupPanel id="popup" modal="false" autosized="true"
> resizeable="false">
> <f:facet name="header">
> <h:outputText value="Demo PopupPanel" />
> </f:facet>
> <f:facet name="controls">
> <h:outputLink value="#"
> onclick="#{rich:component('popup')}.hide(); return false;">X</h:outputLink>
> </f:facet>
> <h:form>
> <rich:togglePanel id="panel1" activeItem="item1" render="tabs"
> itemChangeListener="#{panelMenuBean.processItemChange}">
> <rich:togglePanelItem name="item1">
> <h3>Panel Item 1</h3>
> <p>Steps to reproduce:</p>
> <p>1. Without moving the PopupPanel directly switch to Panel
> Item 2.</p>
> <p>3. Now move the PopupPanel around and then switch back to
> Panel Item 2.</p>
> </rich:togglePanelItem>
> <rich:togglePanelItem name="item2" style="width:777px">
> <h3>Panel Item 2</h3>
> <p>2. The PopupPanel is autosized, correctly adjusting to the
> size difference between its previous and its current content. Now
> switch back to Panel Item 1.</p>
> <p>4. As you notice, the PopupPanel isn't properly autosized
> anymore after first moving it but is now stuck to the smaller
> width of Panel Item 1, its previous content.</p>
> </rich:togglePanelItem>
> </rich:togglePanel>
> <a4j:outputPanel id="tabs" layout="block">
> <a4j:outputPanel layout="block" styleClass="tabDiv">
> <rich:toggleControl event="click" targetPanel="panel1"
> targetItem="item1" />
> <h:outputText value="Toggle Panel Item 1"
> style="#{rich:findComponent('panel1').activeItem == 'item1' ? 'font-weight:bold' : 'font-weight:normal'}" />
> </a4j:outputPanel>
> <a4j:outputPanel layout="block" styleClass="tabDiv">
> <rich:toggleControl event="click" targetPanel="panel1"
> targetItem="item2" />
> <h:outputText value="Toggle Panel Item 2"
> style="#{rich:findComponent('panel1').activeItem == 'item2' ? 'font-weight:bold' : 'font-weight:normal'}" />
> </a4j:outputPanel>
> </a4j:outputPanel>
> </h:form>
> </rich:popupPanel>
> <h:outputScript name="js/patch-popup-panel.js" />
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 7 months