Re: org.apache.jasper.JasperException struts-examples-master crud

2017-10-13 Thread Yasser Zamani
On 10/14/2017 5:43 AM, albert kao wrote: > Messages: > /WEB-INF/jsp/persons.jsp (line: 13, column: 8) Attribute id invalid for tag > url according to TLD Hello Albert, Thanks for your report. It seems struts-examples need some fixes which are under processing at [1]. Regards, Yasser. [1] htt

org.apache.jasper.JasperException struts-examples-master crud

2017-10-13 Thread albert kao
: Oracle Corporation Java home: /home/alkao/jdk/jdk1.8.0_144/jre Default locale: en_CA, platform encoding: UTF-8 OS name: "linux", version: "4.4.0-21-generic", arch: "i386", family: "unix" $ mvn -e clean package Copy crud-1.0-SNAPSHOT.war to Apache TomEE: #

Any example integrate struts2 ( CRUD without Hibernate, nor EJB, nor Glassfish)

2014-10-20 Thread Chris
Hello, I would like to integrate struts2 in an CRUD application , JDBC, Apache Tomcat, Netbeans ( or eclipse ) but without Hibernate , nor EJB, nor GlassFish. Hibernate is more complex than the problem it tries to solveCould you have any integration example please ? Thanks, Regards, Chris

Re: CRUD sample and slides

2014-09-01 Thread Johannes Geppert
Thank you for sharing this Christoph. Best Regards Johannes # web: http://www.jgeppert.com twitter: http://twitter.com/jogep 2014-09-01 10:27 GMT+02:00 Christoph Nenning : > Hi, > > > for the talk I gave last week I created a new

CRUD sample and slides

2014-09-01 Thread Christoph Nenning
Hi, for the talk I gave last week I created a new CRUD sample which I pushed to github: https://github.com/wolpi/struts2-crud-sample You can also find by slides there, they are partly in german. regards, Christoph This Email was scanned by Sophos Anti Virus

Re: CRUD through RESTful

2014-04-25 Thread Antonio Sánchez
Right: "struts2-rest-showcase" works fine with tomcat 7 and 8.0.5. Thank you :) El vie 25 abr 2014 12:41:16 CEST, Lukasz Lenart escribió: 2014-04-25 10:28 GMT+02:00 Antonio Sánchez : 1. So, RESTful plug-in is just for implementing web services in Struts2, isn't it? Basically yes, how you wil

Re: CRUD through RESTful

2014-04-25 Thread Lukasz Lenart
2014-04-25 10:28 GMT+02:00 Antonio Sánchez : > 1. So, RESTful plug-in is just for implementing web services in Struts2, > isn't it? Basically yes, how you will use it is up to you :-) > 2. IMHO, a more detailed documentation would help newbies understand how-to > use REST plugin. Specially, expla

Re: CRUD through RESTful

2014-04-25 Thread Antonio Sánchez
nart escribió: 2014-04-24 20:16 GMT+02:00 Antonio Sánchez : Hello. 1. Nowadays: Is RESTful the most recommended approach for implementing CRUD applications with Struts2? Or is it equivalent to old CRUD style? What are you doing in your new projects? No, if your application is a simple CRUD I

Re: CRUD through RESTful

2014-04-24 Thread Lukasz Lenart
Wiki updated https://cwiki.apache.org/confluence/display/WW/REST+Plugin - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: CRUD through RESTful

2014-04-24 Thread Lukasz Lenart
2014-04-24 20:16 GMT+02:00 Antonio Sánchez : > Hello. > > 1. Nowadays: Is RESTful the most recommended approach for implementing CRUD > applications with Struts2? Or is it equivalent to old CRUD style? What are > you doing in your new projects? No, if your application is a

CRUD through RESTful

2014-04-24 Thread Antonio Sánchez
Hello. 1. Nowadays: Is RESTful the most recommended approach for implementing CRUD applications with Struts2? Or is it equivalent to old CRUD style? What are you doing in your new projects? 2. Where can I find detailed documentation about RESTful with Struts2? IMHO, current REST plugin

Re: Struts CRUD demo OK but only Struts-2.0.6 version

2014-01-27 Thread Lukasz Lenart
2014-01-28 Chris : > Thanks, But I 'm not sure to understand . > Do I have to stop to use Struts2 ? > I don't want to use java persistence framework > I just try to find a CRUD example without Java persistence framework. Struts2 is all about web development - that&#x

Re: Struts CRUD demo OK but only Struts-2.0.6 version

