[JBoss JIRA] (RF-11966) Radiobuttons not visible in firefox but visible in IE
by Roopa Shenoy (JIRA)
Roopa Shenoy created RF-11966:
---------------------------------
Summary: Radiobuttons not visible in firefox but visible in IE
Key: RF-11966
URL: https://issues.jboss.org/browse/RF-11966
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Reporter: Roopa Shenoy
Priority: Blocker
Hi ,
We are facing certain issues regarding rendering radio buttons in firefox.
It works fine in IE but doesnot work in Firefox
Please find the below block of code.
In the code shown below,there are two panels for displaying radio buttons.
Last piece of code which displays commandlink is visible ,but the radiobuttons which needs to be shown on pageload is not visible.
When we click on commandlink , the flag showMoreValues turns true and only on click of this link the radiobuttons in second part of the code is visible.
Can you please help me out regarding this issue?
<a4j:form id="subscriptionForm"
ajaxSubmit="true">
<f:loadBundle basename="dk.tdc.resources.Messages" var="msgs" />
<h:panelGrid columns="1">
<h:panelGroup rendered="#{subscriptionCard.showValues}"
id="ValuesList">
<h:panelGrid columns="4"
columnClasses="address_col1,address_col1,address_col1,address_col1">
<c:forEach var="privateProducts" items="#{subscriptionCard.Values}">
<h:selectOneRadio id="#{privateProducts.description}"
valueChangeListener="#{subscriptionCard.productChanged}"
value="#{subscriptionCard.selectedProductCode}">
<a4j:support event="onclick"
reRender="convertingForm,privateParamCard,businessParamCard,errorDetailsSubs,facilitiesCard,numberSelectCard,npPanel,paymentFormCard" />
<f:selectItem itemLabel="#{privateProducts.label}" itemValue="#{privateProducts.value}" />
</h:selectOneRadio>
</c:forEach>
</h:panelGrid>
</h:panelGroup>
<h:panelGroup rendered="#{subscriptionCard.showMoreValues}"
id="moreValues">
<h:panelGrid columns="4"
columnClasses="address_col1,address_col1,address_col1,address_col1">
<c:forEach var="privateAllProducts"
items="#{subscriptionCard.showMoreValues}">
<h:panelGroup>
<h:selectOneRadio id="#{privateAllProducts.description}"
valueChangeListener="#{subscriptionCard.productChanged}" value="#{subscriptionCard.selectedProductCode}">
<a4j:support event="onclick"
reRender="convertingForm,privateParamCard,businessParamCard,errorDetailsSubs,facilitiesCard,numberSelectCard,npPanel,paymentFormCard" />
<f:selectItem itemLabel="#{privateAllProducts.label}"
itemValue="#{privateAllProducts.value}" />
</h:selectOneRadio>
</h:panelGroup>
</c:forEach>
</h:panelGrid>
</h:panelGroup>
<h:panelGroup style="float:right;"
rendered="#{subscriptionCard.showValues}">
<h:panelGroup style="float:right;"
rendered="#{subscriptionCard.ValuesLinkVisible}">
<a4j:commandLink id="index"
action="#{subscriptionCard.retrieveMoreValuess}"
reRender="moreValues"
value="#{msgs.subscriptioncard_link_more_Values}"></a4j:commandLink>
</h:panelGroup>
</h:panelGroup>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 2 months
[JBoss JIRA] (RF-12214) Resource plugin: pack plain skin
by Nicolas Daniels (JIRA)
Nicolas Daniels created RF-12214:
------------------------------------
Summary: Resource plugin: pack plain skin
Key: RF-12214
URL: https://issues.jboss.org/browse/RF-12214
Project: RichFaces
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: resource handling
Affects Versions: 4.2.1.Final
Reporter: Nicolas Daniels
Priority: Minor
The plain skin is not packed/compresses as other styles, mainly because images generation is failing due to null property values.
It could be good to have it as well. Beside it, probably that image generation with null value should be handled.
Of course, any failed image generation should not be referenced in resulting css.
(Fyi, currently, generating plain skin is working despite the warnings but missing images are still referenced in resulting css. This is not really good for resources optimization ;-))
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 2 months
[JBoss JIRA] Created: (RF-10277) XML Parsing Error in response due to invalid character in attribute
by Michael Heinen (JIRA)
XML Parsing Error in response due to invalid character in attribute
--------------------------------------------------------------------
Key: RF-10277
URL: https://issues.jboss.org/browse/RF-10277
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 3.3.3.Final
Environment: richfaces 3.3.3
myfaces 1.2.9
facelets
neko parser 1.9.12
Reporter: Michael Heinen
An ajax response is not updated on clientside if it contains ISO control characters like 'START OF HEADING' (in windows Alt + 01 or U+0001) in attributes of tags.
(see http://www.fileformat.info/info/unicode/char/1/index.htm)
The ajax console shows during rendering:
error[14:57:16,523]: Error parsing XML
error[14:57:16,523]: Parse Error: XML Parsing Error: Invalid unicode character.
The parser error occurs in combination with neko filter if such a special character is used as an attribute value, e.g. as value of an inputText field.
This is caused by a wrong transformation in class org.ajax4jsf.xml.serializer.ToXHTMLStream.
Method ToXHTMLStream.writeAttrString contains following check:
String outputStringForChar = m_charInfo.getOutputStringForChar(ch);
if (null != outputStringForChar)
{
writer.write(outputStringForChar);
}
else if (escapingNotNeeded(ch))
{
writer.write(ch); // no escaping in this case
}
else
{
writer.write("&#");
writer.write(Integer.toString(ch)); //THIS IS CALLED!
writer.write(';');
}
The 'START OF HEADING' control char is transformed to the entity  which results in an parsing error on client side.
The char is correctly processed and displayed in NON-Ajax requests.
The char is correctly processed and displayed in Ajax requests in outputfields (as \u0001).
The char is correctly processed but not displayed in the response if tidy filter is used for ajax requests.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 2 months
[JBoss JIRA] (RF-11973) rich:contextMenu - after ajax re-render of table contextMenu no longer works
by Brendan Healey (JIRA)
Brendan Healey created RF-11973:
-----------------------------------
Summary: rich:contextMenu - after ajax re-render of table contextMenu no longer works
Key: RF-11973
URL: https://issues.jboss.org/browse/RF-11973
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 4.2.0.CR1
Environment: chrome browser / glassfish 3.1.1 / mojarra 2.1.6
Reporter: Brendan Healey
With the following code structure, when the page is first rendered
you can right click on a row in the table and the context menu appears.
After pushing the commandButton subsequent right clicks show the
default browser right click menu, and not the context menu.
<rich:extendedDataTable id="mytable">
...
</rich:extendedDataTable>
<a4j:commandButton value="push" render="mytable"/>
<rich:contextMenu target="mytable" mode="ajax">
<rich:menuItem label="Delete"
mode="ajax"
onclick="alert('hello, world!')"/>
</rich:contextMenu>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 2 months
[JBoss JIRA] (RF-11974) Optimizing Resource Loading with RichFaces 4.2 doesn't work as expected
by Rene O (JIRA)
Rene O created RF-11974:
---------------------------
Summary: Optimizing Resource Loading with RichFaces 4.2 doesn't work as expected
Key: RF-11974
URL: https://issues.jboss.org/browse/RF-11974
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 4.2.0.CR1
Environment: richfaces-4.2.0.CR1, myfaces-2.1.6, firefox 10
Reporter: Rene O
If i use resource loading optimizing, the packed js resources where included multiple times, which is not the expected behaviour.
Here is a simple usecase:
{code:title=simplepage.xhtml}
<!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:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich"
>
<h:head>
<title>JSF Test</title>
</h:head>
<h:body>
<h:form id="testForm">
<rich:panel id="mypanel">
<f:facet name="header">
Header
</f:facet>
Content
</rich:panel>
</h:form>
</h:body>
</html>
{code}
{code:title=web.xml}
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
<description>jsftest web.xml</description>
<!-- myfaces config: http://myfaces.apache.org/core20/myfaces-impl/webconfig.html -->
<context-param>
<param-name>javax.faces.PARTIAL_STATE_SAVING</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>server</param-value>
</context-param>
<context-param>
<param-name>org.apache.myfaces.COMPRESS_STATE_IN_SESSION</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>org.apache.myfaces.SERIALIZE_STATE_IN_SESSION</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>org.apache.myfaces.NUMBER_OF_VIEWS_IN_SESSION</param-name>
<param-value>5</param-value>
</context-param>
<context-param>
<param-name>javax.faces.FACELETS_REFRESH_PERIOD</param-name>
<param-value>2</param-value>
</context-param>
<context-param>
<param-name>javax.faces.FACELETS_SKIP_COMMENTS</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>javax.faces.DEFAULT_SUFFIX</param-name>
<param-value>.xhtml</param-value>
</context-param>
<context-param>
<param-name>org.richfaces.resourceOptimization.enabled</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>org.richfaces.resourceOptimization.compressionStages</param-name>
<param-value>All</param-value>
</context-param>
<context-param>
<param-name>org.richfaces.resourceOptimization.packagingStages</param-name>
<param-value>All</param-value>
</context-param>
<servlet>
<servlet-name>Resource Servlet</servlet-name>
<servlet-class>org.richfaces.webapp.ResourceServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Resource Servlet</servlet-name>
<url-pattern>/org.richfaces.resources/*</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>FacesServlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>FacesServlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>30</session-timeout>
</session-config>
<distributable/>
</web-app>
{code}
{code:title=source code of generated html}
<!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"><head>
<title>JSF Test</title><link rel="stylesheet" media="screen" type="text/css" href="/jsftest/org.richfaces.resources/javax.faces.resource/org.richfaces.staticResource/4.2.0.CR1/PackedCompressed/DEFAULT/skinning.css" /><script type="text/javascript" src="/jsftest/javax.faces.resource/jsf.js.jsf?ln=javax.faces"><!--
//--></script><script type="text/javascript" src="/jsftest/org.richfaces.resources/javax.faces.resource/org.richfaces.staticResource/4.2.0.CR1/PackedCompressed/packed/packed.js"><!--
//--></script><script type="text/javascript" src="/jsftest/org.richfaces.resources/javax.faces.resource/org.richfaces.staticResource/4.2.0.CR1/PackedCompressed/packed/packed.js"><!--
//--></script><script type="text/javascript" src="/jsftest/org.richfaces.resources/javax.faces.resource/org.richfaces.staticResource/4.2.0.CR1/PackedCompressed/packed/packed.js"><!--
//--></script><link rel="stylesheet" media="screen" type="text/css" href="/jsftest/org.richfaces.resources/javax.faces.resource/org.richfaces.staticResource/4.2.0.CR1/PackedCompressed/DEFAULT/packed/packed.css" /></head><body><form id="testForm" name="testForm" method="post" action="/jsftest/tabtest.jsf" enctype="application/x-www-form-urlencoded"><div class="rf-p " id="testForm:mypanel"><div class="rf-p-hdr " id="testForm:mypanel_header">
Header
</div><div class="rf-p-b " id="testForm:mypanel_body">
Content
</div></div><input type="hidden" name="testForm_SUBMIT" value="1" /><input type="hidden" name="javax.faces.ViewState" id="javax.faces.ViewState" value="BCdgrBds6dPVxGA5g7QTvuYJ8/PuaJifnYvMIUGHf2r4d6JJFsGNbgoWnR9/JiyT861SIhrba11L0hX4aFlyD1oAXywRv4cQTCaw23T3TN9cuUSgI1VQAx0bW+JUNFXw7+HsPg==" /></form></body>
</html>
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 3 months