일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
- php
- Oracle
- RADIO
- 한글
- @RequestBody
- 이클립스
- 오라클
- 톰캣
- DB
- spring form tag
- 웹 플랫폼 설치 관리자
- html
- null
- 스크립트
- 네이버스마트 에디터
- maven
- SSL
- HTML5
- 문자열
- json
- 날짜
- 전자정부 표준프레임워크
- exception
- JSTL
- checbox
- java
- 호환성
- jquery
- MYSQL
- switch
- Today
- Total
개인적인 정리
spring-form JSP Tag Library 본문
전자정부표준프레임워크는 spring-form 태그가 적용되어 있기도 하다.
화면에 따라서 적용되어 있는 것도 있고 아닌 것도 있는데 이유는 잘 모르겠지만 일관성면에서는 조금 아쉽기는 하다.
화면에 JSTL, EL 과 함께 쓰이는데 처음 볼 때는 이게 뭔가... 뭐가 뭔가 싶었었다. 그래도 알아두면 좋아보인다.
JSTL은 아래에서 정리를 해봤다.
https://webobj.tistory.com/216
JSTL 과 EL
JSTL : JavaServer Pages Standard Tag Library EL : Expression Language (표현언어) JSTL은 JSP단에 EL과 함께 쓰여 JSP를 덜 복잡하게(자바코드형태가 많이 쓰이는 것보다) 만들어준다. JSTL에는 5개 영역(..
webobj.tistory.com
spring framework 사이트에 있는 내용을 가져와본다.
(* 전자정부표준프레임워크 3.9의 spring 이 4.3.22 를 기준으로 해서 4.3.x 문서를 기준으로 봄.)
1. Configuration
2. spring-form tag의 예제 및 사용법은 아래 URL을 참고한다.
23. View Technologies
As of version 2.0, Spring provides a comprehensive set of data binding-aware tags for handling form elements when using JSP and Spring Web MVC. Each tag provides support for the set of attributes of its corresponding HTML tag counterpart, making the tags f
docs.spring.io
3. 사용할 수 있는 spring-form tag 는 약 15개정도 되는 것 같다.
- 여기서는 간단하게 뭐가 있는지 나열만 해보고, 자세한 내용은 아래 URL을 참조한다.
https://docs.spring.io/spring/docs/4.3.x/spring-framework-reference/html/spring-form-tld.html
44. spring-form JSP Tag Library
Renders a list of HTML 'option' tags. Sets 'selected' as appropriate based on bound value. Table 44.10. Attributes AttributeRequired?Runtime Expression?DescriptioncssClassfalsetrueEquivalent to "class" - HTML Optional AttributecssErrorClassfalsetrueEquiv
docs.spring.io
1) The button tag
- Renders a form field label in an HTML 'button' tag.
- Attributes
- disabled
- id
- name
- value
2) The checkbox tag
- Renders an HTML 'input' tag with type 'checkbox'.
- Attributes
- accesskey
- cssClass
- cssErrorClass
- cssStyle
- dir
- disabled
- htmlEscape
- id
- label
- lang
- onblur
- onchange
- onclick
- ondblclick
- onfocus
- onkeydown
- onkeypress
- onkeyup
- onmousedown
- onmousemove
- onmouseout
- onmouseover
- onmouseup
- path
- tabindex
- title
- value
3) The checkboxes tag
- Renders multiple HTML 'input' tags with type 'checkbox'.
- Attributes
- accesskey
- cssClass
- cssErrorClass
- cssStyle
- delimiter
- dir
- disabled
- element
- htmlEscape
- id
- itemLabel
- items
- itemValue
- lang
- onblur
- onchange
- onclick
- ondblclick
- onfocus
- onkeydown
- onkeypress
- onkeyup
- onmousedown
- onmousemove
- onmouseout
- onmouseover
- onmouseup
- path
- tabindex
- title
4) The errors tag
- Renders field errors in an HTML 'span' tag.
- Attributes
- cssClass
- cssStyle
- delimiter
- dir
- element
- htmlEscape
- id
- lang
- onclick
- ondblclick
- onkeydown
- onkeypress
- onkeyup
- onmousedown
- onmousemove
- onmouseout
- onmouseover
- onmouseup
- path
- tabindex
- title
5) The form tag
- Renders an HTML 'form' tag and exposes a binding path to inner tags for binding.
- Attributes
- acceptCharset
- action
- cssClass
- cssStyle
- dir
- enctype
- htmlEscape
- id
- lang
- method
- methodParam
- modelAttribute
- name
- onclick
- ondblclick
- onkeydown
- onkeypress
- onkeyup
- onmousedown
- onmousemove
- onmouseout
- onmouseover
- onmouseup
- onreset
- onsubmit
- servletRelativeAction
- target
- title
6) The hidden tag
- Renders an HTML 'input' tag with type 'hidden' using the bound value.
- Attributes
- htmlEscape
- id
- path
7) The input tag
- Renders an HTML 'input' tag with type 'text' using the bound value.
- Attributes
- accesskey
- alt
- autocomplete
- cssClass
- cssErrorClass
- cssStyle
- dir
- disabled
- htmlEscape
- id
- lang
- maxlength
- onblur
- onchange
- onclick
- ondblclick
- onfocus
- onkeydown
- onkeypress
- onkeyup
- onmousedown
- onmousemove
- onmouseout
- onmouseover
- onmouseup
- onselect
- path
- readonly
- size
- tabindex
- title
8) The label tag
- Renders a form field label in an HTML 'label' tag.
- Attributes
- cssClass
- cssErrorClass
- cssStyle
- dir
- for
- htmlEscape
- id
- lang
- onclick
- ondblclick
- onkeydown
- onkeypress
- onkeyup
- onmousedown
- onmousemove
- onmouseout
- onmouseover
- onmouseup
- path
- tabindex
- title
9) The option tag
- Renders a single HTML 'option'. Sets 'selected' as appropriate based on bound value.
- Attributes
- cssClass
- cssErrorClass
- cssStyle
- dir
- disabled
- htmlEscape
- id
- label
- lang
- onclick
- ondblclick
- onkeydown
- onkeypress
- onkeyup
- onmousedown
- onmousemove
- onmouseout
- onmouseover
- onmouseup
- tabindex
- title
- value
10) The options tag
- Renders a list of HTML 'option' tags. Sets 'selected' as appropriate based on bound value
- Attributes
- cssClass
- cssErrorClass
- cssStyle
- dir
- disabled
- htmlEscape
- id
- itemLabel
- items
- itemValue
- lang
- onclick
- ondblclick
- onkeydown
- onkeypress
- onkeyup
- onmousedown
- onmousemove
- onmouseout
- onmouseover
- onmouseup
- tabindex
- title
11) The password tag
- Renders an HTML 'input' tag with type 'password' using the bound value.
- Attributes
- accesskey
- alt
- autocomplete
- cssClass
- cssErrorClass
- cssStyle
- dir
- disabled
- htmlEscape
- id
- lang
- maxlength
- onblur
- onchange
- onclick
- ondblclick
- onfocus
- onkeydown
- onkeypress
- onkeyup
- onmousedown
- onmousemove
- onmouseout
- onmouseover
- onmouseup
- onselect
- path
- readonly
- showPassword
- size
- tabindex
- title
12) The radiobutton tag
- Renders an HTML 'input' tag with type 'radio'.
- Attributes
- accesskey
- cssClass
- cssErrorClass
- cssStyle
- dir
- disabled
- htmlEscape
- id
- label
- lang
- onblur
- onchange
- onclick
- ondblclick
- onfocus
- onkeydown
- onkeypress
- onkeyup
- onmousedown
- onmousemove
- onmouseout
- onmouseover
- onmouseup
- path
- tabindex
- title
- value
13) The radiobuttons tag
- Renders multiple HTML 'input' tags with type 'radio'.
- Attributes
- accesskey
- cssClass
- cssErrorClass
- cssStyle
- delimiter
- dir
- disabled
- element
- htmlEscape
- id
- itemLabel
- items
- itemValue
- lang
- onblur
- onchange
- onclick
- ondblclick
- onfocus
- onkeydown
- onkeypress
- onkeyup
- onmousedown
- onmousemove
- onmouseout
- onmouseover
- onmouseup
- path
- tabindex
- title
14) The select tag
- Renders an HTML 'select' element. Supports databinding to the selected option.
- Attributes
- accesskey
- cssClass
- cssErrorClass
- cssStyle
- dir
- disabled
- htmlEscape
- id
- itemLabel
- items
- itemValue
- lang
- multiple
- onblur
- onchange
- onclick
- ondblclick
- onfocus
- onkeydown
- onkeypress
- onkeyup
- onmousedown
- onmousemove
- onmouseover
- onmouseup
- path
- size
- tabindex
- title
15) The textarea tag
- Renders an HTML 'textarea'.
- Attributes
- accesskey
- cols
- cssClass
- cssErrorClass
- cssStyle
- dir
- disabled
- htmlEscape
- id
- lang
- onblur
- onchange
- onclick
- ondblclick
- onfocus
- onkeydown
- onkeypress
- onkeyup
- onmousedown
- onmousemove
- onmouseout
- onmouseover
- onmouseup
- onselect
- path
- readonly
- rows
- tabindex
- title
'전자정부표준프레임워크' 카테고리의 다른 글
전자정부표준프레임워크 validation 검증/체크 (0) | 2020.09.06 |
---|---|
RedirectAttributes(redirect 객체 전달) (0) | 2020.09.03 |
Redirect와 Forward 의 차이 (0) | 2020.09.03 |
spring JSP Tag Library (0) | 2020.08.31 |
전자정부 표준프레임워크 3.9 all-in-one 셋팅해보기 (3) | 2020.03.12 |
이클립스에서 java 버전 변경 (0) | 2020.02.28 |
maven 기본 repository (0) | 2020.02.17 |
MySQL 드라이버 다운로드 (0) | 2020.02.17 |