Hello,

If your list is created dynamically, you could check out dynamic
submission parameters here: http://rifers.org/wiki/display/RIFE/Forms#Forms-6

I'm doing something similar in my project.  I created a list of html
inputs like this:

<input type="text" name="item_1" id="item_1"/>
<input type="text" name="item_2" id="item_2"/>
<input type="text" name="item_3" id="item_3"/>
..etc

  where the number is the ID of the object.

Then in my submission handler:

@SubmissionHandler (
        paramRegexps = @ParamRegexp(value = "item_(\\d+)")
    )
    public void doSubmit() {
        // snip

        List<String> items = getParameterNames("item_.*");

        for (String item : items) {
            cart.updateItem(Integer.parseInt(item.replaceAll("item_",
"")), getParameterInt(item));
        }

        // snip
    }

In your case you could loop through all the parameters and check to
see if their value indicates that they were checked to see if they
needed to be deleted.  Hopefully this is what you were asking for and
the best way to do it.  I'm still pretty new with RIFE.

Regards,
Kent

On Aug 15, 10:33 am, Matthias Barmeier
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I would like to display a list of objects in a form. Every line has a
> checkbox, which the user can select if he wants to delete the object.
> After marking all the objects he wants to delete he submits the form.
>
> My question is, is it possible to have a submission that contains a list
> of objects ? And could someone give me a hint where I find some docs or
> examples how to achieve this.
>
> Thanks in advance.
>
> Ciao
>     Matze


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"rife-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rife-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to