RE: [OT] Geek Code

2003-01-30 Thread Daniel Joshua
Why does everthing revolve around beer? Regards, Daniel -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 11:51 AM To: Struts Users Mailing List Subject: RE: [OT] Geek Code You must be from the eastern states mate. The figure on the civilise

Velocity & Tiles

2003-01-30 Thread Mark Chaimungkalanont
Just wondering, is it possible to use Tiles & Velocity together? I guess the question could just be, does Velocity permit you to import JSP tag libraries? thanks MC - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional com

Reset method

2003-01-30 Thread George Jacob
Hi all I have a requirement like, everytime my ActionForm is populated, it should reset . I know that it is possible by using reset() method. But please explain me the way in which i can make use of it. Is there any configuration is required in the struts-config.xml file? Or simply we need to o

jsp:include

2003-01-30 Thread usha
Hi i have a requirement like this i have a jsp where i am listing all the records from a table. this list is coming from ActionForm getter method. this page i want to include in another jsp as a jsp:include. can i include like that if yes how. right now i will be calling the action on the hyp

RE: one desing question, need help

2003-01-30 Thread Ashish Kulkarni
Hi, Thnx for all the mails, where can i get some example of using filters?? can u please recommend some web sites... where i can get info Ashish --- Andrew Hill <[EMAIL PROTECTED]> wrote: > Shared utility class is probably your best bet. > > In my app, I actually created my own dispatch action >

Re: This list archives

2003-01-30 Thread Chris Halverson
"Scott Doherty" <[EMAIL PROTECTED]> writes: > Is there a newsgroup for this list I can use to read and search > archives? To read: nntp://news.gmane.org/gmane.comp.jakarta.struts.user To search: http://search.gmane.org/search.php > I would prefer to be able to use Outlook Express newsgroup r

RE: [OT] Geek Code

2003-01-30 Thread Andrew Hill
You must be from the eastern states mate. The figure on the civilised side of the continent is closer to 70% less spending power nowadays, and anyway ... we can spell "Mum" correctly, and we know how to pronounce "herbs" correctly, and we like cricket, and most important of all - our beer is better

This list archives

2003-01-30 Thread Scott Doherty
Hello, I find the information and discussion in this mailing list helpful. Is there a newsgroup for this list I can use to read and search archives? I would prefer to be able to use Outlook Express newsgroup reader if possible. Thanks for any suggestions.

RE: one desing question, need help

2003-01-30 Thread Andrew Hill
Shared utility class is probably your best bet. In my app, I actually created my own dispatch action class that extended my base Action class (by cutting and pasting the struts dispatch action source into my own class changing the 'extends'declaration), though this has various drawbacks, the most

RE: [OT] Geek Code

2003-01-30 Thread Todd Pierce
A stupid Australian is just a stupid American with 40% less spending power -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Friday, 31 January 2003 2:29 PM To: Struts Users Mailing List Subject: RE: [OT] Geek Code Ill have you know Im a stupid Australian not a stupid

RE: [OT] Geek Code

2003-01-30 Thread Andrew Hill
Ill have you know Im a stupid Australian not a stupid American. Now run along and bother my oh so superior person no further thou ignorant plebian who groketh not the ";->" smiley, or I shall have to insult you a second time. (Or say "ni" to you...) For anyone who didnt quite parse my comment co

RE: Validator, HELP

2003-01-30 Thread Swish
Thanks for the link, but I still don't see what I did wrong :( Any hints? Todd Pierce <[EMAIL PROTECTED]> wrote:This might help: http://home.earthlink.net/~dwinterfeldt/ -Original Message- From: Swish [mailto:[EMAIL PROTECTED]] Sent: Friday, 31 January 2003 10:28 AM To: [EMAIL PROTEC

RE: problem parsing actions in struts-config.xml (java.lang.IllegalArgumentException: objectis not an instance of declaring class)

2003-01-30 Thread Brian . O'Hare
Possibly Marco. But I have just installed a different jvm (j2sdk1.4.1_01) and started tomcat using this jvm and it has fixed the problem. Could this be because it is now using a different xml parser ? what gives? Brian. |-+> | | "Marco Tedo

