文書の過去の版を表示しています。
replace struts taglib with Struts-Faces tag or JSF tag
| Struts Tag | Struts-Faces Tag | JSF Standard Tag | description |
|---|---|---|---|
| <html:base> | <s:base> | ||
| <html:button> | <h:commandButton> | ||
| <html:cancel> | <h:commandButton id=“cancel”> | 스트럿츠 태그와 같이 취급되려면 id속성이 “cancel”이어야 한다. 또한 immediate 특성은 false이어야 하는데, 만약 true라면 스트럿츠 요청이 아닌 정상적인 JSF요청으로 처리되기 때문이다. |
|
| <html:checkbox> | <h:selectBoolean> | ||
| <html:errors> | <s:errors> | ||
| <html:file> | 현재 대체할 태그가 없음 | ||
| <html:form> | <s:form> | ||
| <html:frame> | 현재 대체할 태그가 없음 | ||
| <html:hidden> | <h:inputHidden> | ||
| <html:html> | <s:html> | ||
| <html:image> | <h:commandButton image=“[url]”/> | ||
| <html:img> | <h:graphicImage> | ||
| <html:javascript> | <s:javascript> | ||
| <html:link> | <s:link> | ||
| <bean:message> | <s:message> | ||
| <html:multibox> | <h:selectBoolean- Checkbox> | ||
| <html:option> | <f:selectItem> | ||
| <html:options> | <f:selectItems> | 자바빈이 아닌 SelectItem이나 Map을 리턴하도록 코드를 수정해야 한다. |
|
| <html:options- Collection> | <f:selectItems> | 자바빈이 아닌 SelectItem이나 Map을 리턴하도록 코드를 수정해야 한다. |
|
| <html:password> | <h:inputSecret> | ||
| <html:radio> | <h:selectOneRadio> 내의<h:selectItem> | ||
| <html:reset> | <h:commandButton type=“reset”> | ||
| <html:rewrite> | 현재 대체할 태그가 없음 | ||
| <html:select> | <h:selectOneRadio>, <h:selectOne-Listbox>, <h:selectOneMenu>, <h:selectMany-Checkbox>, <h:selectMany-Listbox>, <h:selectManyMenu> | 스트럿츠의 <html:select> 태그에서 사용했던 파라미터를 기초로 하여 적절한 JSF 태그를 선택해야 한다. |
|
| <html:submit> | <h:commandButton> | ||
| <html:text> | <h:inputText> | ||
| <html:textarea> | <h:inputTextarea> | ||
| <s:subview> | <f:subview> | ||
| <bean:write> | <s:write> | ||
| <html:xhtml> | 현재 대체할 태그가 없음 |