Re: Addressformat For Different Countries

2005-12-27 Thread Shiva Narayana
; a 100 different tiles definitions. > > I would be curious to see the tiles version. I'm not that familiar with > > tiles though. > > > > Shawn > > > > -Original Message- > > From: Srinivas Jadcharla [mailto:[EMAIL PROTECTED] > > Sent: Thur

Re: Addressformat For Different Countries

2005-12-08 Thread Srinivas Jadcharla
tries. > > Shawn > > > -Original Message- > From: Garner, Shawn > Sent: Thursday, December 08, 2005 11:47 AM > To: 'Struts Users Mailing List' > Subject: RE: Addressformat For Different Countries > > He said he only needed it for 3 countries. Seems like my

Re: Addressformat For Different Countries

2005-12-08 Thread Martin Gainty
- From: "Garner, Shawn" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" Sent: Thursday, December 08, 2005 12:46 PM Subject: RE: Addressformat For Different Countries He said he only needed it for 3 countries. Seems like my way would be easy for that

RE: Addressformat For Different Countries

2005-12-08 Thread Garner, Shawn
e is a limit to the length of a JSP page so I'm for breaking it up. You could do it this way also for 3 countries. Shawn -Original Message- From: Garner, Shawn Sent: Thursday, December 08, 2005 11:47 AM To: 'Struts Users Mailing List' Subject: RE: Addressformat For Different

RE: Addressformat For Different Countries

2005-12-08 Thread Garner, Shawn
List Subject: Re: Addressformat For Different Countries //I would set up three different JSP Pages .. But what happens if there are about 100 countries?? we need 100 JSPs right..Instead he can go for a single JSP with logic tags..but if there are 100 countries...his JSP will be very very long ..o

Re: Addressformat For Different Countries

2005-12-08 Thread Srinivas Jadcharla
//I would set up three different JSP Pages .. But what happens if there are about 100 countries?? we need 100 JSPs right..Instead he can go for a single JSP with logic tags..but if there are 100 countries...his JSP will be very very long ..option left is to go for tiles... On 12/8/05, Garner, Sh

RE: Addressformat For Different Countries

2005-12-08 Thread Garner, Shawn
I would set up three different JSP Pages and route to them based on them answering which country they are from. I suggest you use the struts method to setLocale to the country and then make a version of the resources file for that locale. In our application we have two sets of properties files. A

Re: Addressformat For Different Countries

2005-12-06 Thread Keith Sader
If it were me, I'd use tiles to swap out body content at runtime based on the country code. A couple logic tags and a decent tile layout should work. On 12/6/05, Shiva Narayana <[EMAIL PROTECTED]> wrote: > Hi All, > > I have to implement address format depending on country in JSP. Like > > For Au