RE: Struts & Persistence

2002-07-23 Thread Chappell, Simon P
The OJB site contains a useful looking page that lists the RDBMS that it supports: http://jakarta.apache.org/ojb/platforms.html The list is near the bottom of the page, but Oracle and DB2 are both supported out of the box, as is my favourite ... HSQLDB. Simon -

RE: Struts & Persistence

2002-07-23 Thread Chuck Cavaness
I used this on the Storefront application including in several chapters as if my memory serves me correctly, you can plugin different sequence manager implementations in the ojb.properties class. Something like this I think: SequenceManagerClass=ojb.broker.util.sequence.SequenceManagerHighLowIm

RE: Struts & Persistence

2002-07-23 Thread Joe Germuska
At 12:24 PM -0700 2002/07/23, Joe Barefoot wrote: >That makes sense, I was wondering how it could handle it in a generic >fashion. I suppose it adds a row to the OJB_SEQ table for every table >column that it has to autoincrement. > >I further suppose it could accomplish an auto-increment insert w

ActionError messages

2002-07-23 Thread Jerry Jalenak
Is it possible to set an ActionError similar to the following? errors.add(ActionErrors.GLOBAL_ERROR, new ActionError(myMessage)); where myMessage is a variable? Jerry Jalenak Web Publishing LabOne, Inc. 10101 Renner Blvd. Lenexa, KS 66219 (913) 577-1496 [EMAIL PROTECTED] This transmi

RE: Struts & Persistence

2002-07-23 Thread Joe Barefoot
Very cool. And if you already have populated tables, I assume you can specify what number to start at, etc. I'd really like to test out OJB with an EJB session layer, and compare it with an EJB session + entity CMP implementation, just to see what the performance metrics look like when you hit e

RE: Struts & Persistence

2002-07-23 Thread James Mitchell
I was hoping that someone was going to say. "Yes, I'm building an add-on component that allows you to use your existing form-bean declarations to map your tables right in the struts-config.xml and you can even use DynaActionForms!" Any takers? (Tumble weeds blow by as the wind howls) Jame

Refering form variables from the JavaScript function

2002-07-23 Thread Ramu, Manjukumar [PRDUS]
Hello, I have a form in a JSP, I am calling Javascript function for an event. I want to set some values of the parameters within the form in using Javascript. For Ex : function f1 ("value") { form.name = "value" } Can any body tell me how to refer form variables from the JavaScript

html:radio, needing to pre-check a button with DynaActionForm

2002-07-23 Thread Glen Mazza
Hello, I'm using html:radio tags and I would like one of the radio buttons to be preselected when the JSP screen appears. (My action form is a DynaActionForm which I'm not subclassing.) For example, I'd like to convert this: to this: but there is no checked attribute. I've searched for t

RE: html:radio, needing to pre-check a button with DynaActionForm

2002-07-23 Thread Kamholz, Keith (corp-staff) USX
Well, the radio button will be automatically selected based on the value attribute of the . If the corresponding property is equal to the value specified, it will be selected automatically. Just make sure that the property is set to whatever it needs to be before it hits the JSP with the radio b

Re: html:radio, needing to pre-check a button with DynaActionForm

2002-07-23 Thread David M. Karr
> "Keith" == Keith Kamholz writes: Keith> Well, the radio button will be automatically selected based on the value Keith> attribute of the . If the corresponding property is equal to Keith> the value specified, it will be selected automatically. Just make sure that Keith> t

Re: Refering form variables from the JavaScript function

2002-07-23 Thread ajTreece
I do this quite a bit using JavaScript to test for (validate) user input in a form. A property variable in the ActionForm acts just like a normal HTML element. You ca set a form variable like this: document.{your form name}.{ActionForm property}.value = "Yadda Yadda Yadda"; Hope this helps...

RE: Refering form variables from the JavaScript function

2002-07-23 Thread James Mitchell
Have you seen the way its done in the struts-example.war? James Mitchell Software Engineer\Struts Evangelist Struts-Atlanta, the "Open Minded Developer Network" http://www.open-tools.org/struts-atlanta > -Original Message- > From: Ramu, Manjukumar [PRDUS] [mailto:[EMAIL PROTECTED]] >

Re: Master/Detail data - editing multiple entities in a grid

2002-07-23 Thread Adam Hardy
I mailed this before but it didn't get thro I think, apologies if it's a double post. The monkey - bunches - banana model using nested tags sounds like exactly what you need. The indexed properties output by the tags keeps all the relationships. NB if you do go that way, remember to either kee

RE: Is it possible to get message as a String from ActionMessage?

