« Return to Thread: How to get request params easily?

Get data form scheduler component

by atark :: Rate this Message:

Reply to Author | View in Thread

Dear list members, im newby in WoodsTock framework...
I need use the new scheduler componet..  i saw the examle on the web and the tags document but i dont know how use schedulerBean class for extract data of this component.
For example (see the attachment) I put  a button and a statictext in the window with the scheduler component and In the button action I write  staticText1.setText(scheduler1.getvalue().toString());
 
So when I click the button I can see an entire text with the data but not separate.
 
Please somebody tell me how can I use schedulerBean, do I call from applicationBean? With getters and setters?
 
If anybody have an example please send me it.
 
Regards
Roberto

Andrey Siver <andrey.siver@...> wrote:


Dear list members,

I'm newby in Woodstock framework...

Is there any simple way how to set the request params of RequestBean1 object from the request?

This way is too long and awful:

        Map params = getExternalContext().getRequestParameterMap();

        if (params.get("param1") != null)
        getRequestBean1().setParam1(Double.parseDouble(params.get("param1").toString()));


Thanks in advance,
Regards,

 -Andrey




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Pantallazosche.jpg (121K) Download Attachment

 « Return to Thread: How to get request params easily?

LightInTheBox - Buy quality products at wholesale price!