Lenya 2.0 passing form request parameters to usecase

Gintare Ragaisiene <[email protected]>
Newsgroups gmane.comp.cms.lenya.user
Message-ID <[email protected]>
Hello,

   I have usecase editors.insertImage that after image selection gets back
to my implemented usecase ginactions.edit :

<xconf xpath="/cocoon/usecases"
unless="/cocoon/usecases/component-instance[@name = 'ginactions.edit']">
  <component-instance name="ginactions.edit"
                      logger="lenya.site.ginactions"

class="com.ginsoftware.lenya.cms.ginactions.ActionsEdit">
    <view
       uri="modules/ginactions/usecases/dynamicrepeater_template.xml"
       customFlow="fallback://lenya/modules/ginactions/flow/customFlow.js"
    />
    <event id="edit"/>
  </component-instance>
</xconf>

where

package com.ginsoftware.lenya.cms.ginactions;
...
public class ActionsEdit extends InvokeWorkflow{
 ...
}

In other words, I open my usecase ginactions.edit, click on link "Insert
image" , go to usecase editors.insertImage, select image and go back to
ginactions.edit with image request parameters from editors.insertImage POST
form.

How can I get those selected image parameters values with
this.getParameterAsString("...") in ActionsEdit.java ?

Thanks,
Gintarė
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.