<div dir="ltr"><div></div><div>Hi BenoƮt, everyone,<br></div><div><br></div><div>I was trying to make a small configuration fronted for a pagekite [1] relay.</div><div><span class="gmail-tlid-translation gmail-translation" lang="en"><span title="" class="gmail-">I use pagekite for tests, a while ago, but I need to make it more dynamic.</span></span></div><div><span class="gmail-tlid-translation gmail-translation" lang="en"><span title="" class="gmail-">Basically I need to manage the users that connect to the relay. With this</span></span></div><div><span class="gmail-tlid-translation gmail-translation" lang="en"><span title="" class="gmail-">commit [2] it's easy, but I want to do the fronted that manage it.</span></span></div><div><span class="gmail-tlid-translation gmail-translation" lang="en"><span title="" class="gmail-"><br></span></span></div><div><span class="gmail-tlid-translation gmail-translation" lang="en"><span title="" class="gmail-">Only need an CRUD with users, ports and secret key. It's easy .. No? ;)<br></span></span></div><div><span class="gmail-tlid-translation gmail-translation" lang="en"><span title="" class="gmail-"></span></span></div><div><span class="gmail-tlid-translation gmail-translation" lang="en"><span title="" class="gmail-"><br></span></span></div><div><span class="gmail-tlid-translation gmail-translation" lang="en"><span title="" class="gmail-">Well. The important thing is also that I need a simple login and control</span></span></div><div><span class="gmail-tlid-translation gmail-translation" lang="en"><span title="" class="gmail-">the routes. If it is logged, show the main fronted (on /relays), and if not,</span></span></div><div><span class="gmail-tlid-translation gmail-translation" lang="en"><span title="" class="gmail-">redirect to the login webform (on /login)<br></span></span></div><div><br></div><div>Since this is a relatively new control, there are few examples (Practically</div><div>only those who are with the source code). and I do not find any that shows</div><div>how to redirect to another webform. :S<br></div><div><span class="gmail-tlid-translation gmail-translation" lang="en"><span title="" class="gmail-"></span></span></div><div><span class="gmail-tlid-translation gmail-translation" lang="en"><span title="" class="gmail-"><br></span></span></div><div><span class="gmail-tlid-translation gmail-translation" lang="en"><span title="" class="gmail-">In the original announcement[3], you said this:</span></span></div><div><span class="gmail-tlid-translation gmail-translation" lang="en"><span title="" class="gmail-"><br></span></span></div><div>> How to switch from one web form to another one is not designed yet. At
</div>> the moment, the url 'http://<server>/<root>/abcd' is supposed to display
<br>> the web form whose class name is 'abcd'. There is no way to have
<br><div>> different instances of the same web form. <br></div><div><br></div><div>But I could not make it work.. :(<br></div><div><br></div><div>Delving into the code, I found that basically you deleted it[4], but I do not</div><div>see how to replace it. You can guide me in what is the alternative to</div><div>solve this.?<br>A single example with a webButton that redirects to another webform,</div><div>should be more than enough. :smiley:<br></div><div><br></div><div>Of course, thank you very much ..<br></div><div><br></div><div>Regards,<br></div><div>Matias<br></div><div><br></div><div>..and p.s: Congratulations for your new stage as a self-employed</div><div>company. =)<br></div><div><br></div><div>[1]: <a href="https://pagekite.net/">https://pagekite.net/</a></div><div>[2]: <a href="https://github.com/pagekite/PyPagekite/commit/9b11980a43cbe9f0c4fc7f749188cb6266737600">https://github.com/pagekite/PyPagekite/commit/9b11980a43cbe9f0c4fc7f749188cb6266737600</a></div><div>[3]: <a href="http://gambas.8142.n7.nabble.com/New-gb-web-form-component-td54380.html">http://gambas.8142.n7.nabble.com/New-gb-web-form-component-td54380.html</a></div><div>[4]: <a href="https://gitlab.com/gambas/gambas/commit/ab231c0bda9ff2eff0764dd7dad9269e3c4123d4">https://gitlab.com/gambas/gambas/commit/ab231c0bda9ff2eff0764dd7dad9269e3c4123d4</a></div></div>