• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Need advice on using image buttons for form submission
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Need advice on using image buttons for form submission


  • Subject: Re: Need advice on using image buttons for form submission
  • From: Chuck Hill <email@hidden>
  • Date: Tue, 27 Feb 2007 11:37:26 -0800


On Feb 27, 2007, at 10:37 AM, Kevin Windham wrote:

I am trying to figure out how to use an image for a submit button and also use javascript to change the button's image for rollover and click effects. The difficulty seems to be that when using a WOImageButton the name attribute is determined by WO when it renders the page to the browser.

You are making it too difficult again. :-) Just add a name = "MyName" binding to it. The only time this will get you in trouble is if the form input is in a WORepetition. Give it a name binding like that and every line in the loop will have the same name. Much confusion results for all parties.



All my rollover scripts work based on the name and it would be a pain to try and change them.

An alternative is to change them to work on an id.

Chuck



What are you guys using to submit a form with rollover buttons. It looks like one could bind an action to a form and use javascript to .submit the form, but I don't see how that would work with more than one button.


Anyone come up with a good solution?

Thanks,
Kevin

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40global-village.net


This email sent to email@hidden


--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects






_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Need advice on using image buttons for form submission (From: Kevin Windham <email@hidden>)

  • Prev by Date: Re: Large deployment advice
  • Next by Date: RE: Large deployment advice
  • Previous by thread: Re: Need advice on using image buttons for form submission
  • Next by thread: Get all the sessionsID
  • Index(es):
    • Date
    • Thread