Hi John,

I see in workflow defention we can very easily fethch the values. How could I make these values available to webclient?

Thanks & Regards
JP

JP Singh <[EMAIL PROTECTED]> wrote:
Hi John,

Thanks a lot for prompt reply.

In a workitem we have attribute and their values. like

Name ="John" name ="JP"

here we have a way to save and print attribute i.e. "Name".

But there is no way to save the value attached to it like John and JP.

My aim is to get the file path and give a link from webclient to the user. so that he can access the file.

If I have to change the method so I need to put one modified class file thats all ?

Thanks & Regards
JP



John Mettraux <[EMAIL PROTECTED]> wrote:
Hi JP,

On 6/16/06, JP Singh wrote:
> Hi John,
>
> i have understood the concept for file download.
>
> I want some help regrding the values being printed in value field.
> Please refer editWorkItem-body.jsp in
> openwfe-1.7.0b/webapps/webclient/pages directory.
>
>
> <%= field %> <%
> InputHelper.getInstance(application)
> .displayDeleteTag(response, out, wi, field);
> %>

> <%
> InputHelper.getInstance(application)
> .displayInputTag(false, request, response, out, wi,
> field);
> %>

>
>
> This piece of code is printing the field name and corresponding value.
> InputHelper.getInstance(application).displayInputTag(false,
> request,
> response, out, wi, field) is a void function .This is printing the
> value of the field in
> html page. As the function is returning void I
> can not store the value it is printing. I would like to save this
> value in a variable .Can you guide me how to save this value in the
> variable.

Hi JP,

by variable, I assume you're talking about 'python variable', right ?

Nothing prevents you from adding a return type to that method.

Perhaps if you could explain your final goal instead of saying "save a
field value to a variable", we could all save time and effort.


Best regards,

--
John Mettraux -///- http://jmettraux.openwfe.org


Yahoo! Sports Fantasy Football ’06 - Go with the leader. Start your league today! _______________________________________________
OpenWFE - Open source WorkFlow Engine
OpenWFE-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openwfe-users


Yahoo! Sports Fantasy Football ’06 - Go with the leader. Start your league today!
_______________________________________________
OpenWFE - Open source WorkFlow Engine
OpenWFE-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openwfe-users

Reply via email to