Re: Validating start and end dates

2004-10-19 Thread Milind Rao
I forgot to mention that I'm using a DispatchAction class along with the DynaValidatorForm so the validation is declarative. So for Item 2, I'll just create my own validation rule. I just wanted to ensure that there wasn't already something available in the struts framework that I would re-invent

Re: whats difference in 1.1 and 1.2

2004-10-19 Thread Craig McClanahan
On Wed, 20 Oct 2004 12:25:31 +0800, anurag shinde <[EMAIL PROTECTED]> wrote: > Whats the new feature of struts 1.2 over 1.1, http://struts.apache.org/userGuide/release-notes.html > i don't see much difference compared to changes done in 1.0 to 1.1 And some will say "thank you for not disruptin

whats difference in 1.1 and 1.2

2004-10-19 Thread anurag shinde
Whats the new feature of struts 1.2 over 1.1, i don't see much difference compared to changes done in 1.0 to 1.1 Thanks and Regards Anuraag Shinde. Programmer Analyst Syntelinc Pune. -- ___ Get your free email from http://fastermail.com Powered by Ou

Re: form tiles link from database?

2004-10-19 Thread PC Leung
The following are defined in tiles-defs.xml Can I change them to variables and modify values of variables in Action class or another? I have read the links suggested. But I fail to find example code. On Tue, 19 Oct 2004 21:35:36 -0500, Vic Cekvenich <[EMAIL PROTECTED]> wrote: > Yes. > > I

Re: form tiles link from database?

2004-10-19 Thread Vic Cekvenich
Yes. I put in the List of tiles into scope. .V PC Leung wrote: Could the link be read from database? - To unsubscribe, e-mail: [EMAIL PRO

RE: form tiles link from database?

2004-10-19 Thread David G. Friedman
If you use a Tiles controller, there is no reason you couldn't do that from Java. Just not inside the tiles.xml configuration file. See the tiles controller mentioned in http://struts.apache.org/userGuide/dev_tiles.html. Another good reference is Tiles Advanced Features by Cedric Dumoulin (bottom

form tiles link from database?

2004-10-19 Thread PC Leung
Could the link be read from database? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Suppressing INFO messages

2004-10-19 Thread Todd Bryant
Thanks Eddie. I actually did make a properties file like that one and had it in my default package in the WEB-INF/classes dir, but it did not change. I also noted in the documentation that SimpleLog outputs to stderr, which mine is not, so it must not be using SimpleLog. I was confused at first

Re: [OT] RE: AspectJ question / lumberjack

2004-10-19 Thread Frank W. Zammetti
Oh my, that just made me die of a sudden heart attack ARGHHAGHHA Could be worse I guess... my name could be Throatmangler Wangrove. But, as long as there's no canibalism in the Struts community... and my none, I mean, very little. Is that enough MP reference yet?!? Andrew Hill wrote: oh well this

Re: [OT] RE: AspectJ question / lumberjack

2004-10-19 Thread Andrew Hill
oh well this thread is just becoming spam now... ...spam spam spam spamity spam! ;-) Bill Siggelkow wrote: He's as an AspectJock and he's okay He codes all night and he sleeps all day He makes join points, defines point cuts And likes to give advice On Thursday's he compiles And weaves code very n

Re: Suppressing INFO messages

2004-10-19 Thread Eddie Bush
My apologies. You should have created that file in the default package. I neglected to mention that and didn't even notice til just now. - Original Message - From: "Eddie Bush" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, October 19, 2004 7:05

Re: Suppressing INFO messages

2004-10-19 Thread Eddie Bush
If there's a Log4J JAR in the classpath, you should be using Log4J. If not, you're likely using the SimpleLog implementation. You said you "tried putting a ... and a simplelog.properties file" but that it didn't suppress the output. Where did you put this file and what did you put inside of i

Re: How to retrieve session variables using Struts tag in JSP

