4.3.1.Actionì ìí - Anyframe
4.3.1.Actionì ìí - Anyframe
4.3.1.Actionì ìí - Anyframe
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Configuration3.2.4.form-beans3.2.4.1.설정• Action 수행에 사용되는 form bean의 정보 설정• 하위에 여러 개의 구성 가능• 은 하위에 여러 개의 를 가질 수 있음다음은 의 attribute들이다.NameDescriptionclassName Form bean들의 configuration 정보를 담고 있을 객체이다.반드시org.apache.struts.config.FormBeanConfig를 상속 받은 클래스여야 한다. 디폴트값 : org.apache.struts.config.FormBeanConfigdynamicnametypeForm bean의 type attribute가 org.apache.struts.action.DynaActionForm이거나org.apache.struts.action.DynaActionForm을 상속 받아 구현한 클래스이면, 이attribute는 true여야 한다. 디폴트 값 : false이 form bean의 이름이고, 다른 form bean들과 구분될 수 있는 identifier이다.[required]이 form bean의 구현 클래스를 나타낸다. 이 클래스는 ActionForm의 서브클래스여야 한다. [required]다음은 의 attribute들이다.NameclassNameinitialnamesizetypeDescriptionForm property들의 configuration 정보를 담고 있을 객체이다. 반드시org.apache.struts.config.FormPropertyConfig 또는 이를 상속 받은 클래스여야 한다. 디폴트 값 : org.apache.struts.config.FormPropertyConfig이 property의 initial 값을 나타내고, 문자로 표현된다.Form bean이 사용하는 이 property의 이름이다. [required]Form property의 type attribute가 array일 경우에, 그 array elements의 개수를 나타낸다.Form bean이 사용하는 이 property의 type이다. 다음은 DynaActionForm에서 지원하는 type이다.• java.math.BigDecimal• java.math.BigInteger• boolean• byte• char• java.lang.Class• double, int, long, short• java.lang.String10