Thanx joe , so its something like this i may be reusing a particular
layout again and again like the footer ,menu,.. etc but the original
body content may vary now instead of defining the html <title> tag in
each of the body pages is there any way we could do it from tiles (i
mean from tile-definitions.xml) by defining the key in the xml and to
later use bundle to extract the title .And also 

<plug-in className="org.apache.struts.tiles.TilesPlugin" >

  <set-property property="definitions-config" value="/WEB-INF/tiles-defs.xml" />
  <set-property property="definitions-debug" value="2" />
  <set-property property="definitions-parser-details" value="2" />
  <set-property property="definitions-parser-validate" value="true" />
</plug-in>

There is one more property in this
<set-property property="definitions-factory-class" /> so what is the use of this the 
book
says that

"There is an additional parameter, not shown, called definitions-factory-class. You 
can create a custom definitions factory and supply the class name here.
 The default is org.apache.struts.tiles.xmlDefinition.I18NfactorySet."

does it how anything to do with I18n ?


Thanks
Suresh S

On Tue, 2004-06-15 at 11:54, Joe Hertz wrote:

> Assuming you understand how Struts deals with internationalization
> issues, and tiles here...
> 
> What sort of things are you looking to see demonstrated?
> 
> I'm doing just this, and I find that there isn't anything I really need
> that is specific to tiles. Your tiles deal with the i18n issues as if
> they weren't tiles at all. 
> 
> About the only concession I make to i18n with tiles is that I try to
> avoid specifying string attributes in the tiles-config.xml.
> 
> -Joe
> 
> > -----Original Message-----
> > From: Suresh S [mailto:[EMAIL PROTECTED] 
> > Sent: Tuesday, June 15, 2004 2:15 AM
> > To: Struts Users Mailing List
> > Subject: Internationalization support in Tiles
> > 
> > 
> > hi all,
> > I have seen in books that struts plug in 'tiles' support 
> > internationalization but i couldn't get any nick of example 
> > on this one.It would be great if i could have a piece of code 
> > to explain on this .Any URl's explaining on this would be great .
> > 
> > Thanx
> > Suresh S
> > 
> > 
> > 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to