Re: AjaxFormLoop AddRow Location

2010-06-29 Thread Chris Mylonas
http://tapestry.apache.org/tapestry5.0/tapestry-core/ref/org/apache/tapestry5/corelib/components/AjaxFormLoop.html I've removed addrow as per the example in the Edit.tml (you end up with only the one addrow) This is on tapestry-5.0.x though... NB: Geoff's jumpstart has it - YMMV On 30/06/20

Re: AjaxFormLoop AddRow Location

2010-06-29 Thread Robert Zeigler
The parameter has to be in the loop. But. :) Remember that tapestry renders to a dom. With a little creativity, you could create a component that acts as a "target location" for the rendered component. And then add a little magic so that, eg, at the end of the page render, you grab the rendered

AjaxFormLoop AddRow Location

2010-06-29 Thread Todd Orr
Does anyone know if it is it possible to relocate the p:addrow to somewhere outside of the loop? It is currently very limiting to be stuck inside a table, for example. I have a requirement to have the addrow below the table. Furthermore I need it to also appear above the table. Both of these seem i

Tapestry and hibernate DefaultComponentSafeNamingStrategy

2010-06-29 Thread Jim O'Callaghan
Is anyone using org.hibernate.cfg.DefaultComponentSafeNamingStrategy with @Embedded entities and Tapestry? I have @EmbeddedIds working fine, with the db data column names prefixed with componentField, but can't seem to get the prefix working @Embedded - I've tried adding: configuration.add("hi

Re: Is there anyway to access injected service instance out of box?

2010-06-29 Thread Jimmy.Lew
srry, the tapestry-ioc framework, copy error, -:) Thiago H. de Paula Figueiredo wrote: > > On Tue, 29 Jun 2010 16:12:07 -0300, Jimmy.Lew wrote: > >> It would be nice, if the tapestry framework can provide a bridge module >> between tapestry-core and tapestry-ioc, e.g, separate the >> re

Re: Is there anyway to access injected service instance out of box?

2010-06-29 Thread Thiago H. de Paula Figueiredo
On Tue, 29 Jun 2010 16:12:07 -0300, Jimmy.Lew wrote: It would be nice, if the tapestry framework can provide a bridge module between tapestry-core and tapestry-ioc, e.g, separate the registryinitialization coding from the TapestryFilter. why not building a ioc registration management sub-

Re: Is there anyway to access injected service instance out of box?

2010-06-29 Thread Jimmy.Lew
Thiago H. de Paula Figueiredo wrote: > > I think the best approach would be to define this code that needs the > Registry as Tapestry-IoC services, so service injection would be > automatic. Don't forget that Tapestry-IoC is completely independent from > Tapestry-the-web-framework (tapestr

Re: Tree Component in Tapestry 5

2010-06-29 Thread based2
http://code.google.com/p/tapestry5-treegrid/ ref: http://wiki.apache.org/tapestry/Tapestry5ModuleRegistry -- http://wiki.apache.org/tapestry/Tapestry5HowTos -- http://wiki.apache.org/tapestry/Tapestry5OpensourceApps Halil Karakose wrote: > > Hi, > I searched over the net but couldn't find a n

Re: Is there anyway to access injected service instance out of box?

2010-06-29 Thread Christophe Cordenier
Also Just an add, if you use spring, you can implement the ServletContextAware interface to extract the Tapestry Registry. 2010/6/29 Thiago H. de Paula Figueiredo > I think the best approach would be to define this code that needs the > Registry as Tapestry-IoC services, so service injection wo

Re: Tapestry using 1.3Gb of heap space after capacity testing

2010-06-29 Thread Christophe Cordenier
Holy grail ! but is it really feasible... @Andy Sorry i didn't follow all the thread but if i understand well, you have page instance of 7.5Mb for one single instance ? This is only due to page and component structure ? 2010/6/29 Howard Lewis Ship > It may be time to return to a more radical id

Re: Tapestry using 1.3Gb of heap space after capacity testing

2010-06-29 Thread Pierce Wetter
> > > Anyone think I'm on the right track, or barking up the wrong tree completely? Here's a completely obscure question out of left field. Are you launching the JVM with -server? Here's a pretty useful blog post: http://jfarcand.wordpress.com/2009/11/27/putting-glassfish-v3-in-production

