Once again trying to get Shale Tiles to work with Shale 1.0.3 and the
snap shot version of tiles that is packaged with it. And although I
corrected the attributes that I referenced below, I still can not get a
simple page to render. Please take a look at this example and see if
I'm doing
On 9/5/06, Butash, Bob [EMAIL PROTECTED] wrote:
Greg and Wendy -
Thanks for the information...I'll give it a shot.
It's a _little_ better now. :) We have the beginnings of a FAQ page,
and some comments in the TLD:
* http://struts.apache.org/struts-sandbox/tiles/faq.html
*
I am using the same componenets. The only thing I did different is I
defined the subtiles in the layout definition, but left them blank.
definition name=/simpleLayout path=/jsp/simpleLayout.jsp
put name=content value=/
/definition
And in the layout.jsp I added the type attribute
Try both of those recommendationswithout luck.
I did have a tag defined for the s prefix. It was the shale core
library. I removed the subview, and still no luck.
The new examples posted out there do not illustrate how to extend from
definitions.
Anything additional that I can try??
One more thing to try:
definition name=/simpleLayout path=/jsp/simpleLayout.jsp
put name=content type=template value=/
/definition
definition name=/simpleSample extends=/simpleLayout
put name=content type=template value=/jsp/home.jsp/
/definition
I added the type attribute to
Yes thank you...that did it.
I added the template to the definition. I did not need to add the empty
item to the layout, nor did I need to add the type attribute in the JSP.
So my definitions look like:
definition name=/simpleLayout path=/jsp/simpleLayout.jsp
/definition
definition
Your welcome, I'm glad I could help. I basically ran line by line
through the tiles code for an entire day to figure out why things were
not displaying.
JB
-Original Message-
From: Butash, Bob [mailto:[EMAIL PROTECTED]
Sent: Friday, September 08, 2006 1:18 PM
To: user@shale.apache.org
On 9/8/06, Baker,Jonathan [EMAIL PROTECTED] wrote:
Your welcome, I'm glad I could help. I basically ran line by line
through the tiles code for an entire day to figure out why things were
not displaying.
Bob and/or Jonathan... if you have time, please share what you learned
on the wiki:
On 9/8/06, Dick Starr [EMAIL PROTECTED] wrote:
Standalone Tiles works for me without the type attribute. I am using the
8/3/06 release.
Prior to today's thread I had been using inserts like f:subview
id=bodytiles:insert attribute='body' flush=false//f:subview.
I just took off the subviews and
I'll be glad to, but I have to leave now and won't be back until Monday.
Dick
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Friday, September 08, 2006 2:34 PM
To: user@shale.apache.org
Subject: Re: Shale 1.0.3 and Tiles Question - Tag Question
On 9/8/06, Dick
In my application, I have several folders. Each folder contains
different items, butt the page for each folder is the same. We are
using the Trinidad commandNavigationItem which displays a
ViewIdMenuModel for our navbar. This menu model requires that each
separate tab has a different view id.
12 matches
Mail list logo