CherryPy execute class function on button click when tree.mount() method used?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

CherryPy execute class function on button click when tree.mount() method used?

jibunnokage
How do you get CherryPy to execute class function on button click when tree.mount() method used?  All the examples use quickstart, which is not reasonable for any serious web site implementation.  Tutorial 4 from the CherryPy documentation fails with '/generate' not found, if you change from quick start to tree.mount execution model.

--
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 [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/cherrypy-users.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: CherryPy execute class function on button click when tree.mount() method used?

jibunnokage
I found out that the issue is actually specific to the browser, Microsoft IE 11 does not parse the HTML correctly, as say Firefox does.  So the examples of how to use CherryPy with tree.mount() versus quickstart() work on Firefox but not IE11.

On Saturday, April 28, 2018 at 8:28:24 AM UTC-7, [hidden email] wrote:
How do you get CherryPy to execute class function on button click when tree.mount() method used?  All the examples use quickstart, which is not reasonable for any serious web site implementation.  Tutorial 4 from the CherryPy documentation fails with '/generate' not found, if you change from quick start to tree.mount execution model.

--
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 [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/cherrypy-users.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: CherryPy execute class function on button click when tree.mount() method used?

Sviatoslav Sydorenko-2
It does not depend on browser or mount method. You probably emitted wrong html from the request handler.

--Sviatoslav.

Sent from my phone, please pardon any typos.

On Sat, Apr 28, 2018, 23:02 <[hidden email]> wrote:
I found out that the issue is actually specific to the browser, Microsoft IE 11 does not parse the HTML correctly, as say Firefox does.  So the examples of how to use CherryPy with tree.mount() versus quickstart() work on Firefox but not IE11.

On Saturday, April 28, 2018 at 8:28:24 AM UTC-7, [hidden email] wrote:
How do you get CherryPy to execute class function on button click when tree.mount() method used?  All the examples use quickstart, which is not reasonable for any serious web site implementation.  Tutorial 4 from the CherryPy documentation fails with '/generate' not found, if you change from quick start to tree.mount execution model.

--
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 [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/cherrypy-users.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/cherrypy-users.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: CherryPy execute class function on button click when tree.mount() method used?

jibunnokage
In reply to this post by jibunnokage
Yeah, Fire Fox works... so back tracking now to figure out what is tripping it up.  MS IE11, Edge and Chrome it fails to work.  Really odd.


On Saturday, April 28, 2018 at 8:28:24 AM UTC-7, [hidden email] wrote:
How do you get CherryPy to execute class function on button click when tree.mount() method used?  All the examples use quickstart, which is not reasonable for any serious web site implementation.  Tutorial 4 from the CherryPy documentation fails with '/generate' not found, if you change from quick start to tree.mount execution model.

--
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 [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/cherrypy-users.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: CherryPy execute class function on button click when tree.mount() method used?

Sviatoslav Sydorenko-2
No, it works as expected unless you have a proof to show.

--Sviatoslav.

Sent from my phone, please pardon any typos.

On Sun, Apr 29, 2018, 06:00 <[hidden email]> wrote:
Yeah, Fire Fox works... so back tracking now to figure out what is tripping it up.  MS IE11, Edge and Chrome it fails to work.  Really odd.


On Saturday, April 28, 2018 at 8:28:24 AM UTC-7, [hidden email] wrote:
How do you get CherryPy to execute class function on button click when tree.mount() method used?  All the examples use quickstart, which is not reasonable for any serious web site implementation.  Tutorial 4 from the CherryPy documentation fails with '/generate' not found, if you change from quick start to tree.mount execution model.

--
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 [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/cherrypy-users.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/cherrypy-users.
For more options, visit https://groups.google.com/d/optout.