I think you are doing it the wrong way. In a multilingual application, all the resources should come from a ResourceBundle (in your case, a custom DB resourcebundle), and you would use the built-in locale support to choose the correct resourcebundle. Then, you don't need to care whether the localizable text is in an attribute or a in a text node.
Kalle > -----Original Message----- > From: Stefan Lischke [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 09, 2005 6:50 AM > To: [email protected] > Subject: Jsf and multilanguage > > Hi, > > First thumbs up for the myfaces project, we are using it for > a webadmin. > I have written an own component derived from the OutputText > component to use our self developed multilanguage system. So > i can put a key inside the tags value and the component looks > the key up in the DB and fills in the right language. > This works very good. > > But now i have a problem, there are some tags, e.g. > selectItem where i can only put the visible text in an > attribute (itemValue). Now i cannot use our languageOutputText tag. > > Any ideas, what can solve my problem, to also see the right > language at selectItems? > > Thanx for any help > > stefan > > -- > Stefan Lischke NOVACOM Gesellschaft f�r > Internet Services > Software Engineering Software Engineering und > Consulting mbH > > Dovestr. 1 fon: +49 30 3980540 fax: +49 > 30 39805411 > D-10587 Berlin gsm: +49 171 2367112 > http://www.novacom.net >

