How to implement a dropdownlist in CherryPy where selected item is returned as argument appended to current URL?
Jibun no Kage <[email protected]> Mon, 13 May 2019 19:33:05 -0700 (PDT)
| Newsgroups | gmane.comp.python.cherrypy |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_1300_1576212568.1557801185070 Content-Type: multipart/alternative; boundary="----=_Part_1301_152722615.1557801185070" ------=_Part_1301_152722615.1557801185070 Content-Type: text/plain; charset="UTF-8" How to implement a dropdownlist in CherryPy where selected item is returned as argument appended to current URL? For example, say I have a form select: 1-Test 2-Debug 3-Run 4-Report Current URL is /number. And when I select 4, URL via POST (or GET?) is now /number?select=4-Report, or something to the same effect? Would like to keep the solution native python if possible. -- You received this message because you are subscribed to the Google Groups "cherrypy-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to cherrypy-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected] To post to this group, send email to cherrypy-users-/JYPxA39Uh5TLH3MbocFF+G/[email protected] Visit this group at https://groups.google.com/group/cherrypy-users. To view this discussion on the web visit https://groups.google.com/d/msgid/cherrypy-users/9cc9afd3-b73d-4542-8ffb-93910b77a75d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_1301_152722615.1557801185070 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">How to implement a dropdownlist in CherryPy where selected= item is returned as argument appended to current URL?<br><div><br></div><d= iv>For example, say I have a form select:</div><div><br></div><div>1-Test</= div><div>2-Debug</div><div>3-Run</div><div>4-Report</div><div><br></div><di= v>Current URL is /number.</div><div><br></div><div>And when I select 4, URL= via POST (or GET?) is now /number?select=3D4-Report, or something to the s= ame effect?</div><div><br></div><div>Would like to keep the solution native= python if possible.</div></div> <p></p> -- <br /> You received this message because you are subscribed to the Google Groups &= quot;cherrypy-users" group.<br /> To unsubscribe from this group and stop receiving emails from it, send an e= mail to <a href=3D"mailto:cherrypy-users+unsubscribe-/[email protected]">cher= rypy-users+unsubscribe-/[email protected]</a>.<br /> To post to this group, send email to <a href=3D"mailto:cherrypy-users@googl= egroups.com">cherrypy-users-/[email protected]</a>.<br /> Visit this group at <a href=3D"https://groups.google.com/group/cherrypy-use= rs">https://groups.google.com/group/cherrypy-users</a>.<br /> To view this discussion on the web visit <a href=3D"https://groups.google.c= om/d/msgid/cherrypy-users/9cc9afd3-b73d-4542-8ffb-93910b77a75d%40googlegrou= ps.com?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.com/d/= msgid/cherrypy-users/9cc9afd3-b73d-4542-8ffb-93910b77a75d%40googlegroups.co= m</a>.<br /> For more options, visit <a href=3D"https://groups.google.com/d/optout">http= s://groups.google.com/d/optout</a>.<br /> ------=_Part_1301_152722615.1557801185070-- ------=_Part_1300_1576212568.1557801185070--