RE: tiles and margins

2003-10-31 Thread Holman, Cal
Try taking the html and body tags out of the header and body tags. They should be tables with their own attributes - you can then control the color of the independent tables. That should give you more control. Cal http://www.calandva.com/Last update 08/01/03 -Original

RE: tiles configuration

2003-10-31 Thread Holman, Cal
You cannot use a tiles definition as a URL so you need to use actions. But if you use ForwardAction you get away with having a template and the tiles jsps - like your second example. Cal -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, October 30,

RE: Eclipse + Ant + precompile - Tomcat

2003-10-31 Thread Holman, Cal
I am using tomcat 5.0.12 and struts 1.1 with tiles and have been successful in precompiling. The tomcat documentation has a pretty good example. The hard part is translating someone else's directory structure into yours to apply all the examples. I posted my solution to my web site at

RE: Eclipse + Ant + precompile - Tomcat

2003-10-31 Thread Holman, Cal
was able to get what I was looking for - fully automated pre-compiling deploying. Excellent! Holman, Cal wrote: I am using tomcat 5.0.12 and struts 1.1 with tiles and have been successful in precompiling. The tomcat documentation has a pretty good example. The hard part

RE: Tiles And Images

2003-10-26 Thread Holman, Cal
. Holman, Cal wrote: Try searching the archives this is a common issue. The requests for images are based on where the template tiles is using is located - not the location of the jsp being inserted in the template. One approach is to use the base tag - I do the following to ensure all images

RE: Tiles And Images

