• 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: WOForms
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WOForms


  • Subject: Re: WOForms
  • From: Robert Walker <email@hidden>
  • Date: Fri, 13 Feb 2004 00:20:54 -0500

Xavier,

I quickly put together a very basic demo application that should help you understand some of these concepts.

Download the file DemoApp.zip from here:

http://homepage.mac.com/robertwalker1

This is a XCode project so you can see exactly how it's built. I believe this will answer most of your questions. Have fun and feel free to contact me if you have further questions.

On Feb 12, 2004, at 11:32 AM, Dev WO wrote:

I have created a button (GoBack), which will call an action (goBack which return null), which is in fact work correctly, I can go back to the previous step (the form/confirmation form/ thanks message are all in the same .wo, encapsulated in Conditional).
But the form is completely empty!, I'd like to get my variables already entered in it, is it possible to pass the variable with the goBack action?


Thanks

Xavier

I've found why the browser's back button didn't work correctly. So it may come from a bad implementation in the browser, but it can also be because of my bad implementation of the cache in the web app.
So is there a simple way to add a button in my form that will really go back to the previous page by requiring it from the server?


Thanks

Xavier

Le 9 fivr. 04, ` 18:57, Dev WO a icrit :

Hi,
I'm actually creating a form for a web app (which is basically a website, without any database).
I want to put a form to allow people to send us a report (pretty simple;)).
So I followed the documentation's example (favorite food), but even with the exact same code, I've got some problems:
-If one of the required field isn't filled, I got an error page about null exception!
(I think I may have to initialized the key to null or something like that, but I couldn't figure out for now)
-If I have all the required field OK, i go to the next step, displaying each field directly in HTML, but if I go back with the browser's button, everything I change to the form won't be updated...
(I think I have to wake-up something to force rewrite the variable, but I don't know how to:(, but maybe I could put a "back button" inside the HTML that would force the session to go back...)
-I'd like people to be able to add a commentary, actually it's a WOTextField, but I'd like something bigger so that they can see more lines (and wider), so I tried the WOBrowser, but I don't know which attribut are required...Maybe I should something else than a WOBrowser?


And finally, after displaying the result of the form, I'd like to send it to a specific email (without requiring a client software), but I don't know how to do it (the server runs the mailserver and the domain I want to send the form to is local).

Thanks a lot for your help

Xavier
_______________________________________________
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.
_______________________________________________
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.



--
Sincerely,
Robert Walker
_______________________________________________
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.

  • Follow-Ups:
    • Re: WOForms
      • From: Dev WO <email@hidden>
References: 
 >WOForms (From: Dev WO <email@hidden>)
 >Re: WOForms (From: Dev WO <email@hidden>)
 >Re: WOForms (From: Dev WO <email@hidden>)

  • Prev by Date: Connecting to DBs & LDAP
  • Next by Date: WebServices
  • Previous by thread: Re: WOForms
  • Next by thread: Re: WOForms
  • Index(es):
    • Date
    • Thread