RE: [VALIDATOR] requiredif ??

2003-01-30 Thread Craig R. McClanahan
On Thu, 30 Jan 2003, James Turner wrote: > Date: Thu, 30 Jan 2003 19:06:19 -0500 > From: James Turner <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: 'Struts Users Mailing List' <[EMAIL PROTECTED]> > Subject: RE: [VALIDATOR] requiredif ?? > > > From: Karr, Dav

RE: one desing question, need help

2003-01-30 Thread Jacob Hookom
People use filters for exactly what you are describing-- security and validation. | -Original Message- | From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]] | Sent: Thursday, January 30, 2003 6:11 PM | To: Struts Users Mailing List | Subject: RE: one desing question, need help | | Hi, | What

Re: Repost: ActionError without message key (urgent)

2003-01-30 Thread Scott Seong
Excellient idea Thanks. - Original Message - From: "Neil Erdwien" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, January 30, 2003 12:54 AM Subject: Re: Repost: ActionError without message key (urgent) > How about defining a message with the ke

RE: one desing question, need help

2003-01-30 Thread Ashish Kulkarni
Hi, What i have to do is the following, I have to check if the session is valid or not, if the user has logged, has valid user name or not... And all this info isstored in the session, so i have to send session to check this values I dont want to use a single ton pattern because, Then there will

RE: one desing question, need help

2003-01-30 Thread Jacob Hookom
Very true John. I think the dependency in the decision is at what layer in his application these responsibilities belong to. If it's business logic, then yes, do a Util class for your business logic, but if it's what I would call a "means" or a utility for your presentation layer or struts code,

RE: [VALIDATOR] requiredif ??

2003-01-30 Thread James Turner
> From: Karr, David [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 30, 2003 6:05 PM > To: Struts Users Mailing List > Subject: RE: [VALIDATOR] requiredif ?? > > > Gee, I haven't been paying much attention to this issue, but > that looks like there could be some synergy with the JSTL EL >

RE: one desing question, need help

2003-01-30 Thread John Espey
indeed, filters do rock. The only thing I would consider is that you're going to lose type safety, and you're going to be using either the request or the session as the pipe between the filter and the action. This may not be a bad thing, but consider which of these you'd rather see: Connection c

RE: one desing question, need help

2003-01-30 Thread Jacob Hookom
Or, you could do a filter that would setup the connection and properties in the request to these actions, then after they are done, return the connection or close it, and essentially clean up whatever you created. "Filters Rock!" - Area Culligan man | -Original Message- | From: Jo

RE: Validator, HELP

2003-01-30 Thread Todd Pierce
This might help: http://home.earthlink.net/~dwinterfeldt/ -Original Message- From: Swish [mailto:[EMAIL PROTECTED]] Sent: Friday, 31 January 2003 10:28 AM To: [EMAIL PROTECTED] Subject: Validator, HELP Hi All, Got a question about configuring the validator. I have a date field that

RE: one desing question, need help

2003-01-30 Thread John Espey
Just write a singleton class with methods that take the appropriate parameters, and have both actions delegate to that class. Then any other classes can use those services also. -Original Message- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 5:30 PM T

one desing question, need help

2003-01-30 Thread Ashish Kulkarni
Hi, I want to write 2 classes , one class say MyAction extends Action and the other class say MyDispatchAction extends DispatchAction. I want to have some code ( like setting some parameters or getting connection from pool) handled in both the classes, but i want to write it in such a way that i d

Validator, HELP

2003-01-30 Thread Swish
Hi All, Got a question about configuring the validator. I have a date field that I would like validated only if it has been entered. I have the following entry in the validation.xml datePatternStrict MM/dd/ As it stands, if the user does not enter a da

Re: Forms and getting the ActionServlet from the form

2003-01-30 Thread bkafka
I would agree with you if inre setting anything in there but I should be able to read a web application specific property. That can be quite handy. Also, if the getServlet() method advertises that it gets your ActionServlet it should do it. I'm just wondering if it's in the Struts 1.1 beta I have o

RE: problem parsing actions in struts-config.xml (java.lang.IllegalArgumentException: objectis not an instance of declaring class)

2003-01-30 Thread Brian . O'Hare
The full class name IS correct. Anyway, it happens with the struts-examples.war which is supplied by jakarta which works (I assume) for most people. - Forwarded by Brian O'Hare/LND/DPIWE on 31/01/2003 10:15 AM - |-+> | | "Marco Tedone"

? tiles nesting

2003-01-30 Thread Jörg Maurer
Hi! 1.) If i defined in defintion.xml sth. that should work in jsp code like : base.layout -> base_layout.jsp -> -> workflow_content.jsp -> register_region.jsp this always gives me null exception. Why? Am i missing some or .

