[JBoss JIRA] (RF-13278) rich:tab : label, placed in header-facet, can not be refreshed per ajax
by Alexey Shakov (JIRA)
[ https://issues.jboss.org/browse/RF-13278?page=com.atlassian.jira.plugin.s... ]
Alexey Shakov updated RF-13278:
-------------------------------
Description:
I use ajax to update the header label of rich:tab. That is why label is placed in a header-facet. Since RF 4.3.4 this does not work:
{code:xml}
<?xml version="1.0" encoding="UTF-8"?>
<!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:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html"
xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:rich="http://richfaces.org/rich" xmlns:a4j="http://richfaces.org/a4j"
xmlns:f="http://java.sun.com/jsf/core" xml:lang="en" lang="en">
<h:head>
</h:head>
<h:body>
<a4j:log hotkey="M" mode="popup" />
<h:form id="form" prependId="false">
<rich:tabPanel id="tabPanel">
<rich:tab header="tab 1">
<a4j:commandLink value="click me" action="#{testBean.put('clicks',testBean.clicks + 1)}" render="label" execute="@this" />
</rich:tab>
<rich:tab>
<f:facet name="header">
<h:outputText id="label" value="#{testBean.clicks} clicks" />
</f:facet>
</rich:tab>
</rich:tabPanel>
</h:form>
</h:body>
</html>
{code}
testBean is a simple session-scoped HashMap.
was:
I use ajax to update the header label of rich:tab. That is why label is placed in a heder-facet. Since RF 4.3.4 this does not work:
{code:xml}
<?xml version="1.0" encoding="UTF-8"?>
<!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:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html"
xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:rich="http://richfaces.org/rich" xmlns:a4j="http://richfaces.org/a4j"
xmlns:f="http://java.sun.com/jsf/core" xml:lang="en" lang="en">
<h:head>
</h:head>
<h:body>
<a4j:log hotkey="M" mode="popup" />
<h:form id="form" prependId="false">
<rich:tabPanel id="tabPanel">
<rich:tab header="tab 1">
<a4j:commandLink value="click me" action="#{testBean.put('clicks',testBean.clicks + 1)}" render="label" execute="@this" />
</rich:tab>
<rich:tab>
<f:facet name="header">
<h:outputText id="label" value="#{testBean.clicks} clicks" />
</f:facet>
</rich:tab>
</rich:tabPanel>
</h:form>
</h:body>
</html>
{code}
testBean is a simple session-scoped HashMap.
> rich:tab : label, placed in header-facet, can not be refreshed per ajax
> -----------------------------------------------------------------------
>
> Key: RF-13278
> URL: https://issues.jboss.org/browse/RF-13278
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-panels-layout-themes
> Affects Versions: 4.3.4
> Environment: java 7, tomcat 7, myfaces
> Reporter: Alexey Shakov
>
> I use ajax to update the header label of rich:tab. That is why label is placed in a header-facet. Since RF 4.3.4 this does not work:
> {code:xml}
> <?xml version="1.0" encoding="UTF-8"?>
> <!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:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html"
> xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:rich="http://richfaces.org/rich" xmlns:a4j="http://richfaces.org/a4j"
> xmlns:f="http://java.sun.com/jsf/core" xml:lang="en" lang="en">
> <h:head>
> </h:head>
> <h:body>
>
> <a4j:log hotkey="M" mode="popup" />
> <h:form id="form" prependId="false">
> <rich:tabPanel id="tabPanel">
> <rich:tab header="tab 1">
> <a4j:commandLink value="click me" action="#{testBean.put('clicks',testBean.clicks + 1)}" render="label" execute="@this" />
> </rich:tab>
> <rich:tab>
> <f:facet name="header">
> <h:outputText id="label" value="#{testBean.clicks} clicks" />
> </f:facet>
> </rich:tab>
> </rich:tabPanel>
> </h:form>
> </h:body>
> </html>
> {code}
> testBean is a simple session-scoped HashMap.
--
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, 3 months
[JBoss JIRA] (RF-12442) RF ajax rendering of content which contains another form (a4j:commandLink/Button doesn’t reacts at first click)
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-12442?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč commented on RF-12442:
---------------------------------
This should be definitelively fixed in RF5 since RF5 was diverged from 4.3.0.Final, so it should contain all fixes up to 4.3.0.Final.
Even though we continue to backport fixes from 4.3 to 5.0.
> RF ajax rendering of content which contains another form (a4j:commandLink/Button doesn’t reacts at first click)
> ---------------------------------------------------------------------------------------------------------------
>
> Key: RF-12442
> URL: https://issues.jboss.org/browse/RF-12442
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: base functionality, component-a4j-core
> Reporter: Dupont Dupont
> Assignee: Lukáš Fryč
> Priority: Critical
> Fix For: 4.3.0.M3
>
> Original Estimate: 3 days
> Remaining Estimate: 3 days
>
> RF ajax rendering on another form doesn't work with a4j:commandButton/commandLink it removes javax.faces.ViewState input of the second form.
> This results in a ghost click the first time I try to submit the second form after having submitted the first one.
> https://community.jboss.org/thread/204724 contains a sample project (see attached file in forum).
> Note : multiple form render works fine when using h:commandButton/commandLink with f:ajax.
--
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, 3 months
[JBoss JIRA] (RF-10646) Css in composite components not found with MyFaces
by Jiří Štefek (JIRA)
[ https://issues.jboss.org/browse/RF-10646?page=com.atlassian.jira.plugin.s... ]
Jiří Štefek commented on RF-10646:
----------------------------------
[~ppitonak], please, could verify it is a MyFaces issue? You can use this [reproducer|https://issues.jboss.org/secure/attachment/12365175/RF-10646.zip] (which doesn't contain RichFaces dependencies)
> Css in composite components not found with MyFaces
> --------------------------------------------------
>
> Key: RF-10646
> URL: https://issues.jboss.org/browse/RF-10646
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: base functionality
> Affects Versions: 4.0.0.CR1, 4.2.2.Final, 4.3.4
> Environment: RichFaces 4.0.0-SNAPSHOT SVN r.21968
> MyFaces 2.0.5-SNAPSHOT (and all older versions)
> Tomcat 6.0.29
> all browsers
> RichFaces 4.2.2.Final
> Metamer 4.2.2.Final
> Apache MyFaces JSF-2.1 Core Impl 2.1.5
> Apache Tomcat 7.0.26
> all browsers
> Reporter: Pavol Pitonak
> Assignee: Brian Leathem
> Attachments: cc.zip, compositecomponent.war, RF-10646.zip
>
>
> MyFaces cannot load the stylesheet for the following page with a composite component (the text is black instead of fuchsia). When RichFaces is removed from project, everything works fine (see attached project for Tomcat).
> Mar 1, 2011 3:49:48 PM org.richfaces.resource.ResourceFactoryImpl logResourceProblem
> WARNING: Resource text.ecss?db=eAHL6rC8BQAEkAIG&ln=my%252fcss was not found
> {code:title=index.xhtml|borderStyle=solid}
> <!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:my="http://java.sun.com/jsf/composite/my" >
> <h:head/>
> <h:body>
> <my:colorText text="Hello World!"/>
> </h:body>
> </html>
> {code}
> {code:title=resources/my/colorText.xhtml|borderStyle=solid}
> <!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:composite="http://java.sun.com/jsf/composite" >
> <h:body>
> <composite:interface>
> <composite:attribute name="text" type="java.lang.String" required="true" />
> </composite:interface>
> <composite:implementation>
> <h:outputStylesheet library="my/css" name="text.ecss"/>
> <h:outputText id="text" value="#{cc.attrs.text}" styleClass="color-text" />
> <br/><br/>
> </composite:implementation>
> </h:body>
> </html>
> {code}
> {code:title=resources/my/css/text.ecss|borderStyle=solid}
> .color-text {
> color: fuchsia;
> text-weight: bold;
> }
> {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, 3 months
[JBoss JIRA] (RF-13281) orderingList: ordering button's text overflows the button on Firefox
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13281?page=com.atlassian.jira.plugin.s... ]
Brian Leathem updated RF-13281:
-------------------------------
Steps to Reproduce:
# Deploy metamer and open http://localhost:8080/metamer/faces/components/richOrderingList/simple.xhtml in Firefox
# check the list buttons
Or
# open http://richwidgets.github.io/select/orderingList.html in Firefox and run in console:
{code}
$('#list').orderingList("option","buttonsText", {first: "abcd", up: "efgh", down: "ijkl", last: "mnop"});
{code}
# check the first list buttons
was:
# Deploy metamer and open http://localhost:8080/metamer/faces/components/richOrderingList/simple.xhtml in Firefox
# check the list buttons
Or
# open http://richwidgets.github.io/select/orderingList.html in Firefox and run in console:
{code}
var list_options = {
buttonsText: {first: "abcd", up: "efgh", down: "ijkl", last: "mnop"},
};
$("#list").orderingList(list_options);
{code}
# check the first list buttons
> orderingList: ordering button's text overflows the button on Firefox
> --------------------------------------------------------------------
>
> Key: RF-13281
> URL: https://issues.jboss.org/browse/RF-13281
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-selects
> Environment: RichFaces 5.0.0-SNAPSHOT
> Firefox 24
> Reporter: Jiří Štefek
> Attachments: OL.png
>
>
> The ordering button's text overflows the button.
> Works in Chrome.
--
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, 3 months