-
1. Re: problem with dynamic id generation inside a4j:form
spiritfox26 Nov 18, 2010 7:31 AM (in response to spiritfox26)Anyone? I'm try with prependId="false" but not works.
-
2. Re: problem with dynamic id generation inside a4j:form
spiritfox26 Nov 23, 2010 9:01 AM (in response to spiritfox26)I need help
-
3. Re: problem with dynamic id generation inside a4j:form
nbelaevski Nov 23, 2010 2:50 PM (in response to spiritfox26)Agustin,
I've looked at the code posted, but not sure I'm getting the context of the problem. Can you please add more information?
-
4. Re: problem with dynamic id generation inside a4j:form
spiritfox26 Nov 24, 2010 7:40 AM (in response to nbelaevski)Hi Nick, thanks for your answer, I have CIs (Configuration Items (category: PC, Printer, Router, etc)) you know ITIL?, the configuration items have a lot of attributes but this attributtes depend of category of CI. This attributtes are dynamic (configured by category) and have a screen control (inputtext, checkbox, etc), this control depend type of attributtes (Name, Operative System, Attachment, etc). The screen control have an id (the id is generated whit this pattern _TipoAtritubuto_idTipoAtributo_idCategoria).
I load one PC.
After i load a Printer:
Some attributes are shared with PC and Printer (in example: Nombre), but the ID is generated when is loaded, but JSF think that is the same control with same id.
-
5. Re: problem with dynamic id generation inside a4j:form
spiritfox26 Nov 24, 2010 7:46 AM (in response to spiritfox26) -
6. Re: problem with dynamic id generation inside a4j:form
spiritfox26 Nov 26, 2010 9:41 AM (in response to spiritfox26) -
7. Re: problem with dynamic id generation inside a4j:form
nbelaevski Nov 26, 2010 10:04 AM (in response to spiritfox26)Agustin,
Sorry, the problem is still not clear.
-
8. Re: problem with dynamic id generation inside a4j:form
spiritfox26 Nov 26, 2010 11:26 AM (in response to nbelaevski)Hi nick, the principal problem is the ID (checkbox, intputtext, etc) not update correctly when i change to other category. I'm think the problem was in JSF.
-
9. Re: problem with dynamic id generation inside a4j:form
nbelaevski Nov 26, 2010 11:29 AM (in response to spiritfox26)So, you are changing IDs and trying to update elements by changed IDs, correct?
-
10. Re: problem with dynamic id generation inside a4j:form
spiritfox26 Nov 26, 2010 11:33 AM (in response to nbelaevski)Yes
-
11. Re: problem with dynamic id generation inside a4j:form
nbelaevski Nov 26, 2010 11:43 AM (in response to spiritfox26)That's a known limitation of RF. So you should be updating container component instead.
-
12. Re: problem with dynamic id generation inside a4j:form
spiritfox26 Nov 26, 2010 11:45 AM (in response to nbelaevski)Ok, can you think of any idea how to fix?
Thanks
-
13. Re: problem with dynamic id generation inside a4j:form
nbelaevski Nov 26, 2010 11:52 AM (in response to spiritfox26)you should be updating container component instead.
-
14. Re: problem with dynamic id generation inside a4j:form
spiritfox26 Nov 26, 2010 11:55 AM (in response to nbelaevski)I have a a4j:form inside a a4j:outputpanel and update output, but not works