• Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem with Trinidad's Dialog box.

 
Navnath Kumbhar
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi There,

I am trying to implement simple dialog box in jsf page using Trinidad TLD.
I have use the following link for help
http://myfaces.apache.org/trinidad/devguide/dialogs.html
But when I click on button for pop up, it will just refresh the page.

Here is my code
parent.jspx
<tr:commandButton text="Press Me" action="dialog:sayHello"
useWindow="true" windowWidth="250" windowHeight="250" />


faces-config.xml
<navigation-rule>
<from-view-id>/parent.jspx</from-view-id>
<navigation-case>
<from-outcome>dialog:sayHello</from-outcome>
<to-view-id>/sayHello.jspx</to-view-id>

</navigation-case>
</navigation-rule>

Finally my sayHello.jspx file just contain hello message with required jspx tags.

Can any one help me out for this issue?

Welcome for any type of suggestion.


Thank You,
Navnath Kumbhar.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!