velocity spring macro
1. input text 박스
#springFormInput("spec.fieldname" " 속성") #springShowErrors("" "spring_error")
2. input hidden
#springFormHiddenInput("spec.fieldname" "속성") #springShowErrors("" "spring_error")
3. input passwd
#springFormPasswordInput("spec.fieldname" " 속성") #springShowErrors("" "spring_error")
4. textarea
#springFormTextarea("spec.fieldname" " 속성") #springShowErrors("" "spring_error")
5. single selectbox
#springFormSingleSelect("spec.fieldname" $Map " 속성") #springShowErrors("" "spring_error")
6. radio button
#springFormRadioButtons("spec.fieldname" $useyn "" "속성")
- Velocimacro : added #springThemeText( code text ) : source = org/springframework/web/servlet/view/velocity/spring.vm
- Velocimacro : added #springUrl( relativeUrl ) : source = org/springframework/web/servlet/view/velocity/spring.vm
- Velocimacro : added #springBind( path ) : source = org/springframework/web/servlet/view/velocity/spring.vm
- Velocimacro : added #springBindEscaped( path htmlEscape ) : source = org/springframework/web/servlet/view/velocity/spring.vm
- Velocimacro : added #springFormInput( path attributes ) : source = org/springframework/web/servlet/view/velocity/spring.vm
- Velocimacro : added #springFormPasswordInput( path attributes ) : source = org/springframework/web/servlet/view/velocity/spring.vm
- Velocimacro : added #springFormHiddenInput( path attributes ) : source = org/springframework/web/servlet/view/velocity/spring.vm
- Velocimacro : added #springFormTextarea( path attributes ) : source = org/springframework/web/servlet/view/velocity/spring.vm
- Velocimacro : added #springFormSingleSelect( path options attributes ) : source = org/springframework/web/servlet/view/velocity/spring.vm
- Velocimacro : added #springFormMultiSelect( path options attributes ) : source = org/springframework/web/servlet/view/velocity/spring.vm
- Velocimacro : added #springFormRadioButtons( path options separator attributes ) : source = org/springframework/web/servlet/view/velocity/spring.vm
- Velocimacro : added #springFormCheckboxes( path options separator attributes ) : source = org/springframework/web/servlet/view/velocity/spring.vm
- Velocimacro : added #springShowErrors( separator classOrStyle ) : source = org/springframework/web/servlet/view/velocity/spring.vm
- Velocimacro : added #springCloseTag( ) : source = org/springframework/web/servlet/view/velocity/spring.vm
#springFormInput()
spring매크로 사용 시 validation을 사용하면 자동으로 값이 바인딩 되어 진다.
그러나 처음 값을 바인딩 하려는 경우 값이 바인딩이 안된다. 왜그런걸까? 지금은 고민중...
TO_CHAR(SYSDATE, 'YYYYMMDD'), TO_CHAR(SYSDATE, 'HH24MISS')
'DEV > java' 카테고리의 다른 글
[ java ] 날짜 관련 클래스 정리 (0) | 2009.08.23 |
---|---|
hs-err-pid.log (0) | 2009.03.05 |
addeventListener 쓰는 이유??.. (0) | 2009.01.12 |