Re: forwarding req.values ?
"maker joe" <[email protected]>
| Newsgroups | gmane.comp.python.webware |
|---|---|
| Message-ID | <[email protected]> |
hi all tim thank you for you clear response and also thank you all for your time and examples im still thinking that psp is the best and easy way to have the job done on a MVC scenario all modeling/controller and db connections files are going to be built inside psp files <% %> that shoud be included on view psp files, rendering all html (produced by a wysyswyg page builder including all needed <%=rercords/vars %>) psp compiler takes care of all PY code an generate the classes automatically for me including all webkit page and the related servlets to handle vars thru out the servlets i will use post/get and mostly session if anybody thinks that im wrong in anyway i would like to have an input to clarify myself once more by the way i also would like to know if there is a place to upload my snippets or download of someone else and have the way to run them as a WEBWARESTORE of online running examples to discuss and or learn at the same time best regards makerjoe (jose luis hrydziuszko)-(argentina) On 12/5/06, Tim Roberts <[email protected]> wrote: > > On Mon, 4 Dec 2006 15:21:22 -0300, <[email protected]> wrote: > > hi chris: > > if I avoid "trans.application().forward(trans, 'list.psp')" > > <% > > req.setField('ww', ww) > > req.setField('rr', rr) > > req.setField('xx', xx) > > ################### trans.application().forward(trans, 'list.psp') > > %> > > <form action="list.psp" method="post"> > > <INPUT type="hidden" name="aa" value="<%=aa%>"> > > <INPUT type="hidden" name="bb" value="<%=bb%>"> > > <INPUT type="hidden" name="cc" value="<%=cc%>"> > > > > Does all req.values (aa,bb,cc,ww,rr,xx)will be send to list.psp ? > > > > No. req.setField only affects other consumers of this request in > Webware. When you use forward(), the same request object will be > inherited by the new script, so it will see them. In the case you have > there, you are writing HTML back to the web browser, at which point this > request object will be deleted. The response from the client's browser > represents a brand-new request, and will only contain those variables > that you wrote in the HTML form. > > -- > Tim Roberts, [email protected] > Providenza & Boekelheide, Inc. > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Webware-discuss mailing list > Webware-discuss-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/webware-discuss > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Webware-discuss mailing list Webware-discuss-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/webware-discuss