[JBoss JIRA] (RF-12765) Rich:tabPanel not possible to switch tabs when only dynamic tabs are present
by Tali Han (JIRA)
[ https://issues.jboss.org/browse/RF-12765?page=com.atlassian.jira.plugin.s... ]
Tali Han commented on RF-12765:
-------------------------------
Notice : if you click first time going from 'blueSky' to let's say 'deepMarine' -first round, it will work
What will not work : 'blueSky', 'deepMarine', again 'blueSky' and any other tab: let say 'classic' . It will not switch
> Rich:tabPanel not possible to switch tabs when only dynamic tabs are present
> ----------------------------------------------------------------------------
>
> Key: RF-12765
> URL: https://issues.jboss.org/browse/RF-12765
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-output
> Affects Versions: 4.3.0.M3, 4.3.0.CR2
> Environment: Linux, windows any browser Chrom, Mozilla
> Reporter: Tali Han
> Assignee: Lukáš Fryč
> Fix For: 4.3.1
>
> Original Estimate: 2 hours
> Remaining Estimate: 2 hours
>
> Rih:Tab panel functionality is broken.
> If you have dynamically generated tabs, you'll be able to switch from first to last, and then to first, but you'll not be able to switch to any other tab again.
> Remove from example that comes with richfaces distribution first static tab for dynamic tabs and you'll be able to reproduce this behaviour.
> richfaces/tabPanel/samples/dynamic-sample.xhtml
> {code}
> <rich:tabPanel activeItem="#{dynamicPanelBean.activeTab}">
> <ui:remove>
> <rich:tab header="Static">
> <p>This tab is static one.</p>
>
> <p>All of the following tabs are dynamically generated using <b>a4j:repeat</b>.</p>
> </rich:tab>
> </ui:remove>
> <a4j:repeat value="#{skinBean.skins}" var="skinName">
>
> <rich:tab header="#{skinName}" name="#{skinName}">
> <f:facet name="header">#{skinName}</f:facet>
> <i> All the controls below are just standard JSF components skinned with RichFaces: </i>
> <hr />
> <h:form>
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 8 months
[JBoss JIRA] (RF-12765) Rich:tabPanel not possible to switch tabs when only dynamic tabs are present
by Tali Han (JIRA)
[ https://issues.jboss.org/browse/RF-12765?page=com.atlassian.jira.plugin.s... ]
Tali Han commented on RF-12765:
-------------------------------
Hi Lucas,
1)I commented out static tab with <ui:remove>. I compiled it with maven and deployed richfaces-showcase-tomcat6.war that was generated in richfaces4.3.0Final/example/target directory to TOMCAT. I looked into WEB-INF directory, it uses javax.faces-2.1.17.jar.
2) Do you mean <rich:tab header="Static" rendered="false">? I did that. It didn't help. Still the same problem.
3)Which tomcat are you using and which war?
I am using apache-tomcat-6.0.33 and richfaces-4.3.0.Final/examples/richfaces-showcase/target/richfaces-showcase-tomcat6.war.
OS-Linux, browsers firefox, chrom .
> Rich:tabPanel not possible to switch tabs when only dynamic tabs are present
> ----------------------------------------------------------------------------
>
> Key: RF-12765
> URL: https://issues.jboss.org/browse/RF-12765
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-output
> Affects Versions: 4.3.0.M3, 4.3.0.CR2
> Environment: Linux, windows any browser Chrom, Mozilla
> Reporter: Tali Han
> Assignee: Lukáš Fryč
> Fix For: 4.3.1
>
> Original Estimate: 2 hours
> Remaining Estimate: 2 hours
>
> Rih:Tab panel functionality is broken.
> If you have dynamically generated tabs, you'll be able to switch from first to last, and then to first, but you'll not be able to switch to any other tab again.
> Remove from example that comes with richfaces distribution first static tab for dynamic tabs and you'll be able to reproduce this behaviour.
> richfaces/tabPanel/samples/dynamic-sample.xhtml
> {code}
> <rich:tabPanel activeItem="#{dynamicPanelBean.activeTab}">
> <ui:remove>
> <rich:tab header="Static">
> <p>This tab is static one.</p>
>
> <p>All of the following tabs are dynamically generated using <b>a4j:repeat</b>.</p>
> </rich:tab>
> </ui:remove>
> <a4j:repeat value="#{skinBean.skins}" var="skinName">
>
> <rich:tab header="#{skinName}" name="#{skinName}">
> <f:facet name="header">#{skinName}</f:facet>
> <i> All the controls below are just standard JSF components skinned with RichFaces: </i>
> <hr />
> <h:form>
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 8 months
[JBoss JIRA] (RF-12765) Rich:tabPanel not possible to switch tabs when only dynamic tabs are present
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-12765?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč commented on RF-12765:
---------------------------------
Hey Tali, I have commented the tabPanel out using {{<ui:remove>}} and also deleted that completely - it doesn't matter, worked for me just fine.
Which JSF implementation are you using?
Have you tried to do not remove the tab and rather make it renderer=false?
Does any exceptions occur on browser debugging console or server console?
> Rich:tabPanel not possible to switch tabs when only dynamic tabs are present
> ----------------------------------------------------------------------------
>
> Key: RF-12765
> URL: https://issues.jboss.org/browse/RF-12765
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-output
> Affects Versions: 4.3.0.M3, 4.3.0.CR2
> Environment: Linux, windows any browser Chrom, Mozilla
> Reporter: Tali Han
> Assignee: Lukáš Fryč
> Fix For: 4.3.1
>
> Original Estimate: 2 hours
> Remaining Estimate: 2 hours
>
> Rih:Tab panel functionality is broken.
> If you have dynamically generated tabs, you'll be able to switch from first to last, and then to first, but you'll not be able to switch to any other tab again.
> Remove from example that comes with richfaces distribution first static tab for dynamic tabs and you'll be able to reproduce this behaviour.
> richfaces/tabPanel/samples/dynamic-sample.xhtml
> {code}
> <rich:tabPanel activeItem="#{dynamicPanelBean.activeTab}">
> <ui:remove>
> <rich:tab header="Static">
> <p>This tab is static one.</p>
>
> <p>All of the following tabs are dynamically generated using <b>a4j:repeat</b>.</p>
> </rich:tab>
> </ui:remove>
> <a4j:repeat value="#{skinBean.skins}" var="skinName">
>
> <rich:tab header="#{skinName}" name="#{skinName}">
> <f:facet name="header">#{skinName}</f:facet>
> <i> All the controls below are just standard JSF components skinned with RichFaces: </i>
> <hr />
> <h:form>
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 8 months
[JBoss JIRA] (RF-12765) Rich:tabPanel not possible to switch tabs when only dynamic tabs are present
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-12765?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč edited comment on RF-12765 at 2/19/13 4:35 PM:
----------------------------------------------------------
Hey Tali, I have commented the tabPanel out using {{<ui:remove>}} and also deleted that completely - it doesn't matter, worked for me just fine.
Which JSF implementation are you using?
Have you tried to do not remove the tab and rather [make it renderer=false|https://issues.jboss.org/browse/RF-12789?focusedCommentId=...
Does any exceptions occur on browser debugging console or server console?
was (Author: lfryc):
Hey Tali, I have commented the tabPanel out using {{<ui:remove>}} and also deleted that completely - it doesn't matter, worked for me just fine.
Which JSF implementation are you using?
Have you tried to do not remove the tab and rather make it renderer=false?
Does any exceptions occur on browser debugging console or server console?
> Rich:tabPanel not possible to switch tabs when only dynamic tabs are present
> ----------------------------------------------------------------------------
>
> Key: RF-12765
> URL: https://issues.jboss.org/browse/RF-12765
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-output
> Affects Versions: 4.3.0.M3, 4.3.0.CR2
> Environment: Linux, windows any browser Chrom, Mozilla
> Reporter: Tali Han
> Assignee: Lukáš Fryč
> Fix For: 4.3.1
>
> Original Estimate: 2 hours
> Remaining Estimate: 2 hours
>
> Rih:Tab panel functionality is broken.
> If you have dynamically generated tabs, you'll be able to switch from first to last, and then to first, but you'll not be able to switch to any other tab again.
> Remove from example that comes with richfaces distribution first static tab for dynamic tabs and you'll be able to reproduce this behaviour.
> richfaces/tabPanel/samples/dynamic-sample.xhtml
> {code}
> <rich:tabPanel activeItem="#{dynamicPanelBean.activeTab}">
> <ui:remove>
> <rich:tab header="Static">
> <p>This tab is static one.</p>
>
> <p>All of the following tabs are dynamically generated using <b>a4j:repeat</b>.</p>
> </rich:tab>
> </ui:remove>
> <a4j:repeat value="#{skinBean.skins}" var="skinName">
>
> <rich:tab header="#{skinName}" name="#{skinName}">
> <f:facet name="header">#{skinName}</f:facet>
> <i> All the controls below are just standard JSF components skinned with RichFaces: </i>
> <hr />
> <h:form>
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 8 months
[JBoss JIRA] (RF-12765) Rich:tabPanel not possible to switch tabs when only dynamic tabs are present
by Tali Han (JIRA)
[ https://issues.jboss.org/browse/RF-12765?page=com.atlassian.jira.plugin.s... ]
Tali Han commented on RF-12765:
-------------------------------
We used Tomcat 6 with 4.3.0.Final. It didn't work.
Lucas , you need to comment "static tab" out to see this bug.
The same goes for togglePanel or accordion.
Brian,
I also wanted to add that in rich faces 3.3 dynamic tabs worked just fine.
We started to port our application to 4.1, than to 4.2, than to 4.3 we have all kind of problems with dynamic tabs, which we didn't have before.
We couldn't release because of the tabs "broken" functionality. It looked that we resolved most of the issues with 4.3, but still we can't switch tabs after "first round of clicking".
It will be very important for us if you can fix this issue sooner rather than latter.
> Rich:tabPanel not possible to switch tabs when only dynamic tabs are present
> ----------------------------------------------------------------------------
>
> Key: RF-12765
> URL: https://issues.jboss.org/browse/RF-12765
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-output
> Affects Versions: 4.3.0.M3, 4.3.0.CR2
> Environment: Linux, windows any browser Chrom, Mozilla
> Reporter: Tali Han
> Assignee: Lukáš Fryč
> Fix For: 4.3.1
>
> Original Estimate: 2 hours
> Remaining Estimate: 2 hours
>
> Rih:Tab panel functionality is broken.
> If you have dynamically generated tabs, you'll be able to switch from first to last, and then to first, but you'll not be able to switch to any other tab again.
> Remove from example that comes with richfaces distribution first static tab for dynamic tabs and you'll be able to reproduce this behaviour.
> richfaces/tabPanel/samples/dynamic-sample.xhtml
> {code}
> <rich:tabPanel activeItem="#{dynamicPanelBean.activeTab}">
> <ui:remove>
> <rich:tab header="Static">
> <p>This tab is static one.</p>
>
> <p>All of the following tabs are dynamically generated using <b>a4j:repeat</b>.</p>
> </rich:tab>
> </ui:remove>
> <a4j:repeat value="#{skinBean.skins}" var="skinName">
>
> <rich:tab header="#{skinName}" name="#{skinName}">
> <f:facet name="header">#{skinName}</f:facet>
> <i> All the controls below are just standard JSF components skinned with RichFaces: </i>
> <hr />
> <h:form>
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 8 months
[JBoss JIRA] (RF-12804) ExtendedDatatable: columnClasses attribute not work
by Roberto Contiero (JIRA)
Roberto Contiero created RF-12804:
-------------------------------------
Summary: ExtendedDatatable: columnClasses attribute not work
Key: RF-12804
URL: https://issues.jboss.org/browse/RF-12804
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-tables
Affects Versions: 4.3.0.Final
Environment: JBoss AS 7.1.1.Final
Reporter: Roberto Contiero
Priority: Minor
After I update richfaces from 4.2.2.Final to 4.3.0.Final, extendedDataTable doesn't render columnClasses attribute properly. Only last column has the correct class but others have only a style class made of concatenation between "rf-edt-td-" and id of the column.
I think that the problem is inside method
public void encodeRow(ResponseWriter writer, FacesContext facesContext, RowHolderBase rowHolder)
of the class ExtendedDataTableRenderer. This lines that are been added seem override the columnClasses attribute:
if (columnNumber != lastColumnNumber) {
writer.writeAttribute(HtmlConstants.CLASS_ATTRIBUTE, "rf-edt-td-" + column.getId(), null);
}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 8 months
[JBoss JIRA] (RF-12797) rich:editor not rendered when using RichFaces module
by Stan Silvert (JIRA)
[ https://issues.jboss.org/browse/RF-12797?page=com.atlassian.jira.plugin.s... ]
Stan Silvert edited comment on RF-12797 at 2/19/13 2:01 PM:
------------------------------------------------------------
Assigning back to Brian. This doesn't look like an AS7 issue.
I tried just looking at a RichFaces app using ckeditor and observed how each component retrieves its javascript.
If you look at the difference between ckeditor and other components you see a difference in how they obtain js resources. All other components go through the ResourceHandler, so you see a request that maps to the FacesServlet like this:
http://localhost:8080/bootstrap-quickstart/javax.faces.resource/inplaceIn...
But with ckeditor you see the GET which does not use the JSF ResourceHandler. In my app I see this for getting the Spanish language js:
http://localhost:8080/bootstrap-quickstart/org.richfaces.resources/javax....
So I'm fairly certain that the problem is in the ckeditor component.
was (Author: ssilvert):
Assigning back to Brian. This doesn't look like an AS7 issue.
I tried just looking at a RichFaces app using ckeditor and observed how each component retrieves its javascript.
If you look at the difference between ckeditor and other components you see a difference in how they obtain js resources. All other components go through the ResourceHandler, so you see a request that maps to the FacesServlet like this:
http://localhost:8080/bootstrap-quickstart/javax.faces.resource/inplaceIn...
But with ckeditor you see the GET from above which does not use the JSF ResourceHandler. In my app I see this for getting the Spanish language js:
http://localhost:8080/bootstrap-quickstart/org.richfaces.resources/javax....
So I'm fairly certain that the problem is in the ckeditor component.
> rich:editor not rendered when using RichFaces module
> ----------------------------------------------------
>
> Key: RF-12797
> URL: https://issues.jboss.org/browse/RF-12797
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: cdk
> Affects Versions: 4.3.0.Final
> Environment: JBoss 7.1.1
> Reporter: Serge Mürset
> Assignee: Brian Leathem
> Attachments: editor-test.zip
>
>
> I want to configure my Webapp to use RichFaces as a JBoss module not a library. To achieve this, I create the module org.richfaces with version 4.3.0 in module directory of JBoss.
> As soon as I switch from library to module, the rich:editor is not rendered anymore. In the Browser History i read
> [15:07:25.511] GET http://localhost:8080/editor-test/org.richfaces.resources/javax.faces.res... [HTTP/1.1 404 Not Found 1ms]
> I validated that the resource lang/de.js is available in classpath though.
> 15:01:02,780 INFO [stdout] (MSC service thread 1-5) The following resource(s) are found at location /META-INF/resources/org.richfaces.ckeditor/lang/de.js
> 15:01:02,781 INFO [stdout] (MSC service thread 1-5) --- jar:file:/opt/jboss-7.1.1/modules/org/richfaces/main/richfaces-components-ui-4.3.0.Final.jar!/META-INF/resources/org.richfaces.ckeditor/lang/de.js
> Weird enough, all other components I checked still work. I followed the instructions of https://issues.jboss.org/browse/RF-12008.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 8 months
[JBoss JIRA] (RF-12797) rich:editor not rendered when using RichFaces module
by Stan Silvert (JIRA)
[ https://issues.jboss.org/browse/RF-12797?page=com.atlassian.jira.plugin.s... ]
Stan Silvert reassigned RF-12797:
---------------------------------
Assignee: Brian Leathem (was: Stan Silvert)
Assigning back to Brian. This doesn't look like an AS7 issue.
I tried just looking at a RichFaces app using ckeditor and observed how each component retrieves its javascript.
If you look at the difference between ckeditor and other components you see a difference in how they obtain js resources. All other components go through the ResourceHandler, so you see a request that maps to the FacesServlet like this:
http://localhost:8080/bootstrap-quickstart/javax.faces.resource/inplaceIn...
But with ckeditor you see the GET from above which does not use the JSF ResourceHandler. In my app I see this for getting the Spanish language js:
http://localhost:8080/bootstrap-quickstart/org.richfaces.resources/javax....
So I'm fairly certain that the problem is in the ckeditor component.
> rich:editor not rendered when using RichFaces module
> ----------------------------------------------------
>
> Key: RF-12797
> URL: https://issues.jboss.org/browse/RF-12797
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: cdk
> Affects Versions: 4.3.0.Final
> Environment: JBoss 7.1.1
> Reporter: Serge Mürset
> Assignee: Brian Leathem
> Attachments: editor-test.zip
>
>
> I want to configure my Webapp to use RichFaces as a JBoss module not a library. To achieve this, I create the module org.richfaces with version 4.3.0 in module directory of JBoss.
> As soon as I switch from library to module, the rich:editor is not rendered anymore. In the Browser History i read
> [15:07:25.511] GET http://localhost:8080/editor-test/org.richfaces.resources/javax.faces.res... [HTTP/1.1 404 Not Found 1ms]
> I validated that the resource lang/de.js is available in classpath though.
> 15:01:02,780 INFO [stdout] (MSC service thread 1-5) The following resource(s) are found at location /META-INF/resources/org.richfaces.ckeditor/lang/de.js
> 15:01:02,781 INFO [stdout] (MSC service thread 1-5) --- jar:file:/opt/jboss-7.1.1/modules/org/richfaces/main/richfaces-components-ui-4.3.0.Final.jar!/META-INF/resources/org.richfaces.ckeditor/lang/de.js
> Weird enough, all other components I checked still work. I followed the instructions of https://issues.jboss.org/browse/RF-12008.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 8 months
[JBoss JIRA] (RF-12543) a4j:push after ajax-rendered does not have its javascript included
by Marc-Christian Schroeer (JIRA)
[ https://issues.jboss.org/browse/RF-12543?page=com.atlassian.jira.plugin.s... ]
Marc-Christian Schroeer commented on RF-12543:
----------------------------------------------
Thanks Lukáš for the answer. Though this is not the right place I'd like to elaborate on my problem:
<a4j:repeat var="unit" ...>
<a4j:push topic="#{unit.id}">
<a4j:ajax event="dataavailable" render="unit"/>
</a4j:push>
<a4j:outputPanel id="unit">
... stuff ...
</a4j:outputPanel>
</a4j:repeat>
This setup works great and I can send push messages to all clients updating a specific outputPanel. Now comes the "but": once due to a structural change I have to rerender the complete list, the whole push mechanism stops working for some time. Because of this setup I cannot move the a4j:push-tags outside of the loop.
When will release 5 be available in some repo?
> a4j:push after ajax-rendered does not have its javascript included
> ------------------------------------------------------------------
>
> Key: RF-12543
> URL: https://issues.jboss.org/browse/RF-12543
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Environment: RichFaces 4.2.2 FINAL
> Reporter: nimo stephan
> Fix For: 5-Tracking
>
>
> I have a4j:push within my page which should be rendered only if the property "pushIsActivated" is true. When changing the property by a button to true, then I want to make a ajax-rendering which renders the a4j:push. However, the javascript portion is not created within the aj4:push, hence the component does not work! I have to make a full page refresh, then the javascript portion is inserted and a4j:push works as expected. However, I have to do a full page refresh. I guess, it is a bug, because the a4j:push has a rendered-property which can be changed by ajax, hence it has to work after ajax-update.
> {code}
> <h:form id="my-form" prependId="false" style="display:none;">
> <a4j:push rendered="#{mybean.pushIsActivated}" address=".." onerror=".." ondataavailable="..">
> <a4j:ajax event="dataavailable" render="my-section"/>
> </a4j:push>
> </h:form>
> {code}
> If I only render my-form after changing the property, a4j:push does not work:
> {code}
> <h:form>
> <h:commandButton value="Activate Push " action="#{myBean.setActivatePushToTrue}">
> <f:ajax render=":my-form"/>
> </h:commandButton>
> </h:form>
> {code}
> I have to do a full page refresh, only then aj4:push works:
> {code}
> <h:form>
> <h:commandButton value="Activate Push " action="#{myBean.setPushActivateToTrue}" onclick="submit();" />
> </h:form>
> {code}
> Richfaces does insert the needed javascript only after a full page request:
> {code}
> <script type="text/javascript">RichFaces.Push.setPushResourceUrl.....;</script>
> {code}
> If I make a ajax-rendering, Richfaces does NOT (!) insert the needed javascript. Hence a4j:push does not work.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 8 months