RE: Newbie question re. forms in combination with tiles

2004-06-27 Thread Jan Behrens
You are right Rick ;) Those are my favourite problems... they just disappear Cheers, Jan -Original Message- From: Rick Reumann [mailto:[EMAIL PROTECTED] Sent: Saturday, June 26, 2004 6:48 PM To: Struts Users Mailing List Subject: Re: Newbie question re. forms in combination with tiles

Nested dispatch action

2004-06-27 Thread Mark Lowe
I've been looking through the struts source with a view to trying to find a way of handling nested dispatch actions. Basically the problem is passing through an index or key to the getMethodName (MappedDispatchAction) or the getKeyMethodMap (LookupDispatchAction) and running a method based on

Re: Nested dispatch action

2004-06-27 Thread Michael McGrady
Danged if I can make out what it is you are trying to do, Mark. You say: The situation is that i need to add an item to the the levelOne object. But when submitting there's no way of grabbing the index and thus knowing which of the levelOne objects to add a new rows of nested object to. This

Returned From List

2004-06-27 Thread Michael McGrady
Anyone know why we keep getting these irritating messages every time we send something to the list? Subject: Undeliverable: Re: Nested dispatch action To: [EMAIL PROTECTED] Your message To: Struts Users Mailing List [EMAIL PROTECTED]@[EMAIL PROTECTED]; Struts Users Mailing List [EMAIL

EJB + Struts + Hibernate

2004-06-27 Thread Irfandhy Franciscus
Hi, Does any of you guys has eve developed Web Apps using Struts and hibernate ? If you have, do you think EJB is a necessary layer on top of hibernate ? Thanks in advance ^^ Regards, Irfandhy Franciscus - To

Re: EJB + Struts + Hibernate

2004-06-27 Thread Bryan Hunt
I don't believe it is unless you feel that the application will need to be distributed across a cluster. I use the (excellent) spring framework ( springframework.org ) so that I can plug into a EJB layer if necessary in the future. --b Irfandhy Franciscus wrote: Hi, Does any of you guys has

Re: Recommend Struts Plugins for Eclipse?

2004-06-27 Thread Bryce Fischer
Struts Studio. The best... Struts Studio is ok. My only issue is that about a year ago, I bought it. Since then, they've had 2 paid updates. That's a lot of dough. I haven't bothered to update to 6.x yet, as I cannot see any benefits. I'm currently looking at NitroX from M7. Has some nice

Re: Nested dispatch action

2004-06-27 Thread Mark Lowe
I've got a strange problem where I've extended LookupDispatchAction with my own version and then in turn extended that to create NestedDispatchAction for one reason or another the getClass method DispatchAction throws a NoSuchMethodException even though its there and works quite happily when

Firebird relative url

2004-06-27 Thread Pavlikus
Hi all. I use Firebird with Hibernate. Is any way to specify relative url for database url? I was try many variants of url, but all of them fail. My hibernate.properties file: hibernate.connection.url jdbc:firebirdsql:localhost/3050:/WEB-INF/db/mydb.gdb - fail

Re: Nested dispatch action

2004-06-27 Thread Mark Lowe
I gave up my tree barking with that last approach and simply defined a index int with get and sets in my NestedDispatchAction class. Now when i submit my indexed button html:submit property=method indexed=true .. But getMethodName called in my execute method returns null. null[index] On 27 Jun

Re: EJB + Struts + Hibernate

2004-06-27 Thread Irfandhy Franciscus
Thanks for the reply. So far I have tested my apps with JUnit and HttpUnit using a single resin serve. and it is working fine. I am just scared that it would not be able to handle heavy concurrent transaction without EJB. Thanks for the replies. Mark Lowe wrote: +1 You'll want to look at

Re: Nested dispatch action

2004-06-27 Thread Rick Reumann
Mark Lowe wrote: I've been looking through the struts source with a view to trying to find a way of handling nested dispatch actions. I don't think it matters what kind of action it is, but maybe I'm missing what you are trying to do. I've looked at what you have below, but I confused from a

Re: EJB + Struts + Hibernate

2004-06-27 Thread Michael McGrady
What's so special about SPRING? I am always interested in application frameworks. Can anyone give a quick synopsis of the pluses and minuses? Micahel At 07:42 AM 6/27/2004, Mark Lowe wrote: +1 You'll want to look at spring whether you want to use EJB or Hibernate. On 27 Jun 2004, at 16:02,

Re: EJB + Struts + Hibernate

2004-06-27 Thread Mark Lowe
Well I'm using it to deal with the business service side of my applications between hibernate and struts. It saves me a lot of work. I can really say anymore than that. This article turned me on to it: http://www.onjava.com/pub/a/onjava/2004/04/07/wiringwebapps.html And matt raiable's app

Re: RE : Struts, XDoclet, and Maven...

2004-06-27 Thread Mark Lowe
I had a go with struts xdoclet tags, the advantages aren't that great but it does help keeping the mapping information in the same file. Given there are no real cross container issues relating to the struts-config file then its not as useful as webdoclet tags. The other problem is that i think

Re: EJB + Struts + Hibernate

2004-06-27 Thread Pedro Salgado
Have you checked iBatis? www.ibatis.com Pedro Salgado On 04/06/27 12:16, Irfandhy Franciscus [EMAIL PROTECTED] wrote: Thanks for the reply. So far I have tested my apps with JUnit and HttpUnit using a single resin serve. and it is working fine. I am just scared that it would not be able

Re: EJB + Struts + Hibernate

2004-06-27 Thread Vic Cekvenich
EJB is heavy, therefore slow and less scaleable. So in order to support a heavy transaction load, you would avoid it. (and I think the reason somone mentioned iBatis is that it's popular and scaleable, more so that Hibrenate becuase it's lower to the metal (SQL)) .V Irfandhy Franciscus wrote:

Re: Recommend Struts Plugins for Eclipse?

2004-06-27 Thread Sebastian Ho
I tried JDeveloper 10g last week. It has visual view of your struts flow, JSP editing, struts-config editing, etc. Works great! sebastian BII On Sun, 2004-06-27 at 22:22, Bryce Fischer wrote: Struts Studio. The best... Struts Studio is ok. My only issue is that about a year ago, I bought

multiple submit buttons/one form

2004-06-27 Thread Eric Schneider
Hi, What is best approach using Struts for a forms that have multiple submit buttons. Is it possible to bind actions to submit buttons instead of forms? Ideally, I'd like each submit button to execute different actions. Looking at the docs, a solution hasn't jumped out at me. This is

RE: multiple submit buttons/one form

2004-06-27 Thread William Ferguson
Suggest that you create a RelayAction that looks for a certain Form/Request parameter (set by your buttons). The RelayAction then just forwards onto the real Actions that you want performed, based on the value of the Request parameter. William -Original Message- From: Eric Schneider

Re: multiple submit buttons/one form

2004-06-27 Thread Martin . Rademacher
There is a nice solution described here http://husted.com/struts/tips/003.html using the LookupDispatchAction action. Cheers, Martin Eric Schneider [EMAIL PROTECTED] 28/06/2004 14:47 Please respond to Struts Users Mailing List [EMAIL PROTECTED] To Struts Users Mailing List [EMAIL

LookupDispatchAction Default Action

2004-06-27 Thread Rodney Paul
Hi All, I have a problem in regards to the LookupDispatchAction Struts class. My problem is in regards to a user pressing the Enter key on a keyboard. In this scenario, a form submit has been activated via html, with no submit buttons having been pressed. When Struts see's this, the Struts

LookupDispatchAction Default Action

2004-06-27 Thread Rodney Paul
Hi All, I have a problem in regards to the LookupDispatchAction Struts class. My problem is in regards to a user pressing the Enter key on a keyboard. In this scenario, a form submit has been activated via html, with no submit buttons having been pressed. When Struts see's this, the

LookupDispatchAction Error When Pressing Enter Key

2004-06-27 Thread Rodney Paul
Hi All, I have a problem in regards to the LookupDispatchAction Struts class. My problem is in regards to a user pressing the Enter key on a keyboard. In this scenario, a form submit has been activated via html, with no submit buttons having been pressed. When Struts see's this, the Struts

Re: LookupDispatchAction Default Action

2004-06-27 Thread Michael McGrady
The easy answer is that you can have your framework do whatever you want it to do when it receives a URL. If the URL is directed to the Struts ActionServlet by your server, you can also code further choices, etc. there. At 08:33 PM 6/27/2004, Rodney Paul wrote: Hi All, I have a problem in

nested:test problem Please Help me.....

2004-06-27 Thread Srinivas Rao
Hi guys, I am facing samll problem , it's a simple one but i don't know what is the wrong i am doing ...Please help me.. My problem is ... I have parent window and child window (ie popup window)..If i entered the value into text field to popup window then the value come to the parent window

nested:test problem Please Help me.....

2004-06-27 Thread Srinivas Rao
Hi guys, I am facing samll problem , it's a simple one but i don't know what is the wrong i am doing ...Please help me.. My problem is ... I have parent window and child window (ie popup window)..If i entered the value into text field to popup window then the value come to the parent window

Re: RE : Struts, XDoclet, and Maven...

2004-06-27 Thread Navjot Singh
i agree with rick here. I also tried using struts-config.xml using xdoclet. In the end it turns out to be a futile exercise. Moreover, using modules makes working with xdoclet more cumbersome. It's EASY to write the config yourself. Some may say that it will be useful to generate the Struts

Wiki Struts: combo of best and easiest to use.

2004-06-27 Thread michael
What is the combination of the best and easiest wiki out there that uses struts in your humble opinion? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: LookupDispatchAction Error When Pressing Enter Key

2004-06-27 Thread Bill Siggelkow
Hmm .. I just tested using a LookupDispatchAction and Firefox 0.9 -- I found that when I pressed Enter it submitted using the first submit button defined. That being said, you can override the unspecified method of DispatchAction -- this method will be called instead of a ServletException