Forums de discussion
Multiple injection
Canh Minh Nguyen, modifié il y a 12 années.
Multiple injection
New Member Publications: 11 Date d'inscription: 11/05/09 Publications récentes
Hello!
I have 2 beans:
1. RegisterBean
2. AddressBean
and 2 pages:
1. register.xhtml
2. address.xhtml
in register form has 3 address forms, I don't know how to inject it into register form.
Thanks!
I have 2 beans:
1. RegisterBean
2. AddressBean
and 2 pages:
1. register.xhtml
2. address.xhtml
in register form has 3 address forms, I don't know how to inject it into register form.
Thanks!
Neil Griffin, modifié il y a 12 années.
RE: Multiple injection
Liferay Legend Publications: 2655 Date d'inscription: 27/07/05 Publications récentes
@Canh: I'm reviewing some old forum posts and I'm sorry that I missed getting back to you on this.
When you use the word "inject", do you mean include the address.xhtml multiple times inside of register.xhtml? If so, then you would do it like this:
When you use the word "inject", do you mean include the address.xhtml multiple times inside of register.xhtml? If so, then you would do it like this:
<ui:include src="address.xhtml" />