Help

Controls

PermLinkWikiLink

Built with Seam

You can find the full source code for this website in the Seam package in the directory /examples/wiki. It is licensed under the LGPL.

Forum: Seam Users Forum ListTopic List
21. May 2008, 21:23 CET | Link

Hi, I need do force the user logon when trying to acess the site, i put in my pages.xml

<page view-id="/*" login-required="true"/>

but components of richfaces ( rich:panel, rich:menuDropDown... ) not inicialized.

my source pages.xml

<?xml version="1.0" encoding="UTF-8"?>
<pages xmlns="http://jboss.com/products/seam/pages"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://jboss.com/products/seam/pages http://jboss.com/products/seam/pages-2.0.xsd"

       no-conversation-view-id="/home.xhtml"
       login-view-id="/login.xhtml">
<page view-id="/*" login-required="true"/>
...

What i do ? What´s wrong ?

Thanks!

3 Replies:
22. May 2008, 00:04 CET | Link

I decided do with separated pages...

<page view-id="/projeto*" login-required="true"/>    
<page view-id="/categoria*" login-required="true"/>
<page view-id="/programa*" login-required="true"/>
<page view-id="/recurso*" login-required="true"/>    
<page view-id="/parceiro*" login-required="true"/>

...

10. Sep 2008, 16:24 CET | Link

Having the exact same issue, is there a work around besides declaring every view seperatly?

13. Sep 2008, 00:13 CET | Link

There were a number of related issues: JBSEAM-2186

Depending on your version you may want to upgrade...

 

Regards,

Siarhei