Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Content Management (Extended ECM)
API, SDK, REST and Web Services
How to you set nexturl to be javascript void(0) ?
Mireille_Bedirian_(mireille.bedirian@space.gc.ca_(
Hi I have an html form that changes the categories an object. It works fine. But when it is done, it navigates to "nexturl"I would like to stay on the same html page.Is there a way to set nexturl = javascript:void(0), or something like that?thanks Mireille
Find more posts tagged with
Comments
Steve Brezina
Hi Mireille, I assume you can edit the weblingo HTML source of your form. You can derive the URL to the current page from the request using $WEBDSP.HTMLPkg.ArgsToURL(). I would try that instead of pure JS. ;String nextUrl = $WEBDSP.HTMLPkg.ArgsToURL( request )Regards, Steve
Mireille_Bedirian_(mireille.bedirian@space.gc.ca_(
If I set the nexturl to the current page, it would refresh the content and I don't want to do that, so I found this workaround.I set the next url to a webreport that is "lean" and I set the form target to a hidden Iframe on the page.Now when I submit the form, it changes the values and then the iframe contents goes to nexturl, but we don't see it.Thanks for your help.Mireille