----- Original Message -----
Sent: Tuesday, March 27, 2001 11:59
AM
Subject: RE: [Dynapi-Help] LoadPanel
question
it's
not possible to submit a form using post and have it's results load straight
into a loadpanel, only get works. The simplest solution is to submit your form
to a hidden frame. The cgi should return the results to the hidden frame. The
results need to be encapsultad in a form textarea so you can access the result
in ns4 eg:
<html>
<body>
<form name="result">
<textarea name="result">it
worked!</textarea>
</form>
</body>
</html>
The project I am working on is a Floor Plan
Design page. On this page, the user can create floor plans by
adding and editing objects, like walls and doors and windows
etc.
My challenge is I need to be able to save these
floor plans to the server.
If they are not too large, I can just put all
the data into a URL and load that URL into a LoadPanel. When the
LoadPanel receives confirmation from the CGI, I can inform the user of
success.
The problem is if the floor plan is too large,
then it doesn't seem to work. I believe the problem is a limit on the
size of the URL. My thought was to use a FORM METHOD=POST, but I'm not
sure how to use that with the LoadPanel without poking around a lot in the
LoadPanel code.
Any ideas?
Thanks,
Hershel
Robinson