Return-Path: Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 55081 invoked from network); 20 Jun 2000 19:30:19 -0000 Received: from the.one.lv (159.148.169.70) by locus.apache.org with SMTP; 20 Jun 2000 19:30:19 -0000 content-class: urn:content-classes:message From: "Neeme Praks" To: Subject: RE: ResourceBundles - was [RT] i18n Date: Tue, 20 Jun 2000 21:31:30 +0200 Message-ID: <2ECFE9456D0F6A4FA77B38C25AAE23091940@the.one.lv> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.0.4208.0 X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: ResourceBundles - was [RT] i18n Thread-Index: Ab/UoeiYJWA03EZ7QducAy0b16q/VgGSm6eQ X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N > -----Original Message----- > From: Mike Engelhart [mailto:mengelhart@earthtrip.com] > Sent: Monday, June 12, 2000 9:00 PM >=20 > on 6/12/00 11:43 AM, Berin Loritsch at=20 > bloritsch@infoplanning.com wrote: >=20 > > > > > > > > Internal Server Error > > Page not found > > > > > > user/add > > user/obliterate > > > > > > Enter the user's name here > > > > [snip] > So in your example, it would be like >=20 > String role =3D "uri"; > ResourceBundle res =3D XMLResourceFactory.getResourceBundle(role); > res.getString("addUser"); I started to implement something like this for myself and came across following question: would it be possible to nest groups and then address them using a path? So, instead of this: find: what: where: my contacts all members all first name last name phone e-mail Search something like this: find: what: where: my contacts all members =09 all first name last name phone e-mail Search And then I could address then like: String role =3D "forms/contacts-search/desc"; ResourceBundle res =3D XMLResourceFactory.getResourceBundle(role); res.getString("searchfor"); Is this reasonable? Neeme