Ok, so that was the wrong idea..
I need a Dictionary<String,Object> that copies in the application properties



On Wed, Mar 18, 2009 at 6:59 PM, John Pritchard <[email protected]> wrote:

>
> Hi,
>
> Am I missing something?
>
> I'm not seeing a way to bind the application properties into the WTKX.  As
> usual, Pivot follows enlightened sanity in binding applet document base
> query parameters into the application startup properties.
> However, the application properties are Dictionary<String,String> which
> can't just cast to Dictionary<String,Object> (go figure).
>
> What I'm seeing is that in order to use
>
> <Label text="%docbase.qs.name" />
>
> I would pass the application properties into the WTKXSerializerconstructor
> and then I need this little oddity...
>
> public void startup(Display display, Dictionary<String,String> properties)
>     throws Exception
> {
>     Dictionary data = properties;
>     WTKXSerializer wtkx = new WTKXSerializer(
> (Dictionary<String,Object>)data);
>
>         //(etc)...
> }
>
> Comments?
>
> /john/
>
>
  • data binding John Pritchard
    • Re: data binding John Pritchard

Reply via email to