RE: cannot populate input field within iterate tag

2003-12-15 Thread RALPH ROPER
I should also mention that I populate the ArrayList before displaying. Everything displays woth a problem. I cannot see this being an issue but maybe internally there is a conflict between the List and the PropertyItem array. Hey, I'm running out of ideas. Am I missing the bleeding obvious here? -

FW: cannot populate input field within iterate tag

2003-12-15 Thread RALPH ROPER
Sue, no go. I have followed the keyboardmonkey example (see http://www.keyboardmonkey.com/pilotlight/next/Tutorial_partTwo.jsp?content=y esplease). I am now encountering the same issue as a previous post (http://www.mail-archive.com/[EMAIL PROTECTED]/msg88040.html) where I receive a BeanUtils.popu

RE: [OT] I didn't know Struts was an "antipattern"

2003-12-15 Thread Hibbs, David
I didn't know it was an antipattern, either. In fact, I found his discussion completely invalid because he has no real discussion about the failures of MVC, which is what he is trying to point out. To whit, I had to post a reply on the page. =) Included below is my reply as a bit of discussion..

RE: [Tiles] tiles controller not processing tiles request

2003-12-15 Thread Hibbs, David
this was recently discussed. see the archives: http://marc.theaimsgroup.com/?l=struts-user&m=107106764606173&w=2 BTW, specifying the controller is redundant if you specify the tiles plugin. --David > -Original Message- > From: Craig Tataryn [mailto:[EMAIL PROTECTED] > Sent: Friday, Dec

RE: just learning it

2003-12-15 Thread Sang Shin
> > From: Travis D. Falls [mailto:[EMAIL PROTECTED] > Sent: Monday, December 15, 2003 12:35 PM > To: 'Struts Users Mailing List' > Subject: RE: just learning it > > > Yes I went over that. I am looking more for a step by step first > application. The samples that ship with struts were not helpful

Re: Off Topic: A suitable JVM could not be found

2003-12-15 Thread Martin Gainty
Susan This is the specific error LaunchPad.bat contents REM pushd %1 REM D:\IBM\wsdk_v51\appserver\java\jre\bin\javaw -is:javahome D:\IBM\wsdk_v51\appserver\java\jre -jar launchpad.jar SET FILLER="12345678901234567890123456789012345678901234567890123456789012345678 901234567890" SET JAVA_OLD_HOME

Re: Struts EL status

2003-12-15 Thread Vic Cekvenich
Yes, I would say BEAN and LOGIC tags should not be used! One should use JSTL, DisplayTag, Struts Menu, HTML-el, Tiles-el. AFAIK EL will become main (and others deprecated) when Struts drops support for Tomcat 3, which is planed for Struts 2.0. I do think everyone is using EL and if they are not,

Re: Struts EL status

2003-12-15 Thread Mike Duffy
IMHO: Using the Struts HTML-EL tags with JSTL is the best way to go. The Struts Logic tags are not as funtional as JSTL. Mike --- Derek Clarkson <[EMAIL PROTECTED]> wrote: > Hi all, > My boss doesn't want to use Struts EL because as he puts it "it's not part of > the main development

Re: Tags between custom tags not evaluating (FIXED)

2003-12-15 Thread Andy Engle
Martin Cooper <[EMAIL PROTECTED]> wrote: > What value are you using in the element for your > 'checkLogon' tag (in the TLD)? It should be 'JSP' to have the content > evaluated as JSP. That's what it was. Thanks for your help! Andy > -- > Martin Cooper > > > "Andy Engle" <[EMAIL PROTECTED]

Re: Tags between custom tags not evaluating

2003-12-15 Thread Andy Engle
Martin Cooper <[EMAIL PROTECTED]> wrote: > What value are you using in the element for your > 'checkLogon' tag (in the TLD)? It should be 'JSP' to have the content > evaluated as JSP. I have "tagdependent". I'll try "JSP" and see what happens. Also, I've placed the entry below so you can chec

Re: [OT] Struts vs. XYZ

2003-12-15 Thread Vic Cekvenich
That feature does sound neat. I know of other exaples where good code did not make it in. HOWEVER... a strength of Struts IS the DEVELOPER COMMUNITY support and interactivty. No other framework comes close to the developer culture relative to this Struts, for example this mail list. It's also O

Re: Tags between custom tags not evaluating

2003-12-15 Thread Martin Cooper
What value are you using in the element for your 'checkLogon' tag (in the TLD)? It should be 'JSP' to have the content evaluated as JSP. -- Martin Cooper "Andy Engle" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > "Hookom, Jacob" <[EMAIL PROTECTED]> wrote: > > > I don't see the:

Re: [OT] I didn't know Struts was an "antipattern"

2003-12-15 Thread Martin Cooper
It would be nice if the author could at least spell Craig's name correctly... "Robert Taylor" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > A coworker sent me this link and said it was an interesting read. > > http://today.java.net/pub/a/today/2003/12/11/mvc.html?page=1 > > Person

Getting images from Interbase database

2003-12-15 Thread Janusz Dziadoń
Hi all! I am using Struts from about half a year, and it works good. I have small webapp using Interbase database by Interclient driver. When I wanted to use only text data from queries all was fine and simply, even when "single" jpegs from blob fields. But now I must display some images on one pa

RE: [OT] I didn't know Struts was an "antipattern"

2003-12-15 Thread Hubert Rabago
It isn't practical to apply all suggested features/patches anyway, especially those which may not be needed by a lot of users. There's the struts project in sf.net, too, but not all features may be big enough to merit a listing there. Maybe after the command chain is implemented in Struts, we can

Re: Struts EL status

2003-12-15 Thread Joe Germuska
At 9:54 AM +1100 12/16/03, Derek Clarkson wrote: Hi all, My boss doesn't want to use Struts EL because as he puts it "it's not part of the main development and we can't tell where it might go". Can anyone clarify when and if it is going to take over ? everyone seems to be using it and I've used i

RE: Tags between custom tags not evaluating

2003-12-15 Thread Andy Engle
"Hookom, Jacob" <[EMAIL PROTECTED]> wrote: > I don't see the: > > <%@ taglib uri="/tags/struts-html" prefix="html" %> Below is the entire JSP file. Andy --- <%@ page contentType="text/html" %> <%@ taglib uri="/WEB-INF/app.tld" prefix="app" %> <%@ taglib uri="/WEB-INF/struts-html.

RE: Tags between custom tags not evaluating

2003-12-15 Thread Hookom, Jacob
I don't see the: <%@ taglib uri="/tags/struts-html" prefix="html" %> -Original Message- From: Andy Engle [mailto:[EMAIL PROTECTED] Sent: Monday, December 15, 2003 4:58 PM To: Struts Users Mailing List Subject: RE: Tags between custom tags not evaluating "Hookom, Jacob" <[EMAIL PROTECTED

RE: Tags between custom tags not evaluating

2003-12-15 Thread Andy Engle
"Hookom, Jacob" <[EMAIL PROTECTED]> wrote: > Include the html taglib in your jsp Actually, I have that in there already, I just didn't show it in my original message. The JSP looks something like this: Username: Password: Andy > -Original Message

RE: [OT] I didn't know Struts was an "antipattern"

2003-12-15 Thread Joe Hertz
I read that and my reaction was, "It was suggested all of three months ago.". How can the author make a determination as to why it *wasn't* added if no new features have come out since then? Was there some discussion on the dev list he was referring to? Even if he's right, that's a complaint with

Struts EL status

2003-12-15 Thread Derek Clarkson
Hi all, My boss doesn't want to use Struts EL because as he puts it "it's not part of the main development and we can't tell where it might go". Can anyone clarify when and if it is going to take over ? everyone seems to be using it and I've used it in two projects (which didn't make my

RE: Tags between custom tags not evaluating

2003-12-15 Thread Hookom, Jacob
Include the html taglib in your jsp -Original Message- From: Andy Engle [mailto:[EMAIL PROTECTED] Sent: Monday, December 15, 2003 4:54 PM To: [EMAIL PROTECTED] Subject: Tags between custom tags not evaluating Hi all, I am writing a web application in which I would like to have a custom

Tags between custom tags not evaluating

2003-12-15 Thread Andy Engle
Hi all, I am writing a web application in which I would like to have a custom tag that shows some HTML (using some Struts-Form tags) if the tag evaluates to true. But the problem is that my tag isn't interpreting the tags between my custom tags, so my form never shows up. Here is what a portion

Re: struts validation and dispatch action

2003-12-15 Thread Joe Germuska
Joe, I'd like to try your duplicate action mapping suggestion, but I'm not sure how to specify the different paths. If my dispatchAction NotesAction.java has two methods - SaveNotes and CreateNotes, with CreateNotes needing the validation. what would the action mappings look like? I'm sorry, I may

RE: [OT] I didn't know Struts was an "antipattern"

2003-12-15 Thread Joe Germuska
At 9:19 AM +1100 12/16/03, Nick Faiz wrote: I think he made some excellent points. The nice thing about open source software like Struts is that we, the users of the software and especially the members of this list can absorb any useful ideas from criticisms like that and use them to make Struts

Re: struts validation and dispatch action

2003-12-15 Thread Sonam Belbase
Thanks for all the suggestions. Joe, I'd like to try your duplicate action mapping suggestion, but I'm not sure how to specify the different paths. If my dispatchAction NotesAction.java has two methods - SaveNotes and CreateNotes, with CreateNotes needing the validation. what would the action mapp

RE: [OT] I didn't know Struts was an "antipattern"

2003-12-15 Thread Nick Faiz
I think he made some excellent points. -Original Message- From: Gus Heck [mailto:[EMAIL PROTECTED] Sent: Tuesday, 16 December 2003 9:02 AM To: Struts Users Mailing List Subject: Re: [OT] I didn't know Struts was an "antipattern" Interesting, I'm not sure I agree, but the patch that he

RE : struts validation and dispatch action

2003-12-15 Thread Menard . Jean-Francois
C'est pas pire pantoute! ;-) À mercredi! Jean-François Ménard Concepteur développement informatique Applications d'affaires Dir. Solutions informatiques VP Centre de services partagés * (514) 251- poste 6017 * (514) 251-6404 * [EMAIL PROTECTED] * 5655, rue de Marseille Montreal, QC

RE: just learning it

2003-12-15 Thread Dhaliwal, Pritpal (HQP)
This is what you are looking for: http://www.bachansoft.com/tutorials/web/strutsquickstart.jsp Pritpal -Original Message- From: Travis D. Falls [mailto:[EMAIL PROTECTED] Sent: Monday, December 15, 2003 12:35 PM To: 'Struts Users Mailing List' Subject: RE: just learning it Yes I went o

generating struts-config.xml using xdoclet

2003-12-15 Thread Damm, Gary
I have two action tags defined in a single action class. Each action has it's own action-forward element. When the struts-config.xml is generated it generates two action elements but each action element has both action forwards (each should only have one). /** * @struts.action * path="

Re: [OT] I didn't know Struts was an "antipattern"

2003-12-15 Thread Gus Heck
Interesting, I'm not sure I agree, but the patch that he complains about not being added sounds useful... Robert Taylor wrote: A coworker sent me this link and said it was an interesting read. http://today.java.net/pub/a/today/2003/12/11/mvc.html?page=1 Personally I don't think the author put

RE: struts validation and dispatch action

2003-12-15 Thread Hookom, Jacob
We ended up extending DispatchAction so we could set an "execute" parameter on the action mapping. We then ended up with a single Action for CRUD operations, but multiple bindings with ActionForm validation specifications. -Original Message- From: Ghanakota, Vishu [mailto:[EMAIL PROTECTED

Re: struts validation and dispatch action

2003-12-15 Thread Joe Germuska
At 4:56 PM -0500 12/15/03, Sonam Belbase wrote: Hi, I've noticed that since validation is defined in the action mapping, it will apply to all methods of a dispatch action. But what if only one method in the dispatch action requires field X to be populated/selected and another method doesn't care.

RE: struts validation and dispatch action

2003-12-15 Thread Ghanakota, Vishu
>From what I have done before, you can sub-class the action and override the validate to do a conditional validation, this way you still get to keep the validation in action mapping or you can move the entire validation to your action. -Original Message- From: Sonam Belbase [mailto:[EMAIL

struts validation and dispatch action

2003-12-15 Thread Sonam Belbase
Hi, I've noticed that since validation is defined in the action mapping, it will apply to all methods of a dispatch action. But what if only one method in the dispatch action requires field X to be populated/selected and another method doesn't care. Is there a way to apply struts validation to onl

RE: Struts + Weblogic - JSP/Servlet Reloading (Hot Deploy)??

2003-12-15 Thread Nick Faiz
Hi Herry, The list has recently this topic. :) For my own part, I can hot deploy any other J2EE app. on WebLogic 7.2 (search through the archives), but my Struts app. is having an issue with taglib references whenever I zip it up in a .war; otherwise the taglibs work well if I depl

nested:define issue - on Rls Cand to Final Rls upgrade

2003-12-15 Thread jeff . guttadauro
Howdy, folks. One of my apps has been merrily using "Struts 1.1 - Release Candidate 1" for a while now. I noticed that the Final Release for 1.1 had come out, so I recently decided to upgrade. The upgrade from Struts 1.0 to Struts 1.1 RC1 was quick and painless, so I figured that it w

Re: [OT] Handling SQL Exceptions - Best Practices

2003-12-15 Thread Mike Duffy
After some further research I was able to answer my own question. The answer was yes. Best Practices for Exception Handling http://www.onjava.com/pub/a/onjava/2003/11/19/exceptions.html --- Mike Duffy <[EMAIL PROTECTED]> wrote: > I am having a difficult time finding a definitive "Best Practices

Re: Off Topic: A suitable JVM could not be found

2003-12-15 Thread Susan Bradeen
Martin, Just in case this might be useful, the following is from a WebSpherePro Developer's Tips email newsletter (11/20/2003). Hope it helps, Susan Bradeen RUNNING WSAD WITH JVM 1.4 I've been happy running WebSphere Studio Application Developer (WSAD) using IBM's JDK 1.3.1, but I recently work

Re: just learning it

2003-12-15 Thread Andy Engle
"Travis D. Falls" <[EMAIL PROTECTED]> wrote: > I have very little knowledge of struts. I want to learn it. I have > got the book by o'reilly programming Jakarta struts. I don't really > like it. Does anyone know of a good tutorial that will go over an > application. Start with nothing end up

RE: just learning it

2003-12-15 Thread Travis D. Falls
Yes I went over that. I am looking more for a step by step first application. The samples that ship with struts were not helpful. thanks Travis D. Falls | e-facilitate.com | Sr. Software Engineer | 860.307.6014 -Original Message- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED] Sent: Mo

Re: just learning it

2003-12-15 Thread Ashish Kulkarni
Hi this is good place to start http://jakarta.apache.org/struts/userGuide/index.html Ashish --- "Travis D. Falls" <[EMAIL PROTECTED]> wrote: > I have very little knowledge of struts. I want to > learn it. I have got > the book by o'reilly programming Jakarta struts. I > don't really like > it.

Re: just learning it

2003-12-15 Thread Marcus Peixoto
Try http://www.reumann.net/do/struts/main Marcus Em Seg, 2003-12-15 Ãs 18:25, Travis D. Falls escreveu: > I have very little knowledge of struts. I want to learn it. I have got > the book by o'reilly programming Jakarta struts. I don't really like > it. Does anyone know of a good tutorial th

just learning it

2003-12-15 Thread Travis D. Falls
I have very little knowledge of struts. I want to learn it. I have got the book by o'reilly programming Jakarta struts. I don't really like it. Does anyone know of a good tutorial that will go over an application. Start with nothing end up with a pretty good sample? t

RE: Packaging struts modules

2003-12-15 Thread Wendy Smoak
Ed wrote: > I am looking to create some generic modules (such as security > and user registration) that are shared by my applications. > Is it possible to package a self contained security module > which contains the login screen which can then pass control > to the main page of an application

RE: Sharing struts taglibs in Tomcat

2003-12-15 Thread Wendy Smoak
> I am redeploying my application for testing by removing the > old instance and then deploying again via Tomcat 4.1.29 manager webapp. > On Windows, Tomcat apparently leaves the struts.jar file open, blocking > deletion of the WEB-INF/lib directory and subsequent automatic deployment of > my cha

bean:message tag retreiving args from the bean as a property

2003-12-15 Thread Parikh, Aarti
Has this been discussed? I would like to achieve something like the foll, without resorting to scriplets. instead of Thanks Aarti Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and

Re: Sharing struts taglibs in Tomcat

2003-12-15 Thread Craig R. McClanahan
Quoting Ed Dowgiallo <[EMAIL PROTECTED]>: > I am doing a lot of struts development and would like to place the struts jar > files in the $TOMCAT_HOME/shared/lib directory instead of WEB-INF/lib for > each individual war file. > > What values for in web.xml are likely to make this work? Is there

RE: question on DynaActionForm

2003-12-15 Thread Anderson, James H [IT]
Thanks! That did it. So, unless I read it wrong, the statement regarding transparency was in error. Thanks again. jim -Original Message- From: Fullam, Jonathan [mailto:[EMAIL PROTECTED] Sent: Monday, December 15, 2003 9:58 AM To: 'Struts Users Mailing List' Subject: RE: question on Dyna

Re: indexed properties mini(est) HOWTO

2003-12-15 Thread Hubert Rabago
The wiki might be a good place for this: http://nagoya.apache.org/wiki/apachewiki.cgi?StrutsNewFaqs --- Rajat Pandit <[EMAIL PROTECTED]> wrote: > hello, > am positng a quick HOWTO to get started with using indexed properties, > as i guess almost everyone has had to deal with it atleast once. > >

Packaging struts modules

2003-12-15 Thread Ed Dowgiallo
Is it possible to package struts modules that need to interact into separate war files?   I am looking to create some generic modules (such as security and user registration) that are shared by my applications.  Is it possible to package a self contained security module which contains the log

Re: Sharing struts taglibs in Tomcat

2003-12-15 Thread Ed Dowgiallo
OK. Thank you for the reference to the docs. I have read the section. This brings up two new questions. I am redeploying my application for testing by removing the old instance and then deploying again via Tomcat 4.1.29 manager webapp. On Windows, Tomcat apparently leaves the struts.jar file op

[OT] Handling SQL Exceptions - Best Practices

2003-12-15 Thread Mike Duffy
I am having a difficult time finding a definitive "Best Practices" for handling SQL exceptions in a web application. I would like to gain from the experience of users on this list. For relatively simple web applications do you think it is acceptable to simply wrap SQL exceptions as Runtime exce

Re: RES: Multiple struts-config files

2003-12-15 Thread Marcus Peixoto
Try this: http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd"; [ ]> &form-beans; &global-forwards; &actions-mappings; &plugins; Em Seg, 2003-12-15 Ãs 15:22, Tiago Henrique Costa Rodrigues Alves escreveu: > I tried the second option and did not work out... the first option has >

RE: URLs & Parameters

2003-12-15 Thread Tim Lucia
. . . I will assume you know you do not wish to use forms. Tim Lucia > -Original Message- > From: Steven Nakhla [mailto:[EMAIL PROTECTED] > Sent: Monday, December 15, 2003 10:22 AM > To: Struts > Subject: URLs & Parameters > > > I'm writing a simple web app, and am rather new to

RES: Multiple struts-config files

2003-12-15 Thread Tiago Henrique Costa Rodrigues Alves
I tried the second option and did not work out... the first option has worked for me... Tiago Henrique C. R. Alves -Mensagem original- De: Philip Mark Donaghy [mailto:[EMAIL PROTECTED] Enviada em: segunda-feira, 15 de dezembro de 2003 11:47 Para: Struts Users Mailing List Assunto: Re: Mul

Re: URLs & Parameters

2003-12-15 Thread Jim Theodoridis
Hi! The best soluion is to use an ActionForm to get the search criteria from the user an then to usen an action an action to do the search dont use link direct to jsp pages - Original Message - From: "Steven Nakhla" <[EMAIL PROTECTED]> To: "Struts" <[EMAIL PROTECTED]> Sent: Monday, Decemb

RE: Reloading of application resources

2003-12-15 Thread Joe Germuska
At 11:42 AM +0200 12/15/03, Nicklas Karlsson wrote: On Mon, 15 Dec 2003, Yves Sy wrote: Create a thread in your cache manager that polls for changes in the timestamp of the properties file, say, every 5000 ms and reloads it when a new one is detected. Yes, but the problem is not at the cach

Re: NullPointerException from RequestUtils.createActionForm()

2003-12-15 Thread Sheldon Hearn
On (2003/12/15 16:56), Sheldon Hearn wrote: > So it _definitely_ was a stupid mistake on my part. It'd be nice to > know what I was doing wrong, but if your time is short, don't worry > about trying to figure out what I did wrong. *deep.breath* After doing some development that got me in a hole

RE: Sharing struts taglibs in Tomcat

2003-12-15 Thread Wendy Smoak
> From: Ed Dowgiallo [mailto:[EMAIL PROTECTED] > I am doing a lot of struts development and would like to > place the struts jar files in the $TOMCAT_HOME/shared/lib > directory instead of WEB-INF/lib for each individual war file. Don't do that. Really... Disk space is cheap, and deployment is

indexed properties

2003-12-15 Thread Alex Reznik
hey guys, i am drawing a complete blank,may be cause its monday, i generate some fields on the webpage using javascript, and make them indexed, so i end up having fields like entry[0].area, entry[0].description...and i want to make sure that each index ends up as a part of a separate object or at

Sharing struts taglibs in Tomcat

2003-12-15 Thread Ed Dowgiallo
I am doing a lot of struts development and would like to place the struts jar files in the $TOMCAT_HOME/shared/lib directory instead of WEB-INF/lib for each individual war file.   What values for in web.xml are likely to make this work?  Is there another way to accomplish the same effect?  

Re: dynamically sized form (mostly solved)

2003-12-15 Thread Mark Lowe
Sorry I forgot the reason for this cognitive preservation with lazyList.. Arraylist works fine.. Even better if you ditch dyna forms in favour of action forms.. On 15 Dec 2003, at 15:44, Andy Schmidgall wrote: Robert, I also could not get LazyList to work with our DynaForms. -Andy -Origi

RE: dynamically sized form (mostly solved)

2003-12-15 Thread Andy Schmidgall
Robert, I also could not get LazyList to work with our DynaForms. -Andy -Original Message- From: Marcus Peixoto [mailto:[EMAIL PROTECTED] Sent: Friday, December 12, 2003 1:42 PM To: Struts Users Mailing List Subject: RE: dynamically sized form (mostly solved) Robert, I tried to use

Re: Off Topic: A suitable JVM could not be found

2003-12-15 Thread Martin Gainty
Kirk et al Back on this thread with no resolution I dont want to uninstall the existing JRE 1.41_02 as other environments are using the latest version I would like to run Websphere in "isolated space" but keep knocking into the "a suitable JVM could not be found" Anyone have a solution? Thanks, -Ma

Re: [Struts Workflow Extension] Any volunteers for furtherdevelopment and maintenance?

2003-12-15 Thread Markus
Hello Martin, I've followed the discussion and took a short look over your pages. The Stuts Workflow Extension seems to be an interesting tool and I will take a deeper look in the next days. It would be nice if you have time for answering my questions. Kind regards, Markus > Martin and others

URLs & Parameters

2003-12-15 Thread Steven Nakhla
I'm writing a simple web app, and am rather new to Struts. What I would like to do is have several HTML links in my page to perform different types of searches. For example, Name search Age search Gender search In my search.jsp page, I'd like to be able to display form fields based on the t

intRange Not accepting leading 0

2003-12-15 Thread Brown, James
I have a validator rule setup as follows: min 1 max 12 If the user enters '08', the validation javascript returns 'Month is not in the range 1 through 12'. How do I enable inp

Re: NullPointerException from RequestUtils.createActionForm()

2003-12-15 Thread Martin Gainty
Sheldon- Let us know the solution Please reply offline Regards, Martin - Original Message - From: "Sheldon Hearn" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 15, 2003 9:56 AM Subject: Re: NullPointerException from RequestUtils.createActionForm() > On (2003/12/15 1

RE: question on DynaActionForm

2003-12-15 Thread Fullam, Jonathan
Jim, I'm not exactly sure what the book means when they say that "whether you use an ActionForm or a DynaActionForm should be transparent," but once you use DynaActionForm, you form is no longer of type RegisterForm (hence the ClassCastException). You must cast it to DynaActionFrom now as in:

Re: NullPointerException from RequestUtils.createActionForm()

2003-12-15 Thread Sheldon Hearn
On (2003/12/15 14:34), Sheldon Hearn wrote: > I'm getting a NullPointerException from RequestUtils.createActionForm() > (full stack trace below). I was originally trying to use a > DynaValidatorForm with several properties, but have now reduced the > problem to the simplest possible terms for rep

question on DynaActionForm

2003-12-15 Thread Anderson, James H [IT]
I'm trying to modify the simple Register application from Chapter 1 of "Struts in Action" to use a DynaActionForm in place on the ActionForm shown in the book. I've modified struts-config.xml accordingly. According to the book, whether you use an ActionForm or a DynaActionForm should be transpar

Re: Multiple struts-config files

2003-12-15 Thread Philip Mark Donaghy
In Struts 1.1, you have two options: you can list multiple struts-config files as a comma-delimited list, or you can subdivide a larger application into modules. Do so in the web.xml file. Add the tag to the tag. config /WEB-INF/conf/struts-default.xml,another-struts-config.xml -

Re: [Struts Workflow Extension] Any volunteers for furtherdevelopment and maintenance?

2003-12-15 Thread Matthias Bauer
Martin and others who have replied to me off-list: The Struts Workflow Extension relies on the same ideas of open source than the Struts framework does: I had to deal with workflow issues in several web applications I developed with Struts about two and a half years ago. I noticed that workflow

Struts + Weblogic - JSP/Servlet Reloading (Hot Deploy)??

2003-12-15 Thread herryanto
Hi guys, Any good Samaritan out there that knows how can we enable JSP/Servlet reloading (Hot Deploy) for Struts application? especially for Weblogic server. It's kind of tiring to restart the web application for every change that you make. It looks like a pretty common issue. But can't seem to

RES: html:select tag or logic:iterate

2003-12-15 Thread Tiago Henrique Costa Rodrigues Alves
Inside the struts-exercise-taglib.war that comes with struts 1.1 you will find a pratical example to solve your problem... You should not do a logic:iterate inside html:select, insteat of logic:iterate use the option:optionsCollection and pass your collection to it... look the jsp example

Re: html:select tag or logic:iterate

2003-12-15 Thread Firat TIRYAKI
try this, F. - Original Message - From: "Marco Mistroni" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Monday, December 15, 2003 3:00 PM Subject: html:select tag or logic:iterate > Hi all, > I am quite new to struts tag library and I need an advi

html:select tag or logic:iterate

2003-12-15 Thread Marco Mistroni
Hi all, I am quite new to struts tag library and I need an advice. In the HttpSession I have an object of type Collection, which stores a list of MyObject. MyOBject has two properties, description and id. Out of this Collection of MyObject I must generate a selectable list Which displays M

Multiple struts-config files

2003-12-15 Thread Tiago Henrique Costa Rodrigues Alves
I am testing the struts-blank example, I made some changes to try use multiple config files I defined my web.xml like this: config/action-mappings /WEB-INF/action-mappings.xml config/form-beans /WEB-INF/form-beans.xml config/data-sour

Re: JSTL, local, fmt:get

2003-12-15 Thread Kris Schneider
Spelling fix ;-): import javax.servlet.jsp.jstl.core.Config; ... Locale locale = Locale.ENGLISH; setLocale(request, locale); HttpSession session = request.getSession(true); Config.set(session, Config.FMT_LOCALE, locale); Quoting Kris Schneider <[EMAIL PROTECTED]>: > See if this helps any: > > i

Re: JSTL, local, fmt:get

2003-12-15 Thread Kris Schneider
See if this helps any: import javax.servlet.jsp.jstl.core.Config; ... Local locale = Locale.ENGLISH; setLocale(request, locale); HttpSession session = request.getSession(true); Config.set(session, Config.FMT_LOCALE, locale); Quoting Oliver Wulff <[EMAIL PROTECTED]>: > > > > > I wrote an Acti

Re: [Struts Workflow Extension] Any volunteers for furtherdevelopment and maintenance?

2003-12-15 Thread Martin Gainty
Matthias: The problem with most of us is that rent isnt free and food isnt free (at least not in the US) Assuming this effort isnt a loaded government project and is more 'academic' in nature How much would your company say this effort is worth? Saludos, Martin Gainty 001-617-852-7822 - Origina

[ANNOUNCE] Struts Console v4.2

2003-12-15 Thread James Holmes
Struts Console version 4.2 is now available. http://www.jamesholmes.com/struts/ Download Now: http://www.jamesholmes.com/struts/struts-console-4.2.zip -- OR -- http://www.jamesholmes.com/struts/struts-console-4.2.tar.gz Struts Console is FREE software. At long last there is a new release. Th

NullPointerException from RequestUtils.createActionForm()

2003-12-15 Thread Sheldon Hearn
Hi folks, I'm getting a NullPointerException from RequestUtils.createActionForm() (full stack trace below). I was originally trying to use a DynaValidatorForm with several properties, but have now reduced the problem to the simplest possible terms for reporting. Here are the important bits of my

Re: [Struts Workflow Extension] Any volunteers for further development and maintenance?

2003-12-15 Thread Marcus Peixoto
Matthias, How much of your spare time have you been spending on it ? I have some spare time but I don't know if I have enough experience in Java to handle it. []'s Marcus Em Seg, 2003-12-15 Ãs 08:41, Matthias Bauer escreveu: > Hi everybody, > > I am looking for someone who would like to take

Re: Size of struts-config.xml in struts 1.0.2

2003-12-15 Thread Marcus Peixoto
I don't know if there is a logical limitation of struts-config.xml but you can do the following: http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd"; [ ]> &form-beans; &global-forwards; &actions-mappings; &plugins; Marcus Em Seg, 2003-12-15 Ãs 06:22, souravm escreveu: > Hi All,

RE: Cahin actions and GZIP filter

2003-12-15 Thread Jose Ramon Diaz
Thanks Mike, but I´m using Oracle 9iAS. Anyway, I know it uses Apache as webserver, so I´m goint to look for this mod, if it hasn´t been deleted in Oracle version oh http server. > -Mensaje original- > De: Mainguy, Mike [mailto:[EMAIL PROTECTED] > Enviado el: viernes, 12 de dic

session attribute - Locale - changed

2003-12-15 Thread Ravi Kulkarni
Hello, I have strange problem. I am catching function errors thrown by Application layer in my actions and farwarding it to error.jsp to display customized message. But in my error.jsp session.getAttribute("org.apache.struts.action.LOCALE") is returning me default browsers locale. But actually I

[Struts Workflow Extension] Any volunteers for further development and maintenance?

2003-12-15 Thread Matthias Bauer
Hi everybody, I am looking for someone who would like to take over further development and responsibility for the Struts Workflow Extension. The reason I am looking for someone volunteering to do that is simple: I will quit my job at the end of this year and will work in a different area than

RE: Reloading of application resources

2003-12-15 Thread Nicklas Karlsson
On Mon, 15 Dec 2003, Yves Sy wrote: > Create a thread in your cache manager that polls for changes in the > timestamp of the properties file, say, every 5000 ms and reloads it when > a new one is detected. Yes, but the problem is not at the cache end, the issues are how to trigger the co

RE: Reloading of application resources

2003-12-15 Thread Yves Sy
Create a thread in your cache manager that polls for changes in the timestamp of the properties file, say, every 5000 ms and reloads it when a new one is detected. Of course a clustered environment will complicate things a little bit but that's a another story :o) -Yves- -Original Message---

Reloading of application resources

2003-12-15 Thread Nicklas Karlsson
Hello, We have a singleton factory that watches/caches/delivers up-to-date ResourceBundles of property files based on the timestamp of the watched file. What would be the natural way of refreshing (and triggering a refresh) of a watched ApplicationResources.properties file so that e.g.

RE: Checkbox deselect problem

2003-12-15 Thread Ravi Kulkarni
Hello Michael, We need to handle checkboxes in special way. Reset method in FormBean is exactly meant for this. We need to reset the checkboxes to its default value. Kulkarni. -Original Message- From: Frers Michael [mailto:[EMAIL PROTECTED] Sent: Monday, December 15, 2003 2:23 PM To: St

Checkbox deselect problem

2003-12-15 Thread Frers Michael
Hello i have a problem with the checkbox tag i have a ActionForm Bean containg one value test private class testBean extends ActionForm{ private String test; //+ Getter and Setter } no i inserted in my jsp page: now if i select the field the checkbox is marked as checked but now if i deselec

Size of struts-config.xml in struts 1.0.2

2003-12-15 Thread souravm
Hi All, Is there any limitation of size of strusts-config.xml in struts 1.0.2 ? If there exists a limit is there any work around for that ? Regards, Sourav - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-m

RE: cannot populate input field within iterate tag

2003-12-15 Thread RALPH ROPER
OK. I am a little bit closer thanks to an email on this list. http://www.mail-archive.com/[EMAIL PROTECTED]/msg72240.html It looks like I need to use the nested tags to make it happen. After having tried to put it together I ended up with the same error as the last post ie java.lang.IllegalArgumen

RE: [Tiles] tiles controller not processing tiles request

2003-12-15 Thread Craig Tataryn
Figured this one out. Basically if you use tiles within your global forwards you are SOL, the tiles request processor only gets invoked for struts actions (i.e. *.do). This can probably be solved by specifying a subclass of ActionForward which is "tiles aware" for the className attribute of y