Multiple PUs for the same database causing errors

2013-06-06 Thread Lenny Primak
I am trying to have 2 PUs for the same database, one with caching, and one without. If I register a single entity with both PUs, I get duplicate value encoder exception. I would like to register a single entity with multiple PUs representing the same database. I think this can be accomplished

Re: One possible bug with image showing

2013-06-06 Thread Boris Horvat
This is not really the tapestry problem. You are using the relative url regardless of where in the page you are and you are hard coding the same path every time This is a proper way how you want to use assets (e.g. images) in the tapestry http://tapestry.apache.org/assets.html Your tml should pr

Re: One possible bug with image showing

2013-06-06 Thread Thiago H de Paula Figueiredo
On Thu, 06 Jun 2013 12:55:10 -0300, Nomen Nomanum wrote: Hi. I have following in css file something like following .displayingBackground{ background-image:url('../graphics/SectionForGifs/myImage.gif'); } Don't use relative URLs (the '../') part in CSS if you want to have pages in

One possible bug with image showing

2013-06-06 Thread Nomen Nomanum
Hi. I have following in css file something like following .displayingBackground{ background-image:url('../graphics/SectionForGifs/myImage.gif'); } and it's OK, it shows just fine in following segments www.mySite.com/thisPage www.mySite.com/thatPage www.mySite.com/* * where denotes any

Re: Multi-row Grid header

2013-06-06 Thread Thiago H de Paula Figueiredo
On Thu, 06 Jun 2013 10:27:13 -0300, Barry Books wrote: The grid is made from various sub components. Instead of using Grid you can write you own HeaderGrid and use the sub components such as GridPager and GridRow. Another option is to use Tapestry DOM rewriting (such as void afterRender

Re: Multi-row Grid header

2013-06-06 Thread Barry Books
The grid is made from various sub components. Instead of using Grid you can write you own HeaderGrid and use the sub components such as GridPager and GridRow. On Thu, Jun 6, 2013 at 7:21 AM, wrote: > Hi! > > > > I would like to have Grid with more than one row header. Let's say I have 3 > colum

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

2013-06-06 Thread Muhammad Gelbana
I strongly believe that Dmitry's suggestion is the simplest and most efficient so far, thanks a lot for that :) This would send an ajax request acceptable by tapestry: ajax = new XMLHttpRequest(); ajax.open("POST", "http://localhost:8080/index:myevent/0/0/0";, true); ajax.setRequestHeader("X-Reque

Multi-row Grid header

2013-06-06 Thread lacko
Hi! I would like to have Grid with more than one row header. Let's say I have 3 columns: Free space, occupied space, total space. Values in such columns are simple numbers with 2 digits (0-99), so if I want to show column headers in full form, columns will be lot wider than it's values demands

Re: obtaining jsessionid

2013-06-06 Thread Thiago H de Paula Figueiredo
On Thu, 06 Jun 2013 08:07:17 -0300, Peter Hvass wrote: Hello, Hi! Grab HttpServletRequest (perhaps via RequestGlobals) and then call getSession().getId() on it. :) Think that should work! You can @Inject HttpServletRequest directly at least since T5.1. No need to use RequestGlobals d

Re: obtaining jsessionid

2013-06-06 Thread John
having the clients IP would be good too!? - Original Message - From: John To: users@tapestry.apache.org Sent: Thursday, June 06, 2013 12:03 PM Subject: obtaining jsessionid Hi, Is it possible to obtain the sessionId for the servlet session in Tapestry, I can't see how t

Re: obtaining jsessionid

2013-06-06 Thread Peter Hvass
Hello, Grab HttpServletRequest (perhaps via RequestGlobals) and then call getSession().getId() on it. :) Think that should work! Peter - Original Message - From: "John" To: users@tapestry.apache.org Sent: Thursday, 6 June, 2013 2:03:34 PM Subject: obtaining jsessionid Hi,

obtaining jsessionid

2013-06-06 Thread John
Hi, Is it possible to obtain the sessionId for the servlet session in Tapestry, I can't see how to get it with request.getSession()? John

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

2013-06-06 Thread Lance Java
Have you considered tapx-templating and a single webapp? https://github.com/hlship/tapx