RE: [VALIDATOR] requiredif ??

2003-01-30 Thread Karr, David
Gee, I haven't been paying much attention to this issue, but that looks like there could be some synergy with the JSTL EL engine. You could easily handle expressions like that in the EL. -Original Message- From: James Turner [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 11:

RE: Struts-el

2003-01-30 Thread John Espey
I would use the JSTL core:out tag, but I would also probably use the core:forEach tag instead of the logic:iterate: I know you wanted to use the struts taglib, but this is how I would probably do it. you could also use the

RE: Struts-el

2003-01-30 Thread Wendy Smoak
> There is no bean:write in struts-el.tld , what is the equivalent of the > above using struts-taglib-el.tld You wouldn't use struts-el, you would use the JSTL tags. Look at the README.txt file in the contrib/struts-el directory (of 1.1b3) for info on what tags to use when replacing the original

Struts-el

2003-01-30 Thread Vinay
Has anybody used Struts-EL (expression language) TLD How do I iterate over a collection using There is no bean:write in struts-el.tld , what is the equivalent of the above using struts-taglib-el.tld Thanks regards Vinay

RE: Reload after forward executes the previous action.

2003-01-30 Thread carlos list
Excellent. Problem solved. Thanks a lot. From: "Sri Sankaran" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: RE: Reload after forward executes the previous action. Date: Thu, 30 Jan 2003 14:55:25 -05

Re: [OT] Geek Code

2003-01-30 Thread Tony Baity
Don't scare me like that. For a second I thought that Pakistani/British fellow that was annoying everyone a few months ago was back on the list. alexj <[EMAIL PROTECTED]> wrote:lol sorry for my post (s) I'm a bit tired - Original Message - From: "John Espey" To: "Struts Users Mailing L

RE: Forms and getting the ActionServlet from the form

2003-01-30 Thread pqin
I prefer your workaround. It is simply not good idea to me to touch servlet request or ActionMapping or ActionServlet in ActionForm. Regards, PQ "This Guy Thinks He Knows Everything" "This Guy Thinks He Knows What He Is Doing" -Original Message- From: bkafka [mailto:[EMAIL PROTECTED

RE: Disply messages in different colors on jsp

2003-01-30 Thread Nicolas Robert
Hello, You can save your error messages with a diffent error key than the information messages. Here's a short example : In your java : ActionErrors errors = new ActionErrors(); errors.add (KEY_ERROR_MESSAGES, new ActionError("your message key"));

Is there a List navigater Tag to use with struts ? (fwd)

2003-01-30 Thread John York
Hi, I just noticed this message about paging tags posted on the archive for struts-user. I was using Ed Hill's display taglib for doing this sort of thing in the past, but it wasn't flexible enough for me, so I ended up completely rewriting it. I've been in the process of putting a proposal to

RE: [VALIDATOR] requiredif ??

2003-01-30 Thread Wendy Smoak
James wrote: > Dumb question: Are you sure you're running validations at all? Yes. I have some simple validations like: and datePatternStrict MM/dd/ on

Re: Forms and getting the ActionServlet from the form

2003-01-30 Thread bkafka
I am trying to get a property passed from a plugin to initialize a List. I have a workaround, which is getting it from the Action and then putting it in a hidden field but it bothers me that I can't get from the form when the method is advertised. - Original Message - From: <[EMAIL PROTECT

Re: [Friday] Obscure (?) Computer Languages

2003-01-30 Thread Tony Baity
I know of some folks that put a few satellites in orbit that run on Forth. There is nothing quite like having your hands right on the program stack. :) M (the language formally known as MUMPS)... the database is the code / the code is the database... the whole DB structure looks like DOM with no

RE: Disply messages in different colors on jsp

2003-01-30 Thread Rene Eigenheer
try ActionErrors and ActionMessages - works fine > -Original Message- > From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]] > Sent: Donnerstag, 30. Januar 2003 23:02 > To: [EMAIL PROTECTED] > Subject: Disply messages in different colors on jsp > > > Hi, > > In my application some messages

