No problem, glad it worked out :-). -warner
On 11/7/06, Miguel Angel Hernández <[EMAIL PROTECTED]> wrote: > Warner, > > Good Morning, > > I worked, I changed the method call exactly as you > > public void pintaPopup() { > Dialog dialogo = > (Dialog)getComponent("DialogContent"); > // dialogo.show (); > setHidden(false); > > } > > public void borraPopup() { > Dialog dialogo = > (Dialog)getComponent("DialogContent"); > setHidden(true); > // dialogo.hide (); > } > > Were hidden is a page property: > > <property name="hidden" persist="session" initial-value="false" /> > > That binds to the hidden parameter of the dialog. > <div jwcid="[EMAIL PROTECTED]:Dialog" hidden="ognl:hidden" > bgColor="white" bgOpacity="0.5"> > ... > </div> > > Thanks a lot, > > miguel > > > On 11/6/06, Warner Onstine <[EMAIL PROTECTED]> wrote: > > > > Can you show what's in your .page and .html files? > > > > Also, the way that I did it is to have one boolean that was used to > > show/hide the dialogcomponent by using its built-in hidden paramter > > rather than calling it through code. Doing it this way though you need > > to make sure that you use a persistable boolean value (session is what > > I chose) so that it will retain its setting on multiple clicks. > > > > -warner > > > > On 11/6/06, Miguel Angel Hernández < [EMAIL PROTECTED]> wrote: > > > Hello everyone, > > > > > > Im using the 4.0.1 sourceforge distribution of tacos. > > > > > > I'm wrapping an AjaxForm inside a Dialog component, an AjaxDirectLink > shows > > > to show the dialog and a the dialog hides itself after the submit... > > > something like this: > > > > > > At the Class: > > > public void pintaPopup() { > > > Dialog dialogo = > > > (Dialog)getComponent("DialogContent"); > > > dialogo.show(); > > > > > > } > > > > > > public void borraPopup() { > > > Dialog dialogo = > > > (Dialog)getComponent("DialogContent"); > > > dialogo.hide (); > > > } > > > > > > The first time I show() and hide() de dialog there is no problem, but in > the > > > second the submit on the AjaxForm reloads the whole page...maybe de > response > > > is broken... > > > > > > It seems there is many people having the same problem with this > component, > > > but the "LiveDemo" is working fine. > > > I'm doing exactly as is done in the war distribution and it isn't > > > working... Does anybody knows a turnarround? > > > > > > I'm kind of desperate, thanks in advance for helping > > > > > > Miguel > > > > > > > ------------------------------------------------------------------------- > > > Using Tomcat but need to do more? Need to support web services, > security? > > > Get stuff done quickly with pre-integrated technology to make your job > > > easier > > > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > > > > _______________________________________________ > > > Tacos-devel mailing list > > > Tacos-devel@lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/tacos-devel > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, security? > > Get stuff done quickly with pre-integrated technology to make your job > easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > > Tacos-devel mailing list > > Tacos-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/tacos-devel > > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > Tacos-devel mailing list > Tacos-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/tacos-devel > > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Tacos-devel mailing list Tacos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tacos-devel