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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]