How to input a Map parameter in Webtools ?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

How to input a Map parameter in Webtools ?

Bruno Busco
Hi,
I am trying to execute a service using the WebTools application.
How can I input valid data in a field that requires a Map?
In particular I want to set the inputFields field in
https://localhost:8443/webtools/control/setSyncServiceParameters and I
cannot find the correct syntax to indicate a Map.
I always get the error:
Type check failed for field [performFind.inputFields]; expected type is
[java.util.Map]; actual type is [java.lang.String]


Many thanks,
-Bruno
Reply | Threaded
Open this post in threaded view
|

Re: How to input a Map parameter in Webtools ?

Bruno Busco
Basically what I am trying to do is to understand why the service
performFind seems not to retrieve the records my form is supposed to list.
How can I debug this?
Is there a way to see the parameters passed in the service call?

Many thank for any help.

-Bruno

2008/5/13 Bruno Busco <[hidden email]>:

> Hi,
> I am trying to execute a service using the WebTools application.
> How can I input valid data in a field that requires a Map?
> In particular I want to set the inputFields field in
> https://localhost:8443/webtools/control/setSyncServiceParameters and I
> cannot find the correct syntax to indicate a Map.
> I always get the error:
> Type check failed for field [performFind.inputFields]; expected type is
> [java.util.Map]; actual type is [java.lang.String]
>
>
> Many thanks,
> -Bruno
>
Reply | Threaded
Open this post in threaded view
|

Re: How to input a Map parameter in Webtools ?

Scott Gray
You could always hook a debugger in Eclipse up to OFBiz and step through the
java services, there's info in docs.ofbiz.org somewhere.

Regards
Scott

2008/5/17 Bruno Busco <[hidden email]>:

> Basically what I am trying to do is to understand why the service
> performFind seems not to retrieve the records my form is supposed to list.
> How can I debug this?
> Is there a way to see the parameters passed in the service call?
>
> Many thank for any help.
>
> -Bruno
>
> 2008/5/13 Bruno Busco <[hidden email]>:
>
> > Hi,
> > I am trying to execute a service using the WebTools application.
> > How can I input valid data in a field that requires a Map?
> > In particular I want to set the inputFields field in
> > https://localhost:8443/webtools/control/setSyncServiceParameters and I
> > cannot find the correct syntax to indicate a Map.
> > I always get the error:
> > Type check failed for field [performFind.inputFields]; expected type is
> > [java.util.Map]; actual type is [java.lang.String]
> >
> >
> > Many thanks,
> > -Bruno
> >
>
Reply | Threaded
Open this post in threaded view
|

language, currency and navigator problem

Eric DE MAULDE
Hello,

Installation release.4.0 update 652312

With locales.available=fr,en or not configured,
The language drop-down list provides all defined languages
But I can't change the backend language (on different computers and
navigators) !

And in the same Windows installation (English version + French locale) :
English Internet explorer = just French is possible
English Firefox = just English is possible

Moreover, my ecommerce EURO prices don't display in my Firefox navigator.

Can we display different language choice between the frontend and the
backend ?

Thanks

Reply | Threaded
Open this post in threaded view
|

Re: How to input a Map parameter in Webtools ?

Bruno Busco
In reply to this post by Scott Gray
Scott,
thank you for your suggestion.
In any case I have found the answer to my original question that I put here
in case someone is looking for the samething.

To enter a value of map type in one of the webtools application fields
follow this syntax:
{key1="value1", key2="value2"}

-Bruno

2008/5/17 Scott Gray <[hidden email]>:

> You could always hook a debugger in Eclipse up to OFBiz and step through
> the
> java services, there's info in docs.ofbiz.org somewhere.
>
> Regards
> Scott
>
> 2008/5/17 Bruno Busco <[hidden email]>:
>
> > Basically what I am trying to do is to understand why the service
> > performFind seems not to retrieve the records my form is supposed to
> list.
> > How can I debug this?
> > Is there a way to see the parameters passed in the service call?
> >
> > Many thank for any help.
> >
> > -Bruno
> >
> > 2008/5/13 Bruno Busco <[hidden email]>:
> >
> > > Hi,
> > > I am trying to execute a service using the WebTools application.
> > > How can I input valid data in a field that requires a Map?
> > > In particular I want to set the inputFields field in
> > > https://localhost:8443/webtools/control/setSyncServiceParameters and I
> > > cannot find the correct syntax to indicate a Map.
> > > I always get the error:
> > > Type check failed for field [performFind.inputFields]; expected type is
> > > [java.util.Map]; actual type is [java.lang.String]
> > >
> > >
> > > Many thanks,
> > > -Bruno
> > >
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: How to input a Map parameter in Webtools ?

Bilgin Ibryam
On Sun, 2008-05-18 at 08:57 +0200, Bruno Busco wrote:
> > > Is there a way to see the parameters passed in the service call?

You can print the context map in java services and parameters map in
simple method services.

Bilgin