I got a selectbox. When you select a value, you get displayed a table of
data records.

Now I want to sort this table, add, edit and delete records on the same
page.

I got a <logic:present tag. I want to see if the user already selected a
value.

If so, the Table should get displayed.

My problem is, that this parameter gets reset in some way when I
reforwad to the same jsp again,
after doing an action like sorting.

This is really anyoing, because when I hit submit on the selectbox
again,
all I did -the sorting - gets destroyed, and the regular list gets
displayed again.


<html:form action="getAlaskaGroups.do" method="POST">
        <html:select property="plantSelection" size="1">
                <html:options name="plantListBean"
property="plantList"/>
        </html:select> <br>
        <html:submit/>
</html:form>

<logic:present parameter="plantSelection">
        Show Table when plant has been selected once in session. 
        Also directly show table after sort records action, add records action,
edit records action, delete records action.
</logic:present>


Any ideas ???

thx in advance,

marcs

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>

Reply via email to