[AWS] How to update forms dynamically
Pascal Obry
pascal at obry.net
Sat Apr 21 09:36:42 CEST 2007
Alex,
> I'm looking into using AWS to be able to do a couple of things
> related to controlling HTML web pages. We are using predefined HTML
> files to allow the user to enter information using HTML Form controls.
> I'm able to get the data that the user has entered using the
> AWS.Parameters.Get_Name & Get_Value functions. This works great.
Good.
> My problem is that I haven't figure out how to send updated form data
> back to
> the browser. Before the user is allow to update the forms, we need to
> be able to update the Form controls (input, select) values.
> We would like to be able to modify the content of the forms either
> dynamically
> or when the document (HTML file) is being loaded.
You want the Form to be sent back to the user (for validation?) with all
the fields already filled, right? If this is the case just send back the
form with the proper value="" or content (for textarea) in the HTML,
won't this work ?
Another option is to use AWS/AJAX support. You can change the web page
content without reloading everything. In both cases makes sure you look
at the demos which covers all of this.
> I'm running my program on RHEL4 U3, with Mozilla Firefox browser and AWS
> 2.1a.
> I'm new at the CGI and Web Browser technology. I'm a strong ADA
> programmer and
> I would like to use AWS to control web pages instead of using PHP, or
> any other scripting language.
That's nice goal :)
Pascal.
--
--|------------------------------------------------------
--| Pascal Obry Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--| http://www.obry.net
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595
More information about the AWS
mailing list