Where was that ? (just for future reference if anyone sees this thread)
On Saturday, October 20, 2012 4:08:50 AM UTC+2, lyn2py wrote:
Hi Niphlod,
Thanks for the suggestion, I finally figured out what's wrong. I had the
code $(document).ready(function()... when that was removed, it worked.
It was in my index.html file. I thought that since it was js, it wouldn't
affect. But it turned out to override the web2py component.
To resolve, use
$(function(){...
instead.
On Saturday, October 20, 2012 10:17:45 PM UTC+8, Niphlod wrote:
Where was that ? (just for future reference if
please check that your link is rendered to something like
a onclick=web2py_component(/app/default/view/1,puppa);return false;
href=/app/default/view/1title/a
If that's the case, and it's not working, then something is off with the
javascript (this functionality relies on web2py.js loaded).
I looked up source and pasted it wholesale here:
a href=/testapp/view/2?_signature=55b3689d7a3d25c3607631da547ad3139b3e47af
onclick=web2py_component(quot;/testapp/view/2?_signature=55b3689d7a3d25c3607631da547ad3139b3e47afquot;,quot;post1234quot;);return
false;Title Title Title/a
It looks
yep, indeed there seems to be a problem in your rendered link. Can you see
if removing user_signature the link works ?
On Friday, October 19, 2012 3:41:24 PM UTC+2, lyn2py wrote:
I looked up source and pasted it wholesale here:
a
I dropped the user_signature. Now it looks like:
a href=/testapp/view/2
onclick=web2py_component(quot;/testapp/view/2quot;,quot;post1234quot;);return
false; Title Title Title /a
Still doesn't work.
I'm on Version 2.0.9 (2012-09-17 21:37:10) stable.
On Friday, October 19, 2012 9:51:52 PM
Right now I can't switch to 2.0.9 . Can you try current trunk ?
On Friday, October 19, 2012 10:44:33 PM UTC+2, lyn2py wrote:
I dropped the user_signature. Now it looks like:
a href=/testapp/view/2
onclick=web2py_component(quot;/testapp/view/2quot;,quot;post1234quot;);return
false; Title
My results on the latest git clone,
Version 2.1.1 (2012-10-19 14:59:27) dev
--- The same as before. the quotation marks are still quot;
In addition, I have lost my dropdown menus (response.menu).
I thought maybe I created a new app on the trunk and ported over all my
controllers, models,
something is off with your controller. Try to post a minimalist app to
reproduce the problem, I can't simulate your issue.
On Friday, October 19, 2012 11:35:51 PM UTC+2, lyn2py wrote:
My results on the latest git clone,
Version 2.1.1 (2012-10-19 14:59:27) dev
--- The same as before. the
Hi Niphlod,
Thanks for the suggestion, I finally figured out what's wrong. I had the
code $(document).ready(function()... when that was removed, it worked.
On Saturday, October 20, 2012 6:27:01 AM UTC+8, Niphlod wrote:
something is off with your controller. Try to post a minimalist app to
10 matches
Mail list logo