2014-01-27 Thread Chris
Thanks, But I 'm not sure to understand . Do I have to stop to use Struts2 ? I don't want to use java persistence framework I just try to find a CRUD example without Java persistence framework. Regards Le Lundi 27 janvier 2014 17h37, Lukasz Lenart a écrit : 2014-01-27 Chris : >

Re: Struts CRUD demo OK but only Struts-2.0.6 version

2014-01-27 Thread Lukasz Lenart
2014-01-27 Chris : > Hello, > Do you know, where we can read a 2.3.16 version of > http://struts.apache.org/release/1.2.x/faqs/database.html ? It isn't supported in 2.x at all - it was a bad idea from very beginning, instead you can use Spring, myBatis or JPA directly. Regards -- Łukasz + 48 60

Re: Struts CRUD demo OK but only Struts-2.0.6 version

2014-01-27 Thread Chris
ame do you want to retrieve ? ) > - the screen with the found names...etc > > Regards, > > Chris > > > > > > Le Jeudi 23 janvier 2014 7h47, Lukasz Lenart a > écrit : > > 2014/1/22 Chris : >> Hello, >> >> Il would be interesting to begin the CRUD

Re: Struts CRUD demo OK but only Struts-2.0.6 version

2014-01-24 Thread Lukasz Lenart
> écrit : > > 2014/1/22 Chris : >> Hello, >> >> Il would be interesting to begin the CRUD example with both a login.jsp and >> a search.jsp > > Not sure what you mean by that :\ > > > > Regards > -- > Łukasz > + 48 606 323 122 http://www.le

Re: Struts CRUD demo OK but only Struts-2.0.6 version

2014-01-24 Thread Chris
Jeudi 23 janvier 2014 7h47, Lukasz Lenart a écrit : 2014/1/22 Chris : > Hello, > > Il would be interesting to begin the CRUD example with both a login.jsp and a > search.jsp Not sure what you mean by that :\ Regards -- Łukasz + 48 606 323 122 http://www.l

Re: Struts CRUD demo OK but only Struts-2.0.6 version

2014-01-22 Thread Lukasz Lenart
2014/1/22 Chris : > Hello, > > Il would be interesting to begin the CRUD example with both a login.jsp and a > search.jsp Not sure what you mean by that :\ Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/

Re: Struts CRUD demo OK but only Struts-2.0.6 version

2014-01-22 Thread Chris
Hello, Il would be interesting to begin the CRUD example with both a login.jsp and a search.jsp Regards Le Lundi 13 janvier 2014 11h50, Lukasz Lenart a écrit : And the CRUD example has been rewritten to use the latest S2 version https://issues.apache.org/jira/browse/WW-3993 2014/1

Re: Struts CRUD demo OK but only Struts-2.0.6 version

2014-01-13 Thread Lukasz Lenart
And the CRUD example has been rewritten to use the latest S2 version https://issues.apache.org/jira/browse/WW-3993 2014/1/13 Lukasz Lenart : > 2014/1/11 Chris : >> java.lang.reflect.InvocationTargetException - Class: >> com.opensymphony.xwork2.inject.ContainerImpl$MethodI

Re: Struts CRUD demo OK but only Struts-2.0.6 version

2014-01-13 Thread Lukasz Lenart
2014/1/11 Chris : > java.lang.reflect.InvocationTargetException - Class: > com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector > File: ContainerImpl.java > Method: inject > Line: 301 - com/opensymphony/xwork2/inject/ContainerImpl.java:301:-1 > at org.apache.struts2.dispatcher.Dispatche

Re: Struts CRUD demo OK but only Struts-2.0.6 version

2014-01-13 Thread Lukasz Lenart
nerBuilder$7.call(ContainerBuilder.java:484) > at > com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:584) > at > com.opensymphony.xwork2.inject.ContainerBuilder.create(ContainerBuilder.java:484) > at > com.opensymphony.xwork2.config.impl.De

Re: Struts CRUD demo OK but only Struts-2.0.6 version

2014-01-11 Thread Chris
itter.com/jogep 2014/1/11 Chris > Hello, > Are dependencies missing ? > > Struts 2 CRUD Example works fine but only in Struts-2.0.6 not in > Struts-2.3.16 > > http://struts.apache.org/development/2.x/docs/tutorials.html > Tutorials / Speciality / CRUD Made Easy / CRUD Demo I /

Re: Struts CRUD demo OK but only Struts-2.0.6 version

