Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7765965
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T15:17:45+00:00 2026-06-01T15:17:45+00:00

I have 1st popup, and this 1st popup opens 2nd popup Code: <view-state id=paneMaintenance

  • 0

I have 1st popup, and this 1st popup opens 2nd popup

Code:

<view-state id="paneMaintenance" parent="#pe-cards"  model="model">               
    <transition on="task-view" then="developers-task-view" bind="false">                    
    </transition>      
</view-state>




<view-state id="developers-task-view" view="/WEB-INF/jsp/taskView/taskAssignDevelopersPopUp.jsp" model="taskAssignModel" parent="#paneMaintenance" popup="true" >
    <transition on="create" to="create-task-after" bind="false" >
        <evaluate expression="taskAssignHandler.create(taskAssignModel, model.paneModel, true)" />
    </transition>
</view-state>


<view-state id="create-task-after" view="/WEB-INF/jsp/taskView/taskCreateAfter.jsp" model="taskAssignModel" parent="#developers-task-view" popup="true">
      <transition on="confirm" bind="true">
                 <evaluate expression="taskAssignHandler.saveTaskAssign(taskAssignModel, model.paneModel)" />
      </transition>
    <transition on="cancel" bind="false"  to="paneMaintenance"/>
</view-state>

I need to execute some code, then close 2nd popup, and then return to 1st popup.
How can i do it?
If 1st popup opens 2nd popup, and there is transition from 2nd popup to 1st popup, then 2nd popup opens second 1st popup, instead of close himself and return to 1st popup

Please help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T15:17:47+00:00Added an answer on June 1, 2026 at 3:17 pm

    You can use tiles and create some tiles definitions, like this:

    <definition name="myBasicView" extends="myView">
        <put-attribute name="body" value="/WEB-INF/jsp/taskView/yourPageBody.jsp" />
    </definition>
    
    <definition name="myFirstView" extends="myView">
        <put-attribute name="body" value="/WEB-INF/jsp/taskView/yourPageBody.jsp" />
        <put-attribute name="popup" value="/WEB-INF/jsp/taskView/taskAssignDevelopersPopUp.jsp" />
    </definition>
    
    <definition name="mySecondView" extends="myView">
        <put-attribute name="body" value="/WEB-INF/jsp/taskView/yourPageBody.jsp" />
        <put-attribute name="popup" value="/WEB-INF/jsp/taskView/taskCreateAfter.jsp" />
    </definition>
    

    and then use these definitions:

    <view-state id="paneMaintenance" parent="#pe-cards" model="model" view="myBasicView" >               
        <transition on="task-view" then="developers-task-view" bind="false">                    
        </transition>      
    </view-state>
    
    <view-state id="developers-task-view" view="myFirstView" model="taskAssignModel" parent="#paneMaintenance" popup="true" >
        <transition on="create" to="create-task-after" bind="false" >
            <evaluate expression="taskAssignHandler.create(taskAssignModel, model.paneModel, true)" />
        </transition>
    </view-state>
    
    <view-state id="create-task-after" view="mySecondView" model="taskAssignModel" parent="#developers-task-view" popup="true">
        <transition on="confirm" bind="true">
            <evaluate expression="taskAssignHandler.saveTaskAssign(taskAssignModel, model.paneModel)" />
        </transition>
        <transition on="cancel" bind="false" to="paneMaintenance"/>
    </view-state>
    

    So 1 popup for each view!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created 3 views. 1st view is home, 2nd is inventory and 3rd
I have 3 arrays like this: 1st Array ( [0695] => Array ( [loan_number]
Have 2 table 1st {id_city,name } 2nd table {id_ctz,name,sname,age,id_city} need selected full information (name(city),name,sname,age)
I have three windows: 1st - main window 2nd - child window - it's
All I have two table 1st table is : wp_frm_item_metas 2nd table is :
I have two tables - 1st is place and 2nd is location. Place can
i have 2 array 1st array if full 2nd array is empty i want
I have a string say string display_txt = 1st line text +\n + 2nd
i have 2 tables 1st table called services has id_service, name, date. description 2nd
1st I have to say I know nothing bout php. I was actually doing

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.