Form submission and passing parameters via URL?

I assume that you're still using JSF 1.x. You need to retain the request parameter in the subsequent forms by : This does not end up in the URL, but it is available as POST request parameter the usual way. The is by the way a more clean way to let JSF set arbitrary request parameters as bean properties.An alternative is to add a plain HTML to the form, so that it also get submitted when a dropdown with onchange="submit()" inside the same form get changed: " /> (yes, with an ugly nested as value, it's just to prevent possible XSS attacks) Note that a is not useable as it loses its value when validation on the form fails.

You're right, this is all JSF 1.x. I'm trying your Suggestion right now - ON the same page (CarEditCrud) there is a SelectOneItem with ValueChangeListener and onchange=submit(). The dropdown is associated with country, so when user changes the dropdown the form is submitted which means I lose the information carCode.

How can I retain the Request Parameter when submit is called by dropdown? – techventure 16 hours ago See answer update. – BalusC 16 hours ago Yes Yes Yes, I love you #BalusC.

– techventure 16 hours ago.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions