We want to get rid of all the SELWRP stuff in the UI, instead use a single "action" attribute for pfx:button / <pfx:xinp type="submit|image">.
This attribute references a group of wrappers in the configuration.
We need to change the pagerequest configuration for this. If the old form is used, the SELWRP will still work, but it will not be allowed for new style configuration (hope this is possible at all...)
<pagerequest name="...">
<input>
<wrapper prefix="..." class="..." activeignore="true|false"/>
...
</input>
<processing>
<action name="...">
<inout>
<wrapper ref="a_prefix_1"/>
...
</inout>
<out>
<wrapper ref="a_prefix_2"/>
...
</out>
[ <in>
<wrapper ref="a_prefix_3"/>
...
</in> ] <- do we need this???
</action>
</processing>
<output>
<resource node="..." class="..."/>
...
</output>
</pagerequest>
<inout> are all the wrappers that are used for submitted data, and which will be used in retrieveCurrentStatus() after successful handling of the data.
<out> are all wrappers who don't get to handle data, but who are called in retrieveCurrentStatus() if the whole submit has been handled sucessfully
NOTE: this is the new way to achieve that. The old configuration had a alwaysretrieve attribute on the "<input>/<interface>" node (now called "<input>/<wrapper>").
<in> would be wrappers who handle input, but who are not called in retrieveCurrentStatus() after a successful submit. We need to know if this is needed at all...
An alternative configuration format might look like this:
<processing>
<action name="">
<wrapper ref="a_prefix_1" mode="submit"/>
<wrapper ref="a_prefix_2" mode="retrieve"/>
<wrapper ref="a_prefix_3" mode="submit-retrieve"/>
<wrapper ref="a_prefix_4"/>
<!-- mode attribute could default to either submit or
submit-retrieve -->
</action>
</processing>
RESOLUTION: finally I settled for the form with two lists, one for
submit and one for retrieve (see #23 and #27 for the background)
<process>
<action name="A_Name" MORE_ATTRIBUTES>
<submit>
<wrapper ref="a_prefix"/>
<wrapper ref="..."/>
...
</submit>
<retrieve>
<wrapper ref="a_prefix"/>
...
</retrieve>
<action>
</process>
MORE_ATTRIBUTES stands for additional attributes that will have to be implemented for pageflow, jumptopage, jumptopageflow, forcestop selection based on actions. See #31 for this.