Other OutSystems sites...
OutSystems Website
About Agility Blog
OutSystems Network
Login
Signup
Forums
Academy
Forge
Ideas
Forums
›
Technology & Integration
›
Odd popup behaviour
Odd popup behaviour
Pedro Barbosa
Rank: #674
Posted on 2011-09-15
thumbs_up_ico
0
thumbs_down_ico
0
reply
post_link_ico
Hello all,
I have a record list webscreen to two links for the same popup editor.
The odd behaviour is: when I click in the 1st link, the popup opens normaly, i. e., as a popup. When I click the 2nd link the popup opens in a new webpage.
Why this appens? How can I correct this?
Thanks in advance
Hermínio Mira
Rank: #61
Posted on 2011-09-15
thumbs_up_ico
0
thumbs_down_ico
0
reply
post_link_ico
Hi Pedro,
Check the "Method" property in both links, the 1st one will be set to "Navigate" and the 2nd is set either to "Ajax" ou "Submit".
Just change the second to "Navigate" also.
Let me know if this helped,
Hermínio Mira
Carlos Rocha
Rank: #137
Posted on 2011-09-15
thumbs_up_ico
1
thumbs_down_ico
0
reply
post_link_ico
Hi Pedro,
please chek if you have 2 Popup_Editor widget.
It seems like you have two links and one widget, notice that each popup_editor has one link associated with it.
even if you have two widgets chek if yhe link Id Is correct, maybe you copy paste them and the link could be the same in both widgets.
Please let me know if this helped
Regards
Carlos Rocha
Pedro Barbosa
Rank: #674
Posted on 2011-09-15
thumbs_up_ico
0
thumbs_down_ico
0
reply
post_link_ico
Hello all,
I found the problem! Carlos, you were correct, the link id of the 2nd widget has wrong.
Thank you all for your help.
Best Regards
Pedro Barbosa
Carlos Rocha
Rank: #137
Posted on 2011-09-15
thumbs_up_ico
0
thumbs_down_ico
0
reply
post_link_ico
I'm glad to hear that your problem is now solved.
Regards
Carlos Rocha
Eliseu Júlio Lemos
Rank: #1055
Posted on 2011-12-17
thumbs_up_ico
0
thumbs_down_ico
0
reply
post_link_ico
Hi Carlos,
I had same issue that I fixed with the way that you post, but when I close 2º popup this action close both popup's 1º and 2º and goes direct to webpage where I call 1º popup.
My question is, there´s way that when a I close the 2º popup the first one stay open? Do you know some way to do this? Other question, I fill properties width and height but when 2º popup open perform risize, there´s way to keep values of properties?
Thanks in advance.
Júlio Lemos.
Carlos Rocha
Rank: #137
Posted on 2011-12-19
thumbs_up_ico
0
thumbs_down_ico
0
reply
post_link_ico
Hi Júlio,
I don't understand your question. Are you opening the 2nd popup inside the 1st one?
how do you open 2 popups at the same time?
can you upload a sample espace so I can take a look.
Regards
Carlos Rocha
Eliseu Júlio Lemos
Rank: #1055
Posted on 2011-12-19
thumbs_up_ico
0
thumbs_down_ico
0
reply
post_link_ico
Hi Carlos,
just like you say, I start from a webpage --> Open one popUp and inside this one --> open second popUp.
a) When call first both popUp's with method navigate, when I try to do some action in second popup like change combobox item this one open inside popup the webpage where call firs popup.
b) When call the first popup with method ajax or submit and second one navigate, when open secound lose properties like widthPx and hightPx and when a close the second one, both are closed..
Thanks.
Júlio Lemos.
Carlos Rocha
Rank: #137
Posted on 2011-12-19
thumbs_up_ico
1
thumbs_down_ico
0
reply
post_link_ico
testPop.oml
Hi Júlio,
I'm not sure if is that possible because you are open a popup inside another popop...
But I would sugets you to chnage that to instead of open a popup inside a popup you can use a if to switch the popup content...
I've made this sample to be more clear... if you use the butons of the popup it will work just fine...
BTW this sample is in the version 5.1..
if you need you can update it to the version 6.0
Regards
Carlos Rocha
Eliseu Júlio Lemos
Rank: #1055
Posted on 2011-12-20
thumbs_up_ico
0
thumbs_down_ico
0
reply
post_link_ico
Hi Carlos,
thanks a lot for your kindness, your example works perfect. It´s a good solution for me. I´m a beginner with Otsystems and this is my firs project, but I´m seeing that forum is good to learn.
Best Regards.
Júlio Lemos.
Quick Reply
Notify me by email when someone answers to my post
attachment
Choose File
No file chosen
Submit
Login to reply
Something on your mind?
Login to Start a Discussion
Top Forums Posters
Gonçalo Martins
Ricardo Silva
Charles Colaço
Richard Pearson
Davide Marquês
Statler & Waldorf
Justin James
David Chen
JD
Robert Chanphakeo
See leaderboard
Online Training
On-demand video lessons to help you learn at your own pace.
Learn More