2003-10-26 Thread Holman, Cal
: Tiles And Images Just an FYI (and correct me if I'm wrong), but just doing html:base/ will pretty much do what all the stuff you have below there does - what you have in there is the default behavior of the Struts-HTML base tag. Holman, Cal wrote: Try searching the archives this is a common issue

RE: Tiles And Images

2003-10-24 Thread Holman, Cal
Try searching the archives this is a common issue. The requests for images are based on where the template tiles is using is located - not the location of the jsp being inserted in the template. One approach is to use the base tag - I do the following to ensure all images and links are rooted

RE: Tile and html:img

2003-10-24 Thread Holman, Cal
Where is the template.jsp? Can you do view source and provide the generated link for the image tag? Cal -Original Message- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Friday, October 24, 2003 21:10 To: [EMAIL PROTECTED] Subject: Tile and html:img Thanks for the advices that

RE: TILES - jsp pages hierarchy structure

2003-10-22 Thread Holman, Cal
Todor I wrote a small example war outlining two approaches to crumb trails in tiles. It is not quite a neat as you described since you must do some set up in your tiles definitions. http://www.calandva.com/holmansite/do/blog/blogging?date=20030701 Cal http://www.calandva.com/

RE: using an attribute inside a tile

2003-10-07 Thread Holman, Cal
Try tiles:useAttribute id= screenName name= screenName scope=request/ Cal www.calandva.com -Original Message- From: Sonam Belbase [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 07, 2003 18:24 To: Struts Users Mailing List Subject: Re: using an attribute inside a tile Frank, I

RE: Still an issue: Quartz plugin shutdown problem

2003-10-03 Thread Holman, Cal
Mick Send me the contents of your quartz-config.xml and I will try to execute again. In this email looks like the job element is commented out. Cal http://www.calandva.com/Last update 08/01/03 -Original Message- From: Mick Knutson [mailto:[EMAIL PROTECTED] Sent:

RE: Still an issue: Quartz plugin shutdown problem

2003-10-03 Thread Holman, Cal
http://www.YourSoS.com to learn how our Personal Emergency Alert Contact System can help you Play Smart. +00 1 (877) SoS-9119 +00 1 (708) 570-2772 Fax --- - Original Message - From: Holman, Cal [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, October 03

Re: Still an issue: Quartz plugin shutdown problem

2003-10-03 Thread Holman, Cal
is a playground...Play Hard, Play Smart. Visit http://www.YourSoS.com to learn how our Personal Emergency Alert Contact System can help you Play Smart. +00 1 (877) SoS-9119 +00 1 (708) 570-2772 Fax --- - Original Message - From: Holman, Cal [EMAIL PROTECTED] To: Struts Users Mailing List

RE: Still an issue: Quartz plugin shutdown problem

2003-10-03 Thread Holman, Cal
Message - From: Holman, Cal [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, October 03, 2003 9:41 AM Subject: RE: Still an issue: Quartz plugin shutdown problem Mick Sorry - loads fine - even added a class just to make sure it would trigger a job and it all works

RE: Quartz error and Struts plugin for struts

2003-09-25 Thread Holman, Cal
Fax --- - Original Message - From: Holman, Cal [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 2:35 PM Subject: RE: Quartz error and Struts plugin for struts Mick Yes I am using the plug in. The properties configure Quartz

RE: Setting the page title from a tile

2003-09-25 Thread Holman, Cal
I do something a little different to pull the title out of application.properties definition name=whatsnew.pagedef extends=home.pagedef put name=title value=whatsnew.title / put name=content value=/web/pages/home/WhatsNew.jsp / put

RE: Quartz error and Struts plugin for struts

2003-09-24 Thread Holman, Cal
In the war .jars in the web-inf/lib quartz-config in web-inf quartz.properties in web-inf/classes Cal http://www.calandva.com/Last update 08/01/03 -Original Message- From: Mick Knutson [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 15:29 To: struts Subject:

RE: Quartz error and Struts plugin for struts

2003-09-24 Thread Holman, Cal
-0666 Office +001 (708) 570-2772 Fax --- - Original Message - From: Holman, Cal [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 1:58 PM Subject: RE: Quartz error and Struts plugin for struts In the war .jars in the web-inf/lib quartz

Re: Quartz error and Struts plugin for struts

2003-09-24 Thread Holman, Cal
) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan == --- Thanks Mick Knutson http://www.baselogic.com +001(805) 563-0666 Office +001 (708) 570-2772 Fax --- - Original Message - From: Holman, Cal [EMAIL PROTECTED] To: Struts Users

Re: Quartz error and Struts plugin for struts

2003-09-24 Thread Holman, Cal
the src, but I don't know what would be wrong with the file, or how to track it further. Any ideas about where I can go to get help? --- Thanks Mick Knutson http://www.baselogic.com +001(805) 563-0666 Office +001 (708) 570-2772 Fax --- - Original Message - From: Holman, Cal [EMAIL PROTECTED

Re: Quartz error and Struts plugin for struts

2003-09-24 Thread Holman, Cal
for struts Yes, I am only using the 1.1 LIB release. Do you mean the beanutils? Or Xerces? --- Thanks Mick Knutson http://www.baselogic.com +001(805) 563-0666 Office +001 (708) 570-2772 Fax --- - Original Message - From: Holman, Cal [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday

RE: [OT] HTTP 404 Not Found on Actions - SOLVED

2003-09-07 Thread Holman, Cal
Johan I use the default Tomcat 5.0.9 jk2.properties - which defines nothing allowing all the defaults to be used. Then in the Tomcat server.xml you need to enable jk2. !-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -- Connector port=8009 enableLookups=false

RE: Problem with tiles and protected jsps

2003-09-07 Thread Holman, Cal
Wes I accomplished Form based auth by defining a security constraint in web.xml for the Action path. web-resource-collection web-resource-nameSecurePages/web-resource-name descriptionSecurity constraint for Admin/description

RE: RE: Does Tiles supports skins???

2003-08-22 Thread Holman, Cal
Antonio The trick is that the layout is actual a put attribute. You then use that layout as the target of the Request Dispatcher. I took the example class Cedric provided and modified it some. This weekend I can post to the web along with the tiles.xml. Cal http://www.calandva.com/

RE: [OT] - Bread Crumb navigation

2003-08-22 Thread Holman, Cal
I created an example .war using two different techniques that I posted on my site - it depends on tiles to function. Try http://www.calandva.com/holmansite/do/blog/blogging?date=20030701 Cal http://www.calandva.com/Last update 08/01/03 -Original Message- From:

RE: Does Tiles supports skins???

2003-08-21 Thread Holman, Cal
You can achieve this by using a controllerURL to change the definition on the fly. I use this technique for my personal site so the user can set their own style sheet and layout. I am not a graphics person so the results are not very impressive. Here is the link:

RE: TILES ERROR when using more than one directory

2003-08-20 Thread Holman, Cal
Cameron -Original Message- From: Holman, Cal [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 19, 2003 2:10 PM To: Struts Users Mailing List Subject: RE: TILES ERROR when using more than one directory Cameron Did you figure this out? I use a base tag in my template to anchor all tiles jsp

RE: TILES ERROR when using more than one directory

2003-08-19 Thread Holman, Cal
Cameron Did you figure this out? I use a base tag in my template to anchor all tiles jsp files to the single spot in the webapp. You should not have any problems having a more complex directory structure - it is simplified if all the paths are from the same point in the webapp. Cal

RE: accessing Attribute of a parent-tile-definition

2003-08-14 Thread Holman, Cal
Reinhard I use the template definitions to pass page specific attributes - the most common are the page's name to make a common index.jsp highlight the menu item the user is currently viewing. I also pass some crumb info, page title, page key words, and the definition name (used to debug,

RE: accessing Attribute of a parent-tile-definition

2003-08-14 Thread Holman, Cal
The tiles context is defined around the definition actually called - in your case aPage. So main.jsp can see baseAttribute and set it up for subsequent pages. You should 'see' the attribute if you put the following in main.jsp prior to tiles:insert for header or body. tiles:useAttribute id=

RE: Tiles related question

2003-08-14 Thread Holman, Cal
Yes there is a tutorial with the struts 1.1 distribution. Also check out the site for the developer who created Tiles - Cedric Dumoulin - http://www.lifl.fr/~dumoulin/tiles/ Cal -Original Message- From: JavaXML Developer [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 17:51

RE: Caching JSP / Tiles

2003-08-14 Thread Holman, Cal
Check out the site. Cal -Original Message- From: Bailey, Shane C. [mailto:[EMAIL PROTECTED] Sent: Monday, August 04, 2003 19:00 To: 'Struts Users Mailing List' Subject: RE: Caching JSP / Tiles Is it free? -Original Message- From: Holman, Cal [mailto:[EMAIL PROTECTED] Sent

RE: another question to tiles

2003-08-14 Thread Holman, Cal
If you check out the Advanced Manual on the Tiles site there is a section on dynamic definitions. http://www.lifl.fr/~dumoulin/tiles/ I use a simplified version to allow the user to select the layout - either a portal style or plain page style - and the style sheet. On the settings page the

RE: Location of JSPs for TILES

2003-08-05 Thread Holman, Cal
There are no limits that I know of - remember relative URLs are built from the initial template's location. Sometimes that can mess you up if you have several folders. Using the base tag can help. Cal http://www.calandva.com/Last update 08/01/03 -Original Message-

RE: accessing Attribute of a parent-tile-definition

2003-08-05 Thread Holman, Cal
I sent a reply on this technique yesterday - or the day before. Define the attribute at the top of the base template in request scope. Then you can access in other jsps. tiles:useAttribute id=pagename name=pagename scope=request/ Cal -Original Message- From: Reinhard [mailto:[EMAIL

RE: Struts Test Case (new Bie..)

2003-08-04 Thread Holman, Cal
Try changing the constructor to the class name public class TestSampleAction extends MockStrutsTestCase { public TestSampleAction (String testName) { super(testName); } public void testSuccessfulLogin() { setRequestPathInfo(/login); addRequestParameter(username,deryl);

RE: Caching JSP / Tiles

2003-08-04 Thread Holman, Cal
Have you looked at OSCache (http://www.opensymphony.com/oscache ). You can place caching tags in your template around the header and footer insert tags. Cal http://www.calandva.com/Last update 08/01/03 -Original Message- From: Bailey, Shane C. [mailto:[EMAIL PROTECTED]

RE: Calling a tiles definition from a jsp?

2003-08-03 Thread Holman, Cal
Currently a definition cannot be used as a target for a html:link. You can put a definition in a .jsp then forward to the .jsp. But calling an action to execute a definition is pretty easy you can use org.apache.struts.tiles.actions.DefinitionDispatcherAction with a parameter or define your

RE: Please Help With Simple Tiles Problem

2003-08-03 Thread Holman, Cal
Terry Hard to tell from a snippet of an entire site but if the definition page does not define anything except the page.jsp and if you always have form_wrapper.jsp around each for then you could move form_wrapper.jsp functionality to page.jsp and simplify the design. The other way to reduce is

RE: Action Under a Tile?

2003-07-20 Thread Holman, Cal
an include or tile to present that data. Do you use the below Action under a tile in production? Do you prefer your solution to the one I've suggested as an alternative for my problem? Once again, thanks for your time. Aaron Longwell Holman, Cal wrote: Have you tried using a TilesAction

RE: Bread crumb trail

2003-07-19 Thread Holman, Cal
Hi - That person was me. I have built a war with a demo of using the tiles context through the tiles action and another example of accessing the tiles context through a tag. Unfortunately I have been plagued by poor Bell South DSL service for over a week. They have the worst customer service

RE: Tiles: attribute 'head' not found in context

2003-07-19 Thread Holman, Cal
If you are using the XML definition factory then you should call the definition instead of the jsp. So in your JSP to call the definition it should look like this: tiles:insert definition=mainLayout flush=true/ mainLayout then will provide the link to Layout.jsp do to the path attribute. Then

RE: Action Under a Tile?

2003-07-19 Thread Holman, Cal
Have you tried using a TilesAction? Using an action tied to a definition allow for the building of independent jsps - they not only have the html but they have an action attached to them that can load any beans necessary for rendering. You can then drop into any definition or template a self

RE: tiles: Comments are ignored

2003-07-19 Thread Holman, Cal
I think JSPs ignore html comments only the browser respects them. Have you tried commenting out with JSP comments? %-- tiles:put --% Cal -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Saturday, July 19, 2003 06:30 To: [EMAIL PROTECTED] Subject: tiles:

RE: Bread crumb trail

2003-07-09 Thread Holman, Cal
I have created breadcrumbs two ways one using a TilesAction to read the tiles definitions and a simpler tag that access the tiles definitions. I can send you the code if you are interested. I have not created a tutorial. Cal http://www.calandva.com/ -Original Message-

RE: jgs Quartz error

2003-06-28 Thread Holman, Cal
Do you have the jgs-struts-0.1d.jar in your classpath? jgs-quartz-0.1d.jar needs it. Cal http://www.calandva.com/Last update 04/26/03 ??Email: [EMAIL PROTECTED] ??Phone:706 322-4963 ??Snail Mail: 1001 Brookwood Ave Columbus, GA 31906 -Original

RE: jgs Quartz error

2003-06-28 Thread Holman, Cal
. Thanks in advance sooo much for your help. This has been kicking my butt! --- Thanks... Mick Knutson --- From: Holman, Cal [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: jgs Quartz error Date: Sat, 28 Jun

RE: deploying struts on weblogic/tomcat

2003-03-18 Thread Holman, Cal
We do the same thing from Tomcat 4.1.18 to WL 6.1. The only thing that got us was a difference in the servlet spec that worked on Tomcat but failed in WL. You will not have that issue with WL 7. Cal http://www.calandva.com/Last update 01/26/03 -Original Message- From:

RE: Relative link to top of page and Struts

2003-03-05 Thread Holman, Cal
For the more complex solution - I use the base tag: base href=http://%= request.getServerName()%:%= request.getServerPort()%%=request.getContextPath()%/ Which renders: base href=http://www.calandva.com:80/holmansite/; At the top of the page: html:link linkName=Top/ At the bottom: html:link

RE: Tiles setup help!

2003-02-05 Thread Holman, Cal
='content'/ /p /TD /TR TR valign='bottom' TDtiles:insert attribute='footer'//TD /TR /TABLE /BODY /HTML -Original Message- From: Holman, Cal [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 04, 2003 4:45 PM To: Struts

RE: Tiles setup help!

2003-02-04 Thread Holman, Cal
What does the jsp look like? You definitions define the attributes - you initially set header, footer, and leftnav then add linktag and content in the insert. Are those attributes being used properly in the template? Are those the only attributes you reference? Cal

RE: struts 1.1 b2 messes up w/ CSS?

2003-02-03 Thread Holman, Cal
Are you using tiles? Cal http://www.calandva.com/Last update 01/26/03 -Original Message- From: Sundar Narasimhan [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 02, 2003 17:16 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: struts 1.1 b2 messes up w/ CSS? Hi,

RE: struts 1.1 b2 messes up w/ CSS?

2003-02-03 Thread Holman, Cal
Have you tried the html:base tag? Remember with tiles the urls are relative to the template location. I have found it covenant to anchor the base tag to the servlet context so all links are relative to the app root. Cal http://www.calandva.com/Last update 01/26/03 -Original

RE: Tiles: a portal question

2003-01-31 Thread Holman, Cal
The entire page is refreshed - you can use tiles to include user configurable jsps into the page. Cedric includes an example in the documentation from the site you were one describing how to accomplish a portal look and feel using the tiles context. Basically changing the tiles definition for

RE: tiles with one controller and mulitple views

2003-01-31 Thread Holman, Cal
You do not need the '/' in the ActionForward. Not sure that is the exact problem. forward name=success path=c-page/ Cal http://www.calandva.com/Last update 01/03/03 -Original Message- From: John Thorhauer [mailto:[EMAIL PROTECTED]] Sent: Monday, January 27, 2003

RE: tiles not transferring attributes

2003-01-31 Thread Holman, Cal
The component context is only exposed to the definition not to nested definitions in subsequent jsps. You can pass them to nested jsps by pulling them out of the component context in the jsp - then adding them to the page context - using a list or bean. Once in the page context the subordinate

RE: nesting tiles with definitions in xml

2003-01-31 Thread Holman, Cal
Cedric has a few examples of nested dynamic tiles in the Tiles Doc webapp: 'jakarta-struts-1.1-b3\webapps\tilesdoc\layout' and 'layouts'. It passes a list of tiles to include in a parent tile based on user preference. Cal http://www.calandva.com/Last update 01/03/03

RE: [Tiles] Linking to definitions factory from servlet

2003-01-31 Thread Holman, Cal
A snippet I use for an action that takes a parameter and forwards to a tiles definition. My action also forwards to a page, forward, or mapping parameter but this is only the tiles section. I copied out of the tiles request processor. Also this is 1.1 b3 code. wantForward =

RE: nesting tiles with definitions in xml

2003-01-31 Thread Holman, Cal
) in some other JSP, over 2 and more forwards ?! THANX -Original Message- From: Holman, Cal [mailto:[EMAIL PROTECTED]] Sent: Freitag, 31. Jänner 2003 18:39 To: 'Struts Users Mailing List' Subject: RE: nesting tiles with definitions in xml Cedric has a few examples of nested dynamic tiles

RE: nesting tiles with definitions in xml

2003-01-31 Thread Holman, Cal
. ... - can you please make that experience more examplereized for me? THANXX -Original Message- From: Holman, Cal [mailto:[EMAIL PROTECTED]] Sent: Freitag, 31. Jänner 2003 20:08 To: 'Struts Users Mailing List' Subject: RE: nesting tiles with definitions in xml Jorg This way each

RE: Nested levels within tiles?

2002-10-30 Thread Holman, Cal
You can use extend on the mainbody portion such that logon.page.layout extends home.page.layout that way you only change the bodycontent attribute. Basically one extend on the main layout definitions and another extend for the body definitions. You cannot use multiple inheritance - yet. If the

RE: tiles:put / in ActionForward.perform()

2002-10-30 Thread Holman, Cal
You can use the TilesAction to dynamically change a definition. Check out the documentation for dynamic portals. Cal http://www.calandva.com/ -Original Message- From: Roland Carlsson [mailto:roland.c;swetravel.se] Sent: Tuesday, October 29, 2002 10:31 To: Struts Users

RE: tiles:put / in ActionForward.perform()

2002-10-30 Thread Holman, Cal
Do the tiles definition and the body attribute have the same name? I would think you would have to pass two parameters - the definition to act on and the body attribute to replace. Or the definition is constant and only the body can change. What does your tiles definition file look like? Cal

RE: How to use Templates efficently ?

2002-10-29 Thread Holman, Cal
Take a look at Tiles - you can avoid the second page by defining the page definition in the struts config or if the pages do not need their own Action you can use one Action to resolve the definitions using a parameter. Cal http://www.calandva.com/ -Original Message- From:

RE: Struts does not work with Tomcat 3.2.3

2002-10-25 Thread Holman, Cal
works with Tomcat 4.0 without any change. What else can go wrong. Are there any changes in configuration required for Tomcat 3.2.3? Jitendra From: Holman, Cal [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE

RE: Problem with templates WL6.1SP3

2002-10-18 Thread Holman, Cal
We actually went from sp2 to sp3 to resolve the same error with tiles when moving from 1.1b1 to 1.1b2. We are using 1.1b2 on wl6.1 sp3 with a heavy use of tiles. Cal http://www.calandva.com/ -Original Message- From: Ken Riley [mailto:kriley;allconnect.com] Sent: Wednesday, October

RE: Struts does not work with Tomcat 3.2.3

2002-10-18 Thread Holman, Cal
I am running a struts 1.1b2 under 3.2.3 with no issues - what is the problem? I have to use 3.2.3 because that is what Together uses in it's bundled environment. In production I use 4.1.12 - you should probably go to 4.1.12 if you can. Cal http://www.calandva.com/ -Original

RE: newbie tiles question

2002-10-08 Thread Holman, Cal
Try changing your home.jsp to reference the definition not a bean This is the JSP that is throwing the error: (home.jsp) %@ taglib uri=/WEB-INF/tiles.tld prefix=tiles % tiles:insert definition=forteus.default tiles:put name=body-content value=home-body.jsp/ /tiles:insert Cal

RE: Tiles and Internationaliation

2002-10-04 Thread Holman, Cal
You can use the second definition and in your template use the following - but you are still stuck with a bean:message tag - except it is in the template not the definition. tiles:importAttribute/ titlebean:message name=title scope=page //title Cal http://www.calandva.com/ -Original

RE: Please help with iteration problem

2002-09-27 Thread Holman, Cal
There was a bug in 4.1.10 Jasper that did not compile the nested iterate tags - it has been fixed. Try 4.1.12 - I have a three deep nested iterate and it works on 4.1.12. Cal http://www.calandva.com/ -Original Message- From: Michael Bowman [mailto:[EMAIL PROTECTED]] Sent:

RE: using tiles and j_security_check

2002-09-26 Thread Holman, Cal
This happens to me infrequently running a web app from my IDE - the context for tomcat gets screwed up and the submit for the form based auth does not return to the container correctly. This has never happened with a WAR deployed to Tomcat - only through the IDE (Together). The IDE is using

RE: Tiles insert tag error

2002-09-18 Thread Holman, Cal
Sandra Looks like the tiles definition is not being loaded prior to your call to the jsp. It would depend on how your are calling the site.mainLayout definition. I would review the documentation on the Tiles site or in the Struts doc war in the download for an understanding of the tiles

RE: nesting bean:message within tiles:put

2002-09-17 Thread Holman, Cal
You are on the right track use the .properties key in the put: put name=title value=home.title / Then retrieve using importAttribute in the template: tiles:importAttribute name=title/ titlebean:message name=title scope=page//title Basically all you are doing is

RE: Nesting tiles:getAsString with struts bean:message

2002-09-04 Thread Holman, Cal
Is there a preference between importAttribute and useAttribute? Looks like I can create a variable with a specific class with useAttribute. tiles:useAttribute id=titleKey name=title/ titlebean:message name=titleKey scope=page//title Cal http://www.calandva.com/ -Original

RE: How to access current Tiles definition name?

2002-08-26 Thread Holman, Cal
Christian I don't think you can read the definition but you can get to the attributes. To change the menu look based on the page being displayed I use an additional parameter in each page definition - 'page'. The jsp then looks for the 'page' and modifies the menu to display the page being

RE: newbie:way to avoid restarting tomcat

2002-08-21 Thread Holman, Cal
If you are using ANT to move code to Tomcat and then reloading - I downloaded a set of targets for managing Tomcat from www.TECHMALE.com but I cannot find the source there anymore. They allow me to copy the classes and jsp files to the webapp directory and then reload the app in Tomcat all from

[OT] Tomecat 4.1.x and Struts

2002-08-21 Thread Holman, Cal
Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 21, 2002 12:25 To: Struts Users Mailing List Subject: RE: newbie:way to avoid restarting tomcat On Wed, 21 Aug 2002, Holman, Cal wrote: Date: Wed, 21 Aug 2002 11:06:23 -0500 From: Holman, Cal [EMAIL PROTECTED

RE: [OT] Tomecat 4.1.x and Struts

2002-08-21 Thread Holman, Cal
for the post. Cal -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 21, 2002 13:30 To: Struts Users Mailing List Subject: Re: [OT] Tomecat 4.1.x and Struts On Wed, 21 Aug 2002, Holman, Cal wrote: Date: Wed, 21 Aug 2002 12:06:52 -0500 From

RE: Log4JCategoryLog does not implement Log after upgrade to Struts 1.1-b2

2002-08-20 Thread Holman, Cal
Check the archives and the struts download page for log4j issues. You probably do not have the log4j factory in the commons-logging jar. Cal http://www.calandva.com/ -Original Message- From: Anthony Martin [mailto:[EMAIL PROTECTED]] Sent: Monday, August 19, 2002 15:02 To: Struts

RE: tons of tiles debug messages!

2002-08-20 Thread Holman, Cal
Cedric There is a debug flag set to true in the TilesRequestProcessor. Can you make it configurable? Do I open a bug? Cal http://www.calandva.com/ -Original Message- From: Cedric Dumoulin [mailto:[EMAIL PROTECTED]] Sent: Sunday, August 18, 2002 17:38 To: Struts Users Mailing List

RE: Logging in 1.1b2

2002-08-13 Thread Holman, Cal
I am using log4j 1.2.4 and had a problem when using the logging-commons.jar in the struts 1.1b2 lib. I went to the commons site and downloaded the commons-logging 1.0.1 commons-logging.jar and commons-logging-api.jar and all is back to normal. Looks like the Log4Jfactory is not in the struts

RE: Logging in 1.1b2 - it was a fix for me

2002-08-13 Thread Holman, Cal
I am not sure how to log a bug - they need to add the current commons-logging jar(s) to the build. Cal http://www.calandva.com/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 13, 2002 14:06 To: [EMAIL PROTECTED] Subject: RE: Logging in

RE: tiles (extending definition) and tags problem

2002-08-09 Thread Holman, Cal
Ralf I use something like this for the keywords and title of each page. definition name=home.pagedef path/template.jsp put name=title value=home.title / put name=headervalue=/web/includes/header.jsp / put name=index

RE: using breadcrumbs

2002-08-03 Thread Holman, Cal
Navita I use tiles to manage breadcrumbs. By adding a 'crumbnameXX' and 'crumblinkXX' to the tiles page definition and extending definitions I build a tree within the page definitions. Using a TilesAction for a UrlController I load the crumbnameXX and crumblinkXX into request context. Because I

RE: validator pbs with tile and struts1.1

2002-08-02 Thread Holman, Cal
Some versions of the validator used the pathnames property and had multiple files loaded separated by a comma: !-- Add multiple validator resource files by setting the pathname property -- plug-in className=org.apache.struts.validator.ValidatorPlugIn !-- set-property property=pathname

RE: tiles as attribute's value - is it possible ?

2002-07-12 Thread Holman, Cal
Tikal I do this tiles:useAttribute id=titleKey name=title/ titlebean:message name=titleKey scope=page//title This allows for I18N by using a tiles def for the title key and the ApplicationResources file for the text. This is the definition: definition name=home.pagedef

RE: html:base tag and tiles?

2002-06-20 Thread Holman, Cal
Byrne I had a similar issue with the template layout being a sub directory. This is not as elegant as the html:base tag but works. I forward to definitions not .jsp. base href=http://%= request.getServerName()%:%=request.getServerPort()% %=request.getContextPath()%/ Cal -Original

RE: Anyone want a tool to validate a struts war file?

2002-05-24 Thread Holman, Cal
Bill Would like info - how about Together Soft? Tiles and Validator would be great. Cal -Original Message- From: Bill Willis [mailto:[EMAIL PROTECTED]] Sent: Monday, May 20, 2002 23:26 To: Struts Users Mailing List Subject: RE: Anyone want a tool to validate a struts war file? Hi

RE: Eclipse plug-in ?

2002-04-24 Thread Holman, Cal
Together plugin would be great. Cal -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 24, 2002 09:12 To: Struts Users Mailing List Subject: Re: Eclipse plug-in ? I like JBuilder alot, but have been using TogetherSoft alot lately. Perhaps I'll

RE: title in JSP template

2002-04-24 Thread Holman, Cal
With tiles I think the same thing will work with templates - wrap the put:title around the bean:message Index.jsp tiles:insert definition=home.pagedef flush=true tiles:put name=title bean:message key=home.title / /tiles:put /tiles:insert Template.jsp titletiles:getAsString

Tiles and Cactus

2002-03-25 Thread Holman, Cal
I am trying to test my site using Cactus and HTTPUnit and am having problems. The site works fine when Tomcat is started and a human navigates the site. In other words the /test/do/home/home resolves and the template definition for tiles is rendered. But under Cactus I get 500 errors for any

RE: Tiles and Cactus

2002-03-25 Thread Holman, Cal
. http://strutstestcase.sourceforge.net/ Thanks for your time. Cal -Original Message- From: Cedric Dumoulin [mailto:[EMAIL PROTECTED]] Sent: Monday, March 25, 2002 11:41 To: Holman, Cal Subject: Re: Tiles and Cactus I continue this discution off the mailing list to avoid disturbing

RE: html:base and tiles - uses layout path

2002-03-13 Thread Holman, Cal
Cedric I have the same problem. Don't you have to use a version with the server and port? base href=%= http://; + request.getServerName()+:+ request.getServerPort()+request.getContextPath()% / Cal -Original Message- From: Cedric Dumoulin [mailto:[EMAIL PROTECTED]] Sent: Thursday,

RE: [ANNOUNCE] Struts Console v1.5

2002-02-27 Thread Holman, Cal
How can I integrate with Together? Cal -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 26, 2002 14:52 To: Struts Users Mailing List Subject: [ANNOUNCE] Struts Console v1.5 Struts Console version 1.5 is now available.

RE: template and I18N

2001-06-01 Thread Holman, Cal
Gregor This works template:put name='title' direct='true' bean:message key='app.login' / /template:put or template:put name='title' direct='true' content='bean:message key='app.login'/'/ Cal -Original Message- From: Gregor Rayman [mailto:[EMAIL PROTECTED]] Sent: Wednesday,

RE: template flexability

2001-05-11 Thread Holman, Cal
://www.geocities.com/cedricdumoulin/components/ Holman, Cal wrote: Since using the template tag as follows is always direct=true how can you make the xxx in the template put=xxx variable.The reason for the substitution is to make the heading variable based on language or application- while still

template flexability

2001-05-06 Thread Holman, Cal
Since using the template tag as follows is always direct=true how can you make the xxx in the template put=xxx variable. The reason for the substitution is to make the heading variable based on language or application - while still using the same template. Does anyone have a technique for

Using Tomcat 3.2.1 and JBulider plugin

2001-05-02 Thread Holman, Cal
In testing Struts code in JBuilder I am running into a problem with URL resolution. I have installed the Tomcat 3.2.1 plugin off the JBuilder open source site. This allows me to choose either Tomcat 3.1 or 3.2 for testing. I had noticed that Tomcat 3.1 was not handling templates well so the