Login  Register

Re: Users - dynamic elements in path call to a screens.render

Posted by oceatoon on Apr 03, 2006; 2:08pm
URL: http://ofbiz.116.s1.nabble.com/Users-dynamic-elements-in-path-call-to-a-screens-render-tp138309p138313.html

Thx Jacopo
you obviously know it
but I tested and this variable is also accessible to all sub screens.render calls which answers my question  :-)
Regards
Tibor

On 4/3/06, Jacopo Cappellato <[hidden email]> wrote:
Hi Tibor,

you should pass the parameter to the screen as a standard url parameter:

http://localhost..../myscreen?type=cocorico

then you can use the variable in the screen's action in this way:

<set field="type" from-field="parameters.type" />

The variable "type" can then be used in your screen's action bsh.

Jacopo

tibor katelbach wrote:

> Hi Andrew
> yes but the data cannot be set at call time, it's static in the screen's
> declaration .
> which means one declaration per different value :-(
>
> if the data is passed at call time there will be only one dynamic
> declaration.
> it's just wishfull thinking but with all that allready exists I never
> know what surprise will
> pop out of these posts :-)
>
> Regards
> Tibor
>
> On 4/3/06, * Andrew Sykes* < [hidden email]
> <mailto:[hidden email]>> wrote:
>
>     Tibor,
>
>     You can add additional stuff using...
>     <set field="MyVariable" value="ThisIsTheValue" />
>     (in widgets)
>
>     The process is similar in ftl.
>     --
>     Kind Regards
>     Andrew Sykes < [hidden email]
>     <mailto:[hidden email]>>
>     Sykes Development Ltd
>     http://www.sykesdevelopment.com
>
>
>     _______________________________________________
>     Users mailing list
>     [hidden email] <mailto:[hidden email]>
>     http://lists.ofbiz.org/mailman/listinfo/users
>
>
>
> ------------------------------------------------------------------------
>
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users


_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users


 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users