hi!
I have a tree. each node is a directory. (like the windows explorer tree)
and in front of each node I have a radio button - so that the user can select one node in my addnewDirectoryForm.jsp page.
the code for the radio buttons looks like:
in this form the user can add new directories to the tree by setting a new directory-name and choosing a directory by checking a radio button - which should be the parent directory of the new directory. when the user just sets a directory name without choosing a parent directory by checking a radio button - the addnewDirectoryForm will be displayed again - and the user gets informed to set a name of the new directory. then the radio button - checked from the user before - should be still be checked.Code:<input name="parentView" type="radio" value="<tree:nodeId node="tree.node"/>">
my question: how can I access the value attribute of the radio button to compare that value with the ${status.value} object from the spring bind tag?
example:
???? = parentView.value - but how can I address this value?Code:<input name="parentView" type="radio" value="<tree:nodeId node="tree.node"/>" <c:if test="${status.value eq ????}">checked</c:if>>
any ideas?
tia. lana


Reply With Quote