Hi JP,

On 6/16/06, JP Singh <[EMAIL PROTECTED]> 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.
>
>
>  <td align=right valign=top><font size=3><%= field %>&nbsp;<%
>  InputHelper.getInstance(application)
>  .displayDeleteTag(response, out, wi, field);
>  %></font></td>
>  <td><font size=3><%
>  InputHelper.getInstance(application)
>  .displayInputTag(false, request, response, out, wi,
> field);
>  %></font></td>
> </tr>
>
> 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


_______________________________________________
OpenWFE - Open source WorkFlow Engine
OpenWFE-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openwfe-users

Reply via email to