Re: Is there anyway to access injected service instance out of box?

2010-06-29 Thread Thiago H. de Paula Figueiredo
I think the best approach would be to define this code that needs the Registry as Tapestry-IoC services, so service injection would be automatic. Don't forget that Tapestry-IoC is completely independent from Tapestry-the-web-framework (tapestry-core). This would work for web or non-web proj

RE: Is there anyway to access injected service instance out of box?

2010-06-29 Thread Jim O'Callaghan
Just to clarify Jimmy, you don't need to implement your own servlet filter - that is just an example of some of my code getting a service from the ioc registry - anywhere you can access the servlet context you should be able to retrieve the service you want. I'm a bit of a newbie myself with Tapes

Re: Tapestry using 1.3Gb of heap space after capacity testing

2010-06-29 Thread Howard Lewis Ship
It may be time to return to a more radical idea, one that is more technically feasible now (in release 5.2) than it was in the past. Get rid of page pooling. I'm not saying to re-create each page for each request; I don't think that would scale. However, it may be possible to change Tapestry so

Re: Tapestry using 1.3Gb of heap space after capacity testing

2010-06-29 Thread Christophe Cordenier
Hi This make me think about something i have found when i started to go deep in the Tapestry page pool code. It's about the PagePoolImpl service. If we look at the checkout method, we can see that the test made to check the pool's limits is made on a inUse list. I have made the experience that in

Re: Tapestry using 1.3Gb of heap space after capacity testing

2010-06-29 Thread Howard Lewis Ship
Just to check ... which version of Tapestry? On Tue, Jun 29, 2010 at 8:48 AM, Blower, Andy wrote: > I doubt anyone remembers this thread except me, but we're still having > problems that I could do with help on. > > So, two months later, we have managed to improve things significantly, but > st

RE: Is there anyway to access injected service instance out of box?

2010-06-29 Thread Jimmy.Lew
first of all, thanks million for the responses. If i didn't misunderstand , i have to implement a customized filter under tapestry project. My target is to be able to get my injected service from the Registry object out of tapestry module at run-time, the injected service is global singleton and

RE: Tapestry using 1.3Gb of heap space after capacity testing

2010-06-29 Thread Blower, Andy
I doubt anyone remembers this thread except me, but we're still having problems that I could do with help on. So, two months later, we have managed to improve things significantly, but still have very large pages and we're having a lot of trouble with the page pool size. What we see when we pus

RE: IE8 and grid inPlace

2010-06-29 Thread Jim O'Callaghan
Unfortunately not - nothing in the IE8 dev tools console output. I can see the ajax call from the pager hit the server (logging output present in the called method), but the grid won't update until I hit F5 - it's as if the event just stops before completing. The meta tag: ... will have to do

Re: IE8 and grid inPlace

2010-06-29 Thread Christophe Cordenier
Hi Sorry this is not exactly the same use case. But we had similar problems with IE8 and especially because of the new DOM Model. We are using prototype 1.6.1 and jQuery 1.3.2 and since we have moved jQuery on top of the JS stack, we do not have any conflicts anymore and jQuery components are runn

RE: Is there anyway to access injected service instance out of box?

2010-06-29 Thread Jim O'Callaghan
I forgot to put: HttpSession session = req.getSession(false); ... in the code below. Anyhoo just saw "static" in your original query - not sure if this is what you require. Regards, Jim. -Original Message- From: Jim O'Callaghan [mailto:jc1000...@yahoo.co.uk] Sent: 29 June 2010 15:17

RE: IE8 and grid inPlace

2010-06-29 Thread Jim O'Callaghan
Thanks for the response Christophe. I should have supplied more information for clarity. I am using jquery-1.4.2.min.js and jquery-ui-1.8.1.custom.min.js with jQuery in noConflict mode, and have decorated the ClientInfrastructure to have them ordered first. I'm using T5.2.0 snapshot. Are you us

RE: Is there anyway to access injected service instance out of box?

