• 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: WOForm override "method" attribute
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WOForm override "method" attribute


  • Subject: Re: WOForm override "method" attribute
  • From: Michael Engelhart <email@hidden>
  • Date: Tue, 27 Jul 2004 20:55:23 -0500

Thanks. yeah, I'm not planning on doing this for anything that needs to be secure but if a user submits a form with 4 pop-up items, and a simple text field to return a result, I can't have a system where hitting the back button causes a big nasty error page in IE 6 which is practically 98% of the browser market. I'm actually confused as to how most people get around this when building WO applications. I know I can write a direct action but that seems to defeat some of the beauty of using WO to handle form processing.
I guess if I was building an intranet app I could just create documentation and on page back arrows but a webapp for general consumption to the masses it's not likely that strategy will work.


I haven't looked into it very far but the Apple Store doesn't have this problem and they don't appear to be using direct actions OR my approach of overriding the "method" attribute of WOForm. I would like to know how they did it as it seems to be the best of both worlds.

Thanks again for all the advice.

Mike

On Jul 27, 2004, at 7:52 PM, Arturo Pirez wrote:

On Jul 27, 2004, at 8:07 PM, Sam Barnum wrote:

I have several component pages and they all have WOForm's in them. Since WOForm uses http POST to submit the form data I decided to try this:

MyForm: WOForm {
	method = "get";
}

and it worked perfectly.

Does anyone know of any reason not to do this?

There are security concerns with confidential data. But if that's not a concern for you go for it.


----
WO in philadelphia - wanna cheesesteak with that?
Please visit webobjects.meetup.com.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >WOForm override "method" attribute (From: Michael Engelhart <email@hidden>)
 >Re: WOForm override "method" attribute (From: Dirk Bajohr <email@hidden>)
 >Re: WOForm override "method" attribute (From: Michael Engelhart <email@hidden>)
 >Re: WOForm override "method" attribute (From: Arturo PĂ©rez <email@hidden>)

  • Prev by Date: SQL2K JDBC Driver
  • Next by Date: Barcoding
  • Previous by thread: Re: WOForm override "method" attribute
  • Next by thread: SQL2K JDBC Driver
  • Index(es):
    • Date
    • Thread