Re: problems with tag libraries

2003-01-30 Thread Kirby Vandivort
I don't know what you mean by this. I'm using the nightly build and I've looked through all of the samples and non of them seem to be using the http://jakarta URI (maybe that should tell me something) even though the docs clearly say that this can be done to 'simplify deployment'. To the other r

Disply messages in different colors on jsp

2003-01-30 Thread Ashish Kulkarni
Hi, In my application some messages are error and some are information, i want to show error messages in red and information messages in blue, so how can i do it?? can i store them both in one ActionErrors class and in jsp have some thing to show in different colors or have 2 different ActionErr

RE: Why do we need SwitchAction

2003-01-30 Thread Sharma, Sanjay (LNG-DAY)
Yes. In a follow-up e-mail I asked a follow-up question. This problem also exists if contextRelative forwards are used. Shouldn't the contextRealtive forward change the module before forwarding the request. Sanjay -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sen

RE: [VALIDATOR] requiredif ??

2003-01-30 Thread James Turner
> From: Wendy Smoak [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 30, 2003 2:44 PM > To: 'Struts Users Mailing List' > Subject: RE: [VALIDATOR] requiredif ?? > > > James wrote: > > A quick look at that configuration looks correct. Let me know if it > > doesn't work for you. > > No, it d

RE: Forms and getting the ActionServlet from the form

2003-01-30 Thread pqin
What do you need to get the ActionServlet in your ActionForm? Regards, PQ "This Guy Thinks He Knows Everything" "This Guy Thinks He Knows What He Is Doing" -Original Message- From: bkafka [mailto:[EMAIL PROTECTED]] Sent: January 30, 2003 4:28 PM To: Struts Users Mailing List Subjec

Re: Forms and getting the ActionServlet from the form

2003-01-30 Thread bkafka
The HttpServletRequest is not available from something extending ActionForm. I do use that when I'm in an Action. - Original Message - From: "David Graham" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, January 30, 2003 12:33 PM Subject: Re: Forms and getti

Re: Dynamic GUI Generation

2003-01-30 Thread alexj
I never have done that but maybe you can do it using xdoclet but I'm really not sure - Original Message - From: "Raji Vivek" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 30, 2003 9:41 PM Subject: Dynamic GUI Generation > Hello > > We are using struts 1.0.2 for our

Re: Why do we need SwitchAction

2003-01-30 Thread Craig R. McClanahan
Doing things your way leaves the wrong ModuleConfig stored under the request attribute identified by Globals.MODULE_KEY, so the destination action or page will likely misbehave. You can avoid using SwitchAction, as long as you emulate what it accomplishes -- a call to RequestUtils.selectModule() f

Re: Session based authentication across muliple webapps

2003-01-30 Thread Craig R. McClanahan
On Thu, 30 Jan 2003, Arnesen, Geir wrote: > Date: Thu, 30 Jan 2003 07:46:01 +0100 > From: "Arnesen, Geir" <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Session based authentication across muliple webapps > > Is it, - or how may I

RE: [OT] Geek Code

2003-01-30 Thread Mark Galbreath
That was a compliment, Andrew. -Original Message- From: alexj [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 2:52 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: [OT] Geek Code pff you just song like a stupid man who think he have all the rigth and the oth

Re: How to have a generated string processed by Struts?

2003-01-30 Thread Craig R. McClanahan
On Wed, 29 Jan 2003, Luiz-Otavio Zorzella wrote: > Date: Wed, 29 Jan 2003 08:40:22 -0800 > From: Luiz-Otavio Zorzella <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: How to have a generated string processed by Struts? > > What if I

RE: Struts Validator Debug output? What is it doing?

2003-01-30 Thread Craig R. McClanahan
On Wed, 29 Jan 2003, Alireza Fattahi wrote: > Date: Wed, 29 Jan 2003 12:52:14 +0330 > From: Alireza Fattahi <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: 'Struts Users Mailing List' <[EMAIL PROTECTED]> > Subject: RE: Struts Validator Debug output? What is it

Re: [OT] Geek Code

2003-01-30 Thread alexj
try swiss :)) - Original Message - From: "Jarnot Voytek Contr AU HQ/SC" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Thursday, January 30, 2003 9:07 PM Subject: RE: [OT] Geek Code > I'd call you stupid right back, but I can't figure out how to phrase

