request generator and encoding

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

request generator and encoding

Alexander Žaťko
Is there a simple way to remove encoding of argument values in a XML  
returned by the request generator?

This is what I get from the req. generator:

<request>
     
<query-string>company=Albertsons+Inc.&amp;
company=CVS+Distribution%2C+Inc.&amp;Select=Update</query-string>
</request>

I need the query string argument values unencoded.

Thanks

A.




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: request generator and encoding

Alessandro  Vernet
Administrator
Hi Alexander,

You can access non-encoded values for the parameters in the document
returned by the request generator under
"/request/parameters/parameter/value". See for instance the example in
the documentation:

http://www.orbeon.com/ops/doc/processors-generators-request

BTW, I am just curious: are you using a beta or "unstable build" of
PresentationServer 3.0? If you are, in most cases you can now handle
with the page flow a number of cases that required the use of the
request generator in the past. If you are using PresentationServer
3.0, have you tried to use just the page flow instead of the request
generator?

Alex

On 11/11/05, Alexander Zatko <[hidden email]> wrote:

> Is there a simple way to remove encoding of argument values in a XML
> returned by the request generator?
>
> This is what I get from the req. generator:
>
> <request>
>
> <query-string>company=Albertsons+Inc.&amp;
> company=CVS+Distribution%2C+Inc.&amp;Select=Update</query-string>
> </request>
>
> I need the query string argument values unencoded.
>
> Thanks
>
> A.
>
>
>
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>
>

--
Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: request generator and encoding

Alexander Žaťko
On Nov 14, 2005, at 9:12 PM, Alessandro Vernet wrote:

> Hi Alexander,
>
> You can access non-encoded values for the parameters in the document
> returned by the request generator under
> "/request/parameters/parameter/value". See for instance the example in
> the documentation:
>
> http://www.orbeon.com/ops/doc/processors-generators-request

...right. I have used the parameters before but forgot about their
existence. sorry about the noise.


> BTW, I am just curious: are you using a beta or "unstable build" of
> PresentationServer 3.0? If you are, in most cases you can now handle
> with the page flow a number of cases that required the use of the
> request generator in the past. If you are using PresentationServer
> 3.0, have you tried to use just the page flow instead of the request
> generator?

I am using 3.0 beta 2 at the moment. I know I have tried using page
flow-resident logic before to call request-specific pages, but had
problem with it so I resorted to request generator. I think I was using
beta 1 at that time, but it could have been an operator error as I have
been "very new" to OPS at that time. Now I am just "new" to it :-)

Thanks.


> Alex
>
> On 11/11/05, Alexander Zatko <[hidden email]> wrote:
>> Is there a simple way to remove encoding of argument values in a XML
>> returned by the request generator?
>>
>> This is what I get from the req. generator:
>>
>> <request>
>>
>> <query-string>company=Albertsons+Inc.&amp;
>> company=CVS+Distribution%2C+Inc.&amp;Select=Update</query-string>
>> </request>
>>
>> I need the query string argument values unencoded.
>>
>> Thanks
>>
>> A.
>>
>>
>>
>>
>>
>> --
>> You receive this message as a subscriber of the
>> [hidden email] mailing list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> ObjectWeb mailing lists service home page:
>> http://www.objectweb.org/wws
>>
>>
>>
>
> --
> Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/
>
>
> --
> You receive this message as a subscriber of the
> [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: request generator and encoding

Erik Bruchez
Administrator
Alexander Zatko wrote:

> On Nov 14, 2005, at 9:12 PM, Alessandro Vernet wrote:
>
>> Hi Alexander,
>>
>> You can access non-encoded values for the parameters in the document
>> returned by the request generator under
>> "/request/parameters/parameter/value". See for instance the example in
>> the documentation:
>>
>> http://www.orbeon.com/ops/doc/processors-generators-request
>
>
> ...right. I have used the parameters before but forgot about their
> existence. sorry about the noise.
>
>
>> BTW, I am just curious: are you using a beta or "unstable build" of
>> PresentationServer 3.0? If you are, in most cases you can now handle
>> with the page flow a number of cases that required the use of the
>> request generator in the past. If you are using PresentationServer
>> 3.0, have you tried to use just the page flow instead of the request
>> generator?
>
>
> I am using 3.0 beta 2 at the moment. I know I have tried using page
> flow-resident logic before to call request-specific pages, but had
> problem with it so I resorted to request generator. I think I was using
> beta 1 at that time, but it could have been an operator error as I have
> been "very new" to OPS at that time. Now I am just "new" to it :-)
We hope you keep at it and help us get to 3.0 final with insightful
questions in ops-users!

-Erik



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws