Check this page
http://tapestry.apache.org/component-cheat-sheet.html

And then try reading this article which should explain more about what I
think you are trying to accomplish
http://blog.tapestry5.de/index.php/2010/08/23/context-values-vs-request-parameters/



On Wed, Aug 29, 2012 at 7:17 AM, jqzone <jqz...@gmail.com> wrote:

> Some code like this
>
> Page class
>
> public class SearchUser{
>
>
>         @ActivationRequestParameter(value="filer")
> private String filter;
>  @Inject
> private IStaffService staffService;
>
> private String staffId;
>  protected void onActivate(String staffId){
> this.staffId = staffId;
> }
>  StreamResponse onActivate(){
>               JSONObject json= new JSONObject();
>
>               return new TextStreamResponse("application/json",
> json.toString());
>
>        }
>
> }
>



-- 
*Regards,*
*Muhammad Gelbana
Java Developer*

Reply via email to