Re: [Trinidad] Page reloads before launching the dialog

2009-02-12 Thread Jonathan Bullock
We're using the dialog framework too and when the link is clicked a XHR POST is made to the page before the window loads and when the window is closed. Jon On Wed, 2009-02-11 at 11:54 -0800, Richard Yee wrote: Are you using any custom JavaScript? -R On Wed, Feb 11, 2009 at 10:24 AM,

Re: [Trinidad] Page reloads before launching the dialog

2009-02-12 Thread Gerhard Petracek
hello, yes - that's the desired behaviour. it sounds like walter talked about a full page refresh. in case of ppr it shouldn't occur. regards, gerhard 2009/2/12 Jonathan Bullock jonathan.bull...@fugro-data.com We're using the dialog framework too and when the link is clicked a XHR POST is

Re: [Trinidad] Page reloads before launching the dialog

2009-02-12 Thread Gerhard Petracek
hello walter, your *... looks like the page was refreshed ...* is ok - it isn't a full page refresh. you can test it e.g. via a random value bound to an output-component (which is in the page). it should only change if you do none-ppr requests (or you trigger it). regards, gerhard 2009/2/12

Re: [Trinidad] Page reloads before launching the dialog

2009-02-12 Thread Walter Mourão
Many thanks Gerhard, One last question: should the Close PPR command button closes the dialog ? it doesn't... Walter Mourão http://waltermourao.com.br http://arcadian.com.br http://oriens.com.br On Thu, Feb 12, 2009 at 3:41 PM, Gerhard Petracek gerhard.petra...@gmail.com wrote: hello

Re: [Trinidad] Page reloads before launching the dialog

2009-02-12 Thread Gerhard Petracek
hello walter, ppr is just useful if you stay on the same page. you close the current page (the dialog), so you don't need ppr here. regards, gerhard 2009/2/12 Walter Mourão walter.mou...@gmail.com Many thanks Gerhard, One last question: should the Close PPR command button closes the

Re: [Trinidad] Page reloads before launching the dialog

2009-02-11 Thread Walter Mourão
Actually the refresh occurs after closing the dialog too... :-( Hints ? Answers ? Thanks in advance, Walter Mourão http://waltermourao.com.br http://arcadian.com.br http://oriens.com.br On Tue, Feb 10, 2009 at 9:27 AM, Walter Mourão walter.mou...@gmail.comwrote: Hi folks, I'm using

Re: [Trinidad] Page reloads before launching the dialog

2009-02-11 Thread Richard Yee
Are you using any custom JavaScript? -R On Wed, Feb 11, 2009 at 10:24 AM, Walter Mourão walter.mou...@gmail.com wrote: Actually the refresh occurs after closing the dialog too... :-( Hints ? Answers ? Thanks in advance, Walter Mourão http://waltermourao.com.br http://arcadian.com.br

Re: [Trinidad] Page reloads before launching the dialog

2009-02-11 Thread Walter Mourão
No javascript. Walter Mourão http://waltermourao.com.br http://arcadian.com.br http://oriens.com.br On Wed, Feb 11, 2009 at 5:54 PM, Richard Yee richard.k@gmail.comwrote: Are you using any custom JavaScript? -R On Wed, Feb 11, 2009 at 10:24 AM, Walter Mourão walter.mou...@gmail.com

Re: [Trinidad] Page reloads before launching the dialog

2009-02-11 Thread Richard Yee
Try creating a small test application with a basic page that has a dialog and see if it has the same behavior. This will determine if it is something in your page. -R On Wed, Feb 11, 2009 at 2:07 PM, Walter Mourão walter.mou...@gmail.com wrote: No javascript. Walter Mourão

Re: [Trinidad] Page reloads before launching the dialog

2009-02-11 Thread Gerhard Petracek
hello walter, @demo app: +1 (so you can compare both apps.) i tested the same with trinidad 1.0.9 - no page refresh (with partialSubmit=true). - it doesn't look like a general issue. regards, gerhard 2009/2/12 Richard Yee richard.k@gmail.com Try creating a small test application with a

[Trinidad] Page reloads before launching the dialog

2009-02-10 Thread Walter Mourão
Hi folks, I'm using Trinidad 1.0.9. I realized that when launching a dialog (lightweight), the page containing the commandButton reloads before launching the dialog. Is it the expected behavior ? Is there a way to avoid that ? The commandButton: tr:commandButton