| I have three navigation buttons on the page. one takes you | back, one will update context, and last pushes stuff to the | next level. However next level needs to be https not http. | so href doesn't work as explained and stuff that works | can't be tied to image so that can be invoked on click. | Who do you handle http -> https transition. | thanks
Maybe I don't understand. Why can't you just do this? <a href="back.py"><img src="backbutton.gif"></a> <a href="update.py"><img src="update.gif"></a> <a href="https://secure.server.com/nextlevel.py"><img src="nextlevel.gif"></a> If you mean to use form buttons rather than images, yes, it's different. You'll have to use some javascript to have 3 different targets for one form. OR, if you use webware actions, you could have three actions in your buttons like <input type="submit" name="_action_back" value="BACK"> <input type="submit" name="_action_update" value="UPDATE"> <input type="submit" name="_action_next" value="NEXT"> then three methods in your target servlet: def actions(self): # tells servlet what methods to allow from action return ['back','update','next'] def back(self): self.transaction().response().sendRedirect('back.py') def update(self): self.transaction().response().sendRedirect('update.py') def next(self): self.transaction().response().sendRedirect('https://www.site.com/cgi-bin/Pag e.py') _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
