[JBoss JIRA] Created: (RF-1252) rich:tree nodeSelectListener is invoked twice while used with a4j:support onselected
by Yurii (JIRA)
rich:tree nodeSelectListener is invoked twice while used with a4j:support onselected
------------------------------------------------------------------------------------
Key: RF-1252
URL: http://jira.jboss.com/jira/browse/RF-1252
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.2
Environment: JBoss 4.2.0 GA
JSF 1.2
Facelets
Mozilla Firefox as browser
Reporter: Yurii
Having rich:tree with nodeSelectListener specified, and a4j:support for event "onselected", without any actionListeners, my nodeSelectListener is invoked twice when I click on a tree node. When I remove a4j:support, everything works fine and nodeSelectListener is invoked once while I click on a node.
Notice: I've tested the situation for some time and found out that nodeSelectListener is not always invoked twice. I can't find any regularity(rule), but it definitely can be invoked as twice, as once. Sometimes when I click on a node it's invoked once, sometimes - twice. But twice - is the majority.
--
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, 9 months
[JBoss JIRA] Created: (RF-1565) Messages not updated on Ajax requests unless message tag is after the Ajax component.
by Lou Bell (JIRA)
Messages not updated on Ajax requests unless message tag is after the Ajax component.
-------------------------------------------------------------------------------------
Key: RF-1565
URL: http://jira.jboss.com/jira/browse/RF-1565
Project: RichFaces
Issue Type: Bug
Reporter: Lou Bell
One issue we've found with suggestion box that Max asked us to report, since they were found as known issues during the support case.
Any messages added to the faces context are not updated on ajax requests in the suggestionbox unless the message tag is defined AFTER
the suggestion box. Anything declared before it on the page fails to get updated. This is problematic for us since we usually report error messages at the top under the tab rather than below the field where it happened.
See example below, a4j:outputPanel first doesn't work, but move it after the suggestion box and it functions correctly:
<a4j:outputPanel
ajaxRendered="true"
id="componentGeneralInfoMessagesPanel">
<t:messages
id="componentOverviewMessages"
replaceIdWithLabel="true"
tooltip="true"
showDetail="true"
showSummary="false"
errorClass="errorText"
infoClass="infoText"
layout="table" />
</a4j:outputPanel>
<a4j:region renderRegionOnly="false">
<h:inputText id="softwareTitle" size="35" value="#{ComponentFormController.currentRequest.name}"
required="true" style="background-color: #ffffd1">
<f:attribute name="#{OSBundle['ui.validation.fieldref']}"
value="Software Title" />
</h:inputText>
<rich:suggestionbox
for="softwareTitle"
var="suggestedSoftware"
suggestionAction="#{ComponentFormController.suggestSoftwareName}"
frequency="0"
frame="border"
cellpadding="0"
cellspacing="1"
minChars="3"
height="250"
rows="100"
status="loadingStatus"
title="Components found in
knowledgebase">
<h:column>
<h:outputText value="#{suggestedSoftware}"/>
</h:column>
<a4j:support event="onselect" action="#{ComponentFormController.fillOnProjectSuggestion}"
reRender="otherComponents,inHere" />
</rich:suggestionbox>
<a4j:status id="loadingStatus">
<f:facet name="start">
<t:div id="componentSuggestWaitDiv"
style="width:88%;border:3px #DAD9BB outset;background-color: #FFFFFF;">
<t:panelGrid columns="2" cellpadding="2" cellspacing="2" style="background-color: #FFFFFF;">
<h:graphicImage url="/resources/images/circle_wait.gif" />
<t:htmlTag value="h6" style="#position:relative;#top:25%">
<h:outputText style="white-space:nowrap;" value="Retrieving Results..." />
</t:htmlTag>
</t:panelGrid>
</t:div>
</f:facet>
</a4j:status>
</a4j:region>
--
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, 9 months
[JBoss JIRA] Created: (RF-1099) In case of AJAX calls it is calling the methods which it should not be calling
by Amit Agrawal (JIRA)
In case of AJAX calls it is calling the methods which it should not be calling
------------------------------------------------------------------------------
Key: RF-1099
URL: http://jira.jboss.com/jira/browse/RF-1099
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.0, 3.0.0
Environment: Weblogic 9.2, IE 6.0
Reporter: Amit Agrawal
Hi,
I have a page in which I have some select boxes, check boxes and option to download excel file.
Whenever the page is getting rendred by clcking any component on the page it calls the method for download excel file as well which is definitely not desired.
As this method has FacesContext.getCurrentInstance().responseComplete(); so the response terminates abruptly.
I have attched the code snippet for it. kindly suggest how do I stop calling of this method all the time.
Thanks in Advance,
Amit
--
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, 9 months
[JBoss JIRA] Created: (RF-1021) Caching not working for internet resources on Firefox + secure web app
by Jason Anderson (JIRA)
Caching not working for internet resources on Firefox + secure web app
----------------------------------------------------------------------
Key: RF-1021
URL: http://jira.jboss.com/jira/browse/RF-1021
Project: RichFaces
Issue Type: Feature Request
Affects Versions: 3.1.1
Environment: JSF-RI 1.2p02, Seam 2.0.0.CR1, JBoss 4.0.3+Tomcat 5.5 (patched to JSF 1.2)
Reporter: Jason Anderson
All internet resources being returned by RichFaces/ajax4jsf (e.g. /a4j*/*.jsf) have a custom response header set (e.g. max-age=....).
For secure applications using SSL, Tomcat automatically tries to set Pragma: no-cache on everything, so you have to write a custom servlet filter for the rest of the application that overrides the no-cache, and sets the cache settings to "public" etc. for resources which are truely static.
The problem is that the custom filter cannot override resources returned by RichFaces (doesn't seem to matter where in the filter chain the custom filter is, calling response.setHeader will not override the one set in InternetResourceBase.sendHeader ).
The effect of this is that we can get resources caching correctly in IE, but for Firefox what Richfaces return is incomplete and Firefox refuses to cache any of the RichFaces resources.
I'm not sure what to recommend, either to allow web app to optionally turn off InternetResourceBase.sendHeaders and allow application to control this itself, or to simply fix the InternerResourceBase to setup addition response header cache control items like "PUBLIC" or "must-revalidate".
--
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, 9 months