Hi chris, Many thanks for your tip Anyway what im looking for is the best way to use webware on a MVC environment
For example what im testing is something like the following: Query.psp posts to list.py that forwards request to list.psp Then I post to edit.py that forwards requests to edit.psp Then I post to updater.py that forwards request to updater.psp The I can post back to list.py and so on...... for delete.py/psp and insert.py/psp So I can separete the py files for modeling and controller guys And psp files for the designer guys Am I doing the right thing, what do you suggest on this ? On the other hand im not sure how I can persist on my connection to mysqldb moving all this stuff between pys and psp wondering to optimyze webkit versus modpython and mpservlets >From my tests y conclude uptodate that webware is doing its job wonderfully and on top of this it handles the servlets issues without consuming apaches memory Again thanks in advance Btw: is it possible to have a psp forward tag ? -----Mensaje original----- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de Christoph Zwerschke Enviado el: Lunes, 04 de Diciembre de 2006 20:26 Para: Discussion of Webware for Python including feedback and proposals. Asunto: Re: [Webware-discuss] forwarding req.values ? [EMAIL PROTECTED] wrote: > 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 ? Then, if you press the submit button, only aa, bb, cc will be sent. The req.fields belong only to the current request. Maybe what you are really looking for are session values. If you self.session().setValue('ww', ww) in your PSP file, then you can retrieve ww with self.session().value('ww') in list.psp and all other following requests. -- Christoph ------------------------------------------------------------------------- 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@lists.sourceforge.net 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss