Re: Best Practices for static content

2005-06-17 Thread Andreas Toom
Can't you use a TilesController-class and manipulate your tiles-attribute depending on some parameter in request scope?. Doing so you only have to declare one action and one tiles-definition. /Andreas Ramadi Pearse wrote: Does anyone have best practices on how to compose or decorate stand-alon

Re: locale, Wrong format string

2005-06-02 Thread Andreas Toom
).applyPattern(formatString); } That is, when the format string comes from a resource bundle the applyLocalizedPattern is used, so I have to make sure that the pattern I use i localized.. /Andreas Andreas Toom wrote: Hello, I thought I finally hade the format/formatKey thing with bean:write

locale, Wrong format string

2005-06-02 Thread Andreas Toom
Hello, I thought I finally hade the format/formatKey thing with bean:write figured out, but when I tried to switch from a en_US locale to a sv I get this exception: org.apache.jasper.JasperException: Wrong format string: '#,##0' I've read http://java.sun.com/j2se/1.4.2/docs/api/java/text/Deci

numeric format with

2005-05-31 Thread Andreas Toom
Hello, is it possible to add zero-padding with format in the tag?, I have used format with dates before but I can't find any good examples for numeric data. My bean property is a int representing a month and I want to write 01, 02,.. instead of just 1,2,.. /Andreas ---

Re: simple Validator question

2005-05-24 Thread Andreas Toom
I haven't tried this but you shouldn't it be possible to use the 'attribute' attribute in your action mapping configuration ? /Andreas Riyaz Mansoor wrote: i saw a doc which had wondering if multiple forms could be declared like this? sorry but am t tired to test right no :) r

Re: Multiple tiles layouts for single application

2005-05-11 Thread Andreas Toom
you wanted?, if so I hope it helps. /Andreas Benedict, Paul C wrote: Andreas, This is a wild solution. I don't understand page 15 and I've used Tiles before, but not in this way. Could you explain it? -----Original Message- From: Andreas Toom [mailto:[EMAIL PROTECTED] Sent: Tuesday, M

Re: Multiple tiles layouts for single application

2005-05-09 Thread Andreas Toom
/~dumoulin/tiles/tilesAdvancedFeatures.pdf page 15 may help you Cheers. -Original Message- From: Andreas Toom [mailto:[EMAIL PROTECTED] Sent: 09 May 2005 15:33 To: Struts Users Mailing List Subject: Re: Multiple tiles layouts for single application Yes, but a tile definition is just a.. tile

Re: Multiple tiles layouts for single application

2005-05-09 Thread Andreas Toom
via an ActionMapping, and therefore your Action can examine the request and return the appropriate view which will be a forward to the tile definition of your choice. Cheers, Allistair. -Original Message- From: Andreas Toom [mailto:[EMAIL PROTECTED] Sent: 09 May 2005 15:05 To: user

Multiple tiles layouts for single application

2005-05-09 Thread Andreas Toom
Hello, is there a way to switch tiles layout in an applaction depending on let's say request url. I have a struts-based application with a single purpose and I want to share this functionality with other php-based sites that my company have. So if a request comes in to the site I want different

Re: How to have a header tile over many modules?

2005-05-03 Thread Andreas Toom
Hello, I have a similiar configuration for my project, a set of menu links and a login-box in a tile shared between modules. After reading the struts documentation, specifying the property "module" for html:link should imho solve the problem but I've had no luck with this approach (all i get ba

Re: jsp location when using modules

2005-04-14 Thread Andreas Toom
e uri with module names, nor does it use controller.forwardPattern, so if I read it right, it will use the uri you set in your tile definitions. hth, Hubert On 4/14/05, Andreas Toom <[EMAIL PROTECTED]> wrote: Hello, We are currently refactoring our Web applications into one application us

jsp location when using modules

2005-04-14 Thread Andreas Toom
Hello, We are currently refactoring our Web applications into one application using Struts modules so that we can share common resources more easily between the different modules. Now to the problem, we are currently placing all our jsps in /WEB-INF/pages/ but when introducing modules I get 404

+ SSL ( + foreign context )

2005-03-31 Thread Andreas Toom
Hello, I have 2 questions (See below for details) 1, Does work with SSL? if so, how? 2, Does JSTL work with Struts actions? Yesterday after some months of developing on a Struts application it was time to enable SSL. Enabling tomcat with SSL support was no problem and it looked like it would be