You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Grzegorz Mrowka (JIRA)" <ta...@jakarta.apache.org> on 2006/12/25 00:26:23 UTC

[jira] Created: (TAPESTRY-1214) @Submit with submitType="refresh" : JavaScript syntax error

@Submit with submitType="refresh" : JavaScript syntax error
-----------------------------------------------------------

                 Key: TAPESTRY-1214
                 URL: http://issues.apache.org/jira/browse/TAPESTRY-1214
             Project: Tapestry
          Issue Type: Bug
    Affects Versions: 4.1.2
         Environment: FF 1.5
            Reporter: Grzegorz Mrowka


syntax error
tapestry.form.refresh("myForm", "myButton", ); 


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


[jira] Commented: (TAPESTRY-1214) @Submit with submitType="refresh" : JavaScript syntax error

Posted by "Grzegorz Mrowka (JIRA)" <ta...@jakarta.apache.org>.
    [ http://issues.apache.org/jira/browse/TAPESTRY-1214?page=comments#action_12461267 ] 
            
Grzegorz Mrowka commented on TAPESTRY-1214:
-------------------------------------------

Occures only when onClick binding is used and dojo.event.connect with anonymous function is generated:
tapestry.event1340173574=function(e){
            dojo.event.browser.stopEvent(e);
            tapestry.form.refresh("pageForm", "importantDates_addButton", );
        };
        dojo.event.connect(dojo.byId("importantDates_addButton"), "onclick", tapestry, "event1340173574");


There is one more troublesome issue.
When I use onclick="ognl:onClickEvent" binding on @Submit component and ognl expression is returning null, then there is no onclick binding in generated html element but tapestry is connecting anonymous function by dojo. In this situation it could use standard onclick method.

> @Submit with submitType="refresh" : JavaScript syntax error
> -----------------------------------------------------------
>
>                 Key: TAPESTRY-1214
>                 URL: http://issues.apache.org/jira/browse/TAPESTRY-1214
>             Project: Tapestry
>          Issue Type: Bug
>    Affects Versions: 4.1.2
>         Environment: FF 1.5
>            Reporter: Grzegorz Mrowka
>
> syntax error
> tapestry.form.refresh("myForm", "myButton", ); 

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


[jira] Resolved: (TAPESTRY-1214) @Submit with submitType="refresh" : JavaScript syntax error

Posted by "Jesse Kuhnert (JIRA)" <de...@tapestry.apache.org>.
     [ https://issues.apache.org/jira/browse/TAPESTRY-1214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jesse Kuhnert resolved TAPESTRY-1214.
-------------------------------------

    Resolution: Fixed
      Assignee: Jesse Kuhnert

> @Submit with submitType="refresh" : JavaScript syntax error
> -----------------------------------------------------------
>
>                 Key: TAPESTRY-1214
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1214
>             Project: Tapestry
>          Issue Type: Bug
>    Affects Versions: 4.1.2
>         Environment: FF 1.5
>            Reporter: Grzegorz Mrowka
>         Assigned To: Jesse Kuhnert
>             Fix For: 4.1.2
>
>
> syntax error
> tapestry.form.refresh("myForm", "myButton", ); 

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


[jira] Updated: (TAPESTRY-1214) @Submit with submitType="refresh" : JavaScript syntax error

Posted by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org>.
     [ https://issues.apache.org/jira/browse/TAPESTRY-1214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jesse Kuhnert updated TAPESTRY-1214:
------------------------------------

    Fix Version/s: 4.1.2

> @Submit with submitType="refresh" : JavaScript syntax error
> -----------------------------------------------------------
>
>                 Key: TAPESTRY-1214
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1214
>             Project: Tapestry
>          Issue Type: Bug
>    Affects Versions: 4.1.2
>         Environment: FF 1.5
>            Reporter: Grzegorz Mrowka
>             Fix For: 4.1.2
>
>
> syntax error
> tapestry.form.refresh("myForm", "myButton", ); 

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

        

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