i18n text in properties file and HTML

2006-07-04 Thread Jean-Eric Cuendet
Hi, I would like to put markup in the texts in my properties files. I have something like: the_string=Hello, John, how are you? But after getting the text either with getMessages() or directly with the is printed in full text (as ) instead of making John bold... Any iodea how to do that? Th

Re: PermGen space

2006-07-22 Thread Jean-Eric Cuendet
Hi all, This problem is very common with Tapestry applications. This is due to the fact that Tapestry uses cglib to generate classes at runtime. Java uses a separate Heap space called "PermGenSpace" to put meta-data about classes, which is never garbage collected (this is "normal" since normall

@Persist documentation?

2006-06-01 Thread Jean-Eric Cuendet
Hi, I'm unable to find @Persist annotation doc... Could someone point me to some? Thanks. -jec -- Best regards / Salutations. Jean-Eric Cuendet Senior developer / Technical support Riskpro Technologies SA Av. Louis-Ruchonnet 2 CH-1003 Lausanne Switzerland Direct: +41 21 637 0123 Prin

DirectLink / PageLink in a Translated message

2006-06-13 Thread Jean-Eric Cuendet
Hi, Is there a way to translate a text that contains a Component? Ex: This is a string that should be translated to French linking to that page and helping you getting there Thanks for ideas. -jec -- Best regards / Salutations. Jean-Eric Cuendet Senior developer / Technical support Riskpro

Order of rendering components

2006-06-13 Thread Jean-Eric Cuendet
dered? Thanks -jec -- Best regards / Salutations. Jean-Eric Cuendet Senior developer / Technical support Riskpro Technologies SA Av. Louis-Ruchonnet 2 CH-1003 Lausanne Switzerland Direct: +41 21 637 0123 Principal : +41 21 637 0110 Fax : +41 21 637 0111 Skype : jec.rptec Web :

Re: Order of rendering components

2006-06-13 Thread Jean-Eric Cuendet
In such advanced cases you can use IMarkupWriter.getNestedWriter(): When rendering the page: - render all FaqItems to a nested writer - render the FaqSummary itself - close() the nested writer (which implicitly commits its content to the main writer) Thanks a lot, that makes sense. But where

Re: Order of rendering components

2006-06-15 Thread Jean-Eric Cuendet
- enumerating all FaqItem components in the page (or in the body of FaqSummary), and getting the title values from their parameters? This solution is somewhat easier to implement if you do not need fully flexible component hierarchy (I mean for example FaqItems are rendered from multiple page

Wrong charset in strange conditions

2006-09-25 Thread Jean-Eric Cuendet (RPT)
Hi, I have a Tapestry 4.0.2 website which works fine since months. Today I realized that the charset of the site was not consistent: the webserver returned charset=UTF-8 while the html code was "charset=ISO-8859-1" The pages themselves are in UTF-8 and were displayed correctly. So I changed th

Re: Wrong charset in strange conditions

2006-09-25 Thread Jean-Eric Cuendet (RPT)
s. Is that normal? Thanks a lot -jec Jean-Eric Cuendet (RPT) wrote: Hi, I have a Tapestry 4.0.2 website which works fine since months. Today I realized that the charset of the site was not consistent: the webserver returned charset=UTF-8 while the html code was "charset=ISO-8859-1" The

Problem with @Persist

2006-05-31 Thread Jean-Eric Cuendet (RPT)
Hi, I have 2 pages, one with a list of Users (UsersPage) and another with Details for a given User (DetailsPage). In UsersPage, I have a onEditUser() listener, which do: page = getDetailsPage() // <= With @InjectPage page.setUserId(selectedId); return page; And in DetailsPage, I have: