The widget context class still extends the BaseDslContext class in 0.8.0.

class WidgetDslContext extends BaseDslContext {
}

And the widget class uses a delegate to dispatch all calls to the widget
context class
as follows.

abstract class Widget extends UiObject {
  protected IResourceBundle i18nBundle;

  public final static String NAMESPACE_SUFFIX = "_";

  @Delegate
  protected WidgetDslContext dsl;

  UiDslParser ui;

...
}

You could take a look at our jquery data picker sample object

http://code.google.com/p/aost/source/browse/#svn%2Ftrunk%2Fextensions%2Fjqueryui-widgets

But the widget object is not fully tested, please report any problems
regarding the widget.

Also, please update the selenium-server-te5-SNAPSHOT from our maven repo,

http://maven.kungfuters.org/content/repositories/snapshots/org/seleniumhq/selenium/server/selenium-server/1.0.1-te5-SNAPSHOT/

There was an error in the logger.

Thanks,

Jian

On Tue, Feb 1, 2011 at 2:52 PM, Jason <[email protected]> wrote:

> Yeah, I'm synced up to head.  Thank you!
>
> On Feb 1, 11:48 am, Jian Fang <[email protected]> wrote:
> > Are you using the latest 0.8.0 snapshot? I will look into it tonight.
> >
> > Thanks,
> >
> > Jian
> >
> > On Tue, Feb 1, 2011 at 2:45 PM, Jason <[email protected]> wrote:
> > > Hi all,
> >
> > > I notice in the code this is commented out -- not sure if this can be
> > > put back.  Any reason one *can't* mixin DslContext now?
> >
> > > I ask because I have code that requires a valid DslContext to
> > > execute.  Preiously (in .6) I've dynamically passed in the DslContext
> > > of the containing UI code into the widget to get this done.  However,
> > > I'm having trouble doing this in .8.
> >
> > > In any event, if the Widget can't behave exactly like a DslContext
> > > (whether thru subclassing or mixin), is there a way to initialize the
> > > Widget during bootstrap with the DslContext of it's containing object
> > > (the object in which the widget appears in defineUi())
> >
> > > thanks,
> > > Jason
> >
> > > --
> > > You received this message because you are subscribed to the Google
> Groups
> > > "tellurium-users" group.
> > > To post to this group, send email to [email protected].
> > > To unsubscribe from this group, send email to
> > > [email protected]<tellurium-users%[email protected]>
> <tellurium-users%[email protected]<tellurium-users%[email protected]>
> >
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/tellurium-users?hl=en.
> >
> >
>
> --
> You received this message because you are subscribed to the Google Groups
> "tellurium-users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<tellurium-users%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/tellurium-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"tellurium-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tellurium-users?hl=en.

Reply via email to