2014-01-11 Thread Chris
classpath! Please add missed dependency! Best Regards Johannes # web: http://www.jgeppert.com twitter: http://twitter.com/jogep 2014/1/11 Chris > Hello, > Are dependencies missing ? > > Struts 2 CRUD Example works fine but only in Struts

Re: Struts CRUD demo OK but only Struts-2.0.6 version

2014-01-11 Thread Johannes Geppert
2014/1/11 Chris > Hello, > Are dependencies missing ? > > Struts 2 CRUD Example works fine but only in Struts-2.0.6 not in > Struts-2.3.16 > > http://struts.apache.org/development/2.x/docs/tutorials.html > Tutorials / Speciality / CRUD Made Easy / CRUD Demo I / Struts 2

Struts CRUD demo OK but only Struts-2.0.6 version

2014-01-11 Thread Chris
Hello, Are dependencies missing ? Struts 2 CRUD Example works fine but only in Struts-2.0.6 not in Struts-2.3.16   http://struts.apache.org/development/2.x/docs/tutorials.html Tutorials / Speciality / CRUD Made Easy / CRUD Demo I / Struts 2 CRUD Example Old jar files :  commons-beanutils-1.7.0

Re: Struts CRUD generator

2012-07-06 Thread J. Garcia
This is the one that generates crud app from database, as posted here weeks ago: http://struts2builder.sourceforge.net J. On Fri, Jul 6, 2012 at 6:42 PM, Oscar Alvarez wrote: > Take a look at AppFuse. > > http://appfuse.org/display/APF/Home > > 2012/7/5 Mitch Claborn > >

Re: Struts CRUD generator

2012-07-06 Thread Oscar Alvarez
Take a look at AppFuse. http://appfuse.org/display/APF/Home 2012/7/5 Mitch Claborn > I thought I saw a reference fairly recently to a Struts CRUD generator - > generates a complete struts application for database manipulations. Can > someone point me in the right direction?

Re: Struts CRUD generator

2012-07-05 Thread Thomas Sattler
http://struts2builder.sourceforge.net On Thu, Jul 5, 2012 at 8:42 PM, Mitch Claborn wrote: > I thought I saw a reference fairly recently to a Struts CRUD generator - > generates a complete struts application for database manipulations. Can > someone point me in the right direction?

Struts CRUD generator

2012-07-05 Thread Mitch Claborn
I thought I saw a reference fairly recently to a Struts CRUD generator - generates a complete struts application for database manipulations. Can someone point me in the right direction? mitch - To unsubscribe, e-mail: user

Re: CRUD for a set of persistent entities?

2010-06-15 Thread Jan T. Kim
On Thu, Jun 10, 2010 at 07:47:13PM +0100, Ken wrote: > On Thu, 2010-06-10 at 17:38 +0100, Jan T. Kim wrote: > > > Dear List, > > > > is there any technique / package / whatever to set up some basic CRUD > > functionality for a group of persistent classes? > >

Re: CRUD for a set of persistent entities?

2010-06-10 Thread Cimballi
t;> is there any technique / package / whatever to set up some basic CRUD >> functionality for a group of persistent classes? >> >> The idea I have is similar to that of a web based facility similar to >> those GUI database browsers and editors.  In principle this this coul

Re: CRUD for a set of persistent entities?

2010-06-10 Thread Ken
On Thu, 2010-06-10 at 17:38 +0100, Jan T. Kim wrote: > Dear List, > > is there any technique / package / whatever to set up some basic CRUD > functionality for a group of persistent classes? > > The idea I have is similar to that of a web based facility similar to > those

CRUD for a set of persistent entities?

2010-06-10 Thread Jan T. Kim
Dear List, is there any technique / package / whatever to set up some basic CRUD functionality for a group of persistent classes? The idea I have is similar to that of a web based facility similar to those GUI database browsers and editors. In principle this this could be realised using

Re: CRUD with a OneToMany association under Struts 2 / Hibernate 3

2010-04-01 Thread bruno grandjean
lucky ;-) bruno -- From: "adam pinder" Sent: Thursday, April 01, 2010 6:19 PM To: Subject: RE: CRUD with a OneToMany association under Struts 2 / Hibernate 3 so it looks like your issue is more to do with the child values not bei

RE: CRUD with a OneToMany association under Struts 2 / Hibernate 3

2010-04-01 Thread adam pinder
seems unnecessary as struts2 should handle it, but as i say i couldn't get it to do it with arraylists i was using. > From: brgrandj...@live.fr > To: user@struts.apache.org > Subject: RE: CRUD with a OneToMany association under Struts 2 / Hibernate 3

