Is there a Maven2-repo for Struts2-snapshots?

2006-10-06 Thread Wesslan
Well, the subject says it all, doesn't it? :-) I've recently switched from Webwork to Struts2 and I like to use the nightly builds with Maven2. Is there a repository for this? Cheers, Peter

Re: bean:write with property="address.postal"

2006-10-06 Thread Uday Karrothi
Can u use I am not sure if the property bean allows "." hope that helps, Uday Karrothi On 10/6/06, Andy.de <[EMAIL PROTECTED]> wrote: Hi folks, i get a javax.servlet.ServletException: Invalid argument looking up property: "address.postal" of bean: "institut" at following scenario: jsp

Validate two fields

2006-10-06 Thread grifoxx
Hi I am trying to validate to password field so I want to check if they have the same values. This my StrutsValidator Class: package com.sfv; import javax.servlet.http.HttpServletRequest; import org.apache.commons.validator.Field; import org.apache.commons.validator.GenericValidator; import or

Re: FRIDAY #1 JavaBeans/Model

2006-10-06 Thread Mississippi John Hurt
I also like Ibatis better. To me, Ibatis is a better, more efficient, more flexible, practical, transparent framework that gives you more control than Hibernate. On 10/6/06, Albert L. Sapp <[EMAIL PROTECTED]> wrote: +1 Al Larry Meadors wrote: > On 10/6/06, Ivo Limmen <[EMAIL PROTECTED]> wrote

Re: FRIDAY #3 Struts 2.0 or Struts 1.x ?

2006-10-06 Thread Mark Menard
On 10/6/06 11:50 AM, "Wesley Wannemacher" <[EMAIL PROTECTED]> wrote: > Last question (until next week) is probably pretty obvious from the > subject. I figure if I am going to build from scratch, I should consider > Struts 2.0. The disadvantage though seems to be that the book I bought > doesn't s

Re: FRIDAY #1 JavaBeans/Model

2006-10-06 Thread Albert L. Sapp
+1 Al Larry Meadors wrote: On 10/6/06, Ivo Limmen <[EMAIL PROTECTED]> wrote: iBATIS is only a small helper tool that will help you to map objects to the database. This requires a lot of code to write. If you use Hibernate you can write the mapping and generate your beans. Hibernate does howev

Re: problem

2006-10-06 Thread Uday Karrothi
I think you need to give more details or a part of the code to see whats wrong. I could give you soem examples   or If you have questions check the attribute details of the logic tag and checkbox tag. http://struts.apache.org/1.2.9/userGuide/struts-logic.ht

Re: FRIDAY #1 JavaBeans/Model

2006-10-06 Thread Larry Meadors
On 10/6/06, Ivo Limmen <[EMAIL PROTECTED]> wrote: iBATIS is only a small helper tool that will help you to map objects to the database. This requires a lot of code to write. If you use Hibernate you can write the mapping and generate your beans. Hibernate does however require some practice, it ha

Re: [Struts2] Issue w/ Tiles.