Re: Dynamic GUI Generation

2003-01-30 Thread David Graham
I believe DynaActionForms can do this but that is a 1.1 feature. 1.1 final should be out relatively soon so you should consider upgrading to get new features you need. David From: Raji Vivek <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED

RE: problems with tag libraries

2003-01-30 Thread Nicolas Robert
Hi, You could try this one : <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> Nicolas -Original Message- From: Kirby Vandivort [mailto:[EMAIL PROTECTED]] Sent: j

Dynamic GUI Generation

2003-01-30 Thread Raji Vivek
Hello We are using struts 1.0.2 for our application. Our application is huge and needs a certain sets of products(with new fields on the screen) to be added every 6 months. All the screens for these products will have similar look and feel. So, to make the development easier and faster, we want

Re: problems with tag libraries

2003-01-30 Thread alexj
struts b3 use the WEB uri look at the sample include with your version - Original Message - From: "Kirby Vandivort" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 30, 2003 9:32 PM Subject: problems with tag libraries > Per the documentation section 5.4.3.1: > > All t

Re: [OT] Geek Code

2003-01-30 Thread alexj
lol sorry for my post (s) I'm a bit tired - Original Message - From: "John Espey" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, January 30, 2003 9:32 PM Subject: RE: [OT] Geek Code > We should take political discussions offline as well, we don't

RE: [OT] Cayenne O/R Mapping Tool

2003-01-30 Thread Bueno Carlos M
never used cayene but the ibatis o/r lib is very good. I've used it for high-volume applications with no problem. The memory caching is killer. www.ibatis.com -Original Message- From: Daniel H. F. e Silva [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 1:13 PM To: [EMAIL PROTEC

JspException form-bean in virtual server

2003-01-30 Thread Daniel E. Morrison
Hello- struts 1.1-3b, iPlanet Web Server 6.0 sp5, Using virtual server, I get: , root cause: javax.servlet.jsp.JspException at org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:600) at _jsps._logon_jsp._jspService(_logon_jsp.java:164) Has anyone ever gotten a form-bean to work with

RE: [OT] Geek Code

2003-01-30 Thread John Espey
We should take political discussions offline as well, we don't ALL share your views. ;-) -Original Message- From: Daniel H. F. e Silva [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 2:24 PM To: Struts Users Mailing List Subject: RE: [OT] Geek Code Hey guys, Let's stop to

problems with tag libraries

2003-01-30 Thread Kirby Vandivort
Per the documentation section 5.4.3.1: All that's required to install the struts tag libraries is to copy struts.jar into your /WEB-INF/lib directory and reference the tags in your code like this: <%@ taglib uri="http://jakarta.apache.org/struts/tags-html-1.0"; prefix="html"

Re: [OT] Geek Code

2003-01-30 Thread James Mitchell
I agreetake it offline guys. -- James Mitchell - Original Message - From: "Daniel H. F. e Silva" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, January 30, 2003 3:23 PM Subject: RE: [OT] Geek Code > Hey guys, > Let's stop to hurt member

RE: [OT] Geek Code

2003-01-30 Thread Daniel H. F. e Silva
Hey guys, Let's stop to hurt members of this list. We are here to talk about struts and technology in general. We are not here to start a war. Bush will do it! Love and peace for anyone, Daniel. --- Jarnot Voytek Contr AU HQ/SC <[EMAIL PROTECTED]> wrote: > I'd call you stupid right back, but

