default prefix OGNL prevents WYSIWYG preview in template
--------------------------------------------------------

         Key: TAPESTRY-536
         URL: http://issues.apache.org/jira/browse/TAPESTRY-536
     Project: Tapestry
        Type: Bug
  Components: Framework  
    Versions: 4.0    
 Environment: Windows XP
    Reporter: Kent Tong
    Priority: Critical


For example, Foo.html
   <form...>
   <input type="text" value="Paul" jwcid="userName"/>
   </form>

Foo.page:
<page-specification ...>
        <component id="userName" type="TextField">
                <binding name="value" value="currentUser.name"/>
        </component>
</page-specification>

At runtime there will be an exception saying there are two bindings for 
parameter "value" (conflicts).
Setting the value to "Pual" is certainly a legitimate use for preview purpose. 
By spirit this is allowed
because it is a literal string. However, as the default prefix for the "value" 
parameter is ognl, so
Tapestry is thinking that "Paul" is an OGNL expression so it won't tolerate it.

This is a serious design issue that must be addressed.

Thanks!

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

Reply via email to