As far as I can see your code, this problem should not occur.

Perhaps you should post all your html-, page definition and java-class-code or 
simply test it by generating a simple web page with just one button and one 
dialog. There you can experiment on how to use it. It did so, too and it was 
very helpful to me.

Perhaps you have not bound your "visible" parameter to a changeable variable in 
your code... Or or or... What says the error log? Nothing? 



-----Ursprüngliche Nachricht-----
Von: Sricharan [mailto:[EMAIL PROTECTED] 
Gesendet: Donnerstag, 3. April 2008 14:17
An: users@tapestry.apache.org
Betreff: problem with showing dialog box inside an listener method


hi everyone,
i am using tapestry 4.1.5
i have an custom dialog box which should be shown on button click
so i placed  that (dialog).getComponent(custom dialog).show() in side the
listener method of button submit.Here it is going to the that line and
coming out but the dialog is not displaying i am giving my code snippets
down
html:
<input class="button" value="Add" jwcid="@Submit"
listener="listener:newSupplimental"/>
java:
public void newSupplimental(IRequestCycle cycle){
                ((Dialog)getComponent("DialogContentSupplimental")).show();
        }  
when i debug it the listner method is being called and the
((Dialog)getComponent("DialogContentSupplimental")) is bing filled but it
not showing
please,If any one help me i'll be thankful
Thanks & Regards
Sricharan. 
-- 
View this message in context: 
http://www.nabble.com/problem-with-showing-dialog-box-inside-an-listener-method-tp16467438p16467438.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to