[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-1832) Use of <a:support> tag breaks conversation in Seam-gen (and elsewhere)

Demetrio Filocamo (JIRA) jira-events at lists.jboss.org
Wed Aug 22 12:24:18 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBSEAM-1832?page=comments#action_12373342 ] 
            
Demetrio Filocamo commented on JBSEAM-1832:
-------------------------------------------

I am not so sure, because, as I wrote in the forum, with this code (without panel) I got the same error:

        	<a:form ajaxSubmit="true" id="formAC">
        		<h:outputText value="Tipologia: "></h:outputText>
                <h:selectOneMenu id="tipologiaAC" value="#{articoloHelper.tipologiaArticoloDaCollegare}">
                	<s:selectItems value="#{tipologiaArticoloAll.resultList}" var="tip" label="#{tip.descrizione}" noSelectionLabel="Seleziona la tipologia..."/>
    				<s:convertEntity /> 
    				<a:support event="onchange" reRender="articoliACop" ajaxSingle="true">
    				</a:support>
                </h:selectOneMenu>
				<a:outputPanel id="articoliACop">
				<h:outputText value="Oggetto da collegare: "  rendered="#{articoloHelper.tipologiaArticoloDaCollegare!=null}"></h:outputText>
                <h:selectOneMenu id="articoliAC" value="#{articoloHelper.articoloDaCollegare}" rendered="#{articoloHelper.tipologiaArticoloDaCollegare!=null}">
                	<s:selectItems value="#{articoloHelper.articoliCollegabili}" var="tip" label="#{tip.titolo}" noSelectionLabel="Seleziona un oggetto..."/>
    				<s:convertEntity />
    				<a:support event="onchange" reRender="btnACop" ajaxSingle="true"></a:support>
                </h:selectOneMenu>
                </a:outputPanel>
                <a:outputPanel id="btnACop">
				<a:commandButton id="btnAC" value="Collega" action="#{articoloHelper.collegaArticolo(articoloHome.instance)}"
						rendered="#{articoloHelper.articoloDaCollegare!=null}" reRender="opArticoliCollegati"></a:commandButton>
				</a:outputPanel>
				<a:status startText="Aggiornamento dati in corso..."></a:status>
        	</a:form>

> Use of <a:support> tag breaks conversation in Seam-gen (and elsewhere)
> ----------------------------------------------------------------------
>
>                 Key: JBSEAM-1832
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1832
>             Project: JBoss Seam
>          Issue Type: Bug
>          Components: JSF
>    Affects Versions: 2.0.0.BETA1
>         Environment: Jboss 4.2.0.GA
>            Reporter: Vincent Latombe
>
> I've seen the problem from BETA1 to HEAD
> To reproduce the bug, try the following :
> Create some seam-gen based project and generate-entities.
> Go to an edit page, fill some data, and click on the submit button, without clicking elsewhere (the focus must be on an edited field just before submit). Instead of validation error, or adding the new data, you should get the "The conversation ended, timed out or was processing another request" message. It seems that the validation triggered by the onblur event messes up with the validation.
> I have also seen the bug occuring while I was switching from one field to another quite fast (fast enough to have many validation on queue in ajax4jsf). It seems that adding <s:conversationId/> to the a:support solves this part.
> Here is the snippet I currently use
> <a:support event="onblur" bypassUpdates="true" reRender="cityCodeDecoration">
>   <s:conversationId/>
> </a:support>
> I tried to upgrade ajax4jsf + richfaces 3.0.1 to richfaces 3.1.0 rc2, but it didn't change anything.

-- 
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

        



More information about the seam-issues mailing list