Add required flag to @ActivationRequestParameter annotation
-----------------------------------------------------------
Key: TAPESTRY-2768
URL: https://issues.apache.org/jira/browse/TAPESTRY-2768
Project: Tapestry
Issue Type: Improvement
Components: tapestry-core
Affects Versions: unspecified
Environment: Tapestry 5.2.0 alpha
Reporter: Vjeran Marcinko
It would be really nice to have "required" argument in
@ActivationRequestParameter so one doesn't have to check it manually before
page rendering begins.
I guess many people such as me, who don't care about RESTful URLs, will find
@ActivationRequestParameter much easier way to pass render parameters than
standard activation context, not just because it offers naming and optionality,
but also because one have clean separation between parameter setting process
(through this annotation) and preprocessing logic needed for some pages (placed
in onActivate, such as security check or other mutli page preprocesing logic;
request filters is sometimes too cumbersome way to achieve the same). Required
flag would be nice addition to make it truly top-level way to pass render
params.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.