You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Kevin J. Menard, Jr. (JIRA)" <ta...@jakarta.apache.org> on 2005/09/10 16:33:30 UTC

[jira] Updated: (TAPESTRY-630) PropertySelection "listener" parameter does nothing

     [ http://issues.apache.org/jira/browse/TAPESTRY-630?page=all ]

Kevin J. Menard, Jr. updated TAPESTRY-630:
------------------------------------------

    Attachment: testcase.zip

It may very well be the case that I'm doing something wrong, but I'm pretty sure I'm not.  I've attached a test .html and .java file (with annotations) and the exception page from Tapestry.  Due to not having my selection model and different package structure, you won't be able to run these as are, but they're small enough to illustrate the issue.  Please let me know if you need anything else.

> PropertySelection "listener" parameter does nothing
> ---------------------------------------------------
>
>          Key: TAPESTRY-630
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-630
>      Project: Tapestry
>         Type: Bug
>     Versions: 4.0
>     Reporter: Kevin J. Menard, Jr.
>     Assignee: Howard M. Lewis Ship
>  Attachments: testcase.zip
>
> The formal "listener" parameter for the PropertySelection listener seems to not do much.  Specifying the parameter but not having the actual listener method will generate an error as expected.  However, if a listener is supplied, it is simply never called.  I tested this by setting onchange="javascript:this.form.events.refresh();" and onchange="javascript:this.form.submit();" (I did not try this.form.events.submit() since there is a bug with that not actually submitting currently).
> Anyway, it would be nice if the listener would get called.  Changes to PropertySelection components are often used to update form contents.  Another nicety would be if specifying a listener automatically provided an onchange value.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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