Awesome job!!! Works great!
Heath
On Tue, Mar 11, 2008 at 11:45:23AM +0200, Andreas Andreou wrote:
> fixed in https://issues.apache.org/jira/browse/TAPESTRY-2225
> and thx for pointing out - you can grab 4.1.6-SNAPSHOT to verify
>
> On Tue, Mar 11, 2008 at 4:44 AM, Heath Nielson <[EMAIL PROTECTED]> wrote:
> > I create a simple page with a form i.e.:
> >
> > TestPage.html:
> >
> > > success="listener:save" cancel="listener:cancel">
> >
> > Value: >validators="validators:required" value="ognl:value" />
> >
> >
> >
> >
> > TestPage.java:
> >
> > public abstract class TestPage extends BasePage {
> >
> >private static Log log = LogFactory.getLog(TestPage.class);
> >@Bean(ValidationDelegate.class)
> >public abstract IValidationDelegate getValidationDelegate();
> >@InjectObject("engine-service:page")
> >public abstract IEngineService getPageService();
> >public abstract String getValue();
> >
> >public ILink save() {
> > log.debug("save val: " + getValue());
> > return getPageService().getLink(false, "Home");
> >}
> >
> >public ILink cancel() {
> > log.debug("cancel");
> > return getPageService().getLink(false, "Home");
> >}
> > }
> >
> > If I click "Cancel" I get a validation failure for the field and the cancel
> > listener never gets called. If I enter a value and click "Cancel", the
> > save()
> > listener is called. The cancel() listener is still not called.
> >
> > This occurs w/Jetty-6.1.7 and FF2 although I can't believe this particular
> > problem is browser dependent (unless I'm really misunderstanding how this
> > should work).
> >
> > If you have any other questions, let me know.
> >
> >
> > Thanks a lot,
> > Heath
> >
> >
> >
> >
> > On Mon, Mar 10, 2008 at 08:28:23AM +0200, Andreas Andreou wrote:
> > > Is it an async form or not? How could i recreate this behavior? browsers?
> > >
> > > On Mon, Mar 10, 2008 at 5:54 AM, Heath Nielson <[EMAIL PROTECTED]> wrote:
> > > > I'm behind in reading my email. I just updated from 4.1.3 to 4.1.5
> > and ran
> > > > into the same problem that you are describing. Are you still having
> > this
> > > > problem?
> > > >
> > > > Heath
> > > >
> > > >
> > > >
> > > > On Sat, Feb 23, 2008 at 08:52:03PM +1100, Geoff Callender wrote:
> > > > > Surely someone else is experiencing this symptom in 4.1.5. No?
> > > > >
> > > > > On 21/02/2008, at 8:24 AM, Geoff Callender wrote:
> > > > >
> > > > > >Is anyone else seeing this? In T4.1.5, I'm seeing all the client-
> > > > > >side validation errors momentarily displayed when I submit cancel,
> > eg.
> > > > > >
> > > > > > > > > > >submitType="cancel"/>
> > > > > >
> > > > > >I'm pretty sure this wasn't happening in 4.1.3.
> > > > > >
> > > > > >Cheers,
> > > > > >
> > > > > >Geoff
> > > > > >http://files.doublenegative.com.au/jumpstart
> > > > >
> > > >
> > > > -
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > >
> > >
> > >
> > > --
> > > Andreas Andreou - [EMAIL PROTECTED] - http://blog.andyhot.gr
> > > Tapestry / Tacos developer
> > > Open Source / JEE Consulting
> > >
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
>
> --
> Andreas Andreou - [EMAIL PROTECTED] - http://blog.andyhot.gr
> Tapestry / Tacos developer
> Open Source / JEE Consulting
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]