nested (<p>[Since Struts 1.1]</p> <p>This tag library brings a nested context to the functionality of the Struts custom tag library.</p> <p>It's written in a layer that extends the current Struts tags, building on their logic and functionality. The layer enables the tags to be aware of the tags which surround them so they can correctly provide the nesting property reference to the Struts system. </p> <p><strong>It's all about nesting beans...</strong><br /> A bean holds a reference to another bean internally, and all access to that bean is handled through the current bean. This act of having one bean's access go through another bean is known as "nesting beans". The first bean is known as the parent bean. The bean which it references, is known as a child bean. The terms "parent" and "child" are commonly used to describe the model's hierarchy. </p> <p><strong>A simple example... </strong><br /> Take an object which represents a monkey. The monkey's job is to pick bunches of bananas. On each bunch picked hangs many bananas. If this case was translated to bean objects, the monkey object would have a reference to the bunch objects he picked, and each bunch object would hold a reference to the bananas hanging in the bunch. </p> <p><strong>To describe this... </strong><br /> The monkey object is the parent to the bunch object, and the bunch object is a child of the monkey object. The bunch object is parent to its child banana objects, and the child banana objects children of the bunch object. The monkey is higher in the hierarchy than the bananas, and the bananas lower in the hierarchy to the bunches. </p> <p>One special term to remember is for the most parent class, which is known as the "root" object which starts the hierarchy.</p> <p>Nested tags are all about efficiently managing this style of hierarchy structure within your JSP markup.</p> <p> <strong>Important Note:</strong> Nearly all these tags extend tags from other libraries to bring their functionality into the nested context. Nesting relies on the tags working against the one bean model, and managing the properties so that they become relative to the properties they are nested within. In doing so, the tags will set the "name" attribute internally (where applicable), and in many cases will rely on the "property" attribute being set so it can be updated internally to become nested. The original tags on occasion provide options that don't use the "name" and "property" attributes. These uses will then fall outside the nested context, and will most likely cause error. To take advantage of these options, markup using the original tag for these cases. For an example see the <code>&lt;nested:options&gt;</code> tag. </p>)
nested

Tags nested:nest nested:writeNesting nested:root nested:define nested:message nested:size nested:write nested:checkbox nested:errors nested:file nested:form nested:hidden nested:image nested:img nested:link nested:messages nested:multibox nested:options nested:optionsCollection nested:password nested:radio nested:select nested:submit nested:text nested:textarea nested:empty nested:equal nested:greaterEqual nested:greaterThan nested:iterate nested:lessEqual nested:lessThan nested:match nested:messagesNotPresent nested:messagesPresent nested:notEmpty nested:notEqual nested:notMatch nested:notPresent nested:present