2002-07-23 Thread Matt Raible
In response to: http://groups.yahoo.com/group/struts/message/15637 I'm familiar with the example, if there is an example of getting the string value in a server, please point me in the right directory, class name, etc. Thanks, Matt -- To unsubscribe, e-mail: For

Announce: JSTL (Standard Tags) + Struts (MVC) live web Demo

2002-07-23 Thread @Basebeans.com
Subject: Announce: JSTL (Standard Tags) + Struts (MVC) live web Demo From: "Vic C." <[EMAIL PROTECTED]> === Announce: JSTL (Standard Tags) + Struts (MVC) live web Demo If you are starting a Java Web, you should use MVC and Standard tags, this "kit" is a sample of "best" (at least good) practice

Re: struts book

2002-07-23 Thread Peter A. J. Pilgrim
Chuck Cavaness wrote: > It's not going to be available for review, but it will be in the book. > I'm still rewriting this very moment :) > > chuck > Struts validator chapter 11 is a good overview for a piece of complicated kit. I would suggest that new developer try to write their own validat

how to localize Struts framework?

2002-07-23 Thread Emmanuel Bridonneau
My issue is regarding configuring the Struts framework unlike configuring an application using Struts. The Struts jar files include messageResource files for localizing the error messages thrown by the framework. These files are called LocalString.properties. The only implementation of these fil

Re: how to localize Struts framework?

2002-07-23 Thread ajTreece
Emanuel These files should be located in the WEB-INF/classes of your web app. You are also correct, Just making another LocalString_XX.proerties files is what is required for localization. Later, ajTreece Emmanuel Bridonneau wrote: > My issue is regarding configuring the Struts framew

Re: Tiles + ActionForm.validation - problem !

2002-07-23 Thread Slava_L
Cerdic Dumoulin, u was right about different versions of jars (my struts diffs from struts1.0.2). Now it works!! When i replaced my struts with correct one, the problem had been solved in a moment =) Really appreciate all of u for ur info. - Original Message - From: "Cedric Dumoulin" <

No getter method for property action of bean org.apache.struts.taglib.html.BEAN Error

2002-07-23 Thread @Basebeans.com
Subject: No getter method for property action of bean org.apache.struts.taglib.html.BEAN Error From: "BillB" <[EMAIL PROTECTED]> === I'm pulling my hair out trying to find the solution to the error below. I'm using Struts 1.1b and I'm new at this and starting to find my way around by looking

Erorr: No getter method for property action of bean org.apache.struts.taglib.html.BEAN

2002-07-23 Thread Bill Blackmon
I'm pulling my hair out trying to find the solution to the error below. I'm using Struts 1.1b and I'm new at this and starting to find my way around by looking at several different examples. If anyone could help me with this I'd be VERY appreciative. // error message No getter method for pro

RE: DispatchAction and declarative exception handling

2002-07-23 Thread Daniel Joshua
Hi, (... not really related) Is there any reason why Action and DispatchAction handle exceptions differently in Struts 1.1-B1 ? eg. the Action does a stack trace, while the DispatchAction does not. Regards, Daniel -Original Message- From: Drew McAuliffe [mailto:[EMAIL PROTECTED]] Sen

Re: examples

2002-07-23 Thread John Michael Luy
> Check out the tag: > > http://jakarta.apache.org/struts/struts-logic.html > > Mark > > -Original Message- > From: Michael Luy [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 23, 2002 6:37 AM > > are there any good examples for forms with tabular data, sort of like an > invoice containi

RE: JSP Completion for Struts tags using NetBeans?

2002-07-23 Thread Scott Linford
Yes exactly - Scott -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED]] Sent: Monday, July 22, 2002 9:31 PM To: Struts Users Mailing List Subject: RE: JSP Completion for Struts tags using NetBeans? Do you mean like this? http://www.open-tools.org/struts-atlanta/images/c

RE: JSP Completion for Struts tags using NetBeans?

2002-07-23 Thread Scott Linford
It better for $3,132.00. Hum... how do I sell this idea to my wife :-) - Scott -Original Message- From: Mark Nichols [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 23, 2002 9:18 AM To: Struts Users Mailing List Subject: RE: JSP Completion for Struts tags using NetBeans? WebSphere Stu

RE: Master/Detail data - editing multiple entities in a grid

2002-07-23 Thread Lister, Tom (ANTS)
Thanks Is there any documentation/examples on nested tags. :-) Tom Lister * 020 7612 3030 * [EMAIL PROTECTED] -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED]] Sent: 23 July 2002 21:51 To: Struts Users Mailing List Subject: Re: Master/Detail data - editing multiple entitie

<    1   2