Hi,
I think the problem is that you define a new Event when going to top of your
page. Try this: make a simple javascript, that sets the focus to an element
at the top of the page (that leads the browser to go to the "focused"
element and therefore to the top of the page), then your Error-Messages
should remain.
Regards
Christine

-----Urspr�ngliche Nachricht-----
Von: deepaksawdekar [mailto:[EMAIL PROTECTED] 
Gesendet: Donnerstag, 06. November 2003 19:51
An: Struts Users Mailing List
Betreff: ActionErrors are not displayed after page is refreshed.

Hi,
I have a jsp in which i have written the following code to display the
errors,

<logic:messagesPresent>
    <p CLASS="errorsHeader">
    <bean:message key="errors.validation.header"/>
    </p>
    <html:messages id="error">
          <li><c:out value="${error}"/></li>
    </html:messages>
 <hr SIZE="1" NOSHADE WIDTH="620" ALIGN="left">
</logic:messagesPresent>


Along with that i have a code to at the bottom of page to go to top of the
pages as follows,
        <TD ALIGN="center" COLSPAN="10"><A HREF="#top"><html:img
page="/images/IcoGoTop.gif" width="17" height="17" border="0" alt="Top of
Page"></html:img></A>
                </TD>


Now the problem i am facing is that when i click on top image the page gets
refreshed and errors messages goes off.
Is there any way i can provide a code to goto top along with keeping the
error messages.


Thanks and Regards
Deepak.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to