[JBoss JIRA] Created: (RF-2735) Error to clear node content by innerHTML when re-rendering
by Nick Belaevski (JIRA)
Error to clear node content by innerHTML when re-rendering
-----------------------------------------------------------
Key: RF-2735
URL: http://jira.jboss.com/jira/browse/RF-2735
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Reporter: Nick Belaevski
Assigned To: Nick Belaevski
Fix For: 3.2.0
debug[20:56:36,276]: Such element exist in document
debug[20:56:36,289]: Attempt to update part of page for Id: j_id213:output
debug[20:56:36,303]: call selectSingleNode for id= j_id213:output
debug[20:56:36,318]: Replace content of node by outerHTML()
error[20:56:36,333]: Error to clear node content by innerHTML Unknown runtime error
debug[20:56:36,350]: search for elements by name 'script' in element input
debug[20:56:36,364]: selectNodes found 0
debug[20:56:36,379]: Scripts in updated part count : 0
debug[20:56:36,395]: Update part of page for Id: j_id213:output successful
debug[20:56:36,410]: Attempt to update part of page for Id: j_id213:j_id214:29:j_id215
debug[20:56:36,427]: call selectSingleNode for id= j_id213:j_id214:29:j_id215
debug[20:56:36,446]: Replace content of node by outerHTML()
error[20:56:36,461]: Error to clear node content by innerHTML Unknown runtime error
For page:
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
<p>This tree uses "ajax" switch type, note that for collapse/expand operations it will be Ajax request to the server. You may see short delay in this case.</p><br/>
<h:form>
<h:inputText id="output" />
<rich:tree style="width:300px" value="#{library.data}" var="item" nodeFace="#{item.type}">
<rich:treeNode type="artist" iconLeaf="/images/tree/singer.gif" icon="/images/tree/singer.gif" reRender="output">
<h:outputText value="1 #{item.name}" />
</rich:treeNode>
<rich:treeNode type="album" iconLeaf="/images/tree/disc.gif" icon="/images/tree/disc.gif">
<h:outputText value="#{item.title}" />
</rich:treeNode>
<rich:treeNode type="song" iconLeaf="/images/tree/song.gif" icon="/images/tree/song.gif">
<h:outputText value="#{item.title}" />
</rich:treeNode>
</rich:tree>
</h:form>
<a4j:log popup="false"></a4j:log>
</ui:composition>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 8 months
[JBoss JIRA] Resolved: (RF-7604) a4j:actionparam doesn't support comma in value
by Alex Kolonitsky (JIRA)
[ https://jira.jboss.org/jira/browse/RF-7604?page=com.atlassian.jira.plugin... ]
Alex Kolonitsky resolved RF-7604.
---------------------------------
Resolution: Cannot Reproduce Bug
Assignee: Tsikhon Kuprevich (was: Alex Kolonitsky)
for test below all work well:
<a4j:commandButton value="Set Name to Alex" reRender="rep" >
<a4j:actionparam name="username" value="Host:type=Processors,name=CPU.UserMode" assignTo="#{bean.name}"/>
</a4j:commandButton>
<a4j:commandButton value="Set Name to Lex" reRender="rep" >
<a4j:actionparam name="username" value="Test,NoTest" assignTo="#{bean.name}"/>
</a4j:commandButton>
<h:outputText id="rep" value="Selected Name:#{bean.name}"/>
> a4j:actionparam doesn't support comma in value
> ----------------------------------------------
>
> Key: RF-7604
> URL: https://jira.jboss.org/jira/browse/RF-7604
> Project: RichFaces
> Issue Type: Bug
> Components: component-a4j-core
> Affects Versions: 3.3.2.CR1
> Environment: richfaces-ui-3.2.1.GA
> Tomcat 6.0.16
> Facelets 1.1.14
> Reporter: Stephen Kinser
> Assignee: Tsikhon Kuprevich
> Priority: Minor
> Fix For: 3.3.2.CR1
>
>
> I attempt to define a value that contains a comma, as follows:
> <a4j:actionparam name="metricName" value="Host:type=Processors,name=CPU.UserMode" assignTo="#{GraphPageBean.metricName}"/>
> Here's the method that I expect to be passed Host:type=Processors,name=CPU.UserMode:
> public void setMetricName(String metricName) {
> this.metricName = metricName;
> }
> setMetricName is called with a metricName value of "Host:type=Processors". I modified the value to use a '|' instead of a ',' and I got the full value of Host:type=Processors|name=CPU.UserMode.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 8 months
Mail System Error - Returned Mail
by Automatic Email Delivery Software
Dear user richfaces-issues(a)lists.jboss.org,
Your e-mail account was used to send a large amount of junk email messages during the last week.
Probably, your computer was compromised and now runs a trojaned proxy server.
Please follow our instructions in order to keep your computer safe.
Best regards,
The lists.jboss.org team.
16 years, 8 months
[JBoss JIRA] Created: (RF-7452) org.ajax4jsf.DEFAULT_EXPIRE needs to override 'Pragma' header
by Richard Kennard (JIRA)
org.ajax4jsf.DEFAULT_EXPIRE needs to override 'Pragma' header
-------------------------------------------------------------
Key: RF-7452
URL: https://jira.jboss.org/jira/browse/RF-7452
Project: RichFaces
Issue Type: Bug
Components: browser compatibility
Affects Versions: 3.3.1
Reporter: Richard Kennard
The flag org.ajax4jsf.DEFAULT_EXPIRE, which defaults to 86400, is meant to set client-side expiry for static resources (see RF-2506 and RF-4212). This is a great idea but it is incorrectly implemented.
The problem is browsers differ on what they consider as the 'expires header'. For correct operation, a combination of 'Pragma', 'Cache-Control' and 'Expires' is needed. At the moment the code is setting 'Pragma: No-cache', which means expiry does not work on Firefox. If you use Firebug, you can see all the resources are reloaded every page.
This is what RichFaces currently sets as its headers, by default:
Pragma: No-cache
Cache-Control: max-age=86400
Expires: Fri, 26 Jun 2009 22:32:50 GMT
This is what it should set:
Pragma:
Cache-Control: max-age=86400
Expires: Fri, 26 Jun 2009 22:32:50 GMT
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 8 months