Re: Is ImageSubmit + Rollover possible ?

Simon Robins <[email protected]> Sun, 5 Jan 2003 20:40:59 +0000
Newsgroups gmane.comp.java.tapestry.devel
Message-ID <[email protected]>
Is it possible to use a normal image and submit the form using onClick?

onClick="myFormName.submit();"

On Sunday, January 5, 2003, at 07:44  pm, Howard M. Lewis Ship wrote:

> This is tricky do do because there's "hole" in JavaScript that makes
> scripting image submit buttons difficult.
>
> ----- Original Message -----
> From: "Rajesh Anneswamy" <[email protected]>
> To: "'Howard M. Lewis Ship'" <[email protected]>
> Cc: <[email protected]>
> Sent: Sunday, January 05, 2003 2:30 PM
> Subject: RE: [Tapestry-developer] Is ImageSubmit + Rollover possible ?
>
>
>> Hi HMLS,
>>
>> Is it possible to make the ImageSubmit use a Rollover component, 
>> instead
> of
>> only a static image ?
>>
>> My ImageSubmit button is working but I would like to make it change 
>> its
>> image on "focus" similar to the functionality provided by Rollover.
>>
>> Something like this:
>>
>> <component id="addButtons" type="Rollover">
>> <binding name="image" expression="assets.addButton"/>
>> <binding name="focus" expression="assets.addButton_pressed"/>
>> </component>
>>
>> <component id="addPortletButton" type="ImageSubmit">
>> <binding name="image" expression="addButtons"/>
>> </component>
>>
>> Thanks!.
>> Rajesh.
>>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Tapestry-developer mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/tapestry-developer
>



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf