Re: [Stripes-users] Stripes Development and its Future... (this one is long too)

2010-09-10 Thread andres
Hello everyone. Our Spanish company (400 employees) is looking for new replace Struts Framework. We are about to decide between Stripes and Spring MVC. Descucion is very interesting. Very good idea to create the blog of Stripes to increase user experience and pieces of code that will serve to

[Stripes-users] The best way to separate variabls in a larger form from the action.

2010-09-10 Thread andres
What is the best way to separate variabls in a larger form the action? In Struts 1 you have a separate action (for the logic) and form (to use for fields). In Stripes have all this in action. Hope I explained well. I thought to create a class NameModel with a variabls for a form and extend it

Re: [Stripes-users] The best way to separate variabls in a larger form from the action.

2010-09-10 Thread Richard Hauswald
Hi, what about creating a Pojo holding all the form variables und referencing it in the actionBean and doing validation using @ValidateNestedProperties? Regards, Richard On Fri, Sep 10, 2010 at 12:52 PM, andres wrote: > > What is the best way to separate variabls in a larger form the action? In

Re: [Stripes-users] The best way to separate variabls in a larger form from the action.

2010-09-10 Thread Oscar Westra van Holthe - Kind
On 10-09-2010 at 10:52, andres wrote: > What is the best way to separate variabls in a larger form the action? In > Struts 1 you have a separate action (for the logic) and form (to use for > fields). In Stripes have all this in action. Hope I explained well. > > I thought to create a class NameMode

Re: [Stripes-users] The best way to separate variabls in a larger form from the action.

2010-09-10 Thread Mike McNally
Actually I feel that the basic Stripes mechanisms for annotating validation information to be completely inadequate for an application of any serious complexity. Inevitably, persisted objects will be manipulated by many actions, and the consequent need to repeat the validation rules over and over a

Re: [Stripes-users] The best way to separate variabls in a larger form from the action.

2010-09-10 Thread andres
Could you explain more detail how it work, and how to implement? Thank you very much. --- El vie, 10/9/10, Oscar Westra van Holthe - Kind escribió: De: Oscar Westra van Holthe - Kind Asunto: Re: [Stripes-users] The best way to separate variabls in a larger form from the action. Para: "Strip

Re: [Stripes-users] The best way to separate variabls in a larger form from the action.

2010-09-10 Thread andres
Could you explain more detail  how to implement? Thank you very much. --- El vie, 10/9/10, Richard Hauswald escribió: De: Richard Hauswald Asunto: Re: [Stripes-users] The best way to separate variabls in a larger form from the action. Para: "Stripes Users List" Fecha: viernes, 10 de sept

Re: [Stripes-users] The best way to separate variabls in a larger form from the action.

2010-09-10 Thread Oscar Westra van Holthe - Kind
On 10-09-2010 at 12:03, andres wrote: > Could you explain more detail how [binding into the domain model, using > Stripersist] work, and how to implement? Stripersist is hosted at the StripesStuff project, and contains an example as well: StipesStuff: http://sourceforge.net/projects/stripes-st

Re: [Stripes-users] The best way to separate variabls in a larger form from the action.

2010-09-10 Thread andres
Thanks I'll see. Gracias :) --- El vie, 10/9/10, Oscar Westra van Holthe - Kind escribió: De: Oscar Westra van Holthe - Kind Asunto: Re: [Stripes-users] The best way to separate variabls in a larger form from the action. Para: "Stripes Users List" Fecha: viernes, 10 de septiembre, 2010 14:

Re: [Stripes-users] The best way to separate variabls in a larger form from the action.

2010-09-10 Thread Nikolaos Giannopoulos
Mike, I agree about pretty much everything you said and am afraid that I will need to develop this as well as my app has lots of model objects. Would you be willing to share the code you developed to extend the validation? Also it might be great to create a JIRA ticket and attach the code for

Re: [Stripes-users] The best way to separate variabls in a larger form from the action.

2010-09-10 Thread Mike McNally
I am personally willing to share the code, but I'd have to clear it with my employer. What I did was not super-complicated, and I can summarize it here: *) I created my own ValidationMetadataProvider class, starting (of course) with the default one. *) I took the approach of mimicking the way tha

[Stripes-users] Stripes/JMesa: Failing request to update table

2010-09-10 Thread Lev
i am trying to generate tables with JMesa v3. i am able to successfully create such a table; however, i am having trouble successfully implementing filtering, paging, and sorting (which relies on javascript). in my jsp, i have included the following: function onInvokeAction(id,

[Stripes-users] can't find model class

2010-09-10 Thread Joaquin Valdez
Hello! I am having trouble with my app. It's not longer finding one of my model classes. I am using a structure similar to the Stripes book. Any how, when I run my app, I get the following error: javax.persistence.PersistenceException: [PersistenceUnit: loginPU] Unable to configure EntityMa

Re: [Stripes-users] can't find model class

2010-09-10 Thread Nikolaos Giannopoulos
Joaquin, Looks like JPA is having trouble finding a class named "Inventory" either b/c of something that has to do with JPA or isn't compiled. Caused by: java.lang.ClassNotFoundException: Inventory Here are some ideas: 1) If you explicitly specify class names in persistence.xml then make su

Re: [Stripes-users] can't find model class

2010-09-10 Thread Joaquin Valdez
Thank you! will try those things. On Sep 10, 2010, at 8:09 PM, Nikolaos Giannopoulos wrote: > Joaquin, > > > Looks like JPA is having trouble finding a class named "Inventory" > either b/c of something that has to do with JPA or isn't compiled. > > Caused by: java.lang.ClassNotFoundExceptio

Re: [Stripes-users] can't find model class

2010-09-10 Thread Joaquin Valdez
Thank you! A simple cleaning seemed to do the trick. I always do a clean and build when developing, but apparently that stopped working. I use NetBeans. Thanks Nikolaos! Joaquin On Sep 10, 2010, at 8:09 PM, Nikolaos Giannopoulos wrote: > Joaquin, > > > Looks like JPA is having trouble fi

Re: [Stripes-users] The best way to separate variabls in a larger form from the action.

2010-09-10 Thread Nikolaos Giannopoulos
Mike, Thanks for the summary. Much appreciated. I understand your needed to clear a request like this with your employer. I guess my point was that this is one area that Stripes could use some improvement and although it isn't complicated everyone needs to build their own solution / implemen

Re: [Stripes-users] Stripes/JMesa: Failing request to update table

2010-09-10 Thread Nikolaos Giannopoulos
Lev, I don't know JMesa and it isn't totally clear when you mention the clicking of table buttons whether you are posting the form to the action bean OR that JMesa is using Ajax calls to get the new table data... and if its the latter then the request will require a web context... . Also shoul