Re: [Tile2] Help in Page Layout

2007-11-11 Thread Antonio Petrelli
Please ask this question to the Tiles Users mailing list: http://tiles.apache.org/mail.html Antonio 2007/11/12, Raghuveer Rawat <[EMAIL PROTECTED]>: > Hi, I have newbie in GUI design (Tiles/Menuing) etc. I need some urgent help > in Page Layout Design using Tile2/Struts Menu. > I am using below t

[Tile2] Help in Page Layout

2007-11-11 Thread Raghuveer Rawat
Hi, I have newbie in GUI design (Tiles/Menuing) etc. I need some urgent help in Page Layout Design using Tile2/Struts Menu. I am using below template for my page. Menu is very simple one so I have just anchor tags in Header.jsp Now my other pages are extending this tile layout like

Re: [s2] LabelValueBean

2007-11-11 Thread Ted Husted
Quite right. A map works just fine. (Wish I could say the same for some other platforms I know!) On Nov 11, 2007 4:19 PM, Tom Schneider <[EMAIL PROTECTED]> wrote: > > Ted, > I think in webwork, were you only needed name value pairs, you would > typically use a Map. All tags have built-in support

Re: [s2] LabelValueBean

2007-11-11 Thread Tom Schneider
Ted, I think in webwork, were you only needed name value pairs, you would typically use a Map. All tags have built-in support for dealing with maps. Is there a specific use case that you've encountered where you needed that? Tom Ted Husted wrote: > > Is there a corollary to the Struts 1 Label

[s2] LabelValueBean

2007-11-11 Thread Ted Husted
Is there a corollary to the Struts 1 LabelValueBean in Struts 2? * http://svn.apache.org/viewvc/struts/struts1/trunk/core/src/main/java/org/apache/struts/util/LabelValueBean.java -Ted. - To unsubscribe, e-mail: [EMAIL PROTECTE

Re: Is directly setting the Action's fieldErrors map OK?

2007-11-11 Thread Ted Husted
Submit a patch :) On Nov 11, 2007 1:14 PM, Gary Affonso <[EMAIL PROTECTED]> wrote: > Now, if only the internal FieldErrors map was genericised. One of two > isn't bad, though. :-) - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Is directly setting the Action's fieldErrors map OK?

2007-11-11 Thread Gary Affonso
I just checked the source for ActionSupport's addFieldError (which delegates to ValidationAwareSupport's addFieldError). It does do a null check on the internal FieldErrors and will initialize the map before adding a fieldError, if necessary. So, yes, the internal FieldErrors map can be null.

Is directly setting the Action's fieldErrors map OK?

2007-11-11 Thread Gary Affonso
I've got two questions, here's the summary: I'm doing validation in my domain objects. They kick back a map.. public class DomainObject { public Map validate() {...} } In my action's validate method, I just delegate to the domain object's validate() method. Something like this...

Re: dojo version in struts 2.0.11?

2007-11-11 Thread Dave Newton
Maybe it will run, but it won't compile--there's some XWork logging (xwork2.util.logging.Logger & LoggerFactory) and an annotation (@StrutsTagSkipInheritance) in the plugin that aren't in S2.0/XW<2.1. d. --- Musachy Barroso <[EMAIL PROTECTED]> wrote: > The plugin code itself can be just copied

Re: dojo version in struts 2.0.11?

2007-11-11 Thread Ted Husted
Please keep in mind that the "Ajax-as-Theme" approach taken in Struts 2.0.x has been tagged "end of life" by the development group. In Struts 2.1.x, the Ajax JSP tags are being expressed as a plugin. We do welcome everyone's help, but the best place to put a significant amount of effort would be t