Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within JSF
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
paul wheaton
Jeanne Boyarsky
Ron McLeod
Sheriffs:
Paul Clapham
Liutauras Vilda
Devaka Cooray
Saloon Keepers:
Tim Holloway
Roland Mueller
Bartenders:
Forum:
JSF
jsf panelGrid
asmaa kellal
Greenhorn
Posts: 18
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hello
the following is my code
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> <f:view> <html> <body> <h:form> <h:panelGrid columns="3" border="1" rules="all" title="This is panelGroup demo"> <f:facet name="header"> <h:outputText value="Submit Detail"/> </f:facet> <h:inputText/> <h:inputText/> <h:inputText/> <h:inputText/> <h:inputText/> <h:inputText/> <h:inputText/> <h:inputText/> <f:facet name="footer"> <h:panelGroup> <h:outputText value="Leave Comment Here :" /> <h:inputText/> <h:outputText value="Submit" /> <h:commandButton value="SUBMIT" /> </h:panelGroup> </f:facet> </h:panelGrid> </h:form> </body> </html> </f:view>
i want put a commandButton tag When I click on the button it generates another panelgrid with the same number of columns and rows (Each time I click)
what I should add to realize it
thanks
Guy deLyonesse
Ranch Hand
Posts: 200
I like...
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
You'll have to dynamically generate the new panels in your backing bean and add them to the page at runtime.
asmaa kellal
Greenhorn
Posts: 18
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
hello
could you show me what do I have to put in the backing bean
i have no idea
help me more please and give me an example if it is possible
thanks
Guy deLyonesse
Ranch Hand
Posts: 200
I like...
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Are you using
JSF
1.2 or 2.0?
asmaa kellal
Greenhorn
Posts: 18
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I use jsf 2.0
keep an eye out for scorpions and black widows. But the tiny ads are safe.
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
how to add a row dynamically in panel grid by clicking on command button using jsf
Problem regarding the ValueChangeEvent and the commandButton
What is the difference between panelGrid and panelGroup?
JSTL and bean data
Field display problem
More...