RE: prerender() not called on my tiles

2007-03-21 Thread JS Portal Support
Hi,

I created https://issues.apache.org/struts/browse/SHALE-429 and attached
some example files. A little tweak of the faces-config.xml and tiles.xml
should be all you need to try it out.

I hope this all makes sense and look forward to your thoughts as I'm lost.

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

-Original Message-
From: Gary VanMatre [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 21, 2007 2:51 PM
To: user@shale.apache.org
Subject: RE: prerender() not called on my tiles

From: JS Portal Support [EMAIL PROTECTED] 

 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. 


Could you please create a JIRA ticket an add you example.  We sure need a
tiles example app for Shale.  I can't shoot from the hip on this one but an
example would help us see what's going on.

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

Gary

 -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 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)- 
  template=/jsp/tiles/layouts/loggedLayout.jsp 
 
 
 
 
 
 
 
 
 
 
 
 --faces-config.xml (partly)-- 
 
 jsp$user_dashboard 
 
 com.jsportal.projectportal.web.JSFaces.jsp.Dashboard naged-bean-class 
 request 
 
 
 
 
 * 
 
 
 go_user_dashboard 
 /user_dashboard_view 
 
 
 
 go_user_profile 
 /user_profile_view 
 
 
 
 go_user_calendar 
 /user_calendar_view 
 
 
 
 go_search 
 /search_view 
 
 
 
 
 
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* 
 
 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. 
 
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* 
 
 
 
 
 



SV: prerender() not called on my tiles

2007-03-21 Thread Hermod Opstvedt
Hi

Why? Seems like there are a lot of issues with Tiles, I'm sticking with Clay
:)

Hermod


-Opprinnelig melding-
Fra: Greg Reddin [mailto:[EMAIL PROTECTED] 
Sendt: 21. mars 2007 16:38
Til: user@shale.apache.org
Emne: Re: prerender() not called on my tiles

On 3/20/07, Gary VanMatre [EMAIL PROTECTED] wrote:

 We sure need a tiles example app for Shale.


Yeah, one of these days I really need to start using Tiles 2 with a JSF
app.  I'm really behind the curve on that one :-)

Greg



Re: prerender() not called on my tiles

2007-03-21 Thread Gary VanMatre
From: Greg Reddin [EMAIL PROTECTED] 

 On 3/20/07, Gary VanMatre wrote: 
  
  We sure need a tiles example app for Shale. 
 
 
 Yeah, one of these days I really need to start using Tiles 2 with a JSF 
 app. I'm really behind the curve on that one :-) 


Well, if your using facelets, you are probably ahead of the curve when it comes 
to JSF.  Really ahead of the curve if you are using Clay :-) 

On a serious note, I wonder how tiles and JSF 1.2 will work out since the 
rendering issues have been fixed in JSF/JSP.  I just have not had the time to 
check it out. 

 
 Greg 

Gary

RE: prerender() not called on my tiles

2007-03-21 Thread JS Portal Support
As I'm still not totally committed to tiles so can you guys give me the
pro's and cons of tiles, Clay and facelets or provide me to a page laying
out the differences. I am committed to shale and MyFaces.

Cheers,

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

-Original Message-
From: Gary VanMatre [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 22, 2007 6:02 AM
To: user@shale.apache.org
Subject: Re: prerender() not called on my tiles

From: Greg Reddin [EMAIL PROTECTED] 

 On 3/20/07, Gary VanMatre wrote: 
  
  We sure need a tiles example app for Shale. 
 
 
 Yeah, one of these days I really need to start using Tiles 2 with a JSF 
 app. I'm really behind the curve on that one :-) 


Well, if your using facelets, you are probably ahead of the curve when it
comes to JSF.  Really ahead of the curve if you are using Clay :-) 

On a serious note, I wonder how tiles and JSF 1.2 will work out since the
rendering issues have been fixed in JSF/JSP.  I just have not had the time
to check it out. 

 
 Greg 

Gary



RE: prerender() not called on my tiles

2007-03-20 Thread Gary VanMatre
From: JS Portal Support [EMAIL PROTECTED] 

 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. 


Could you please create a JIRA ticket an add you example.  We sure need a tiles 
example app for Shale.  I can't shoot from the hip on this one but an example 
would help us see what's going on.

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

Gary

 -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 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)- 
  template=/jsp/tiles/layouts/loggedLayout.jsp 
 
 
 
 
 
 
 
 
 
 
 
 --faces-config.xml (partly)-- 
 
 jsp$user_dashboard 
 
 com.jsportal.projectportal.web.JSFaces.jsp.Dashboard naged-bean-class 
 request 
 
 
 
 
 * 
 
 
 go_user_dashboard 
 /user_dashboard_view 
 
 
 
 go_user_profile 
 /user_profile_view 
 
 
 
 go_user_calendar 
 /user_calendar_view 
 
 
 
 go_search 
 /search_view 
 
 
 
 
 
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
 
 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. 
 
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
 
 
 
 
 

prerender() not called on my tiles

2007-03-19 Thread JS Portal Support
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-namejsp$user_dashboard/managed-bean-name
 
managed-bean-classcom.jsportal.projectportal.web.JSFaces.jsp.Dashboard/ma
naged-bean-class
managed-bean-scoperequest/managed-bean-scope
  /managed-bean

navigation-rule

from-view-id*/from-view-id

  navigation-case
from-outcomego_user_dashboard/from-outcome
to-view-id/user_dashboard_view/to-view-id
/navigation-case
  
  navigation-case
from-outcomego_user_profile/from-outcome
to-view-id/user_profile_view/to-view-id
/navigation-case

navigation-case
from-outcomego_user_calendar/from-outcome
to-view-id/user_calendar_view/to-view-id
/navigation-case

navigation-case
from-outcomego_search/from-outcome
to-view-id/search_view/to-view-id
/navigation-case
/navigation-rule



RE: prerender() not called on my tiles

2007-03-19 Thread hermod.opstvedt
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-namejsp$user_dashboard/managed-bean-name
 
managed-bean-classcom.jsportal.projectportal.web.JSFaces.jsp.Dashboard/ma
naged-bean-class
managed-bean-scoperequest/managed-bean-scope
  /managed-bean

navigation-rule

from-view-id*/from-view-id

  navigation-case
from-outcomego_user_dashboard/from-outcome
to-view-id/user_dashboard_view/to-view-id
/navigation-case
  
  navigation-case
from-outcomego_user_profile/from-outcome
to-view-id/user_profile_view/to-view-id
/navigation-case

navigation-case
from-outcomego_user_calendar/from-outcome
to-view-id/user_calendar_view/to-view-id
/navigation-case

navigation-case
from-outcomego_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.

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



RE: prerender() not called on my tiles

2007-03-19 Thread JS Portal Support
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-namejsp$user_dashboard/managed-bean-name
 
managed-bean-classcom.jsportal.projectportal.web.JSFaces.jsp.Dashboard/ma
naged-bean-class
managed-bean-scoperequest/managed-bean-scope
  /managed-bean

navigation-rule

from-view-id*/from-view-id

  navigation-case
from-outcomego_user_dashboard/from-outcome
to-view-id/user_dashboard_view/to-view-id
/navigation-case
  
  navigation-case
from-outcomego_user_profile/from-outcome
to-view-id/user_profile_view/to-view-id
/navigation-case

navigation-case
from-outcomego_user_calendar/from-outcome
to-view-id/user_calendar_view/to-view-id
/navigation-case

navigation-case
from-outcomego_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.

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