Re: [Stripes-users] Stripes and WebSockets?

2010-12-11 Thread allen petersen
You can also use the Atmosphere framework: https://atmosphere.dev.java.net/ If you use it with their jQuery plugin, you can easily get WebSocket support for clients that support it, with a fallback to Comet streaming for clients that don't. It can be a little bit of a pain to set up for the fi

Re: [Stripes-users] Reusable AJAX components using JSP fragments and partial Stripes forms

2009-12-19 Thread allen petersen
Hi Dan. Ok. After rereading your post a few (like four or five) times, and reading John's response and your response to him, I _think_ that this is the crux of your problem: >That's the heart of the matter. Using two different ActionBeans within the >same page, one of which manipulates fields

Re: [Stripes-users] Stripersist entity scan

2009-09-21 Thread allen petersen
On Fri, Sep 18, 2009, 16:34, Aaron Porter wrote >Hi Allen, >I'd be more than happy to update Stripersist with your changes. Sure. Please do. I mean, clean it up first. :) >I don't do much in the way of testing under different environments so >Stripersist is what worked for me in Tomcat 6 wit

Re: [Stripes-users] Stripersist entity scan

2009-09-18 Thread allen petersen
Hi. Oh, this reminds me--I'd been meaning to gather together the changes that I'd put into my copy of Stripersist and offer them up as a patch. But I still haven't gotten around to it. :) Basically, yeah, Stripersist doesn't seem to follow the whole JPA persistence archive standard properly.

Re: [Stripes-users] questions concerning Stripersist

2009-08-31 Thread allen petersen
Hi. EntityManager.createQuery() creates a query using the Java Persistence Query Language, rather than an actual SQL query. For a straight SQL query, I think you want to use EntityManager.createNativeQuery(). ...Of course, as long as you're using JPA already, you might be better off just doin

Re: [Stripes-users] Stripes 1.5 and JBOSS 5

2009-07-08 Thread allen petersen
Hi. You can try the patch that I uploaded to this bug: http://www.stripesframework.org/jira/browse/STS-655 It doesn't work with WEB-INF/classes, but does work (at least for me) if your classes are in a jar file in WEB-INF/lib. -allen On Mon, Jul 06, 2009, 16:17, george_bancos wrote > >I a

Re: [Stripes-users] Stripes wizard, partial form, and required validation

2009-06-29 Thread allen petersen
n works whether you post from a Stripes page or not.) > >Maybe I'm missing what you mean by "noted as being required". > > >On Mon, Jun 29, 2009 at 2:50 PM, allen petersen wrote: >> Hi. >> >> So, quick version: �stripes wizard form with a nested page t

[Stripes-users] Stripes wizard, partial form, and required validation

2009-06-29 Thread allen petersen
Hi. So, quick version: stripes wizard form with a nested page that has a tag in it. Required fields are included in the nested partial form tag. But...those required fields aren't being noted as being required, because the __fp (fieldsOnPage) field is only being written for the top-level f

Re: [Stripes-users] Danger with binding to Domain Object

2009-06-22 Thread allen petersen
Hi. (Jumping in. Hope you don't mind.) On Mon, Jun 22, 2009, 21:06, CN Yee wrote >...(example munched)... >The preBind() method pre-loads the customer domain object, where stripes >binding will bind direct to it. The save() method can simply persist the >domain object without having to use a da