users@woodstock.java.net

Get data form scheduler component

From: roberto aguirre <atark_at_yahoo.com>
Date: Thu, 19 Jun 2008 10:39:53 -0700 (PDT)

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_at_gmail.com> 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