[jira] Created: (TAPESTRY-627) "SubmitOnChange" attribute of "PropertySelection" doesn't work

View: New views
4 Messages — Rating Filter:   Alert me  

[jira] Created: (TAPESTRY-627) "SubmitOnChange" attribute of "PropertySelection" doesn't work

by JIRA tapestry-dev@jakarta.apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

"SubmitOnChange" attribute of "PropertySelection" doesn't work
--------------------------------------------------------------

         Key: TAPESTRY-627
         URL: http://issues.apache.org/jira/browse/TAPESTRY-627
     Project: Tapestry
        Type: Bug
    Versions: 4.0    
 Environment: Tapestry 4 beta5
    Reporter: Jone


"SubmitOnChange" attribute of "PropertySelection" doesn't work,this is just because the javascript rendered by the component  doesn't work.


--
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@...
For additional commands, e-mail: tapestry-dev-help@...


[jira] Commented: (TAPESTRY-627) "SubmitOnChange" attribute of "PropertySelection" doesn't work

by JIRA tapestry-dev@jakarta.apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

    [ http://issues.apache.org/jira/browse/TAPESTRY-627?page=comments#action_12322817 ]

Thomas Christensen commented on TAPESTRY-627:
---------------------------------------------

I guess what you are saying is that the change from beta-4:

        if (getSubmitOnChange())
            writer.attribute("onchange", "this.form.submit()");

to HEAD:
        if (getSubmitOnChange())
            writer.attribute("onchange", "javascript:   this.form.events.submit();");

I have the beta-4 version working on safari 2.0 and firefox 1.1. And will test HEAD to verify this.


> "SubmitOnChange" attribute of "PropertySelection" doesn't work
> --------------------------------------------------------------
>
>          Key: TAPESTRY-627
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-627
>      Project: Tapestry
>         Type: Bug
>     Versions: 4.0
>  Environment: Tapestry 4 beta5
>     Reporter: Jone

>
> "SubmitOnChange" attribute of "PropertySelection" doesn't work,this is just because the javascript rendered by the component  doesn't work.

--
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@...
For additional commands, e-mail: tapestry-dev-help@...


[jira] Commented: (TAPESTRY-627) "SubmitOnChange" attribute of "PropertySelection" doesn't work

by JIRA tapestry-dev@jakarta.apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

    [ http://issues.apache.org/jira/browse/TAPESTRY-627?page=comments#action_12322827 ]

Kevin J. Menard, Jr. commented on TAPESTRY-627:
-----------------------------------------------

This seems to duplicate my report for TAPESTRY-625, which Howard recently marked as a duplicate of TAPESTRY-554.

> "SubmitOnChange" attribute of "PropertySelection" doesn't work
> --------------------------------------------------------------
>
>          Key: TAPESTRY-627
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-627
>      Project: Tapestry
>         Type: Bug
>     Versions: 4.0
>  Environment: Tapestry 4 beta5
>     Reporter: Jone

>
> "SubmitOnChange" attribute of "PropertySelection" doesn't work,this is just because the javascript rendered by the component  doesn't work.

--
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@...
For additional commands, e-mail: tapestry-dev-help@...


[jira] Commented: (TAPESTRY-627) "SubmitOnChange" attribute of "PropertySelection" doesn't work

by Tapestry - Dev mailing list :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ https://issues.apache.org/jira/browse/TAPESTRY-627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12614040#action_12614040 ]

splounx commented on TAPESTRY-627:
----------------------------------

Still seeing the following code in PropertySelection.renderFormComponent() in the 4.0.2 release source code for Tapestry:

if (getSubmitOnChange())
            writer.attribute("onchange", "javascript:   this.form.events.submit();");

Not clear on how the overhaul of Form.js described in TAPESTRY-554 would resolve this particular issue since this class is rendering the following broken JavaScript right into the HTML output:

onchange="javascript:   this.form.events.submit();"

Is there a newer 4.0 release where this has been addressed?  I've had to patch locally in the meanwhile...



> "SubmitOnChange" attribute of "PropertySelection" doesn't work
> --------------------------------------------------------------
>
>                 Key: TAPESTRY-627
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-627
>             Project: Tapestry
>          Issue Type: Bug
>    Affects Versions: 4.0
>         Environment: Tapestry 4 beta5
>            Reporter: Jone
>            Assignee: Howard M. Lewis Ship
>
> "SubmitOnChange" attribute of "PropertySelection" doesn't work,this is just because the javascript rendered by the component  doesn't work.

--
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@...
For additional commands, e-mail: dev-help@...