-
FEATURED COMPONENTS
First time here? Check out the FAQ!
hi all.
i want to send many data via post to another web app. Doing directly, without passing in the client, is not working cause the page is not updated and so the new destination page is not showed.
I've tried with get with Clients.sendRedirect and it works but i don't want the many parameters sent showed in the address bar. Also i can't hide the address bar.
I'm not sure if there is a simpler way. What i thought is:
i don't know how to do it
can anyone help?
Regards
ZB
Hey there,
Have a look at this fiddle
easiest way to submit the form is with a client-side listener, but you can trigger it from server side too, with evalJavaScript.
To create the form itself, the easiest (but brute force way) is to just set the content of an html component after creating the content string. using hidden inputs is a good way to prevent it from affecting your UI.
try it out ;)
Asked: 2020-10-15 21:57:47 +0800
Seen: 14 times
Last updated: Oct 16 '20
wrong valueException come in front of modal popup [closed]
Use parameters in a conditional @command
Problems with multiple press and onCtrlKey
MVVM @save on the fly [closed]
Unable to activate destroyed desktop
org.zkoss.zk.ui.UiException: java.lang.ClassNotFoundException
How to put a image or Letter over image on a specific XY Coordinate
Hi MDuchemin, i've implemeneted it as you suggested...
Thanks a lot
Best regards
ZB
ziobleed ( 2020-10-16 21:00:29 +0800 )edit