[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.
--------------------------------
Resolution: Done
> 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, 6 months
[JBoss JIRA] (RF-13582) Revert the core package re-factoring
by Michal Petrov (JIRA)
[ https://issues.jboss.org/browse/RF-13582?page=com.atlassian.jira.plugin.s... ]
Michal Petrov resolved RF-13582.
--------------------------------
Resolution: Done
> Revert the core package re-factoring
> ------------------------------------
>
> Key: RF-13582
> URL: https://issues.jboss.org/browse/RF-13582
> Project: RichFaces
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Affects Versions: 4.5.0.Alpha3
> Reporter: Brian Leathem
> Assignee: Michal Petrov
> Fix For: 4.5.0.Alpha3
>
> Original Estimate: 3 hours
> Remaining Estimate: 3 hours
>
> To improve compatibility with RichFaces 4.3, the package re-factorings introduced should be reverted. These include (but are not limited to):
> * .servlet (PushServlet, ResourceServlet)
> * .push.cdi (@PUsh)
> * .push. (TopicContext)
> * FileUploadException
> A good test for this would be to compile and run the RichFaces 4.3 showcase and metamer samples against RichFaces 4.5 looking for failures.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 6 months
[JBoss JIRA] (RF-13602) Problem with ajax request in Internet Explorer 11
by Walter Maidub (JIRA)
[ https://issues.jboss.org/browse/RF-13602?page=com.atlassian.jira.plugin.s... ]
Walter Maidub commented on RF-13602:
------------------------------------
Used versions:
Mojarra 2.1.7 in jboss-as-7.1.1.Final
jsf-api-2.0.4-b09
jsf-impl-2.0.4-b09
Richfaces
richfaces-components-api-4.3.6.Final
richfaces-components-ui-4.3.6.Final
richfaces-core-api-4.3.6.Final
richfaces-core-impl-4.3.6.Final
IE 11 (11.0.9600.17105, update version 11.0.7 KB2964358)
Windows 8.1
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)
Regards!!!!!!!!!
> Problem with ajax request in Internet Explorer 11
> -------------------------------------------------
>
> Key: RF-13602
> URL: https://issues.jboss.org/browse/RF-13602
> Project: RichFaces
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: base functionality
> Affects Versions: 4.0.0.Final
> Environment: Windows 2008, JBoss AS 7.x
> Reporter: Walter Maidub
> Assignee: Juraj Húska
> Labels: ie11, waiting_on_user
> Attachments: Dear Juraj Húska.docx, ie11-1.png, ie11-2.png, ie11-3.png
>
>
> I have a form with a FileUploader component (disabled) and a rich: select and this one is populated with 3 options, when one of them is selected in the managed bean a boolean variable is set to "true" and the FileUploader panel is updated to enable it.
> {code}
> <rich:select id="tipoArchivo" value="#{Bean.tipoArchivo}"
> required="true" listWidth="320px" styleClass="rf-select-large-width">
> <f:selectItems value="#{Bean.Catalogo}" />
> <a4j:ajax event="selectitem"
> execute="@this"
> render="upload,seccionCarga"
> listener="#{Bean.activarPanelCarga}" />
> </rich:select>
>
> <h:panelGrid columns="1">
> <h:panelGroup id="seccionCarga">
> <rich:panel bodyClass="info" titleStyleClass="rf-p-hdr" >
>
> <f:facet name="header">
> <h:outputText value="Detalle del archivo Cargado" />
> </f:facet>
>
> <h:panelGrid columns="2" columnClasses="columnOnCenter,columnOnCenter">
> <h:panelGroup style="text-align:center;display:block;width:550px;height:35px">
> <div align="center">
> <rich:fileUpload id="upload"
> styleClass="top"
> .
> .
> .
> {code}
>
> The problem is that the FileUploader remains disabled, it is as if the panel had not been updated.
>
> Generally <a4j:ajax event="selectitem"> requests fail, this only in IE 11.0.4 (KB2925418)
>
> Currently there is a filter to ensure compatibility with IE 8.
>
> When the page is loaded in developer tools (F12) the IE8 compatibility option is set correctly.
>
> The configuration of the environment is:
> Richfaces 4.0.0.
> IE11
> JSF2
> Eclipse Kepler
>
> Is there any way to correct the problems with these ajax requests?
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 6 months