try with something like:

* for the productId: you just have to set also-hidden to true (it is false in your form definition)
* for fromDate:

<field name="fromDate" value="yyyyyyyy"><hidden/></field>

Jacopo


On Jul 18, 2008, at 12:09 PM, Bruno Busco wrote:

Jacopo,
I added these two lines to the form:
       <field name="safeAddProductToCategory.productId"
value="xxxxx"><hidden/></field>
       <field name="safeAddProductToCategory.productCategoryId"
value="yyyyy"><hidden/></field>
but I still get the same error! :-(

-Bruno

2008/7/18 Jacopo Cappellato <[EMAIL PROTECTED]>:

Hi Bruno,

just add the required field to the form as "hidden" fields (if you don't
want them to appear to the user).

Jacopo


On Jul 18, 2008, at 12:16 AM, Bruno Busco wrote:

Hi devs,
sorry if I ask a basic question but I need a hint from you to move
forward.

I am trying to implement a multi form to let the user to select multiple products and add them into a category. I have the multi form but now when
I
select one or more products and submit I get the error:

Errore:
Il seguente parametro richiesto 濨 mancante: [IN]
[safeAddProductToCategory.fromDate]
Il seguente parametro richiesto 濨 mancante: [IN]
[safeAddProductToCategory.productCategoryId]
Il seguente parametro richiesto 濨 mancante: [IN]
[safeAddProductToCategory.productId]

(missing parameters)

The form is this:

-----------------------------------------

 <form name="ListProduct" list-name="listIt"
target="addProductToCategory" title="" type="multi"
paginate-target="FindProduct"
     odd-row-style="alternate-row" header-row-style="header-row"
default-table-style="basic-table hover-bar">
     <actions>
<service service-name="performFind" result-map- name="result"
result-map-list-name="listIt">
<field-map field-name="inputFields" env- name="parameters"/>
             <field-map field-name="entityName" value="Product"/>
             <field-map field-name="orderBy" value="productId"/>
         </service>
     </actions>

     <field name="_rowSubmit"
title="${uiLabelMap.CommonSelect}"><check/></field>
     <field name="productId" widget-style="buttontext">
         <hyperlink also-hidden="false" description="${productId}"
target="EditProduct?productId=${productId}"/>
     </field>
     <field name="primaryProductCategoryId"><display/></field>
     <field name="internalName"><display/></field>

     <field name="submitButton" title="${uiLabelMap.CommonSubmit}"
widget-style="smallSubmit">
       <submit/>
     </field>
<on-event-update-area event-type="paginate" area-id="search- results"
area-target="FindProductSearchResults"/>
 </form>

-----------------------------------------
Can you please indicate where am I wrong ?
Where/How should I set the requested fields?
So many thanks!
-Bruno




Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to