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)" <de...@tapestry.apache.org> on 2008/04/05 15:09:24 UTC

[jira] Created: (TAPESTRY-2334) Optimize JavaScript generation for FormInjector

Optimize JavaScript generation for FormInjector
-----------------------------------------------

                 Key: TAPESTRY-2334
                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2334
             Project: Tapestry
          Issue Type: Improvement
          Components: tapestry-core
    Affects Versions: 5.0.11
            Reporter: Howard M. Lewis Ship
            Priority: Minor


Most of the time, the JSON Object passed to Tapestry.initializeFormInjectors() contains just a single property, "element".

initializeFormInjectors() should be changed so that if a value is just a string, it is treated the same as a JSON object with just an element property.  This would be more succinct and readable.

-- 
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] Closed: (TAPESTRY-2334) Optimize JavaScript generation for FormInjector

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

Howard M. Lewis Ship closed TAPESTRY-2334.
------------------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0.12

This turned into a big refactoring of how JavaScript initialization code gets generated.  Came out nice!

> Optimize JavaScript generation for FormInjector
> -----------------------------------------------
>
>                 Key: TAPESTRY-2334
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2334
>             Project: Tapestry
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.0.11
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>            Priority: Minor
>             Fix For: 5.0.12
>
>
> Most of the time, the JSON Object passed to Tapestry.initializeFormInjectors() contains just a single property, "element".
> initializeFormInjectors() should be changed so that if a value is just a string, it is treated the same as a JSON object with just an element property.  This would be more succinct and readable.

-- 
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] Assigned: (TAPESTRY-2334) Optimize JavaScript generation for FormInjector

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

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

    Assignee: Howard M. Lewis Ship

> Optimize JavaScript generation for FormInjector
> -----------------------------------------------
>
>                 Key: TAPESTRY-2334
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2334
>             Project: Tapestry
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.0.11
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>            Priority: Minor
>
> Most of the time, the JSON Object passed to Tapestry.initializeFormInjectors() contains just a single property, "element".
> initializeFormInjectors() should be changed so that if a value is just a string, it is treated the same as a JSON object with just an element property.  This would be more succinct and readable.

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