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
Forums
Register
Login
Java
»
JSF
How should we share regions in JSF.
Sanjeev Chauhan
,
Greenhorn
Jan 02, 2011 03:46:20
(0 cow)
(0 skulls)
+Pie
Number of slices to send:
Send
I have to create two pages and both pages are different and they show different content but one section of page needs to show same UI. I don't want to recode complete UI in both page. How can I create a common UI and share it on both pages.
Thanks
Sanjeev.
Tim Holloway
,
Saloon Keeper
staff
Jan 03, 2011 06:57:24
(0 cow)
(0 skulls)
+Pie
Number of slices to send:
Send
If you are using Facelets, you can create a Facelets Component and use the ui:include tag to include the component on the 2 pages.
I do this all the time, as well as its opposite, where I repeat the same component (with minor alterations) more than one time on a page.
Post by:
autobot
When people don’t understand what you are doing they call you crazy. But this tiny ad just doesn't care:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
reply
This thread has been viewed 992 times.
Similar Threads
application level security
how to embed content of different page in my page?
SOS--------display data collection from database
creating a table component dynamically
how to embed content of different page in my page?
More...
All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 13:02:02
.