Unable to locate asset (the file does not exist).

2013-06-07 Thread Anbazhagan.G
Hi All, I am going to achieve like this ${context:layout/images/${itemProperty.signImage}.png}. But I got the following error Could not convert 'context:layout/images/${itemProperty.signImage' into a component parameter binding: Unable to locate asset 'context:layout/images/${itemProperty.s

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; } }

RE: One possible bug with image showing

2013-06-07 Thread Nomen Nomanum
Thank, both of, you very much! :)

Re: Embedding content from separate modules (a.k.a plugins)

2013-06-07 Thread Thiago H de Paula Figueiredo
On Fri, 07 Jun 2013 12:50:46 -0300, Zsombor wrote: Hi, Hi! 1, MyPluginTab tab = (MyPluginTab) page.getRootComponent(); tab.init(...); This creates a nice exception: *java.lang.ClassCastException: x.y.z.MyPluginTab cannot be cast to x.y.z.MyPluginTab * Clearly a class loade

Re: obtaining jsessionid

2013-06-07 Thread John
This @Inject HttpServletRequest does work, many thanks. - Original Message - From: Thiago H de Paula Figueiredo To: Tapestry users Sent: Thursday, June 06, 2013 12:22 PM Subject: Re: obtaining jsessionid On Thu, 06 Jun 2013 08:07:17 -0300, Peter Hvass wrote: > Hello

Re: Tapestry Bootstrap Module for 5.4 Preview

2013-06-07 Thread Barry Books
I have not tried 3 but I've been reading about it. I'm adding components like row and span that hopefully will make it transparent to switch between them. I'm really more interested in supporting 3. I always build responsive sites and I'm thinking 3 will be better for that. On Fri, Jun 7, 2013 at

Re: Tapestry Bootstrap Module for 5.4 Preview

2013-06-07 Thread Dmitry Gusev
Barry, Will this work with bootstrap 3? Any plans to support it? On Friday, June 7, 2013, Barry Books wrote: > I finally got around to trying out Tapestry 5.4 Alpha. I'd heard 5.4 was > switching to JQuery and Bootstrap and it's true! However for me at least > that does not mean an end to the T

Embedding content from separate modules (a.k.a plugins)

2013-06-07 Thread Zsombor
Hi, In our application, we would like to have a modular structure, where for a certain DTO, we would like to have different tabs, depending on the actual deployed application, so the core webapp doesn't need to know all the possible tabs in advance. We have the following interface: interface Tab

Tapestry Bootstrap Module for 5.4 Preview

2013-06-07 Thread Barry Books
I finally got around to trying out Tapestry 5.4 Alpha. I'd heard 5.4 was switching to JQuery and Bootstrap and it's true! However for me at least that does not mean an end to the Tapestry-Bootstrap module. In fact I think I can make it better because I can now throw away the thousands of lines that

Re: [t5] Is it possible to return a component's generated HTML ?

2013-06-07 Thread Rural Hunter
Yes. I'm already using freemarker. Just want to use less dependencies and get all things unified since we already have one(Tapestry) right? 于 2013/6/7 21:04, Thiago H de Paula Figueiredo 写道: On Fri, 07 Jun 2013 06:45:32 -0300, Rural Hunter wrote: cool, thanks! I am trying to implement a simi

Re: [t5] Is it possible to return a component's generated HTML ?

2013-06-07 Thread Thiago H de Paula Figueiredo
On Fri, 07 Jun 2013 06:45:32 -0300, Rural Hunter wrote: cool, thanks! I am trying to implement a similar requirement as the OP which is to send html formatted mails in a background service of my webapp while there is no actual request/response involved. I'm trying to figure out how to us

Re: [t5] Is it possible to return a component's generated HTML ?

2013-06-07 Thread Lance Java
I started to extract the logic to a separate project here https://github.com/uklance/tapestry-offline but never got around to testing it. The main functionality is in this class https://github.com/uklance/tapestry-offline/blob/master/src/main/java/org/lazan/t5/offline/services/internal/OfflineComp

Re: [t5] Is it possible to return a component's generated HTML ?

2013-06-07 Thread Rural Hunter
cool, thanks! I am trying to implement a similar requirement as the OP which is to send html formatted mails in a background service of my webapp while there is no actual request/response involved. I'm trying to figure out how to use Tapestry template as the mail template in some way. 于 2013/6

Re: [t5] Is it possible to return a component's generated HTML ?

2013-06-07 Thread Lance Java
AFAIK tapx-templating will not work with the normal tapestry web jars on the classpath and must be a separate app. I have written a class which can render components offline within a tapestry webapp for tapestry-cometd. The code can be found here https://github.com/uklance/tapestry-cometd/blob/ma

Re: Multi-row Grid header

2013-06-07 Thread lacko
Thanks both of you! I will try the DOM rewriting, I guess it will be easier and fulfill my demand completely. Best regards! -- Ladislav -- Původní zpráva -- Od: Thiago H de Paula Figueiredo Datum: 6. 6. 2013 Předmět: Re: Multi-row Grid header "On Thu, 06 Jun 2013 10:27:13 -

Re: [t5] Is it possible to return a component's generated HTML ?

2013-06-07 Thread Rural Hunter
dose tapx-templating work in a tapestry webapp now? 于 2013/6/6 15:31, Lance Java 写道: Have you considered tapx-templating and a single webapp? https://github.com/hlship/tapx - To unsubscribe, e-mail: users-unsubscr...@tapest