[jboss-user] [JBoss Seam] - Page action not called

Sammy8306 do-not-reply at jboss.com
Wed May 30 07:46:55 EDT 2007


I'm having trouble calling page actions from PageName.page.xml files. When I put the following line into the top level pages.xml file:

 
  | <pages>
  |   <page view-id="/PageName.xhtml" action="#{PageComponent.someaction}">
  | </pages>
  | 

everything works fine. However, when putting this in PageName.page.xml:
<!DOCTYPE page PUBLIC "-//JBoss/Seam Pages Configuration DTD 1.1//EN" "http://jboss.com/products/seam/pages-1.1.dtd" >
  | 
  | <page action="#{PageComponent.someaction}" />
  | 

someaction is not called. I've tried lots of things (using a nested  tag, adding a view-id even though it is implied), but nothing worked so far... what am I doing wrong? The PageName.page.xml is the same directory as PageName.xhtml.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4049669#4049669

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4049669



More information about the jboss-user mailing list