RE: NewBie Question

2003-04-04 Thread Tai Nguyen
You took the words right out of my mouth! -Original Message- From: Karapiperis Dimitris [mailto:[EMAIL PROTECTED] Sent: Friday, April 04, 2003 6:56 AM To: Struts Users Mailing List Subject: RE: NewBie Question Vangeli, ta Struts framework den einai tpt allo apo thn efarmogh toy MVC

RE: [tiles] tiles:insert not working for relative path

2003-03-24 Thread Tai Nguyen
Volker, When you use the tiles:insert with a page attribute, it automatically inserts the context path (without the trailing slash), so the final URI would be something like myAppMyJSP.jsp. Tai -Original Message- From: Volker Krebs [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003

RE: Nesting tile definitions

2003-03-24 Thread Tai Nguyen
various settings and changing the scope on the logic:present but I could not figure out how to detect if the tile definition included the attribute right or left. Thanks, Kevin On Mon, Mar 24, 2003 at 12:45:21AM -0500, Tai Nguyen wrote: Kevin, I'm pretty sure that once you have the attribute

RE: Nesting tile definitions

2003-03-23 Thread Tai Nguyen
. Thanks, Kevin On Sat, Mar 22, 2003 at 06:42:10PM -0500, Tai Nguyen wrote: Kevin, To make an attribute available to a nested tile you need to pass it along when you call the tile. For example: tiles:insert attribute=bar tiles:put name=right beanName=right beanScope=tile

RE: Validation and Reset

2003-03-22 Thread Tai Nguyen
Jeremy, This is because your image button is a submit button, regardless of what the text on it may say. The link you provided didn't say anything about reset methodology so I'm not sure what you are referring to there, but the easiest way to avoid triggering the validate method is to not submit

RE: struts-config.xml

2003-03-22 Thread Tai Nguyen
Tell me about it! ClearCase XML merges are completely useless. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, March 21, 2003 2:23 AM To: [EMAIL PROTECTED] Subject: RE: struts-config.xml I work with ClearCase and WSAD 4.0.3 and can tell you that

RE: Searching the Struts Mail List Archive

2003-03-22 Thread Tai Nguyen
Occasionally I do. -Original Message- From: Cruz, Edward J. [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2003 9:50 AM To: Struts Users Mailing List Subject: RE: Searching the Struts Mail List Archive Has anyone been getting a Bad Gateway Error when trying to use the second search

RE: Nesting tile definitions

2003-03-22 Thread Tai Nguyen
/ /definition /tiles-definitions Kevin On Wed, Mar 19, 2003 at 05:07:04PM -0500, Tai Nguyen wrote: Kevin, First if all, it is possible to use attributes from supertiles, but that's another issue. The definitions you have posted look fine, so I would guess that it's a problem with your

RE: images in html buttons

2003-03-22 Thread Tai Nguyen
Wayne, You can use standard HTML to render your button, but you lose the advantages of automatic context path maintenance. Is there a specific reason you don't want to use html:image buttons? Tai -Original Message- From: Wayne A Christian [mailto:[EMAIL PROTECTED] Sent: Thursday, March

RE: [TILES] Inserting a definition in an other definition ?

2003-03-22 Thread Tai Nguyen
Lionel, The short answer to your question is yes. Not only is this possible, but I can't imagine a good design that doesn't do this. Nesting of definitions is one of the most powerful features of Tiles. However, you have a small syntax error in that your default definition refers to the

RE: Beginner question

2003-03-19 Thread Tai Nguyen
Joshua, The reset method is called BEFORE the form bean is populated from the request. Therefore, it is not possible to lose any data from the user's form post. So, the basic flow is: create or reuse Form bean reset populate validate Action perform or execute return forward. Tai

RE: Tiles

2003-03-19 Thread Tai Nguyen
Nathan, Is your question, what is better, creating definitions in JSP's or in the XML? If so, it's better to create definitions in tiles-def.xml, as is it easier to maintain all your definitions if they are one place. It also allows you to have definitions which stay in application scope, as

RE: Tiles

2003-03-19 Thread Tai Nguyen
of my question. As for placing them all in the tiles-def.xml, does maintenance of that file become cumbersome for a large site? Are there performance issues related to the size of the xml file? Thanks, Nate -Original Message- From: Tai Nguyen [mailto:[EMAIL PROTECTED] Sent: Wednesday, March

RE: Nesting tile definitions

2003-03-19 Thread Tai Nguyen
Kevin, First if all, it is possible to use attributes from supertiles, but that's another issue. The definitions you have posted look fine, so I would guess that it's a problem with your header.jsp file. Can you post that so we can look at it, as well as the full error message you are getting?