You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by elyes sallem <el...@gmail.com> on 2009/05/13 11:39:24 UTC

manage refresh action

Hello,
i have a list of entrees that i display from database
for each entree , it is possible de make a modification and a validation of
data
once the user make a modification, and after  , try  make a refresh , i want
to avoid calling twice the modification action
i wanna call the refresh action
any one has an idea how develop this,
i used the redirect parameter in the action definition, but it didn't work

    <action name="saisiAjustContratEditForm" parameter="do"
            path="/EditAjustContrat" scope="session"
            type="com.thales.project.action.SaisiAjustContratAction">
            <forward name="gererSaisiAjustContrats"

path="/pages/CPFA_Mensuel/saisi_ajustement/ajust_contrat.jsp" />
            <forward name="ajouterCommentaire"
                path="/pages/CPFA_Mensuel/saisi_ajustement/addComment.jsp"
/>
            <forward name="actualiserContrat"
                path="/EditAjustContrat.do?do=refreshContrat"
redirect="true"/>
Regards
Elyes.