RE: CRUD with a OneToMany association under Struts 2 / Hibernate 3

2010-04-01 Thread bruno grandjean
er.hasNext();) { Child c = (Child) iter.next(); if (c.getId() == idx) return c; } return null; } public void setValues(Set lst) { values = lst; } } So I do not understand the ognl.NoSuchPropertyException I got after submission.. > From: apin...@hotmail.co.uk > To: user@struts.apache.

RE: CRUD with a OneToMany association under Struts 2 / Hibernate 3

2010-04-01 Thread bruno grandjean
com.opensymphony.xwork2.ognl.accessor.XWorkCollectionPropertyAccessor.getProperty(XWorkCollectionPropertyAccessor.java:80) at ognl.OgnlRuntime.getProperty(OgnlRuntime.java:1643) .. Setting params Do u see something wrong?? > From: apin...@hotmail.co.uk > To: user@struts.apache.org > S

RE: CRUD with a OneToMany association under Struts 2 / Hibernate 3

2010-04-01 Thread bruno grandjean
PreparedStatement (open PreparedStatements: 0, globally: 0) delete from PARENT_CHILD where PARENT_ID=? done deleting collection > From: apin...@hotmail.co.uk > To: user@struts.apache.org > Subject: RE: CRUD with a OneToMany association under Struts 2 / Hibernate 3 > Date: Thu, 1

RE: CRUD with a OneToMany association under Struts 2 / Hibernate 3

2010-04-01 Thread adam pinder
bject: RE: CRUD with a OneToMany association under Struts 2 / Hibernate 3 > Date: Thu, 1 Apr 2010 14:51:40 +0200 > > > thks adam but I got now thousand & thousand of lines > > I am afraid that I won't be able to read its before the end of the world in > 2012.. > &

RE: CRUD with a OneToMany association under Struts 2 / Hibernate 3

2010-04-01 Thread bruno grandjean
ny.xwork2.interceptor.ParametersInterceptor=debug > From: apin...@hotmail.co.uk > To: user@struts.apache.org > Subject: RE: CRUD with a OneToMany association under Struts 2 / Hibernate 3 > Date: Thu, 1 Apr 2010 12:57:39 +0100 > > > > > in log4j.properties file (same

RE: CRUD with a OneToMany association under Struts 2 / Hibernate 3

2010-04-01 Thread adam pinder
rom: brgrandj...@live.fr > To: user@struts.apache.org > Subject: RE: CRUD with a OneToMany association under Struts 2 / Hibernate 3 > Date: Thu, 1 Apr 2010 13:54:33 +0200 > > > Dear Adam, > > > > I just added a public Child getValues(int idx) in the Parent class def

RE: CRUD with a OneToMany association under Struts 2 / Hibernate 3

2010-04-01 Thread bruno grandjean
gt; To: user@struts.apache.org > Subject: RE: CRUD with a OneToMany association under Struts 2 / Hibernate 3 > Date: Thu, 1 Apr 2010 12:18:48 +0100 > > > > > turn on the parameterinterceptor logging and make sure as mentioned that > > 1) the values you expect for

RE: CRUD with a OneToMany association under Struts 2 / Hibernate 3

2010-04-01 Thread adam pinder
fr > To: user@struts.apache.org > Subject: RE: CRUD with a OneToMany association under Struts 2 / Hibernate 3 > Date: Thu, 1 Apr 2010 12:16:09 +0200 > > > Dear René > > > > I changed my jsp page so as to integrate the following block: > > > > &

RE: CRUD with a OneToMany association under Struts 2 / Hibernate 3

2010-04-01 Thread bruno grandjean
setParent(Parent cl) { this.cl = cl; } public List getParentList() { return clList; } public void setParentList(List clList) { this.clList = clList; } } > Date: Thu, 1 Apr 2010 11:30:23 +0200 > From: gie...@it-neering.net > To: user@struts.apache.org > Subject: Re: CRUD with a OneT

Re: CRUD with a OneToMany association under Struts 2 / Hibernate 3

2010-04-01 Thread Rene Gielen
or to work properly when applying the posted values. See here for more details: http://struts.apache.org/2.1.8/docs/tabular-inputs.html - René bruno grandjean schrieb: > Dear Rene, > > Thks a lot for replying to me because I am feeling a little bit alone with > my CRUD ;-). In fa

RE: CRUD with a OneToMany association under Struts 2 / Hibernate 3

