We all know the difference between build time and render time. It is definitely not a great idea to put a <ui:include> tag (build time) inside a <ui:repeat> (render time), but is the opposite okay to do? Can we use <ui:repeat> inside a <ui:include>?
Is it ok to use a ui:repeat inside a ui:include
651 Views Asked by Sekhon At
1
There are 1 best solutions below
Related Questions in JSF
- Strange java.lang.ArrayIndexOutOfBoundsException rendering error in jsf application under high load
- h:outputStylesheet inside ui:repeat
- IntelliJ warns "Cannot resolve variable" on EL variables declared in parent page of include
- How to instantiate a backing bean on page load
- How to disable default keyCode event in Primefaces?
- How to define a style for ul which appears automatically
- How to add '%' symbol in textbox using jsf and jsp?
- Primefaces onkeyPress triggerevent
- h:commandButton action method is not invoked
- f:ajax resetValues="true" does not seem to work
- Primefaces datatable duplicate "No records found" while doing column freeze for empty records
- How to provide a file download from a JSF backing bean using af:commandMenuItem?
- Remove message from h:outputText ofter time
- How to change the position of confirmation box in jsf primefaces?
- commandLink not working when images are in same line
Related Questions in FACELETS
- h:outputStylesheet inside ui:repeat
- IntelliJ warns "Cannot resolve variable" on EL variables declared in parent page of include
- varStatus unavailable in ui:repeat
- Primefaces - Loading Images in Mobile Version
- How to include many pages dynamically using ui:include Primefaces?
- Is it ok to use a ui:repeat inside a ui:include
- JSF 2.0 Navigation system Not Working with .jsp extension
- Which XML namespace to use with JSF 2.2 and up
- Control generated ID of ui:repeat
- Using Facelets with Spring MVC
- Primefaces Mobile template facelets
- h:panelGrid run action after clicking into blank space
- How to iterate a HashMap with primefaces selectable datatable
- Configure Eclipse to resolve css classes declared in a facelets template
- Warning: This page calls for XML namespace http://www.facebook.com/2008/fbml declared with prefix fb but no taglibrary exists for that namespace
Related Questions in UIREPEAT
- h:outputStylesheet inside ui:repeat
- varStatus unavailable in ui:repeat
- Is it ok to use a ui:repeat inside a ui:include
- p:columnGroup in p:pataTable does not show headerText
- Control generated ID of ui:repeat
- ui:repeat in o:treeNodeItem
- How to iterate a HashMap with primefaces selectable datatable
- jsf set ui:param or use a value that changes dynamically in ui:repeat
- Partial refresh of JSF page using ui:repeat and AJAX
- How to collect submitted values of a List<T> in JSF?
- Validate order of items inside ui:repeat
- Value not retained for action parameter when inside ui:repeat
- How can I set id of a component/tag inside ui:repeat
- JSF - Is it possible to list some bean attributes via reflection using c:forEach or ui:repeat?
- ui:repeat inside ui:repeat
Related Questions in UIINCLUDE
- IntelliJ warns "Cannot resolve variable" on EL variables declared in parent page of include
- Is it ok to use a ui:repeat inside a ui:include
- When setting values into a backing bean, can bean name be a variable
- ui:insert inside ui:include is not working
- Is <ui:include> fixed in JSF 2.2?
- Dynamic templating in JSF
- Conditionally rendering an <ui:include>
- importing content into jsf h:inputTextarea
- The class behind ui:include JSF tag
- form included with ui:include not filling bean
- JSF invalid path for ui:include with parameter
- How to add a Validator to ui:include?
- Customize ui:include rendering to add prefix/postfix
- Handling TagAttributeException and change ui:includeSrc
- Repeat multiple ui:include with each their own bean and collect submitted data from them all
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Both ways are OK.
This is not true. You can safely do so. The only limitation is that you can't use the
varof<ui:repeat>insidesrcof<ui:include>. In other words, the following approach will not work:This will only work when you replace
<ui:repeat>by<c:forEach>.But if you are not doing that, e.g.
Then there is no problem. Everything will work just fine.
You can also safely do so. If you face a problem, just press "Ask Question" button on right top.
See also: