You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ta...@jakarta.apache.org> on 2005/08/25 02:39:08 UTC

[jira] Assigned: (TAPESTRY-592) Optimize generated JavaScript to reduce the verbosity

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

Howard M. Lewis Ship reassigned TAPESTRY-592:
---------------------------------------------

    Assign To: Howard M. Lewis Ship

> Optimize generated JavaScript to reduce the verbosity
> -----------------------------------------------------
>
>          Key: TAPESTRY-592
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-592
>      Project: Tapestry
>         Type: Improvement
>   Components: Framework
>     Versions: 4.0
>     Reporter: Howard M. Lewis Ship
>     Assignee: Howard M. Lewis Ship
>     Priority: Minor

>
> With the recent changes to make more use of document.getElementById() on the client-side, much of the JavaScript has gotten very verbose.
> I think we could add a few convienience methods to the Tapestry javascript class to tackle the verbosity.
> Tapestry.register(formid)
> -- equivalent to
>    new FormEventManager(document.getElementById(formId))
> Tapestry.onsubmit(formId, handler)
>  -- equivalent to 
>     document.getElementById(formId).events.addSubmitHandler(handler)

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