tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fritz Pröbstle (JIRA) <...@tapestry.apache.org>
Subject [jira] Created: (TAPESTRY-2515) onValidateComponent required for Component level perform cross-form(cross component) validation
Date Fri, 11 Jul 2008 12:08:31 GMT
onValidateComponent required for Component level  perform cross-form(cross component)  validation
-------------------------------------------------------------------------------------------------

                 Key: TAPESTRY-2515
                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2515
             Project: Tapestry
          Issue Type: Improvement
    Affects Versions: 5.0.13
            Reporter: Fritz Pröbstle


onValidateComponent required for Component level  perform cross-form(cross component)  validation

Assume I have a address-fragment component ADDCOMP  for entering  addresses.
This component has no form and shoud be used inside a form. 
Means I have no onValidateForm event inside the component.
*BUT* this component should  do cross-component validation (i.e is ZIP code correct for city
field) but there is no event
to trigger it.

I know that i could use (as a workaround) the onValidateForm of the using form component -
but this delegates logic out of the component which should not be seen outside.

Solution:

A new event onValidateComponent should be triggered after all onValidateXX events of a component.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Mime
View raw message