Andreas Hartmann wrote:
> 
> Hi Frank
> 
> Frank Hamilton schrieb:
> 
> […]
> 
>> Can  I pass a java object, like a list, in the usecase param ?
> 
> Sure.
> 
>> how? 
> 
> http://lenya.apache.org/apidocs/2.0/modules/usecase/org/apache/lenya/cms/usecase/Usecase.html#setParameter(java.lang.String,%20java.lang.Object)
> 
> HTH,
> 
> -- Andreas
> 
> 
> -- 
> Andreas Hartmann, CTO
> BeCompany GmbH
> http://www.becompany.ch
> Tel.: +41 (0) 43 818 57 01
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 
> 


Thanks Andreas, but I need use a list in usecase parameter, to not destroy
it when I call advance().

<component-instance name="modprueba" logger="lenya.usecase.modPrueba"
      class="org.apache.lenya.cms.modPrueba.ModPrueba">
     
      <view uri="modules/modPrueba/usecases/modPrueba.jx" menu="true"/>
      <parameter name="usecaseParam" value=""/> ---> this I need a list.

</component-instance>

Althoug the value of this parameter in any state of the usecase is the same
that I defined in module definition.
I need like a form parameter (list) in Struts, that mantain his value in
each call to server. Now I need to save the list in session and  for each
iteration with server I can get it.

Any idea. Thanks





-- 
View this message in context: 
http://www.nabble.com/Load-html-select-in-cascade.-tp22461093p22555029.html
Sent from the Lenya - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to