[richfaces-issues] [JBoss JIRA] Created: (RF-4605) onsubmit on a4j:support causes wrong form not found js error

Ilya Shaikovsky (JIRA) jira-events at lists.jboss.org
Tue Oct 14 05:10:25 EDT 2008


onsubmit on a4j:support causes wrong form not found js error
------------------------------------------------------------

                 Key: RF-4605
                 URL: https://jira.jboss.org/jira/browse/RF-4605
             Project: RichFaces
          Issue Type: Bug
    Affects Versions: 3.3.0
            Reporter: Ilya Shaikovsky
            Assignee: Nick Belaevski
             Fix For: 3.3.0


this works fine
	  <h:form>
	  <rich:panel style="width:220px;">
	  	<f:facet name="header">
	  		<h:outputText value="Person Info"/>
	  	</f:facet>
	  	<h:panelGrid columns="2">
	  		<h:outputText value="Name: "/>
	  		<rich:inplaceInput defaultLabel="click to enter your name" 
	  			showControls="true"/>
	  		<h:outputText value="Email:"/>
	  		<rich:inplaceInput defaultLabel="click to enter your email" 
	  			showControls="true">
	  			 <a4j:support event="onviewactivated"></a4j:support>
	  		</rich:inplaceInput>
	  	</h:panelGrid>
	  </rich:panel>
	  </h:form>

and this does not
	  <h:form>
	  <rich:panel style="width:220px;">
	  	<f:facet name="header">
	  		<h:outputText value="Person Info"/>
	  	</f:facet>
	  	<h:panelGrid columns="2">
	  		<h:outputText value="Name: "/>
	  		<rich:inplaceInput defaultLabel="click to enter your name" 
	  			showControls="true"/>
	  		<h:outputText value="Email:"/>
	  		<rich:inplaceInput defaultLabel="click to enter your email" 
	  			showControls="true">
	  			 <a4j:support event="onviewactivated" onsubmit="if (event.memo.oldvalue!=event.memo.nevalue) return false;"></a4j:support>
	  		</rich:inplaceInput>
	  	</h:panelGrid>
	  </rich:panel>
	  </h:form>

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

        



More information about the richfaces-issues mailing list