Chris Kimpton wrote:

> Hi,
> 
> --- Pierre BESNARD <[EMAIL PROTECTED]> wrote:
> 
>>Secondly, it will be kind of you to excuse my poor English.
>>
> 
> Don't worry - it is definitely better than my pathetic french  :-(
> 
> 
>>I have observed that when an action method ( doSomething() ) behave
>>2 upper-case letters (i.e.: doSomeThing() ), the action is not
>>called as it should be!
>>
> 
> This is due to the way the ActionEvent class in Turbine finds your
> method - it (or the http processing) seems to lose the upper and
> lower case information, so all it gets to process is dosomething - it
> then guesses that you may want doSomething - but it does not do any
> further guessing - It could do more - have a look at the turbine code
> - there maybe comments/reasons as to why it doesn't.
> 


I guess that basically it's because the event is actually coded in an HTML
page, and you can't expect HTML designer to actually care about something
as trivial as case in field values, so to make the event work whatever the
case mix used as the HTML input field, the event is forced to lowercase except
the first letter which is forced to uppercase.

Matching

-- 
Raphael Luta - [EMAIL PROTECTED]
Professional Services Manager
Vivendi Universal Networks - Paris


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to