Skip to Content
author's profile photo Former Member
Former Member

Client Events and Server


I have such dilemma(JSPDynPage):

On the page I have Tabstrip.

In JavaScript I refresh iView thought the instrumentality of EPCM. But I must to save info what tabstrip element was opened, to open it after refresh.

I know how to do that when handle classic event on server-side (onClick, for example)


Can I call some method on server-side when EPCM refresh is executing?

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Oct 24, 2008 at 07:07 AM

    Or maybe in JavaScript I can simulate pressing some button? It's definitely should help me.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member


      I found solution. I must to simulate pressing button, which call doAfterInput() and own method.

      <hbj:content id="myContext" >
      <hbj:page title="PageTitle">
      <hbj:form id="myFormId" encodingType="multipart/form-data" >
      <% String buttonid = ""; %>
      <hbj:button id="SaveChanges" jonClick="onRefresh" jsObjectNeeded="true">
      	<%  buttonid = myContext.getParamIdForComponent(SaveChanges); %>	
      <Jscript language="javascript">
      function save_click(){

      Than I can call save_click() and take pleasure of refreshing.

      Edited by: Paul Klimashkin on Nov 11, 2008 7:11 PM

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.