Then I think the MyFaces developers should change the design, so the
button invokes a JS function called submit() which I can invoke directly
without using the button. Right now, I think it is a really awkvard
solution to place a button on a page and then deliberately hiding the
button using CS
u cant simple fire submit.
jsf stuff works cause when u click on commandbuttn or sth than few things
are set by JS (ex. form action). so submiting without seting that "magic
things" doesnt make any sense.
clicking on button performs setting jsf stuff so u must find that button
and click it:
Thanks Adrien - I guess we wrote e-mails at the same time... as stated
in the previous e-mail I have just tried such a solution. Still I wish
there was a more standard way...
R.
Adrien FOURES wrote:
Hello Randahl,
If i have understand your question, try this:
[...]
function test(){
Hello Randahl,
If i have understand your question, try this:
[...]
function test(){
document.getElementById('mySecretAndHiddenForm:sendProperties').click();
}