Hi Nikolaos,
If it was me I'd probably change @UrlBinding to take String[] value 
instead of String value. Then you could do

@UrlBinding({
         "/member/{$event}/{id}",
         "/miembro/{$event}/{id}",
         "/membre/{$event}/{id}",
         "/membro/{$event}/{id}"})


That shouldn't be a very big change but Ben Gunter would have a better 
idea than I would.

Aaron

On 05/03/2010 10:10 AM, Nikolaos Giannopoulos wrote:
> Hi,
>
> We are building a large site that initially supports 2 languages but
> will quickly grow 5+.  The site has country specific "virtualized"
> sub-domains i.e. the underlying plumbing is just one site that accepts
> any language based on country specific site or user preferences.
>
> I really like Clean URLs however our MemberActionBean must accept ANY of
> the following URLs:
>
> /member/{$event}/{id}
> /miembro/{$event}/{id}
> /membre/{$event}/{id}
> /membro/{$event}/{id}
>
> Unfortunately the following is not allowed:
>
> @UrlBinding("/member/{$event}/{id}")
> @UrlBinding("/miembro/{$event}/{id}")
> @UrlBinding("/membre/{$event}/{id}")
> @UrlBinding("/membro/{$event}/{id}")
> public class MemberActionBean extends BaseActionBean {
>
> Any ideas on how to get something like this to work?  We will have at
> least a dozen other action beans just like this.
>
> --Nikolaos
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>
>    


------------------------------------------------------------------------------
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to