2010-04-01 Thread bruno grandjean
. All the best Bruno > From: apin...@hotmail.co.uk > To: user@struts.apache.org > Subject: RE: CRUD with a OneToMany association under Struts 2 / Hibernate 3 > Date: Thu, 1 Apr 2010 07:46:59 +0100 > > > > have you got the correct cascade setting on the parent object

RE: CRUD with a OneToMany association under Struts 2 / Hibernate 3

2010-03-31 Thread adam pinder
any sql to update/save children is actually being created. > From: brgrandj...@live.fr > To: user@struts.apache.org > Subject: Re: CRUD with a OneToMany association under Struts 2 / Hibernate 3 > Date: Wed, 31 Mar 2010 22:15:34 +0200 > > D

Re: CRUD with a OneToMany association under Struts 2 / Hibernate 3

2010-03-31 Thread bruno grandjean
Dear Rene, Thks a lot for replying to me because I am feeling a little bit alone with my CRUD ;-). In fact I am trying to build a dynamic MetaCrud. My pb is simple: in the same jsp page I would like to update a Parent object and its Childs (values

Re: CRUD with a OneToMany association under Struts 2 / Hibernate 3

2010-03-31 Thread bruno grandjean
Dear Rene, Thks a lot for replying to me because I am feeling a little bit alone with my CRUD ;-). In fact I am trying to build a dynamic MetaCrud. My pb is simple: in the same jsp page I would like to update a Parent object and its Childs (values): name="name"

Re: CRUD with a OneToMany association under Struts 2 / Hibernate 3

2010-03-31 Thread Rene Gielen
I'm not sure if I understand what your actual question is, nor whether it is particularly Struts 2 related (rather than just Hibernate) - but you might want to have a look in the CRUD demo section of the Struts 2 showcase application. Maybe you will also find this demo useful: http://githu

CRUD with a OneToMany association under Struts 2 / Hibernate 3

