RE: How to know what language is on

2013-06-07 Thread Nomen Nomanum
Hi Thiago! :) I have solved my issue, minutes after posting here. I have got an idea to use Locale instead PersistLocale, and it worked like a charm! :)

Re: How to know what language is on

2013-06-07 Thread Thiago H de Paula Figueiredo
On Fri, 07 Jun 2013 19:05:35 -0300, Nomen Nomanum wrote: However I keep getting Render queue error in BeginRender[Testing:if]: Failure reading parameter 'test' of component Testing:if: org.apache.tapestry5.ioc.internal.util.TapestryException and I have no clue what is it complaining about?

How to know what language is on

2013-06-07 Thread Nomen Nomanum
I am trying to test something by testing in what language is current page with following: public boolean getEnglishVersionOfDescription() { if ("en".equalsIgnoreCase(persistentLocale.get().getLanguage())) { return true; } else { return false; } }