Re: [shale][clay] defining onClick() etc for components

2006-04-28 Thread Ryan Wynn

On 4/28/06, Ian.Priest <[EMAIL PROTECTED]> wrote:









Try onchange and onselect instead of onChange and onSelect.  I think
case matters as dictated by the implementation of UISelectOne.


RE: [shale][clay] defining onClick() etc for components - fixed

2006-04-28 Thread Ian.Priest
Just noticed the case is wrong on the attributes. 

Wrong: 
Right: 

Now renders as 

...
mailto:[EMAIL PROTECTED] 
Sent: 28 April 2006 15:13
To: Struts Users Mailing List
Subject: [shale][clay] defining onClick() etc for components

Hi all,

 I'm using clay full html and i need to call a javascript function from
a component. The component is defined in clay-config as
 



















And my html is coded as ...





Days





Day 1


Day 2




required






But unfortunately when it's run through clay the rendered html doesn't
contian any onClick or onSelect code. It renders like this...




Days:


   
Mon
Tue
...




*






Can anyone see what I'm doing wrong, or suggest how I get my event
handlers to render?

Cheers,
Ian
 


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




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



[shale][clay] defining onClick() etc for components

2006-04-28 Thread Ian.Priest
Hi all,

 I'm using clay full html and i need to call a javascript function from
a component. The component is defined in clay-config as
 



















And my html is coded as ...





Days





Day 1


Day 2




required






But unfortunately when it's run through clay the rendered html doesn't
contian any onClick or onSelect code. It renders like this...




Days:


   
Mon
Tue
...




*






Can anyone see what I'm doing wrong, or suggest how I get my event
handlers to render?

Cheers,
Ian
 


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