2010-03-27 Thread bruno grandjean
Hi I am trying to implement a simple CRUD with a OneToMany association under Struts 2 / Hibernate 3. I have two entities Parent and Child: @Entity @Table(name="PARENT") public class Parent { private Long id; private Set values = new HashSet(); .. @Entity @Table(name="CHILD

Re: CRUD operations for 100 tables

2010-01-02 Thread Paul Benedict
I believe AppFuse 2.x can help you. Go google it. It is a code generator that will create model objects and Struts actions out of your database schema. Paul On Sat, Jan 2, 2010 at 3:48 PM, nani2ratna wrote: > > Hi, > > I need to do CRUD operations for almost 100 tables in 9 schema

CRUD operations for 100 tables

2010-01-02 Thread nani2ratna
Hi, I need to do CRUD operations for almost 100 tables in 9 schemas but in one web application. I am using struts 2, spring and ibatis. I can do this by writting 100 jsp's, 100 actions and so on. There is no common column in those tables. Can any body have any idea to do this. Is there b

Re: struts 2.1.6 crud app

2009-06-22 Thread jill juneja
at 1:03 PM, jill juneja wrote: > I downloaded crud app from > http://struts.apache.org/2.x/docs/crud-demo-i.html > > Every thing is working but - in s:url paramter is not being passed. I tired > every thing. > > But employee object is always null despite it show in url cor

struts 2.1.6 crud app

2009-06-22 Thread jill juneja
I downloaded crud app from http://struts.apache.org/2.x/docs/crud-demo-i.html Every thing is working but - in s:url paramter is not being passed. I tired every thing. But employee object is always null despite it show in url correctly. In url it shows - http://149.10.178.12:8990/crud/crud

Re: Auto generate Struts 2 CRUD functionality

2009-06-07 Thread Thomas Sattler
le that would generate basic Struts 2 CRUD functionality for me. > > Regards > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > >

Re: Auto generate Struts 2 CRUD functionality

2009-06-07 Thread Musachy Barroso
t the database set up and > the Entity classes are all defined. I was wondering if there was a tool > available that would generate basic Struts 2 CRUD functionality for me. > > Regards > > - >

Auto generate Struts 2 CRUD functionality

2009-06-07 Thread Roger
I'm experimenting with Struts 2 and OpenJPA. I've got the database set up and the Entity classes are all defined. I was wondering if there was a tool available that would generate basic Struts 2 CRUD functionality for me

Re: Struts2 crud application gone wrong

2009-04-21 Thread Burton Rhodes
Can't you just add a parameter to the redirect action in you xml file? That way you can 'pass' the sampleString to the redirect action and can display it upon rendering the jsp. On 4/20/09, Bhaarat Sharma wrote: > yeah it is a redirectAction :( so now i know why the value for the string is > not

Re: Struts2 crud application gone wrong

2009-04-20 Thread Bhaarat Sharma
yeah it is a redirectAction :( so now i know why the value for the string is not there. Any workarounds to this issue? One I thought of is to set an attribute and retrieve it in the jsp page? Thanks On Mon, Apr 20, 2009 at 3:57 PM, Dave Newton wrote: > If it's a "redirectAction" then the acti

Re: Struts2 crud application gone wrong

2009-04-20 Thread Dave Newton
If it's a "redirectAction" then the action will be re-instantiated. Dave Bhaarat Sharma wrote: sorry about the typo. as i was trying to give an example and not just copy paste the code I made a mistake. This is what I have in my jsp page. I have verified whether it is because of a typograph

Re: Struts2 crud application gone wrong

2009-04-20 Thread Bhaarat Sharma
I just debugged the code and it seems like the doSave method is called when 'Submit' is hit on the edit page. However, since the doSave is returning Success and based on struts.xml it will redirect to action index then the prepare method for EmployeeAction class is called again and at this time sa

Re: Struts2 crud application gone wrong

2009-04-20 Thread Bhaarat Sharma
sorry about the typo. as i was trying to give an example and not just copy paste the code I made a mistake. This is what I have in my jsp page. I have verified whether it is because of a typographical error but it is not. And since you are saying it cant be because I am just calling a particula

Re: Struts2 crud application gone wrong

2009-04-20 Thread Dave Newton
Bhaarat Sharma wrote: What I wanted to do was that when user edits something and comes back to the listing page, they see a message on top saying id XXX has been modified. However, I think this is not possible because a method name is mentioned in struts.xml. Is that correct? No. to try it o

Struts2 crud application gone wrong

2009-04-20 Thread Bhaarat Sharma
hi guys, i was using the example crud application ( http://struts.apache.org/2.0.14/docs/crud-demo-i.html) as the skeleton for a CRUD like module in my site. But I've ran into a dead end. in this sample applications the package is like this:

Re: sample CRUD application question

2009-04-15 Thread Bhaarat Sharma
configure your application to allow >> the bang (!) notation, the client gets to choose *any* of the >> public methods on your action and use them as action methods as opposed to >> you listing what your action methods are explicitly. >> So?the developer has to be cautious becaus

Re: sample CRUD application question

2009-04-15 Thread Bhaarat Sharma
on the > action become fair game. > Chris? > > > -Original Message- > From: Dave Newton > To: Struts Users Mailing List > Sent: Tue, 14 Apr 2009 2:25 pm > Subject: Re: sample CRUD application question > > > Bhaarat Sharma wrote:? > > so what would be a wa

Re: sample CRUD application question

2009-04-14 Thread musomesa
cautious because all public methods on the action become fair game. Chris? -Original Message- From: Dave Newton To: Struts Users Mailing List Sent: Tue, 14 Apr 2009 2:25 pm Subject: Re: sample CRUD application question Bhaarat Sharma wrote:? > so what would be a way to avoid that?? >

Re: sample CRUD application question

2009-04-14 Thread Dave Newton
Bhaarat Sharma wrote: Again, for reference here is the link for the sample application wiki: http://struts.apache.org/2.0.14/docs/crud-demo-i.html In this sample there is a page called employee.jsp where there is a link for Edit. code is

Re: sample CRUD application question

2009-04-14 Thread Bhaarat Sharma
I will definitely look into that. I have another question regarding this same sample. Again, for reference here is the link for the sample application wiki: http://struts.apache.org/2.0.14/docs/crud-demo-i.html In this sample there is a page called employee.jsp where there is a link for Edit

RE: sample CRUD application question

2009-04-14 Thread Security Management
Spring Security is worth every minute of the learning curve, too. M. -Original Message- From: Bhaarat Sharma [mailto:bhaara...@gmail.com] Sent: Tuesday, April 14, 2009 2:08 PM To: Struts Users Mailing List Subject: Re: sample CRUD application question so what would be a way to avoid

Re: sample CRUD application question

2009-04-14 Thread Dave Newton
Bhaarat Sharma wrote: so what would be a way to avoid that? use this instead? I don't see any difference there. I'm not sure what the original response had in mind; the same thing could happen with a POST form. Normally one would check for delete access rights on the server si

Re: sample CRUD application question

2009-04-14 Thread Bhaarat Sharma
tabase in an adhoc > fashion. > Chris M > > > > > > > > -Original Message- > From: Bhaarat Sharma > To: Struts Users Mailing List > Sent: Tue, 14 Apr 2009 11:03 am > Subject: Re: sample CRUD application question > > > > oh cool so i can just a

Re: sample CRUD application question

2009-04-14 Thread musomesa
am Subject: Re: sample CRUD application question oh cool so i can just add method parameter myself. damn the shorthands. we need a wiki that explains all these On Tue, Apr 14, 2009 at 11:01 AM, Security Management < list-subscripti...@secmgmt.com> wrote: > I *think* it's the

Re: sample CRUD application question

2009-04-14 Thread Dave Newton
Bhaarat Sharma wrote: oh cool so i can just add method parameter myself. damn the shorthands. we need a wiki that explains all these There *is* a wiki that explains all these. See the "Dynamic Method Invocation" section: http://struts.apache.org/2.0.14/docs/action-configuration.html Dave -

Re: sample CRUD application question

2009-04-14 Thread Bhaarat Sharma
s, the equivilant of: > > > > > Mike. > -Original Message- > From: Bhaarat Sharma [mailto:bhaara...@gmail.com] > Sent: Tuesday, April 14, 2009 10:55 AM > To: Struts Users Mailing List > Subject: sample CRUD application question > > I was lo

RE: sample CRUD application question

2009-04-14 Thread Security Management
I *think* it's the method name of the action? In other words, the equivilant of: Mike. -Original Message- From: Bhaarat Sharma [mailto:bhaara...@gmail.com] Sent: Tuesday, April 14, 2009 10:55 AM To: Struts Users Mailing List Subject: sample CRUD application question

Re: sample CRUD application question

2009-04-14 Thread Wes Wannemacher
On Tuesday 14 April 2009 10:55:06 Bhaarat Sharma wrote: > > I am lost as to why > shouldnt the action be just "crud" what does the exclamation mark and > delete do?? is that a shorthand for something or is that just an action > name and if it is an action name then

sample CRUD application question

2009-04-14 Thread Bhaarat Sharma
I was looking at the CRUD sample application in struts2 http://struts.apache.org/2.0.14/docs/crud-demo-i.html in one of the jsp's they have this code and some part of the struts.xml is: index /WEB-INF/jsp/employeeFor

RE: ModelDriven CRUD validation failure still causes JPA update - RESOLVED

2008-12-17 Thread Tobias M.
interceptor checks the actionErrors and > fieldErrors and, if any of them is not empty, performs a Hibernate/JPA > session clear. > > Best regards, > > Fabiano Franz > http://fabianofranz.com > http://literar.org > http://pribi.com.br > > -- View this mes

Re: Having problem with Struts CRUD

2008-12-05 Thread Lukasz Lenart
2008/12/5 Vinoth.t <[EMAIL PROTECTED]>: > private String city; > >public Employee(Integer employeeId, String firstName, String lastName, >Integer age, Department department, String city) { >this.employeeId = employeeId; >this.firstName

Having problem with Struts CRUD

2008-12-05 Thread Vinoth.t
Hi, I'm new to Struts. I extract struts-crud.war file in TomCat's webapps folder. Its work fine I changed jsp file to add a field but it shows error msg. First I add a field in emplkoyeeForm.jsp as follow I added a line in classes/guest.property as follow label.city=City In s

Re: [S2] Handling input result on a CRUD action

2008-11-30 Thread Adam Ruggles
it fails it will run >> prepareEdit. >> >> On 11/29/08, Adam Ruggles <[EMAIL PROTECTED]> wrote: >>> >>> I have a problem I'm trying to solve when the validation fails on a crud >>> action. This action has add/create, edit/update, and list meth

Re: [S2] Handling input result on a CRUD action

2008-11-29 Thread Burton Rhodes
11/29/08, Adam Ruggles <[EMAIL PROTECTED]> wrote: >> >> I have a problem I'm trying to solve when the validation fails on a crud >> action. This action has add/create, edit/update, and list methods that >> all >> get called correctly. Now when the validation fail

Re: [S2] Handling input result on a CRUD action

2008-11-29 Thread Dave Newton
--- On Sat, 11/29/08, Burton Rhodes <[EMAIL PROTECTED]> wrote: > Just a thought but why don't put a redirect acrtion in your result > 'input' on your update action. That way if it fails it will run > prepareEdit. Under default circumstances you'd lose your error messages. Dave

Re: [S2] Handling input result on a CRUD action

2008-11-29 Thread Burton Rhodes
Just a thought but why don't put a redirect acrtion in your result 'input' on your update action. That way if it fails it will run prepareEdit. On 11/29/08, Adam Ruggles <[EMAIL PROTECTED]> wrote: > > I have a problem I'm trying to solve when the validation fails

Re: [S2] Handling input result on a CRUD action

2008-11-29 Thread Adam Ruggles
prepareWhenErrors" or something. > > Dave > > --- On Sat, 11/29/08, Adam Ruggles <[EMAIL PROTECTED]> wrote: >> I have a problem I'm trying to solve when the validation >> fails on a crud >> action. This action has add/create, edit/update, and

Re: [S2] Handling input result on a CRUD action

2008-11-29 Thread Dave Newton
olve when the validation > fails on a crud > action. This action has add/create, edit/update, and list > methods that all > get called correctly. Now when the validation fails I have > a list of items > that I need loaded. Right now I have a prepareEdit and > prepareAdd meth

[S2] Handling input result on a CRUD action

2008-11-29 Thread Adam Ruggles
I have a problem I'm trying to solve when the validation fails on a crud action. This action has add/create, edit/update, and list methods that all get called correctly. Now when the validation fails I have a list of items that I need loaded. Right now I have a prepareEdit and prepa

Re: RESTful Crud clean url:s, advanced howto anybody?

2008-10-27 Thread Leonard Broman
s? >> >> /Leo >> >> - >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> > >

Re: RESTful Crud clean url:s, advanced howto anybody?

2008-10-24 Thread Ryan Wong
scribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > ----- Blog: http://www.ryanwong.name Can Use: English, Chinese -- View this message in context: http://www.nabble.com/RESTful-Crud-cl

RE: RESTful Crud clean url:s, advanced howto anybody?

2008-10-19 Thread Martin Gainty
ned within this transmission. > Date: Sun, 19 Oct 2008 00:02:06 +0200 > From: [EMAIL PROTECTED] > To: user@struts.apache.org > Subject: RESTful Crud clean url:s, advanced howto anybody? > > Hey! > > I've been looking around quite some time for a solution how to buil

RESTful Crud clean url:s, advanced howto anybody?

2008-10-18 Thread Leonard Broman
Hey! I've been looking around quite some time for a solution how to build a neat REST driven web application. What I basically want to do is something like this: GET /item/user/category/name Should map to ItemController which has the properties user (username, or id per default), category and na

Re: Struts 2 CRUD Question

2008-10-10 Thread Dave Newton
--- On Fri, 10/10/08, Alberto Flores wrote: > prototype: Scopes a single bean definition to any number of > object instances. > > request: Scopes a single bean definition to the lifecycle > of a single HTTP request; that is each and every HTTP request > will have its own instance of a bean create

Re: Struts 2 CRUD Question

2008-10-10 Thread Alberto Flores
So, from the Spring documentation: prototype: Scopes a single bean definition to any number of object instances. request: Scopes a single bean definition to the lifecycle of a single HTTP request; that is each and every HTTP request will have its own instance of a bean created off the back o

Re: Struts 2 CRUD Question

2008-10-10 Thread Dave Newton
--- On Fri, 10/10/08, Alberto Flores <[EMAIL PROTECTED]> wrote: > Don't you mean scope="request" and not "prototype"? No, "prototype" is the correct scope for action beans. Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For a

Re: Struts 2 CRUD Question

2008-10-10 Thread Alberto Flores
om: Dave Newton [mailto:[EMAIL PROTECTED] Sent: 09 October 2008 17:20 To: Struts Users Mailing List Subject: RE: Struts 2 CRUD Question --- On Thu, 10/9/08, Gawain Hammond wrote: Does struts create a new object for every submit? And under what circumstance would it not? Actions are created per-requ

Re: Struts 2 CRUD Question

2008-10-10 Thread stanlick
; From: Dave Newton [mailto:[EMAIL PROTECTED] > Sent: 09 October 2008 17:20 > To: Struts Users Mailing List > Subject: RE: Struts 2 CRUD Question > > --- On Thu, 10/9/08, Gawain Hammond wrote: > > Does struts create a new object for every submit? And under > > what circumstan

RE: Struts 2 CRUD Question

2008-10-10 Thread Gawain Hammond
long shot, but I'm stumped. I've not written any custom interceptors or anything, it's all pretty bog standard actions and struts forms. -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: 09 October 2008 17:20 To: Struts Users Mailing List Subject: R

  1   2   >