El Mar 26 Jul 2005 17:29, Howard Lewis Ship escribió:
> <a listener="listener:doClick">...</a>
>
> vs.
>
> <a onclick="listener:doClick"> ... </a>

The second one makes a better idiom for components receiving more than one 
IActionListener parameter and maintaining coherence with link components that 
receive only one.

i.e.:

<span jwcid="@Wizard" onFinish="listener:wizardFinish" 
onCancel="listener:wizardCancel"/>

What bothers me here is the camel case in parameter names... all lowercase as 
"onclick" ain't better ;)

> I'm also tending towards default of literal: in a template, default of
> ognl: in XML.  But there's that consistency issue again; perhaps is
> should be literal: everywhere for best efficiency?

I think it should be literal everywhere.... though it should be configurable 
of course...

-- 
Pablo I. Lalloni

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

Reply via email to