[JBoss JIRA] (RF-12765) Rich:tabPanel not possible to switch tabs when only dynamic tabs are present
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-12765?page=com.atlassian.jira.plugin.s... ]
Brian Leathem commented on RF-12765:
------------------------------------
Committed an Arquillian Graphene test showing this works in JBoss AS 7. Next step is to show this is failing in tomcat w/ Mojarra.
https://github.com/richfaces/components/commit/92b43b1517b0cdd0e14e66367f...
> 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: Brian Leathem
> 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
12 years, 1 month
[JBoss JIRA] (RF-12808) rich:tabPanel execute="@none" don't work on switching tabs
by Adelmo Erick santos (JIRA)
[ https://issues.jboss.org/browse/RF-12808?page=com.atlassian.jira.plugin.s... ]
Adelmo Erick santos updated RF-12808:
-------------------------------------
Workaround Description: Using immediate="true" solve my problem.
> rich:tabPanel execute="@none" don't work on switching tabs
> ----------------------------------------------------------
>
> Key: RF-12808
> URL: https://issues.jboss.org/browse/RF-12808
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-panels-layout-themes
> Affects Versions: 4.3.0.Final
> Environment: Mojarra 2.1.17
> Tomcat 7
> Richfaces 4.3.0.Final and Richfaces 4.3.1-Snapshot
> Reporter: Adelmo Erick santos
> Priority: Minor
>
> Hi guys, The code Snip below shows my problem. When I switch between tabs the values are submitted even with execute="@none".
> The Page:
> {code}
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml"
> xmlns:h="http://java.sun.com/jsf/html"
> xmlns:f="http://java.sun.com/jsf/core"
> xmlns:rich="http://richfaces.org/rich"
> xmlns:a4j="http://richfaces.org/a4j" >
>
> <h:head>
> </h:head>
> <h:body>
> <h:form>
> <rich:tabPanel switchType="ajax">
> <rich:tab header="Tab1" execute="@none">
> <h:inputText value="#{testTabExecuteNoneMBean.valor1}"/>
> Valor 2: <h:outputText value="#{testTabExecuteNoneMBean.valor2}"/>
> </rich:tab>
> <rich:tab header="Tab2" execute="@none">
> <h:inputText value="#{testTabExecuteNoneMBean.valor2}"/>
> Valor 1: <h:outputText value="#{testTabExecuteNoneMBean.valor1}"/>
> </rich:tab>
> </rich:tabPanel>
> </h:form>
> </h:body>
> </html>
> {code}
> The MBean:
> {code}
> package br.com.becker.test;
> import javax.faces.bean.ManagedBean;
> import javax.faces.bean.SessionScoped;
> @ManagedBean
> @SessionScoped
> public class TestTabExecuteNoneMBean {
> private String valor1;
> private String valor2;
>
> public String getValor1() {
> return valor1;
> }
>
> public void setValor1(String valor1) {
> this.valor1 = valor1;
> }
> public String getValor2() {
> return valor2;
> }
> public void setValor2(String valor2) {
> this.valor2 = valor2;
> }
> }
> {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
12 years, 1 month
[JBoss JIRA] (RF-12808) tabPanel execute="@none" don't work on switching tabs
by Adelmo Erick santos (JIRA)
Adelmo Erick santos created RF-12808:
----------------------------------------
Summary: tabPanel execute="@none" don't work on switching tabs
Key: RF-12808
URL: https://issues.jboss.org/browse/RF-12808
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-panels-layout-themes
Affects Versions: 4.3.0.Final
Environment: Mojarra 2.1.17
Tomcat 7
Richfaces 4.3.0.Final and Richfaces 4.3.1-Snapshot
Reporter: Adelmo Erick santos
Priority: Minor
Hi guys, The code Snip below shows my problem. When I switch between tabs the values are submitted even with execute="@none".
The Page:
{code}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:rich="http://richfaces.org/rich"
xmlns:a4j="http://richfaces.org/a4j" >
<h:head>
</h:head>
<h:body>
<h:form>
<rich:tabPanel switchType="ajax">
<rich:tab header="Tab1" execute="@none">
<h:inputText value="#{testTabExecuteNoneMBean.valor1}"/>
Valor 2: <h:outputText value="#{testTabExecuteNoneMBean.valor2}"/>
</rich:tab>
<rich:tab header="Tab2" execute="@none">
<h:inputText value="#{testTabExecuteNoneMBean.valor2}"/>
Valor 1: <h:outputText value="#{testTabExecuteNoneMBean.valor1}"/>
</rich:tab>
</rich:tabPanel>
</h:form>
</h:body>
</html>
{code}
The MBean:
{code}
package br.com.becker.test;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;
@ManagedBean
@SessionScoped
public class TestTabExecuteNoneMBean {
private String valor1;
private String valor2;
public String getValor1() {
return valor1;
}
public void setValor1(String valor1) {
this.valor1 = valor1;
}
public String getValor2() {
return valor2;
}
public void setValor2(String valor2) {
this.valor2 = valor2;
}
}
{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
12 years, 1 month
[JBoss JIRA] (RF-12808) rich:tabPanel execute="@none" don't work on switching tabs
by Adelmo Erick santos (JIRA)
[ https://issues.jboss.org/browse/RF-12808?page=com.atlassian.jira.plugin.s... ]
Adelmo Erick santos updated RF-12808:
-------------------------------------
Summary: rich:tabPanel execute="@none" don't work on switching tabs (was: tabPanel execute="@none" don't work on switching tabs)
> rich:tabPanel execute="@none" don't work on switching tabs
> ----------------------------------------------------------
>
> Key: RF-12808
> URL: https://issues.jboss.org/browse/RF-12808
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-panels-layout-themes
> Affects Versions: 4.3.0.Final
> Environment: Mojarra 2.1.17
> Tomcat 7
> Richfaces 4.3.0.Final and Richfaces 4.3.1-Snapshot
> Reporter: Adelmo Erick santos
> Priority: Minor
>
> Hi guys, The code Snip below shows my problem. When I switch between tabs the values are submitted even with execute="@none".
> The Page:
> {code}
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml"
> xmlns:h="http://java.sun.com/jsf/html"
> xmlns:f="http://java.sun.com/jsf/core"
> xmlns:rich="http://richfaces.org/rich"
> xmlns:a4j="http://richfaces.org/a4j" >
>
> <h:head>
> </h:head>
> <h:body>
> <h:form>
> <rich:tabPanel switchType="ajax">
> <rich:tab header="Tab1" execute="@none">
> <h:inputText value="#{testTabExecuteNoneMBean.valor1}"/>
> Valor 2: <h:outputText value="#{testTabExecuteNoneMBean.valor2}"/>
> </rich:tab>
> <rich:tab header="Tab2" execute="@none">
> <h:inputText value="#{testTabExecuteNoneMBean.valor2}"/>
> Valor 1: <h:outputText value="#{testTabExecuteNoneMBean.valor1}"/>
> </rich:tab>
> </rich:tabPanel>
> </h:form>
> </h:body>
> </html>
> {code}
> The MBean:
> {code}
> package br.com.becker.test;
> import javax.faces.bean.ManagedBean;
> import javax.faces.bean.SessionScoped;
> @ManagedBean
> @SessionScoped
> public class TestTabExecuteNoneMBean {
> private String valor1;
> private String valor2;
>
> public String getValor1() {
> return valor1;
> }
>
> public void setValor1(String valor1) {
> this.valor1 = valor1;
> }
> public String getValor2() {
> return valor2;
> }
> public void setValor2(String valor2) {
> this.valor2 = valor2;
> }
> }
> {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
12 years, 1 month
[JBoss JIRA] (RF-12760) rich:tabPanel does not work after ajax request
by Adelmo Erick santos (JIRA)
[ https://issues.jboss.org/browse/RF-12760?page=com.atlassian.jira.plugin.s... ]
Adelmo Erick santos commented on RF-12760:
------------------------------------------
Hi, Lukáš Fryč, I tested the 4.3.1-SNAPSHOT and this fix solve my problem. Thanks a lote. Greate work!
I am new in the Jira and I don´t know if I should close this issue, should I?
> rich:tabPanel does not work after ajax request
> ----------------------------------------------
>
> Key: RF-12760
> URL: https://issues.jboss.org/browse/RF-12760
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-panels-layout-themes
> Affects Versions: 4.3.0.M2, 4.3.0.M3, 4.3.0.CR1, 4.3.0.CR2
> Environment: RichFaces 4.3.0.CR2
> Metamer 4.3.0-SNAPSHOT
> Mojarra 2.1.7-jbossorg-2
> JBoss AS 7.1.2.Final-redhat-1
> Java(TM) SE Runtime Environment 1.7.0_04-b20 @ Linux
> Chrome 24.0.1312.56 @ Linux x86_64
> -----------------------------------------------------------
> Windows 7 - Chrome 24.0.1312.56 / IE 9.
> Mojarra 2.1.17
> Richfaces 4.3.0.CR2
> Reporter: Adelmo Erick santos
> Assignee: Lukáš Fryč
> Labels: regression
> Fix For: 4.3.1
>
> Original Estimate: 2 hours
> Remaining Estimate: 2 hours
>
> When I submit a ajax request in a h:commandButtom within a tab with f:ajax them the tabPanel don´t switch tabs anymore. The problem is already reported in RF-10112. Sorry i´m from Brazil and my english very bad.
> {code}
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml"
> xmlns:h="http://java.sun.com/jsf/html"
> xmlns:f="http://java.sun.com/jsf/core"
> xmlns:rich="http://richfaces.org/rich"
> xmlns:a4j="http://richfaces.org/a4j" >
>
> <h:head>
> </h:head>
> <h:body>
> <h:form>
> <rich:tabPanel>
> <rich:tab header="cash">
> <h:commandButton value="Enter">
> <f:ajax event="click" render="@form"/>
> </h:commandButton>
> </rich:tab>
> <rich:tab header="creditCard">
> <h:outputText value="Test"/>
> </rich:tab>
> </rich:tabPanel>
> </h:form>
> </h:body>
> </html>
> {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
12 years, 1 month
[JBoss JIRA] (RF-11174) [rich:extendedDataTable] attribute "width" of columns should support percent values instead of only accepting px values
by Michael B (JIRA)
[ https://issues.jboss.org/browse/RF-11174?page=com.atlassian.jira.plugin.s... ]
Michael B edited comment on RF-11174 at 2/22/13 11:05 AM:
----------------------------------------------------------
Voting for this feature as well!
Being able to size tables with percentages depending on the available screen size of the user is such a basic feature in web development, that it's hard to believe RF forces everyone to work without it. (Btw. columns of ext. databale also just clip long texts instead of wrapping or growing with them...).
We made a preview of an application that we are currently developing with RF using ext. datatable. After having to admit that it's simply not possible to dynamically use the available screen size together with the ext. datatable features, customer and business acceptance was down to 0. For now we are forced to stick with the simple datatable, missing all the benefits of the extended version.
Please consider this feature request, as it's hard to explain such unreasonable restrictions to customers...
was (Author: michaelb80):
Voting for this feature as well!
Being able to size tables with percentages depending on the available screen size of the user is such a basic feature in web development, that it's hard to believe RF forces everyone to work without it. (Btw. columns of ext. databale also just clip long texts instead of wrapping or growing with them...).
We made a preview of an application that we are currently developing with RF using ext. datatable. After having to admit that it's simply not possible to dynamically use the available screen size together with the ext. datatable features, customer and business acceptance was down to 0. For now we are forced to stick with the simple datatable, missing all the benefits of the extended version.
Please consider this feature request, as it's hard to explain such unsreasonable restrictions to customers...
> [rich:extendedDataTable] attribute "width" of columns should support percent values instead of only accepting px values
> -----------------------------------------------------------------------------------------------------------------------
>
> Key: RF-11174
> URL: https://issues.jboss.org/browse/RF-11174
> Project: RichFaces
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Affects Versions: 4.0.0.Final
> Reporter: Rene O
> Fix For: 5-Future
>
>
> Currently you can only define the width of a column inside the rich:extendedDataTable like this:
> <rich:column width="120px" ...
> But it should also be possible to define it like this:
> <rich:column width="30%" ...
--
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
12 years, 1 month
[JBoss JIRA] (RF-11174) [rich:extendedDataTable] attribute "width" of columns should support percent values instead of only accepting px values
by Michael B (JIRA)
[ https://issues.jboss.org/browse/RF-11174?page=com.atlassian.jira.plugin.s... ]
Michael B commented on RF-11174:
--------------------------------
Voting for this feature as well!
Being able to size tables with percentages depending on the available screen size of the user is such a basic feature in web development, that it's hard to believe RF forces everyone to work without it. (Btw. columns of ext. databale also just clip long texts instead of wrapping or growing with them...).
We made a preview of an application that we are currently developing with RF using ext. datatable. After having to admit that it's simply not possible to dynamically use the available screen size together with the ext. datatable features, customer and business acceptance was down to 0. For now we are forced to stick with the simple datatable, missing all the benefits of the extended version.
Please consider this feature request, as it's hard to explain such unsreasonable restrictions to customers...
> [rich:extendedDataTable] attribute "width" of columns should support percent values instead of only accepting px values
> -----------------------------------------------------------------------------------------------------------------------
>
> Key: RF-11174
> URL: https://issues.jboss.org/browse/RF-11174
> Project: RichFaces
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Affects Versions: 4.0.0.Final
> Reporter: Rene O
> Fix For: 5-Future
>
>
> Currently you can only define the width of a column inside the rich:extendedDataTable like this:
> <rich:column width="120px" ...
> But it should also be possible to define it like this:
> <rich:column width="30%" ...
--
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
12 years, 1 month
[JBoss JIRA] (RF-12807) Datatable evaluate value attribute even if rendered=false when doing ajax calls
by Kenny Moens (JIRA)
[ https://issues.jboss.org/browse/RF-12807?page=com.atlassian.jira.plugin.s... ]
Kenny Moens updated RF-12807:
-----------------------------
Attachment: dataTableBug.jsf
JSF/XHTML file
> Datatable evaluate value attribute even if rendered=false when doing ajax calls
> -------------------------------------------------------------------------------
>
> Key: RF-12807
> URL: https://issues.jboss.org/browse/RF-12807
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-a4j-core, component-tables
> Affects Versions: 4.3.0.Final
> Environment: Windows, Apache Tomcat 6/7, Mojorra JSF 2.1.18
> Reporter: Kenny Moens
> Labels: ajax, commandButton, datatable
> Attachments: Bean.java, dataTableBug.jsf
>
>
> The rich:dataTable component evaluates the EL expression inside the value attribute, upon an Ajax call, even if it is part of a non-rendered h:panelGroup.
--
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
12 years, 1 month
[JBoss JIRA] (RF-12807) Datatable evaluate value attribute even if rendered=false when doing ajax calls
by Kenny Moens (JIRA)
[ https://issues.jboss.org/browse/RF-12807?page=com.atlassian.jira.plugin.s... ]
Kenny Moens updated RF-12807:
-----------------------------
Attachment: Bean.java
> Datatable evaluate value attribute even if rendered=false when doing ajax calls
> -------------------------------------------------------------------------------
>
> Key: RF-12807
> URL: https://issues.jboss.org/browse/RF-12807
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-a4j-core, component-tables
> Affects Versions: 4.3.0.Final
> Environment: Windows, Apache Tomcat 6/7, Mojorra JSF 2.1.18
> Reporter: Kenny Moens
> Labels: ajax, commandButton, datatable
> Attachments: Bean.java, dataTableBug.jsf
>
>
> The rich:dataTable component evaluates the EL expression inside the value attribute, upon an Ajax call, even if it is part of a non-rendered h:panelGroup.
--
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
12 years, 1 month
[JBoss JIRA] (RF-12807) Datatable evaluate value attribute even if rendered=false when doing ajax calls
by Kenny Moens (JIRA)
Kenny Moens created RF-12807:
--------------------------------
Summary: Datatable evaluate value attribute even if rendered=false when doing ajax calls
Key: RF-12807
URL: https://issues.jboss.org/browse/RF-12807
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-a4j-core, component-tables
Affects Versions: 4.3.0.Final
Environment: Windows, Apache Tomcat 6/7, Mojorra JSF 2.1.18
Reporter: Kenny Moens
The rich:dataTable component evaluates the EL expression inside the value attribute, upon an Ajax call, even if it is part of a non-rendered h:panelGroup.
--
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
12 years, 1 month