[JAVAEETUTORIAL-119] example has rendered="false" Created: 07/Jul/12  Updated: 13/Mar/13  Resolved: 13/Mar/13

Status: Closed
Project: javaeetutorial
Component/s: doc
Affects Version/s: 6.0.7-5
Fix Version/s: 7.0.0

Type: Bug Priority: Major
Reporter: Brant Gurganus Assignee: Kim Haase
Resolution: Fixed Votes: 0
Labels: None
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.

Generated at Fri Jul 03 03:16:09 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.