2004-10-19 Thread Craig McClanahan
If "loggedUser" is a string you put in session scope, use this instead: If on the other hand you had a bean that you stored under session scope under key "foo", and this bean class has a getLoggedUser() method on it, you'd use: The "parameter" attribute is for accessing request parameters

Re: bean:parameter does not work for me with tomcat 5.0.28

2004-10-19 Thread mail
Never mind ... It was something about the document format. After converting from windows to unix things work fine. Converting back to windows and still working fine ... Strange but solved. Thanks, Chris mail wrote: Hi, I just encountered a strange problem using the tag with tomcat 5.0.28 In m

Re: non-standard attributes in taglib

2004-10-19 Thread Craig McClanahan
On Tue, 19 Oct 2004 17:30:00 -0400, Kichline, Don (EM, PTL) <[EMAIL PROTECTED]> wrote: > Now this is something I had not realized. What is going to replace them? In the short term, you'll have the ability to easily use JSF with Struts via the Struts-Faces tag library. It's going to get proposed

Re: non-standard attributes in taglib

2004-10-19 Thread Niall Pemberton
Firstly on a general note, if its new development, then IMO it would be better to use the latest Struts 1.2.4 release. More specifically on adding additional attributes to Struts tags, I recently refactored some of the HTML tags (specifically all those that derive from BaseHandlerTag) and added th

bean:parameter does not work for me with tomcat 5.0.28

2004-10-19 Thread mail
Hi, I just encountered a strange problem using the tag with tomcat 5.0.28 In my JSP file I have the following: This worked fine on Resin 2.x and 3.x, however, I now have to run my project on Tomcat 5.0.28 and this doesn't work anymore. I get an exception: javax.servlet.jsp.JspException: Canno

How to retrieve session variables using Struts tag in JSP

2004-10-19 Thread Shabada, Gnaneshwer
Hello, I am trying to retrieve a flag value ( that I put in session in my Action class ) in my JSP. I tried tags and other struts tags but no luck. Can anyone point me which tag does this? I also used tags but no use. I tried this where the parameter is the session attribute and "admin" is its

Re: Checking for presence of specific error message

2004-10-19 Thread Frank Burns
Thanks Charles. - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 19, 2004 9:45 PM Subject: RE: Checking for presence of specific error message > Hi Frank, > You can do this with the tag. The default value of name is Globals.ERROR_KEY. I use

Re: html:hidden values are null

2004-10-19 Thread Rosemary Philip
David, same here. a long weary day. :) the info you shared about onClick is new to me. I discussed this problem with a developer and he said that this values come null because there are more than one objects of the same kind. i.e, in an employee list there are more than one employees and since I

Re: DynaValidatorForm and multibox

2004-10-19 Thread Wendy Smoak
From: "Brian Kuhn" <[EMAIL PROTECTED]> > I'm using struts 1.1 > Is it possible to use a multibox with a DynaValidatorForm? Sure. I use a String[] property in the dynamic form, and it works fine. If you're having trouble with it, post the relevant parts of the config files and JSP and someone wil

DynaValidatorForm and multibox

2004-10-19 Thread Brian Kuhn
I'm using struts 1.1 Is it possible to use a multibox with a DynaValidatorForm? Are there any documented examples? I searched the archives...no mention of it. Thanks, Brian - To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

Tiles Question

2004-10-19 Thread Ray Madigan
I am trying to pass an attribute to a tile as follows: ... And foo.getName ( ).equals ( "Adventure" ) And I have verified a requestAttribute was added. in the tile when i do I get the message importAttribute : property 'offer' not found in context. Check tag syntax' -

RE: non-standard attributes in taglib

2004-10-19 Thread Kichline, Don \(EM, PTL\)
First, I do not happen to agree that the cure is worse than the disease. By sticking to the "standards-only" mantra, we completely bury our heads in the sand. The reality is that there are many people out there that have to support the vendor-specific items, but wish to use an elegant solution

Re: non-standard attributes in taglib

2004-10-19 Thread Jason King
+1 on that solution. It also serves as a work-around in the (unlikely) event that some property gets added to the standard. Kichline, Don (EM, PTL) wrote: Searching on the new groups, that is what I have been hearing... Unfortunately that is not going to fly in this case. What I am proposing