2010-06-29 Thread Jim O'Callaghan
Can't you do it in a filter? - public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException { HttpServletRequest req = (HttpServletRequest) request; ServletContext context = session.getServle

Re: Is there anyway to access injected service instance out of box?

2010-06-29 Thread Jimmy.Lew
You mean like this: .. Registry reg=servletContext.getAttribute(REGISTRY_CONTEXT_NAME); MyserviceInterface myInjectedServiceInstance=reg.getService("MyserviceID",MyserviceInterface.class); .. but how could i get the singleton ServletContext object outside tapestry, i couldn't find any st

Re: Calling all Tapestry Developers

2010-06-29 Thread Gamesys Jobs
Hi Jakub, Yes this is inclusive for all but we may have some difficulties in suporting external development for security reasons. Plus we work in an Agile way so daily Scrum meetings may be effected by this. Regards James Jakub Vlasak wrote: > > Oooops, sorry for spaming :-) > > On Mon,

Re: Is there anyway to access injected service instance out of box?

2010-06-29 Thread Christophe Cordenier
Hi Tapestry Registry allows you to access all the services your have declared, it is available in the servlet context under this name : public static final String REGISTRY_CONTEXT_NAME = "org.apache.tapestry5.application-registry"; 2010/6/29 Jimmy.Lew > > Does Tapestry IOC module provide

Re: IE8 and grid inPlace

2010-06-29 Thread Christophe Cordenier
Hi We had the same issue in one of our jQuery integration, the cleaner solution is to put jQuery and jQuery no-conflict on top of your Javascript stack. You can do this by decorating or advise the ClientInfrastructure service. 2010/6/29 Jim O'Callaghan > Can anyone confirm they have this issue

Re: Tree Component in Tapestry 5

2010-06-29 Thread Inge Solvoll
I highly recommend this library. It costs money, but it's definitely worth it. http://dhtmlx.com/docs/products/dhtmlxTree/index.shtml?pl1 We have created a wrapper around it. Not able to share it right now, unfortunately, but it is very thin and you can easily do it yourself On Tue, Jun 29, 2010

RE: IE8 and grid inPlace

2010-06-29 Thread Jim O'Callaghan
Please ignore the query below. Just found some references to: ... in the list. This will have to do for now. Regards, Jim. -Original Message- From: Jim O'Callaghan [mailto:jc1000...@yahoo.co.uk] Sent: 29 June 2010 09:13 To: 'Tapestry users' Subject: RE: IE8 and grid inPlace Can any

Re: Problem with spring integration

2010-06-29 Thread Nicolas Bouillon
In fact it works well with Tapestry 5.1.0.5. I just missed to activate correctly the Compatibilty Mode. I believed it was via AppModule using configuration.add(SpringConstants.USE_EXTERNAL_SPRING_CONTEXT, "true"); but it must be in the web.xml : tapestry.use-external-sprin

Re: Tree Component in Tapestry 5

2010-06-29 Thread Borut BolĨina
As you can see here; http://www.questionpro.com/akira/ShowResults?id=1151880&mode=data it is one of the most wanted T5 component. 2010/6/29 Halil Karakose > Hi, > I searched over the net but couldn't find a nice tree component. Is there a > working tapestry 5 tree component available? > > thanks

Tree Component in Tapestry 5

2010-06-29 Thread Halil Karakose
Hi, I searched over the net but couldn't find a nice tree component. Is there a working tapestry 5 tree component available? thanks...

RE: IE8 and grid inPlace

2010-06-29 Thread Jim O'Callaghan
Can anyone confirm they have this issue also (or that inPlace is actually working for you in ie8) and I'll raise something in jira - thanks. At the moment, not sure if it's down to a conflict with my use of jQuery. Regards, Jim. -Original Message- From: Jim O'Callaghan [mailto:j...@perit

Is there anyway to access injected service instance out of box?

2010-06-29 Thread Jimmy.Lew
Does Tapestry IOC module provide API to allow other frameworks to access injected service instance? e.g., i want to use DWR to check a injected session manager service in a tapestry page. Appreciate somebody could give a hint. -- View this message in context: http://old.nabble.com/Is-there-anyw