2006-10-06 Thread Greg Reddin
On Oct 6, 2006, at 10:24 AM, Dave Newton wrote: Using Tiles is probably a requirement but I'm having problems figuring out which builds I'm supposed to be using with Struts2 (and I'm only assuming it's a versioning/snapshot issue). (I'm not supposed to use anything new besides Struts2 for this-

RE: FRIDAY #1 JavaBeans/Model

2006-10-06 Thread Wesley Wannemacher
Hello, > > > First, I am going to design a database, then build a bunch of > > beans that > > more or less represent the data in the database by going > > mostly one bean > > for each table. There will likely be a few cases where one bean will > > represent two tables (1:n relationship, where

RE: FRIDAY #3 Struts 2.0 or Struts 1.x ?

2006-10-06 Thread Dave Newton
> From: Wesley Wannemacher [mailto:[EMAIL PROTECTED] > The disadvantage though seems to be that the book I bought > doesn't seem to deal with 2.0. Will this be a problem? Depends. The two are *very* different. Personally, I have not recommended Struts1 for over two years due to architectural iss

FRIDAY #3 Struts 2.0 or Struts 1.x ?

2006-10-06 Thread Wesley Wannemacher
Last question (until next week) is probably pretty obvious from the subject. I figure if I am going to build from scratch, I should consider Struts 2.0. The disadvantage though seems to be that the book I bought doesn't seem to deal with 2.0. Will this be a problem? Or, is most of the code close en

Re: [Struts2] Issue w/ Tiles.

2006-10-06 Thread Don Brown
First, I would suggest either using Struts 2 HEAD or wait until this weekend when we roll 2.0.1. Then, simply drop in the struts2-tiles.jar plugin and use the latest Tiles 2.0-SNAPSHOT release, and it should work. The Struts 2.0.0 release had known issues with Tiles, particularly newer snapshots

Re: FRIDAY #1 JavaBeans/Model

2006-10-06 Thread Ivo Limmen
Hi Wesley, Our company has just decided to standardize on Struts (1.3.5 currently) and for database mapping for Hibernate 3 and up.Struts is not limited to a specific database mapping tool, so you will need to make a selection. iBATIS is only a small helper tool that will help you to map objects

[Struts2] Issue w/ Tiles.

2006-10-06 Thread Dave Newton
Howdy, Hmmm, a new Struts project-but I get to use Struts2 this time. Digging it. Using Tiles is probably a requirement but I'm having problems figuring out which builds I'm supposed to be using with Struts2 (and I'm only assuming it's a versioning/snapshot issue). (I'm not supposed to use

AW: FRIDAY #1 JavaBeans/Model

2006-10-06 Thread Martin Kindler
> First, I am going to design a database, then build a bunch of > beans that > more or less represent the data in the database by going > mostly one bean > for each table. There will likely be a few cases where one bean will > represent two tables (1:n relationship, where the attributes in the > '

Re: FRIDAY #1 JavaBeans/Model

2006-10-06 Thread Albert L. Sapp
Wesley Wannemacher wrote: Hello, I am not really a Java Guru, but have made the experience that in effect the name "Bean" is - in the context of Struts-based Webapps - really nothing more than a POJO following the naming conventions of JavaBeans for getters/setters. Awesome, thank

Re: FRIDAY #1 JavaBeans/Model

2006-10-06 Thread Albert L. Sapp
Wesley, From personal experience, I know where you are coming from. I started out knowing even less about this than you. I will say though that it was fairly easy and quick to pick up both Struts and iBatis. The design standards were handed down from a project leader long gone before we ev

Re: FRIDAY #2 non-MVC pages

2006-10-06 Thread Simon Chappell
On 10/6/06, Leon Rosenberg <[EMAIL PROTECTED]> wrote: you probably want the http://struts.apache.org/1.x/struts-extras/apidocs/org/apache/struts/actions/ForwardAction.html +1 (yeah, what he said) Simon -- simonpeter.org | simonpeter.com | techbook.info ---

RE: FRIDAY #1 JavaBeans/Model

2006-10-06 Thread Wesley Wannemacher
Hello, > > I am not really a Java Guru, but have made the experience > that in effect the > name "Bean" is - in the context of Struts-based Webapps - > really nothing > more than a POJO following the naming conventions of JavaBeans for > getters/setters. Awesome, thanks! I figured as much, b

Re: FRIDAY #2 non-MVC pages

2006-10-06 Thread Joe Germuska
When building a struts application, is it a good idea to base everything on actions? For instance, let's say I'm writing an 'About Us' page or 'Terms Of Service'... Should I build an action to handle them, or just write the JSP. My assumption is that it would be pedantic to have struts handle it,

Re: FRIDAY #1 JavaBeans/Model

2006-10-06 Thread Simon Chappell
On 10/6/06, Wesley Wannemacher <[EMAIL PROTECTED]> wrote: Hello, I'm exercising the 'Casual Friday' rule here to ask some general questions. I apologize in advance if I break any list etiquette, but I subscribed on Monday and have been waiting patiently for Friday so that I can get these questio

Re: FRIDAY #2 non-MVC pages

2006-10-06 Thread Leon Rosenberg
you probably want the http://struts.apache.org/1.x/struts-extras/apidocs/org/apache/struts/actions/ForwardAction.html :-) Leon On 10/6/06, Wesley Wannemacher <[EMAIL PROTECTED]> wrote: Hello, This is my next question... When building a struts application, is it a good idea to base everything

Re: FRIDAY #1 JavaBeans/Model

2006-10-06 Thread Larry Meadors
The iBATIS in Action book has a really good sample application that uses iBATIS and Struts. You can get the ebook now in from the MEAP ($22.50), but if you need the dead tree version, it won't be ready until December: - http://manning.com/begin/ If free is more your price range, Rick Reumann has

FRIDAY #2 non-MVC pages

2006-10-06 Thread Wesley Wannemacher
Hello, This is my next question... When building a struts application, is it a good idea to base everything on actions? For instance, let's say I'm writing an 'About Us' page or 'Terms Of Service'... Should I build an action to handle them, or just write the JSP. My assumption is that it would be

Re: problem in

2006-10-06 Thread Jay
Thanks alot, it solved my problem Jay Puneet Lakhina wrote: > > On 10/6/06, Jay <[EMAIL PROTECTED]> wrote: >> >> >> Hi, iam using struts with tmocat 5. my struts-cofig.xml is like this one >> >> > path="/user" >> type="com.ufnasoft.cms.processaction.ProcessUser" >> name="createFolder" >> >> sco

AW: FRIDAY #1 JavaBeans/Model

2006-10-06 Thread Martin Kindler
I am not really a Java Guru, but have made the experience that in effect the name "Bean" is - in the context of Struts-based Webapps - really nothing more than a POJO following the naming conventions of JavaBeans for getters/setters. With respect to the "middle layer", it really pays off to separa

FRIDAY #1 JavaBeans/Model

2006-10-06 Thread Wesley Wannemacher
Hello, I'm exercising the 'Casual Friday' rule here to ask some general questions. I apologize in advance if I break any list etiquette, but I subscribed on Monday and have been waiting patiently for Friday so that I can get these questions off my chest. Thanks! I've been working on Java/JSP for

Re: problem in

2006-10-06 Thread Puneet Lakhina
On 10/6/06, Jay <[EMAIL PROTECTED]> wrote: Hi, iam using struts with tmocat 5. my struts-cofig.xml is like this one and form bean tag is Action class is as following: CreateFolderForm folders = (CreateFolderForm) form; File dir = new File("../users"); ArrayList dirList=new java.util.Arr

problem in

2006-10-06 Thread Jay
Hi, iam using struts with tmocat 5. my struts-cofig.xml is like this one and form bean tag is Action class is as following: CreateFolderForm folders = (CreateFolderForm) form; File dir = new File("../users"); ArrayList dirList=new java.util.ArrayList(); String[] subdir = dir.list(); if (su

bean:write with property="address.postal"

2006-10-06 Thread Andy.de
Hi folks, i get a javax.servlet.ServletException: Invalid argument looking up property: "address.postal" of bean: "institut" at following scenario: jsp: ... institusliste is a list of objects, type institut Class institut has a getter for address public adress getAddress() { return this.m

problem

2006-10-06 Thread Mallik
Hi friends i have a form where i use if i use first three it is ok,but when i use it is stopping display from there after why this problem? let me know thanks in advance ur's Mallik -- View this message in context: http://www.nabble.com/%3Chtml%3Acheckbox%3E-problem-tf2394658.html#a6676742

Dynamic Bean

2006-10-06 Thread Puneet Lakhina
Hi, I have a set of values in map with appropriate keys. I dont know the keys that will be present in the map as that is decided on run time. Is it possible for me to create a bean and populate it based on the keys and values in the map at run time. I know BeanUtils.populate can populate a bean,

Re: strange error: submit-value is not always available (update)

2006-10-06 Thread Andreas . Hartmann
Hello! I've got a jsp, which is really easy: Sometimes (!!!), if a user submits this form, the getter getAktion() in the ActionForm-class becomes null as value (the null is set for the variable in the reset-method of the ActionForm-class). Why? Does anybody has an idea how to solve thi

strange error: submit-value is not always available

2006-10-06 Thread Andreas . Hartmann
Hello! I've got a jsp, which is really easy: Sometimes (!!!), if a user submits this form, the getter getAktion() in the ActionForm-class becomes null as value (the null is set for the variable in the reset-method of the ActionForm-class). Why? Does anybody has an idea how to solve th

Re: making complex objects available for View to extract subobjects

2006-10-06 Thread Alex Shneyderman
J. Patrick Bedell wrote: > Hello, > Sorry for what is surely a FAQ from a struts newbie... > I'm trying to make a complex object available to my JSP so that > code in the JSP can access subobjects within the original object (it's > an Amazon Item object generated with XMLBeans). What is the r