RE: non-standard attributes in taglib

2004-10-19 Thread Kichline, Don \(EM, PTL\)
Now this is something I had not realized. What is going to replace them? -Original Message- From: Craig McClanahan [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 19, 2004 5:25 PM To: Struts Users Mailing List Subject: Re: non-standard attributes in taglib An orthogonal issue that is

Re: non-standard attributes in taglib

2004-10-19 Thread Craig McClanahan
On Tue, 19 Oct 2004 17:01:19 -0400, Kichline, Don (EM, PTL) <[EMAIL PROTECTED]> wrote: > Searching on the new groups, that is what I have been hearing... Unfortunately that > is not going to fly in this case. What I am proposing is a generic work around for > this problem that will not tie stru

Re: [struts-faces][struts-chain] Tiles and faces integration question

2004-10-19 Thread Craig McClanahan
One issue to beware of is a JSF restriction related to RequestDispatcher.include() -- which is what Tiles uses under the covers. Each included Tile has to be nested in an tag (either in the surrounding page, or inside each Tile). In the "example2" sample app, I put these in the layout because it

struts 1.2.4 validation and resource bundle problem

2004-10-19 Thread Ashish Kulkarni
Hi I recently upgraded my application to struts 1.2.4, and was trying to use valiator version 1.1.3, but was having problem, the validator was not able to find key from resource bundle, I have 2 resource bundle, those are defined as below In my validation.xml file i have defined the field as be

RE: non-standard attributes in taglib

2004-10-19 Thread Kichline, Don \(EM, PTL\)
Searching on the new groups, that is what I have been hearing... Unfortunately that is not going to fly in this case. What I am proposing is a generic work around for this problem that will not tie struts into any single-vendor specific attributes. Pass in a Properties class with key/value pai

Re: non-standard attributes in taglib

2004-10-19 Thread Craig McClanahan
Historically, the Struts developers have been very strict about accepting only W3C standard attributes, and I don't see this changing anytime soon -- it would be somewhat ironic for an open source project to endorse a proprietary single-vendor lock-in by doing something like this :-). I suspect mo

RE: Checking for presence of specific error message

2004-10-19 Thread Charles . Gouin-Vallerand
Hi Frank, You can do this with the tag. The default value of name is Globals.ERROR_KEY. I use it in one of my app in this context : My Error are stocked in the Globals.ERROR

[struts-faces][struts-chain] Tiles and faces integration question

2004-10-19 Thread Sean Schofield
I am trying to get struts and jsf to play nice with each other. Right now, my only requirements are to have tiles supported. Most everything else will be handled through JSF. I have looked at the struts-faces package, but most of it seems to be overkill for what I want. I would like to use stru

non-standard attributes in taglib

2004-10-19 Thread Kichline, Don \(EM, PTL\)
We have a web based application that is a work in progress. Because our company mandates that IE be used, certain aspects of microsoft's non-standard extensions have been utilized in some of our pages. All new screens in our system will be developed using Struts 1.1. We have however run into

Checking for presence of specific error message

2004-10-19 Thread Frank Burns
Is there any way of checking for the presence of a SPECIFIC error message in the error queue? Thanks, Frank. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Suppressing INFO messages

2004-10-19 Thread Todd Bryant
I just upgraded a struts 1.0.2 project to a 1.1 project. Everything went fine except that I notice I have a lot of INFO messages in the console, e.g., I org.apache.struts.util.PropertyMessageResources Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true I do not wa

Re: Migrate xsl into jsp/struts

2004-10-19 Thread Jeff_Caswell
Maybe keep the xsl and do something along these lines: TransformerFactory tFactory = String stylesheet = "existing.xsl"; String sourceId = "source.xml"; Transformer transformer = StreamSource(stylesheet)); transformer.transform( , new StreamResult(response.getOutputStream())); Jeff C.

Re: [struts-chain] Anyone get Tiles working with the chain?

2004-10-19 Thread Sean Schofield
After a few hours of banging my head against the wall, I have figured it out. Here is the solution for those interested: You need to modify the default chaing-config.xml to include the TilesPreProcessor command. The command is included in the contrib section but its not part of the chain by defa

Re: Migrate xsl into jsp/struts

2004-10-19 Thread Frank W. Zammetti
Truthfully, in light of the info Jeff provided, I'd say go that route. I just looked at the JSTL docs and it seems like that will do exactly what I spent time figuring out! It was one of those typical "evil" corporate projects... the conversation went almost verbatim like this... Executive: "

[struts-chain] Anyone get Tiles working with the chain?

2004-10-19 Thread Sean Schofield
I am having trouble getting a basic layout to work with the struts-chain. I'm using the o.a.s.c.legacy.TilesPlugin along with ComposableRequestProcessor. I'm also using an unaltered version of chaing-config.xml that came with the contrib section. I get an error saying 'default.view' does not sta

Re: Migrate xsl into jsp/struts

2004-10-19 Thread Vicky
If you can find code, would be much appreciated. Thank you all for your responses. -Vicky --- [EMAIL PROTECTED] wrote: > I'm not sure I still have the code in my archives, I > will look, but I actually had cause to tackle a > problem just like this. > > We had an application written by a consul

Re: OT: RE: Problem in Locating a properties File (Not application.properties)

2004-10-19 Thread Jeff Beal
From the documentation for java.lang.ClassLoader: " The name of a resource is a "/"-separated path name that identifies the resource." That is, try /resources/storageDirectory.properties. Caroline Jen wrote: Okay, this code works if I put the properties file in the WEB-INF\classes directory: fina

Re: Migrate xsl into jsp/struts

2004-10-19 Thread Jeff Beal
[EMAIL PROTECTED] wrote: <%=MyXMLTransformer.transform(myForm.getXML(), myForm.getXSLT())%> If you're interested in this type of approach, the JSTL library includes a custom tag that does exactly that. (, I think.) -- Jeff -

Re: OT: RE: Problem in Locating a properties File (Not application.properties)

2004-10-19 Thread Caroline Jen
Okay, this code works if I put the properties file in the WEB-INF\classes directory: final String PROPFILE = "storageDirectory.properties"; Properties oProp = null; oProp = new Properties(); oProp.load( getClass().getClassLoader().getResourceAsStream( PROPFILE ) ); I really would like to

Re: Migrate xsl into jsp/struts

2004-10-19 Thread fzlists
I'm not sure I still have the code in my archives, I will look, but I actually had cause to tackle a problem just like this. We had an application written by a consultant that is now long gone. He did it in MS technologies, using XSLT to transform XML to HTML to generate the output to the brow

Re: Migrate xsl into jsp/struts

2004-10-19 Thread Don Brown
To add to that, you could consider migrating to a struts XSL framework like: * stxx - http://stxx.sf.net * StrutsCX - http://it.cappuccinonet.com/strutscx/index.php Then migrate pages as needs require. This would allow you to do migration in steps - first write Struts interface, then convert XS

Re: Migrate xsl into jsp/struts

2004-10-19 Thread Mark Lowe
Now we need to get rid of xsl code and replace it with jsp/struts. Why do you need to do this? I'd look for a way of getting the xsl transformations to happen via struts and then add any new bits using struts jsps. If there are any problems with the xsl and nobody knows how to fix it then, perhap

Migrate xsl into jsp/struts

2004-10-19 Thread Vicky
Hello all, In my current project we are using xsl which renders xml into xhtml. Now we need to get rid of xsl code and replace it with jsp/struts. Is there an easy tool/way to migrate xsl files into jsps? This is quite huge project so it won't be possible to start it from scratch. Any pointes or

Re: [OT] RE: AspectJ question / lumberjack

2004-10-19 Thread Bill Siggelkow
He's as an AspectJock and he's okay He codes all night and he sleeps all day He makes join points, defines point cuts And likes to give advice On Thursday's he compiles And weaves code very nice ... Wiebe de Jong wrote: Everybody sing! Ohhh, He's a lumberjack, and he's okay, He codes all nigh

[OT] RE: AspectJ question / lumberjack

2004-10-19 Thread Wiebe de Jong
Everybody sing! Ohhh, He's a lumberjack, and he's okay, He codes all night and he works all day. I use strange words, I have no hunch, I don't know what they should be. On Tuesdays I go listing And read messages for me. http://en.wikipedia.org/wiki/The_Lumberjack_Song_(Monty_Python) -

Re: Nested tables and Map

2004-10-19 Thread Erik Weber
Why couldn't you use the c:forEach or logic:iterate tags to accomplish this? I used nested c:forEach tags to iterate a Map of Lists and render nested tables. Each key in the Map was the name of a "type". Each value was a List of beans of that type. So I first had an outer table, with one row for

Re: AspectJ question

2004-10-19 Thread James Mitchell
Because he secretly desires to be a lumberjack!! -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 19, 2004 12:56 PM Subject: Re: AspectJ qu

Re: OT: RE: Problem in Locating a properties File (Not application.properties)

2004-10-19 Thread Caroline Jen
I tried: final String PROPFILE = "storageDirectory.properties"; Properties oProp = null; oProp = new Properties(); oProp.load( getClass().getClassLoader().getResourceAsStream( PROPFILE ) ); Now, I got: java.lang.NullPointerException java.io.Reader.(Reader.java:61) java.io.InputSt

Re: Where's tlds?

2004-10-19 Thread Craig McClanahan
Sounds like you're upgrading from 1.0.2? If so, struts-form was replaced by struts-html (in 1.1), and struts-template was deprecated in 1.1 and removed in 1.2 -- it's replaced by Tiles. In both cases, upgrading should be fairly straightforward ... the new libraries are generally supersets of what

Re: Validating start and end dates

2004-10-19 Thread Bill Siggelkow
I would approach these problems in two separate ways -- for item 1 I would use a mask validator (regex). Then in the form, I would provide methods that allow you to get the converted values. (In the form, you will need to convert the entered String value into either using the dashes or slashes)

Re: Struts FormValidation -> date validation

2004-10-19 Thread Erik Weber
Writing your own validator plugin is not very difficult. See the section on pluggable validators in the Struts documentation. Also if you look on Matt Raible's site, there is an example. It seems you could modify the existing "date" validator to first tokenize your date pattern string on "|", a

Re: last available function call when web app stops or app server shuts down

2004-10-19 Thread Brian Showalter
--- Woodchuck <[EMAIL PROTECTED]> wrote: > hihi all, > > which class/function do i need to extend/override so that i can > absolutely guarantee that code is executed before the web app is > killed? ie. if someone stops Tomcat or stops my Struts web app > instance, and i want to execute some code

Re: last available function call when web app stops or app server shuts down

2004-10-19 Thread Bill Siggelkow
http://java.sun.com/products/servlet/2.3/javadoc/javax/servlet/ServletContextListener.html Woodchuck wrote: hihi all, which class/function do i need to extend/override so that i can absolutely guarantee that code is executed before the web app is killed? ie. if someone stops Tomcat or stops my Str

Re: last available function call when web app stops or app server shuts down

2004-10-19 Thread Matt Bathje
Woodchuck wrote: hihi all, which class/function do i need to extend/override so that i can absolutely guarantee that code is executed before the web app is killed? ie. if someone stops Tomcat or stops my Struts web app instance, and i want to execute some code before it really goes down. The way I

Re: AspectJ question

2004-10-19 Thread Bill Siggelkow
Busted! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: html:textarea

2004-10-19 Thread Serkant Karaca
I know that textarea has autowrapping by default. That means you do not have to modify its definition. Serkant Karaca www.internetteyim.net -Original Message- From: Wylie van den Akker [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 19, 2004 7:41 PM To: [EMAIL PROTECTED] Subject: html:

Re: AspectJ question

2004-10-19 Thread fzlists
Bill, how is it that you write an entire message in surfer-speak, but then at the very end use a hood term like "word"?!? POSER! :) On Tue, October 19, 2004 12:54 pm, Bill Siggelkow said: > Duude, > > Like, man ... no question is stupid ... some of th

