2011-05-10 3 views
0

내 JSP 페이지에 <logic:iterate> 태그를 사용하고 있습니다.렌더링 <html:radio> struts의 태그

내가 사용하는 객체의 내용을 인쇄하고 있습니다 :

<logic:iterate name="rolesDetailsVO" id="role"> 
<bean:write name="role" property="roleName" /> 

지금 내가이 roleName을 넣고 싶다. 현재 나는

<html:radio property="groupName" value='<bean:write name="role" property="roleName" />' /> 

를 사용하여이 작업을 수행하려고하지만 요소가

<input type="radio" value="&lt;bean:write name=&quot;role&quot; property=& quot;roleName&quot; /&gt;" name="groupName"> 

로 렌더링되어 생성 된 HTML에서 잘못된 BCZ을 어떤 조언을하시기 바랍니다 것 같다. 감사.

답변

1

<html:radio property="groupName" value="${YourForm.property}" /> 
으로 시도