Re: Why doesn't the application resource file get loaded?

2003-01-30 Thread Bjørn T Johansen
I haven't done anything with the Tomcat's classpath and jarring up all my classes didn't work either... :( Anymore suggestions? BTJ On Thursday 30 January 2003 20:35, David Graham wrote: > I have had this same problem in the past. Make sure you're not putting > anything on Tomcat's classpath.

Re: logic:empty AND logic:notEmpty Both executing?

2003-01-30 Thread Michael P. Jones
Oh I feel silly now. 8-) Thanks alot! -Michael On Thu, 30 Jan 2003 [EMAIL PROTECTED] wrote: > You are closing your starting tag. > Remove the / at the end of your starting tag > ...pPage.currentImage"> instead of > ...pPage.currentImage"/> > On Thu, 30 Jan 2003 13:41:17 -0500 (EST) > "Mich

[Tiles] Linking to definitions factory from servlet

2003-01-30 Thread Duane Morin
I've got Tiles configured as a struts plug-in: I've got a servlet that takes the name of a tiles definition as a parameter. Before forwarding it along to my dispatcher page, I'd like to look it up in the factory and make sure it exists (and forward to a different page if necessary).

RE: [OT] Geek Code

2003-01-30 Thread Jarnot Voytek Contr AU HQ/SC
I'd call you stupid right back, but I can't figure out how to phrase it. Are you a stupid: Swissy? Swissite? Swizzler? Switzerlandian? Switzerlandener? Switzerlard? Switzerlander? > -Original Message- > From: alexj [mailto:[EMAIL PROT

RE: Why do we need SwitchAction

2003-01-30 Thread Sharma, Sanjay (LNG-DAY)
May be I understand why SwicthAction is needed. If I want to forward from an Action in module A to a JSP in module B, I can set the contextRelative to true. ... However when I get to JSP in moduleB, I am still really in module A (Module A is the current module on the request). All UR

RE: Reload after forward executes the previous action.

2003-01-30 Thread Sri Sankaran
Set the redirect attribute of the appropriate to 'true'. Sri > -Original Message- > From: carlos list [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 30, 2003 2:51 PM > To: [EMAIL PROTECTED] > Subject: RE: Reload after forward executes the previous action. > > > > > > Sounds g

Re: [OT] Geek Code

2003-01-30 Thread alexj
pff you just song like a stupid man who think he have all the rigth and the other people didn't have the rigth to have a different opinon stupid american - Original Message - From: "Andrew Hill" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday,

RE: Reload after forward executes the previous action.

2003-01-30 Thread carlos list
Sounds good. How can I do that? From: "Sri Sankaran" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: RE: Reload after forward executes the previous action. Date: Thu, 30 Jan 2003 14:29:24 -0500 You c

RE: [VALIDATOR] requiredif ??

2003-01-30 Thread Wendy Smoak
James wrote: > A quick look at that configuration looks correct. Let me know if it > doesn't work for you. No, it doesn't. It's as if that rule isn't even there-- if there is no prospect, and there is a prospect name, even if the address is blank, it passes validation and goes to the next step.

Re: [VALIDATOR] requiredif ??

2003-01-30 Thread Matthew Meyer
Is there any reason that none of the books, or docs discuss writeing javascript pluggable validators. I wrote my own xorDependency pluggable javascript validator, one field or the other field required but not both. It takes one var named secondField that tells it the other field in the Validat

RE: [VALIDATOR] requiredif ??

2003-01-30 Thread Sri Sankaran
I suppose that is an acceptable price to pay for being to declaratively define validations. I am hoping to take advantage of requiredif to stop validator from validating upon the first error encountered -- of course it works only where one is testing the 'required' rule. Sri > -Original M

RE: Html Text Message body content

2003-01-30 Thread Karr, David
If you're using Struts and JSTL, you might as well use Struts-EL, so you could do the following: -Original Message- From: PILGRIM, Peter, FM [mailto:[EMAIL PROTECTED]] Sent: Monday, January 27, 2003 5:42 AM To: Struts Users Mailing List (E-mail) Subject: Html Text Message body content

RE: [VALIDATOR] requiredif ??

2003-01-30 Thread James Turner
> From: Sri Sankaran [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 30, 2003 2:30 PM > To: Struts Users Mailing List > Subject: RE: [VALIDATOR] requiredif ?? > > > Man, that looks convoluted. > > Sri Well, short of implementing a full boolean expression language inside Validator, it was

struts-example JspException using form-bean

2003-01-30 Thread Daniel E. Morrison
Hello- Running struts 1.1-3b struts-example. The struts-config.xml is configured to use DynaValidatorForm by default - which works fine. However, when I switch to the form-bean: I get the following error: , root cause: javax.servlet.jsp.JspException at org.apache.struts.taglib.html.FormTag

Re: Why doesn't the application resource file get loaded?

2003-01-30 Thread David Graham
I have had this same problem in the past. Make sure you're not putting anything on Tomcat's classpath. That seemed to fix my problem. You might also try jarring up all your class files and putting it in /WEB-INF/lib instead. David From: Bjørn T Johansen <[EMAIL PROTECTED]> Reply-To: "S

Re: Forms and getting the ActionServlet from the form

2003-01-30 Thread David Graham
You could use the HttpServletRequest to get the HttpSession to get the ServletContext. David From: "bkafka" <[EMAIL PROTECTED]> Reply-To: "bkafka" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: Forms and getting the ActionServlet from the form Date: Thu, 30 Jan 2003 12:24:01 -0700 Hi

RE: [VALIDATOR] requiredif ??

2003-01-30 Thread Sri Sankaran
Man, that looks convoluted. Sri > -Original Message- > From: PILGRIM, Peter, FM [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 30, 2003 1:03 PM > To: 'Struts Users Mailing List' > Subject: RE: [VALIDATOR] requiredif ?? > > > In the Struts User Guide there is a large example with

RE: Reload after forward executes the previous action.

2003-01-30 Thread Sri Sankaran
You can redirect instead of forwarding. Of course, as you know, this creates a new request and so you can't expect to use anything that is in request scope in the list page. Sri > -Original Message- > From: carlos list [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 30, 2003 1:54

RE: [VALIDATOR] requiredif ??

2003-01-30 Thread James Turner
A quick look at that configuration looks correct. Let me know if it doesn't work for you. James Turner Owner & Manager, Black Bear Software, LLC [EMAIL PROTECTED] Author: MySQL & JSP Web Applications: Data Driven Programming Using Tomcat and MySQL ISBN 0672323095; Sams, 2002 Co

Forms and getting the ActionServlet from the form

2003-01-30 Thread bkafka
Hi, I have a Form which extends ActionForm and need to get the ActionServlet instance. When I attempt to do this using this.getServlet() method I am returned a null reference. My actual goal is to get the ServletContext which I should be able to get from the ActionServlet instance. Anybody

RE : logic:empty AND logic:notEmpty Both executing?

2003-01-30 Thread Roy . Stephan
You are closing your starting tag. Remove the / at the end of your starting tag ...pPage.currentImage"> instead of ...pPage.currentImage"/> -Message d'origine- De : Matthew Meyer [mailto:[EMAIL PROTECTED]] Envoyé : jeudi 30 janvier 2003 13:51 À : Struts Users Mailing List Objet : Re: log

Nesting DynaValidatorForms

2003-01-30 Thread Matthew Meyer
I was wondering if there was a way to either nest DynaValidatorForms, or any other way to use more than one DynaValidatorForm in the same view/action? The big gotcha if that I still need validation to function. Can I use nested property notation in the validation.xml? Any help or experience on

RE: Validator Problems

2003-01-30 Thread Sri Sankaran
Your struts-config doesn't have a plug-in element for the Validator. Sri > -Original Message- > From: Softwareentwicklung Hauschel > [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 30, 2003 1:33 PM > To: Struts Users Mailing List > Subject: Validator Problems > > > Hey all, > i'v

Reload after forward executes the previous action.

2003-01-30 Thread carlos list
Hello list. This is my case: I have one action called NewIssue and one called ListIssues. NewIssue processes a very simple input form in newissue.jsp. ListIssues gives me a list of all the issues entered by the user in listissues.jsp. In my struts-config.xml file i have: type="cde.control

Re: logic:empty AND logic:notEmpty Both executing?

2003-01-30 Thread Matthew Meyer
I saw this once and couldn't figure it out. Then I reaized that the taglibs weren't defined in the JSP and that they were being evaluated.. Do a view source from your browser, to verify this.. Hope This solves your problem, because it's nice when they are easy to fix. Matt, On Thu, 30 Jan 20

logic:empty AND logic:notEmpty Both executing?

2003-01-30 Thread Michael P. Jones
Hello- I have an object that is null (that is what the log says) however the logic:empty and logic:notEmpty tags are both executing the nested body. JSP code: NOT EMPTY EMPTY I have a log message in my currentTripPage.getCurrentImage() method. The log message says that currentImage is

Validator Problems

2003-01-30 Thread Softwareentwicklung Hauschel
Hey all, i've problems with my validator: 30.01.2003 19:27:39 org.apache.struts.validator.ValidatorActionForm validate SCHWERWIEGEND: Resources not defined for Validator org.apache.commons.validator.ValidatorException: Resources not defined for Validator at org.apache.commons.validator.Va

RE: How to REDIRECT?

2003-01-30 Thread Kevin Tung
try specifying KT -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 1:16 PM To: [EMAIL PROTECTED] Subject: How to REDIRECT? Hello, how to say to IE (browser) to change url? use redirect instead forward. one Action class call anoth

Re: How to have a generated string processed by Struts?

2003-01-30 Thread Luiz-Otavio Zorzella
Well, it's rather simple -- I wanted to be able to use the power of struts constructs, even if the content was not known a priori. But I just realized that if I can do that (and I'm pretty sure there's a way to pass internally a string for the Struts taglibs to parse), I'd be incurring in a gr

RE: How to REDIRECT?

2003-01-30 Thread Joe Barefoot
Dunno why you're doing this, but you can tell the browser to refresh with a different URL in the meta tag: http:///www.myserver.com/someURL.do"; > Note that the URL must be an absolute URL, not a relative one. You'll prolly have to use a scriplet to create the absolute URL in the header. --

Why doesn't the application resource file get loaded?

2003-01-30 Thread Bjørn T Johansen
In theory it should, but it ain't. I am running Struts 1.1 Beta 3 and TomCat 4.1.18 under Linux... My ApplicationResources.properties file is in the folder webapp/WEB-INF/classes/com/havleik and in the web.xml file I have: ...snip action org.apache.struts.action.ActionServlet

RE: design question about action chainning(As quoted in :Struts in action...by Ted Husted et al..)

2003-01-30 Thread Derek Richardson
But you still have to duplicate code in the actions, right? Even if that code is as simple as: Service service = Service.getService(SERVICE_KEY); Foo[] foos = service.getFoos(); request.setAttribute(FOO_KEY, foos); Action chaining allows this code to be written once and used many times. Thus you

Why do we need SwitchAction

2003-01-30 Thread Sharma, Sanjay (LNG-DAY)
I am wondering why SwicthAction is needed. The following example uses SwitchAction to switch from module test2 to module test. In config file of module test2. ... ... ... To forward to Action test in module test from an Action in current module (test2), I can use

How to REDIRECT?

2003-01-30 Thread michael . korolyov
Hello, how to say to IE (browser) to change url? use redirect instead forward. one Action class call another as it defined in struts-config.xml - SaveAction --> ListAction the List.jsp has "refresh" meta tag and it need to call list.do, but IE still h

[OT] Cayenne O/R Mapping Tool

2003-01-30 Thread Daniel H. F. e Silva
Hi all, I know this kind of question is done here almost every day, but i am still without a decision about what O/R mapping tool to use. I found Cayenne (www.objectstyle.org/cayenne). Did anyone here use it? Pros? Cons? Thanks in advance, Daniel. __

  1   2   3   >