Great, that might actually give me the right inspiration to complete the serverTasks 
fileI/O widget and make it even easier - and less RAM consuming - than I had estimated 
it to be. 

Thanks Richard, you're doing a great job...

Henrik Våglin [ [EMAIL PROTECTED] ]


----- Original Message ----- 
From: "Richard Bennett" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 15, 2001 1:01 PM
Subject: Re: [Dynapi-Help] Submitting Form Target to a DynAPI Layer


> Hi,
> That was a good example, so I finished it and added it to:
> 
> Henrik_Vaglin_Examples
>         Form_Submitting.html
> http://www.richardinfo.com/?menu=examples&node=7
> 
> It's a "live" example, using a little php script.
> BTW you can position a loadpanel as normal.
> 
> Cheers,
> Richard Bennett
> 
> [EMAIL PROTECTED]
> www.richardinfo.com
> (Everything running on, and ported to the 19/12/2000 snapshot of DynAPI2)
> Find the DynAPI faq here:
> http://sourceforge.net/docman/display_doc.php?docid=656&group_id=5757
> Browse the mailinglist here:
> http://www.mail-archive.com/index.php3?hunt=dynapi
> 
> 
> ----- Original Message -----
> From: "Henrik Våglin" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, February 15, 2001 9:23 AM
> Subject: Re: [Dynapi-Help] Submitting Form Target to a DynAPI Layer
> 
> 
> > An idea I haven't been able to fully evalute as of
> > yet:
> >
> > If you don't want to reload the page you should use a
> > a) loadpanel or b) iframe (no NS4.x compability
> > though). Then you should only use a querystring (which
> > you construct from the form values and put together
> > with the url of the reciveing script) and load it -
> > not go to in the loadpanel/iframe. Loadpanel isn't
> > able to be positioned so you would probably want to
> > put it inside of another dynlayer.
> >
> > something like this (not tested!)
> >
> > myFormLayer= new DynLayer()
> > myFormlayer.setHTML("<form name='myForm'>Value1:<input
> > type='text' name='value1'>Value2:<input type='text'
> > name='value2'><input type='button'
> > onclick='doPost'><//form>")
> > DynAPI.document.addChild(myFormLayer)
> >
> > myOutputLayer = new DynLayer()
> > myOutputLayerCanvas = new LoadPanel()
> > DynAPI.document.addChild(myOutputLayer)
> > myOutputLayer.addChild(myOutputLayerCanvas)
> >
> > doPost=function(){
> >
> eval(myOutputLayerCanvas.setURL(\'formhandler.cgi?value1=\'+myForm.value1+\'
> &value2=\'+myForm.value2))
> > }
> >
> > make sure you include all necessary DynAPI files; that
> > the recieving script handles QueryStrings and output
> > directly (no redirection or it will probably reload
> > into the window depending on serverside method); that
> > the data isn't topsecret (cause querystrings aren't as
> > safe as using regular post method)
> >
> > let know if it works out for you.
> >
> > Henrik Våglin [ [EMAIL PROTECTED] ]
> >
> >  --- Ramon Buckland <[EMAIL PROTECTED]> wrote:
> > > Hi ..
> > >
> > > I wish to know how to submit a form to target a
> > > different layer
> > > from its orginating layer.
> > >
> > > eg: Two Layers on a page side-by-side
> > > And a form is on one of those layers.
> > >
> > > I wish to submit the form to the other layer using
> > > it
> > > as the target in the form..
> > >
> > > Any ideas ?
> > >
> > >
> > >
> > > ------------------------------------------------
> > > Ramon Buckland
> > > Applications Engineer
> > >
> > > email: [EMAIL PROTECTED]
> > > web:   www.f5.com.au
> > > phone: (07) 3257 7900
> > > fax:   (07) 3257 7955
> > >
> > > f5. Make the Medium Work. Simple.
> > > ------------------------------------------------
> > >
> > >
> > > _______________________________________________
> > > Dynapi-Help mailing list
> > > [EMAIL PROTECTED]
> > >
> > http://lists.sourceforge.net/lists/listinfo/dynapi-help
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Get personalized email addresses from Yahoo! Mail - only $35
> > a year!  http://personal.mail.yahoo.com/
> >
> > _______________________________________________
> > Dynapi-Help mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/dynapi-help
> > ____________________________________________________________
> > Get your free domain name and domain-based e-mail from
> > Namezero.com. New!  Namezero Plus domains now available.
> > Find out more at: http://www.namezero.com
> >
> 
> 
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-help
> 


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to