• Post Reply Bookmark Topic Watch Topic
  • New Topic

ADF Faces useWindow attribute  RSS feed

 
Brian Smith
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to open a popup window from an ADF Faces commandLink. ADF Faces uses a useWindow attribute to specify whether the target opens in a new window. It is not opening a new window. I have also seen a useDialog attribute but I think it is not valid in the current version of ADF Faces?

Here is my jsp
 
Brian Smith
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I figured it out. In older examples where useDialog was used, the return value from the action was "process:something". This was also defined as a navigation rule in faces-config.xml

I found an example from oracle that uses the useWindow attribute. Instead of "process:something" it should be "dialog:something"
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!