[JAVAEETUTORIAL-119] example has rendered="false" Created: 07/Jul/12 Updated: 13/Mar/13 Resolved: 13/Mar/13
|Reporter:||Brant Gurganus||Assignee:||Kim Haase|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
The example under "Displaying a Check Box Using the h:selectBooleanCheckbox Tag" on the page at http://docs.oracle.com/javaee/6/tutorial/doc/bnarf.html titled "Adding Components to a Page Using HTML Tags" has rendered="false" but is described as "[...] displays a check box [...]". For that to be correct, I believe the JSF tag should have rendered="true" or unspecified.
|Comment by Kim Haase [ 09/Jul/12 ]|
Thanks for catching this. in the actual example the tags are rendered only under certain circumstances, and we should clarify that and mention where the example comes from.
|Comment by Kim Haase [ 06/Nov/12 ]|
Actually, elsewhere in this chapter are several occurrences of the same section of code with the rendered attribute line removed, since it isn't material to what's being explained. I've removed the line from this section too. I'm considering adding another paragraph to the section on the rendered attribute earlier in the chapter because this is a situation where the default is false but the value can be set to true in the managed bean under certain circumstances.
|Comment by Kim Haase [ 13/Mar/13 ]|
Added explanations in chapter.