Hey, is that a way to dynamicly create ui components using primefaces components?
I know that using pure jsf it's possible! Like this bellow:
form = new HtmlForm();
UIInput input = new HtmlInputText();
input.setId("test");
form.getChildren().add(input);
Can I do this on similar way using Primefaces components?
Dynamic Forms with Primefaces
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Sure, check out user's guide, each component documents the component class and component type. I suggest using Application.createComponent api.
Or use www.metawidget.org
-
- Posts: 221
- Joined: 04 Aug 2011, 22:00
i liked that metawidget i'll try something with it.
About the docs i'll see too what i can have from it!
obrigado!
About the docs i'll see too what i can have from it!
obrigado!
PrimeFaces 3.5 + JSF 2.1.4 + Tomcat 7.X
-
- Information
-
Who is online
Users browsing this forum: Google [Bot] and 15 guests