Re: AspectJ question

2004-10-19 Thread Bill Siggelkow
Duude, Like, man ... no question is stupid ... some of them just aren't very gnarly ... for sure, dude, this is like asking "Bro, does Struts work well with XML?" For sure, Aspects rock like Nirvana (Cobain lives, dude!) ... google "AspectJ Struts" an

last available function call when web app stops or app server shuts down

2004-10-19 Thread Woodchuck
hihi all, which class/function do i need to extend/override so that i can absolutely guarantee that code is executed before the web app is killed? ie. if someone stops Tomcat or stops my Struts web app instance, and i want to execute some code before it really goes down. is this easy/possible?

html:textarea

2004-10-19 Thread Wylie van den Akker
Anyone know how to get the html:textarea tag to autowrap its text? I tried but no go. Thanks Wylie - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Where's tlds?

2004-10-19 Thread e-denton Java Programmer
Hi, Where are the struts tlds supposed to be? I downloaded the struts zip (jakarta-struts-1.2.4) and the lib (jakarta-struts-1.2.4-lib), but I couldn't find struts-form or struts-template. Thx. - To unsubscribe, e-mail: [EMAI

OT: RE: Problem in Locating a properties File (Not application.properties)

2004-10-19 Thread Hiran.Chaudhuri
Hi, Caroline. Your code tries to open a file from the filesystem, and since the path you specified is invalid from the current working directory you get a FileNotFoundException. Try a oProp new Properties().load (getClass().getClassloader().getResourceAsStream(PROPFILE)); Hiran --

Problem in Locating a properties File (Not application.properties)

2004-10-19 Thread Caroline Jen
The application.properties file in my web application works OKay. I have another file called storageDirectory.properties, which has one line: outputFile = C:\\jakarta-tomcat-5.0.27\\webapps\\AppName\\var\\ I set my classpath to C:\jakarta-tomcat-5.0.27\webapps\AppName\WEB-INF\src\java One of my

Re: help with actionform issue (page refresh)

2004-10-19 Thread Biggie Bendra
Yep, that did it. Thank you very much! bye-Ben --- Hubert Rabago <[EMAIL PROTECTED]> wrote: > Try modifying the mapping of /getQueryPage to > include your form, but > also not to validate it. Also, make sure that the > form is placed on > the same scope as that for /getReport. > > So, somethi

Re: Struts and UTF-8

