My favorites | Sign in
t-2
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 80: @RequestParam/@SessionAttrで値がnullでも引数に入ってきてほしい
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  shinpei.ohtani@gmail.com
Closed:  Aug 2008


 
Project Member Reported by shinpei.ohtani@gmail.com, Aug 23, 2008

@RequestParam/@SessionAttrで値がnullでも引数に入ってきてほしい.
デフォルトの挙動だと値がnullの場合、例外が飛ぶ.
しかしそこはコントローラブルであるべきなので、
属性によって、
 ・例外が飛ぶ
 ・nullでも渡る
 ・デフォルト値が渡る
くらいの挙動は変えられるべき.

ver 0.4に取り入れる方向で検討.
Aug 26, 2008
Project Member #1 shinpei.ohtani@gmail.com
(No comment was entered for this change.)
Summary: [T2 0.4]@RequestParam/@SessionAttrで値がnullでも引数に入ってきてほしい
Aug 26, 2008
Project Member #2 shinpei.ohtani@gmail.com
(No comment was entered for this change.)
Summary: @RequestParam/@SessionAttrで値がnullでも引数に入ってきてほしい
Labels: milestone-0.4
Aug 26, 2008
Project Member #3 skir...@gmail.com
(No comment was entered for this change.)
Labels: -milestone-0.4 Milestone-T2-0.4
Aug 27, 2008
Project Member #4 skir...@gmail.com
(No comment was entered for this change.)
Labels: -Priority-Medium Priority-High
Aug 27, 2008
Project Member #6 shinpei.ohtani@gmail.com
@RequestParam
 -nullable

として、デフォルトはnullを許容するようにした.

Status: Fixed

Powered by Google Project Hosting