RE: Tiles scope headache assistance needed.

2005-02-19 Thread Jason Long
quote.list.item is defiened as follows:

  


  

".table.holder" is a layout.  I want to display my quote in this holder.
The format for the quote is defined in list.item.jsp.  Everything works
except I cannot make quote available to the tile.   

"quote" is defined as follows 

"quoteForm" is in session scope.

Thank you for your time, 

Jason Long
CEO and Chief Software Engineer
BS Physics, MS Chemical Engineering
http://www.supernovasoftware.com 

-Original Message-
From: Brian Moseley [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 18, 2005 11:34 AM
To: Struts Users Mailing List
Subject: Re: Tiles scope headache assistance needed.

Jason Long wrote:

> 
> 
>
>   
> ${quote.offerPriceLightValue.sizeValue.size}
>   
> 
> 
> 
>   
> 
>   
> 
> I would like to define the following tile definition:
> 
> 
>   
>  

you must be leaving something out of your email, cos this 
tile is named .table.holder, but the jsp above is inserting 
a tile named ".quote.list.item".

> And have quote.jsp as follows:
> 
> 
>   
> ${quote.offerPriceLightValue.sizeValue.size}
>   
> 

you need to put the  in quote.jsp. 
that exposes the bean referenced by  in the 
calling jsp.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tiles scope headache assistance needed.

2005-02-19 Thread Jason Long
quote.list.item is defiened as follows:

  


  

".table.holder" is a layout.  I want to display my quote in this holder.
The format for the quote is defined in list.item.jsp.  Everything works
except I cannot make quote available to the tile.   

"quote" is defined as follows 

"quoteForm" is in session scope.

Thank you for your time, 

Jason Long
CEO and Chief Software Engineer
BS Physics, MS Chemical Engineering
http://www.supernovasoftware.com 

-Original Message-
From: Brian Moseley [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 18, 2005 11:34 AM
To: Struts Users Mailing List
Subject: Re: Tiles scope headache assistance needed.

Jason Long wrote:

> 
> 
>
>   
> ${quote.offerPriceLightValue.sizeValue.size}
>   
> 
> 
> 
>   
> 
>   
> 
> I would like to define the following tile definition:
> 
> 
>   
>  

you must be leaving something out of your email, cos this 
tile is named .table.holder, but the jsp above is inserting 
a tile named ".quote.list.item".

> And have quote.jsp as follows:
> 
> 
>   
> ${quote.offerPriceLightValue.sizeValue.size}
>   
> 

you need to put the  in quote.jsp. 
that exposes the bean referenced by  in the 
calling jsp.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tiles scope headache assistance needed.

2005-02-18 Thread Brian Moseley
Jason Long wrote:


   
  
${quote.offerPriceLightValue.sizeValue.size}
  



  

  

I would like to define the following tile definition:

  
 
you must be leaving something out of your email, cos this 
tile is named .table.holder, but the jsp above is inserting 
a tile named ".quote.list.item".

And have quote.jsp as follows:

  
${quote.offerPriceLightValue.sizeValue.size}
  

you need to put the  in quote.jsp. 
that exposes the bean referenced by  in the 
calling jsp.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Tiles scope headache assistance needed.

2005-02-18 Thread David G. Friedman
Jason,

In which scope are you saving the "quote" bean?  Is it listed in your
.table.holder definition or is it in application, request, page, tile, or
session scopes?

Regards,
David

-Original Message-
From: Jason Long [mailto:[EMAIL PROTECTED]
Sent: Friday, February 18, 2005 4:50 AM
To: 'Struts Users Mailing List'
Subject: RE: Tiles scope headache assistance needed.


I have tried just about everything and I wonder why this is so difficult.  I
must be missing something.  I tried putting in  or  in various combinations in all of
my files and even tried adding quote as a property in my tiles xml
definitions.  If is specify quote I get "Error - tag importAttribute :
property 'quote' not found in context. Check tag syntax".  Where should I
place  and is this all that is
required.  I just want to be able to make beans in my loop available to the
tiles I am calling inside the loop.  I am really starting to like tiles, but
I cannot seem to get over this problem.


   
   
  
${quote.offerPriceLightValue.sizeValue.size}
  



  

  

I would like to define the following tile definition:


  
 

And have quote.jsp as follows:


  
${quote.offerPriceLightValue.sizeValue.size}
  



Thank you for your time,

Jason Long
CEO and Chief Software Engineer
BS Physics, MS Chemical Engineering
http://www.supernovasoftware.com

-Original Message-
From: Brian Moseley [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 17, 2005 7:07 PM
To: Struts Users Mailing List
Subject: Re: Tiles scope headache assistance needed.

Jason Long wrote:
> I switched my code to the following jstl tags as suggested.  The first
part
> works with no problem, but I get no output from the tile attempt except
for
> the layout being applied with the word "testing".  Do I need to use
>  or some other tag to make the quote bean
accessible
> from the tile?

yes: 

>  
>
>
>   
> 
>   

note that in a servlet 2.4/jsp 2.0 webapp you don't even
have to use c:out. you can just do ${quote.offer...}.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tiles scope headache assistance needed.

2005-02-18 Thread Jason Long
I have tried just about everything and I wonder why this is so difficult.  I
must be missing something.  I tried putting in  or  in various combinations in all of
my files and even tried adding quote as a property in my tiles xml
definitions.  If is specify quote I get "Error - tag importAttribute :
property 'quote' not found in context. Check tag syntax".  Where should I
place  and is this all that is
required.  I just want to be able to make beans in my loop available to the
tiles I am calling inside the loop.  I am really starting to like tiles, but
I cannot seem to get over this problem.



   
  
${quote.offerPriceLightValue.sizeValue.size}
  



  

  

I would like to define the following tile definition:


  
 

And have quote.jsp as follows:


  
${quote.offerPriceLightValue.sizeValue.size}
  



Thank you for your time, 

Jason Long
CEO and Chief Software Engineer
BS Physics, MS Chemical Engineering
http://www.supernovasoftware.com

-Original Message-
From: Brian Moseley [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 17, 2005 7:07 PM
To: Struts Users Mailing List
Subject: Re: Tiles scope headache assistance needed.

Jason Long wrote:
> I switched my code to the following jstl tags as suggested.  The first
part
> works with no problem, but I get no output from the tile attempt except
for
> the layout being applied with the word "testing".  Do I need to use
>  or some other tag to make the quote bean
accessible
> from the tile?

yes: 

>  
> 
>
>   
> 
>   

note that in a servlet 2.4/jsp 2.0 webapp you don't even 
have to use c:out. you can just do ${quote.offer...}.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tiles scope headache assistance needed.

2005-02-18 Thread Jason Long
I have tried just about everything and I wonder why this is so difficult.  I
must be missing something.  I tried putting in  or  in various combinations in all of
my files and even tried adding quote as a property in my tiles xml
definitions.  If is specify quote I get "Error - tag importAttribute :
property 'quote' not found in context. Check tag syntax".  Where should I
place  and is this all that is
required.  I just want to be able to make beans in my loop available to the
tiles I am calling inside the loop.  I am really starting to like tiles, but
I cannot seem to get over this problem.



   
  
${quote.offerPriceLightValue.sizeValue.size}
  



  

  

I would like to define the following tile definition:


  
 

And have quote.jsp as follows:


  
${quote.offerPriceLightValue.sizeValue.size}
  



Thank you for your time, 

Jason Long
CEO and Chief Software Engineer
BS Physics, MS Chemical Engineering
http://www.supernovasoftware.com

-Original Message-
From: Brian Moseley [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 17, 2005 7:07 PM
To: Struts Users Mailing List
Subject: Re: Tiles scope headache assistance needed.

Jason Long wrote:
> I switched my code to the following jstl tags as suggested.  The first
part
> works with no problem, but I get no output from the tile attempt except
for
> the layout being applied with the word "testing".  Do I need to use
>  or some other tag to make the quote bean
accessible
> from the tile?

yes: 

>  
> 
>
>   
> 
>   

note that in a servlet 2.4/jsp 2.0 webapp you don't even 
have to use c:out. you can just do ${quote.offer...}.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tiles scope headache assistance needed.

2005-02-17 Thread Brian Moseley
Jason Long wrote:
I switched my code to the following jstl tags as suggested.  The first part
works with no problem, but I get no output from the tile attempt except for
the layout being applied with the word "testing".  Do I need to use
 or some other tag to make the quote bean accessible
from the tile?
yes: 
 

   
  

  
note that in a servlet 2.4/jsp 2.0 webapp you don't even 
have to use c:out. you can just do ${quote.offer...}.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Tiles scope headache assistance needed.

2005-02-17 Thread Jason Long
I switched my code to the following jstl tags as suggested.  The first part
works with no problem, but I get no output from the tile attempt except for
the layout being applied with the word "testing".  Do I need to use
 or some other tag to make the quote bean accessible
from the tile?

 

   
  

  

  



  

  

I would like to define the following tile definition:


   

And have quote.jsp as follows:


  
  testing
  

  


Thank you for your time, 

Jason Long
CEO and Chief Software Engineer
BS Physics, MS Chemical Engineering
http://www.supernovasoftware.com 

-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 17, 2005 3:11 PM
To: [EMAIL PROTECTED]
Subject: Re: Tiles scope headache assistance needed.

From: "Jason Long" <[EMAIL PROTECTED]>

> Where are all the Tiles gurus?  I asked this question in less detail about
a
> month ago and I still have not made any progress in this matter. Please
see
> original message below.

You would probably get more help if you were using JSTL's  and
 instead of  and .  The difference may be
irrelevant for this particular question, but I doubt I'm alone in skipping
right over most questions that use the 'classic' Struts tags without
expressions.

-- 
Wendy Smoak




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tiles scope headache assistance needed.

2005-02-17 Thread Jason Long
I switched my code to the following jstl tags as suggested.  The first part
works with no problem, but I get no output from the tile attempt except for
the layout being applied with the word "testing".  Do I need to use
 or some other tag to make the quote bean accessible
from the tile?

 

   
  

  

  



  

  

I would like to define the following tile definition:


   

And have quote.jsp as follows:


  
  testing
  

  


Thank you for your time, 

Jason Long
CEO and Chief Software Engineer
BS Physics, MS Chemical Engineering
http://www.supernovasoftware.com 

-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 17, 2005 3:11 PM
To: [EMAIL PROTECTED]
Subject: Re: Tiles scope headache assistance needed.

From: "Jason Long" <[EMAIL PROTECTED]>

> Where are all the Tiles gurus?  I asked this question in less detail about
a
> month ago and I still have not made any progress in this matter. Please
see
> original message below.

You would probably get more help if you were using JSTL's  and
 instead of  and .  The difference may be
irrelevant for this particular question, but I doubt I'm alone in skipping
right over most questions that use the 'classic' Struts tags without
expressions.

-- 
Wendy Smoak




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tiles scope headache assistance needed.

2005-02-17 Thread Brian Moseley
Jason Long wrote:
  
   

try:

  

  

tho i recommend using jstl's c:foreach instead of logic:iterate :)
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Tiles scope headache assistance needed.

2005-02-17 Thread Jason Long
Where are all the Tiles gurus?  I asked this question in less detail about a
month ago and I still have not made any progress in this matter. Please see
original message below.

Thank you for your time,

Jason Long
CEO and Chief Software Engineer
BS Physics, MS Chemical Engineering
http://www.supernovasoftware.com 


-Original Message-
From: Jason Long [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 16, 2005 10:59 PM
To: 'Struts Users Mailing List'
Subject: Tiles scope headache assistance needed.

I have the following problem with scope and tiles.  The whole point of this
is to be able to put a holder around items presented in a list on the page
to give better delineation. Here is what I am attempting to do.

  

  

  

  



I would like to define the following tile definition:


  


And have quote.jsp as follows:

  

  

  


And then switch the page to the following:

  
   


I always get Cannot find bean quote in any scope no matter what I do.  I
have tried many variations of  and
.  I do not want to want to simply pass a string to
the tile.  I need to be able to make any bean availble to other tiles
inserted into a page.  I would greatly appreciate any advice on how to make
this available to my subtiles.

Thank you for your time, 

Jason Long
CEO and Chief Software Engineer
BS Physics, MS Chemical Engineering
http://www.supernovasoftware.com 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tiles scope headache assistance needed.

2005-02-17 Thread Jason Long
Where are all the Tiles gurus?  I asked this question in less detail about a
month ago and I still have not made any progress in this matter. Please see
original message below.

Thank you for your time,

Jason Long
CEO and Chief Software Engineer
BS Physics, MS Chemical Engineering
http://www.supernovasoftware.com 


-Original Message-
From: Jason Long [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 16, 2005 10:59 PM
To: 'Struts Users Mailing List'
Subject: Tiles scope headache assistance needed.

I have the following problem with scope and tiles.  The whole point of this
is to be able to put a holder around items presented in a list on the page
to give better delineation. Here is what I am attempting to do.

  

  

  

  



I would like to define the following tile definition:


  


And have quote.jsp as follows:

  

  

  


And then switch the page to the following:

  
   


I always get Cannot find bean quote in any scope no matter what I do.  I
have tried many variations of  and
.  I do not want to want to simply pass a string to
the tile.  I need to be able to make any bean availble to other tiles
inserted into a page.  I would greatly appreciate any advice on how to make
this available to my subtiles.

Thank you for your time, 

Jason Long
CEO and Chief Software Engineer
BS Physics, MS Chemical Engineering
http://www.supernovasoftware.com 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tiles scope headache assistance needed.

2005-02-16 Thread Jason Long
I have the following problem with scope and tiles.  The whole point of this
is to be able to put a holder around items presented in a list on the page
to give better delineation. Here is what I am attempting to do.

  

  

  

  



I would like to define the following tile definition:


  


And have quote.jsp as follows:

  

  

  


And then switch the page to the following:

  
   


I always get Cannot find bean quote in any scope no matter what I do.  I
have tried many variations of  and
.  I do not want to want to simply pass a string to
the tile.  I need to be able to make any bean availble to other tiles
inserted into a page.  I would greatly appreciate any advice on how to make
this available to my subtiles.

Thank you for your time, 

Jason Long
CEO and Chief Software Engineer
BS Physics, MS Chemical Engineering
http://www.supernovasoftware.com 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tiles scope headache assistance needed.

2005-02-16 Thread Jason Long
I have the following problem with scope and tiles.  The whole point of this
is to be able to put a holder around items presented in a list on the page
to give better delineation. Here is what I am attempting to do.

  

  

  

  



I would like to define the following tile definition:


  


And have quote.jsp as follows:

  

  

  


And then switch the page to the following:

  
   


I always get Cannot find bean quote in any scope no matter what I do.  I
have tried many variations of  and
.  I do not want to want to simply pass a string to
the tile.  I need to be able to make any bean availble to other tiles
inserted into a page.  I would greatly appreciate any advice on how to make
this available to my subtiles.

Thank you for your time, 

Jason Long
CEO and Chief Software Engineer
BS Physics, MS Chemical Engineering
http://www.supernovasoftware.com 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]