2004-10-19 Thread Luis Gervaso
I was using action forms also I was changing file.encoding in System properties The problem is in the request, i am sure, what OS are you using? WIN32(use Cp(i don't remember exactly whait is) in file.encoding and it work ok) or UNIX(using ISO_8859_1 and UTF-8 work ok also) If you can't

Re: Does Tiles JSP go in pair?

2004-10-19 Thread PC Leung
I start getting to understand how to use Tiles with Struts Thank you Jeff On Mon, 18 Oct 2004 12:11:59 -0400, Jeff Beal <[EMAIL PROTECTED]> wrote: > Read http://www.lifl.fr/~dumoulin/tiles/doc/tutorial.html#_Toc521292381. > It describes how to move your Tiles definitions (the part in > Welcome.j

Re: help with actionform issue (page refresh)

2004-10-19 Thread Hubert Rabago
Try modifying the mapping of /getQueryPage to include your form, but also not to validate it. Also, make sure that the form is placed on the same scope as that for /getReport. So, something like this: What I think will happen on initial load is Struts will create the form but will have no valu

Re: help : ActionMessages not showing !!!!

2004-10-19 Thread Brady Hegberg
1. Make sure you have the correct entry in your ApplicationResources.properties file like this: anything=Hello user this is a message for you. Note: Sorry if this is obvious but the word "anything" is not what is stored. Rather new ActionMessage("anything")stores the message in your application

Re: Indexed list validation

2004-10-19 Thread Matt Bathje
this is probably a constantly discussed topic and I have surely found a load of inromation concerning this,but it still did not solve my problem. I have a web page which displays multiple records, each record representing one person. I am using index to retrieve each record. The person is repre

Re: why it fires immediately?

2004-10-19 Thread PC Leung
Thank you Jeff On Mon, 18 Oct 2004 12:35:17 -0400, Jeff Beal <[EMAIL PROTECTED]> wrote: > When the RequestProcessor receives the request from clicking on the link > in WelcomeBody.jsp, this is (roughly) the sequence of events that it > follows: > > - Populate the ActionForm with request paramet

Re: Extending DynaValidatorActionForm... or using something else?

2004-10-19 Thread Laurent Duperval
Eddie Bush wrote: Application-specific exceptions are one of the least used and most useful tools. That's exactly how I'd go about doing it, and I dare say it's the right way. Indeed. One thing I've found with this approcah: if I don't put all the mandatory data in the form, I get an error mes

applicationresources file encoding problem

2004-10-19 Thread Serkant Karaca
I'm using struts in JDeveloper. We have to use Turkish characters in our application. The applicationresources file has plenty of Turkish message strings which involves non ACSII characters. When I run the application, I see those strings in applicationresource file are corrupted. But there is no p

Validating start and end dates

2004-10-19 Thread Milind Rao
I'm using the Validator framework to validate dates and I have two questions 1. I'd like the user to be able to enter a date using different delimiters like '/' or '-'. So both MM-dd-y and MM/dd/ should be allowed. Is there a way to do that? Currently I'm using the built-in date validat

Re: Struts and UTF-8

2004-10-19 Thread Arnaud Vandyck
Tue, 19 Oct 2004 13:39:11 +0200, Václavík Radek <[EMAIL PROTECTED]> wrote: > Hi, > > Try setting request character encoding to UTF-8. I've had the same problem > and solved it by extending ActionServlet to e.g. MyActionServlet (of course > you have to rewrite this in struts-config.xlm, too) and

Re: Struts and UTF-8

2004-10-19 Thread Dmitrii CRETU
Another solution is to implement a Filter that does request.setCharacterEncoding("UTF-8"); Dima. VR> Hi, VR> Try setting request character encoding to UTF-8. I've had the same problem VR> and solved it by extending ActionServlet to e.g. MyActionServlet (of course VR> you have to rewrite th

Re: Struts and UTF-8

2004-10-19 Thread Luis Gervaso
I had the same problem, and I get to correct this using a filter I was testing with request.setCharacterEncoding("UTF-8"); also but :( And with the filter all works ok now Luck Luis Gervaso from Spain On Tue, 19 Oct 2004 13:39:11 +0200, Václavík Radek <[EMAIL PROTECTED]> wrote: > Hi, > > T

Re: Tomcat 5 & Struts

2004-10-19 Thread James Mitchell
> I didn't like MyEclipse too.. With WTP, you can deploy as many > projects as you like to a single tomcat.. Maybe MyEclipse supports > this as well, I don't know. MyEclipse does support this. However, in my case, I may have to run one of 3 branches (source control) of the same project under the

Struts FormValidation -> date validation

2004-10-19 Thread daniel weiss
Hi all, how could i set multiple date pattern strings to add other formats of dates ? It is possible ?! Some formats look like as: d.M.yy dd.M.yy d.MM.yy dd.MM.yy d.M. dd.M. d.MM. dd.MM. Thx in advance Daniel datePatternStrict dd.MM.,dd.MM.yy

RE: Struts and UTF-8

2004-10-19 Thread Václavík Radek
Hi, Try setting request character encoding to UTF-8. I've had the same problem and solved it by extending ActionServlet to e.g. MyActionServlet (of course you have to rewrite this in struts-config.xlm, too) and inserted this as the first line of that servlet: request.setCharacterEncoding("UTF-8")

Struts and UTF-8

2004-10-19 Thread Arnaud Vandyck
Hi, I'd like to set UTF-8 for my application but I have problems when putting accents in the database... All the pages are in UTF8 but as soon as I put an accent in a texfield and submit it, the accent seems to be translated in latin1 or something and I got strange characters in the updated textfi

Re: help : ActionMessages not showing !!!!

2004-10-19 Thread anurag shinde
1) ensure that ur mentioning all tablibrary in ur jsp files. 2) check with application resource property file path in struts config.xml 3) on jsp which u say is half blank just see view > source and check in html code the point where it terminates. if possible send that html code. Thanks and Rega

