[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tapestry-dev
Subject:    Re: [jira] Commented: (TAPESTRY-336) Change default binding of "tag"
From:       Richard Lewis-Shell <rlewisshell () mac ! com>
Date:       2005-05-28 1:24:22
Message-ID: 4297C846.60607 () mac ! com
[Download RAW message or body]

Perhaps it would simplify things then to make template bindings always 
use literal prefix by default, but allow specification bindings to 
default differently.  That way the template bindings would work the same 
as Tapestry 3.

Richard

Paul Ferraro wrote:
> I added this issue in response to a problem a user encountered 
> converting from 3.0 to 4.0.  People seemed surprised that the tag 
> parameter expected an ognl expression and not a literal.  I think the 
> larger issue is that users are finding default bindings to be a source 
> of confusion.  Especially since every parameter in 3.0, including 
> informal ones, were literal unless otherwise indicated.  Some users have 
> taken to *always* using a binding prefix - so it appears that this 
> feature is not entirely successful since it's intent was to save 
> keystrokes.  Thoughts?
> 
> Paul
> 
> Richard Lewis-Shell (JIRA) wrote:
> 
>>     [ 
>> http://issues.apache.org/jira/browse/TAPESTRY-336?page=comments#action_66425 
>> ]
>>     Richard Lewis-Shell commented on TAPESTRY-336:
>> ----------------------------------------------
>>
>> I am not sure this is a good idea.  All the time of time I have used 
>> tag I've used it to select a real object, not just a String.  Just me?
>>
>>  
>>
>>> Change default binding of "tag" parameter in Submit component to 
>>> "literal"
>>> -------------------------------------------------------------------------- 
>>>
>>>
>>>         Key: TAPESTRY-336
>>>         URL: http://issues.apache.org/jira/browse/TAPESTRY-336
>>>     Project: Tapestry
>>>        Type: Improvement
>>>  Components: Framework
>>>    Versions: 4.0
>>>    Reporter: Paul Ferraro
>>>    Priority: Minor
>>>   
>>
>>
>>  
>>
>>> The default binding of the "tag" parameter in the Submit component 
>>> should be changed from "ognl" to "literal" since it is usually bound 
>>> to a literal string.
>>>   
>>
>>
>>  
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
> 
> 

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic