How to succesfully replace 4 components with 7? :)
posted 11 years ago
If a user clicks a link, I call the same page with "more" parameter:
Logically, it should work ok, but guess what - it doesn't. Instead of getting 6 upload components followed by a submit button, I get 3 comps, then a button, 2 more components and again a button ?!
I've tried several variants, mostly placing <h:form> and <h:commandButton> in and out of the JSP code and it gives different results all leading to one conclusion - it is obvious the renderer does not "substitute" component correctly if the new one is different, but I still don't know enough about JSF to solve this myself.
Does anyone have a clue how to solve this? Thanks!