RE: Multiple Struts Config!!

2004-10-19 Thread sachin
u can put the files anywhere below web-inf , but u will have to mention them in web.xml's init parameter. Regards, Sachin Hegde -- Original Message --- From: "Krishna Srinivasan, ISDC Chennai" <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> Sent: Tue, 19 Oc

help : ActionMessages not showing !!!!

2004-10-19 Thread sachin
hi all i have action messages added in the Action. ActionMessages messages = new ActionMessages(); messages.add(ActionMessages.GLOBAL_MESSAGE, new ActionMessage("anything")); messages.add("message", new ActionMessage("something","someValue")); saveMessages(request, messages); and in the JSP pag

help : ActionMessages not showing !!!!

2004-10-19 Thread sachin
hi all i have action messages added in the Action. ActionMessages messages = new ActionMessages(); messages.add(ActionMessages.GLOBAL_MESSAGE, new ActionMessage("anything")); messages.add("message", new ActionMessage("something","someValue")); saveMessages(request, messages); and in the JSP page

RE: Validation

2004-10-19 Thread anurag shinde
Most important part of forward on sucessuss and failure is not mentioned. so on executing action class where will control go to ? 1) Add some system.out.println in action class and check if action class is invoked . 2) Add forward path for sucess and failure in action tag. Thanks and Regards Anura

RE: Validation

2004-10-19 Thread Marco Mistroni
Hello, Have you defined any action forwards? Maybe problem is not validation Regards marco -Original Message- From: Ankur Gupta [mailto:[EMAIL PROTECTED] Sent: 18 October 2004 19:18 To: 'Struts Users Mailing List' Subject: Validation Hello, I have setup validation

RE: Multiple Struts Config!!

2004-10-19 Thread Ashutosh Satyam
If by module you mean different WEB Application altogether, then I'm sorry to say that struts multiple config file approach doesn't addresses it. Application modules allow a single Struts (Web) application to be split into multiple modules, each with its own Struts configuration file, JSP pages,

Re: Tomcat 5 & Struts

2004-10-19 Thread Tuncay Baskan
On Mon, 18 Oct 2004 10:43:44 -0400, James Mitchell <[EMAIL PROTECTED]> wrote: ... > Personally, I prefer Eclipse. I do not like to use the Eclipse plugins for > running Tomcat inside Eclipse. It is just easier/faster for me to run > Tomcat from the command line and then attach *only* if I need to

RE: [OT] Struts Networking / BOF IV / Friday / October 22 @ 19: 3 0 / Restaurant / The Furnace

2004-10-19 Thread Pilgrim, Peter
Hi Please see intermixed > -Original Message- > From: Pilgrim, Peter > > Hi > > The reservation for the BOF IV at The Furnace has been confirmed > yesterday. The following people are attending so far: > > Peter Pilgrim > Alan Mehio > Christopher Marsh-Bourdon >

RE: Indexed list validation

2004-10-19 Thread Václavík Radek
Oh c'mon guys, is there really no one able to help with this? I would really appreciate it! Thanks a lot. Or at least could you point me to some COMPREHENSIVE info about validation and indexing? (not the struts site please:) Radek > -Original Message- > From: Václavík Radek [mailto:[EMAIL

Nested tables and Map

2004-10-19 Thread Heligon Sandra
Hi, I would like to add a 'nested table' in my Struts application. <><><> <> <> 1980Pop TitiA TotoB