Hi,

No messages and no errors. If I make a direct call to my tile like
/jsp/user_dashboard.jsf, it does initialize the backing bean properly. This
does lead me to believe it is a tiles related thing. I use shale 1.1.0 and
the tiles that ships with it.

Cheers,
JS Portal - Support
Dasstraat 21
2623CB Delft
the Netherlands
W: www.jsportal.com 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 20, 2007 6:58 PM
To: user@shale.apache.org
Subject: RE: prerender() not called on my tiles

Hi

Have you made sure that there is a <h:messages> in case of validation
errors. Also have you checked your servers log files for any errors?

Hermod

-----Original Message-----
From: JS Portal Support [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 20, 2007 7:05 AM
To: user@shale.apache.org
Subject: RE: prerender() not called on my tiles


No they seem not to be called either. Any jsp includes within the tiles are
handled correctly and all lifecycle methods are called.

Cheers,
JS Portal - Support
Dasstraat 21
2623CB Delft
the Netherlands
W: www.jsportal.com 
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 20, 2007 5:40 PM
To: user@shale.apache.org
Subject: RE: prerender() not called on my tiles

Hi

Are the other lifecycle methods beeing called (init etc.) ? 

Hermod

-----Original Message-----
From: JS Portal Support [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 20, 2007 6:26 AM
To: user@shale.apache.org
Subject: prerender() not called on my tiles


Hi,

I am combining shale and tiles. When I navigate to my tiles definition
/user_dashboard_view through my navigation-rule go_user_dashboard called by
a commanLink action, I find that the backing beans of the respective tiles
(/jsp/user_dashboard.jsp)are not instantiated. Or at least, the prerender()
is not called.

Any clues?

Regards,
Joost


----------Tiles.xml (partly)---------
<definition name="/mainLayout"
template="/jsp/tiles/layouts/loggedLayout.jsp">
        <put name="top" value="/jsp/tiles/top.jsp"/>
                <put name="nav" value="/jsp/tiles/nav.jsp"/>
                <put name="content" value=""/>
                <put name="footer" value="/jsp/tiles/footer.jsp"/>
    </definition>
        
        <definition name="/user_dashboard_view" extends="/mainLayout">
                <put name="content" value="/jsp/user_dashboard.jsp"/>
        </definition>


----------faces-config.xml (partly)--------------
<managed-bean>
    <managed-bean-name>jsp$user_dashboard</managed-bean-name>
 
<managed-bean-class>com.jsportal.projectportal.web.JSFaces.jsp.Dashboard</ma
naged-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
  </managed-bean>

<navigation-rule>

        <from-view-id>*</from-view-id>
        
          <navigation-case>
                        <from-outcome>go_user_dashboard</from-outcome>
                        <to-view-id>/user_dashboard_view</to-view-id>
                </navigation-case>
          
          <navigation-case>
                        <from-outcome>go_user_profile</from-outcome>
                        <to-view-id>/user_profile_view</to-view-id>
                </navigation-case>
                
                <navigation-case>
                        <from-outcome>go_user_calendar</from-outcome>
                        <to-view-id>/user_calendar_view</to-view-id>
                </navigation-case>
                
                <navigation-case>
                        <from-outcome>go_search</from-outcome>
                        <to-view-id>/search_view</to-view-id>
                </navigation-case>
        </navigation-rule>



* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that DnB NOR cannot
accept any payment orders or other legally binding correspondence with
customers as a part of an email. 

This email message has been virus checked by the anti virus programs used
in the DnB NOR Group.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *





Reply via email to