I need a link that redirects me to a different site and sends the POST parameter. Something like this:
& lt; H: form & gt; & Lt; H: command button value = "submit" action = "http://example.com" & gt; & Lt; F: Ultimate name = "user" value = "roxan" & gt; & Lt; / H: CommandButton & gt; & Lt; / H: form & gt; The above code does not work at all.
I want to get it in HTML:
& lt; Form action = "http://example.com" method = "POST" & gt; & Lt; Input type = "hidden" name = "user" value = "robson" & gt; & Lt; Input type = "submit" value = "submit" & gt; & Lt; / Form & gt; Is this possible?
Vanilla HTML & lt; Form & gt; tag, if you are going to send form data to a non-JSF target, then not the JSF tag. The operation is designed to facilitate, so it has no "action" attribute.
No comments:
Post a Comment