how to use two combo-box which depend one on the other ?

2003-01-30 Thread Heligon Sandra
I search example of code that allow to display/manage two combox box dependent one on the other. For example I have two collections: - a first collection of Formation object The formation object has the following properties: - subject ( C++, Java,

How to instantiate a DynaValidatorForm

2003-01-30 Thread Boris Folgmann
I've defined a DynaValidatorForm in struts-config.xml without any classfile in WEB-INF/classes. A JSP using this Form for data input and validation works well. But how can I instantiate an object of this DynaValidatorForm? I need to generate an array of form objects so that I can print them using

Re: how to use two combo-box which depend one on the other ?

2003-01-30 Thread Chris Halverson
Heligon Sandra [EMAIL PROTECTED] writes: Do I have to ask the web server each time the user select a new function, or is it possible to do this logic on the client side (with JavaScript probably ???). Yep, w/ JavaScript. I just did this and used the basic functions found at:

Re: How to instantiate a DynaValidatorForm

2003-01-30 Thread Mark Lowe 2
(DynaActionForm) myForm = (DynaActionForm) form; Giovedì, 30 gen 2003, alle 17:23 Europe/Rome, Boris Folgmann ha scritto: I've defined a DynaValidatorForm in struts-config.xml without any classfile in WEB-INF/classes. A JSP using this Form for data input and validation works well. But how

Re: How to instantiate a DynaValidatorForm

2003-01-30 Thread Matthew Meyer
Your Action gets passed a copy of the actionForm object that it is useing. So specify the name of your DynaValidatorForm in the name property of your action's definition. Then populate the actionForm oject in your action and forward to the JSP that expects a populated DynaValidatorForm..

RE: Automatic refresh - IS THIS POSSIBLE?

2003-01-30 Thread Mark Galbreath
Not with Struts. Aren't working a little late, Andrew? -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 10:22 AM To: Struts Users Mailing List Subject: RE: Automatic refresh - IS THIS POSSIBLE? Can Flash do it? ;-) -Original

Re: How to instantiate a DynaValidatorForm

2003-01-30 Thread Emmanuel Boudrant
To instanciate an DynaActionForm : DynaActionFormClass formClass = DynaActionFormClass.createDynaActionFormClass( yourFormBeanConfigObject ); DynaActionForm form = (DynaActionForm) DynaActionFormClass.newInstance(); (...) I hope this help. -emmanuel --- Boris Folgmann [EMAIL PROTECTED] a

[OT] Display Tag Library - Sorting Dates

2003-01-30 Thread Raible, Matt
Since there seems to be a lot of display:* users on this list, I thought I'd ask this question here - hope you don't mind. I have a string in my form that is a date. In order to get the display tag library to sort this column (date) correctly, I have added the following method in a Decorator:

Re: [OT] RE: Automatic refresh - IS THIS POSSIBLE?

2003-01-30 Thread Michael Lee Jr.
Flash? Why not just go to a jsp page that displays 'Please Wait' and it then makes the request? This seems a lot easier and, more likely, in line with your current app. Just make sure you forward the appropriate request data. Michael Lee - Original Message - From: Hookom, Jacob John

RE: How to instantiate a DynaValidatorForm

2003-01-30 Thread Durham David Cntr 805CSS/SCBE
-Original Message- From: Mark Lowe 2 [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 10:29 AM To: Struts Users Mailing List Subject: Re: How to instantiate a DynaValidatorForm (DynaActionForm) myForm = (DynaActionForm) form; That's casting, which is probably

RE: Help!! Getting NT User

2003-01-30 Thread Ramu, Manjukumar [PRDUS]
Weblogic 6.1 SP3 -Original Message- From: Murthy D [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 4:31 AM To: Struts Users Mailing List Subject: RE: Help!! Getting NT User Hi Manju, Which App Server you are using? -Original Message- From:

RE: how to use two combo-box which depend one on the other ?

2003-01-30 Thread Heligon Sandra
Do you have an example of this with the struts tags that allows to display combo-box from a collection of JavaBeans html:select ... html:option /html:option Sandra -Original Message- From: Chris Halverson [mailto:[EMAIL PROTECTED]] Sent: 30 January 2003 17:29 To: Struts Users

RE: [OT] RE: Automatic refresh - IS THIS POSSIBLE?

2003-01-30 Thread Pani, Gourav
Perhaps you didn't get the joke Michael. All OTs lead to Flash. -Original Message- From: Michael Lee Jr. [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 11:38 AM To: Struts Users Mailing List Subject: Re: [OT] RE: Automatic refresh - IS THIS POSSIBLE? Flash? Why not just go

[OT] RE: Automatic refresh - IS THIS POSSIBLE?

2003-01-30 Thread Andrew Hill
nO, im fyne thAnk you very mutch. Aneyway, itz oNly 1 am. I kood keep going for ours. Know sines of fateeg yet. 8~} hey mark - kan yoo remembar wot it be wot kauzez theze NullPointerException things? I shood no this one, but mi memeree seemz a bit hazey rite now. -Original Message- From:

Re: how to use two combo-box which depend one on the other ?

2003-01-30 Thread Chris Halverson
Heligon Sandra [EMAIL PROTECTED] writes: Do you have an example of this with the struts tags that allows to display combo-box from a collection of JavaBeans html:select ... html:option /html:option Nope, sorry. cdh -- Chris D. Halverson

RE: [OT] Display Tag Library - Sorting Dates

2003-01-30 Thread Jerome Jacobsen
Couldn't you subclass Date and override toString? -Original Message- From: Raible, Matt [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 11:41 AM To: '[EMAIL PROTECTED]' Cc: '[EMAIL PROTECTED]' Subject: [OT] Display Tag Library - Sorting Dates Since there seems to be a

RE: Accessing JSP's under WEB-INF

2003-01-30 Thread Kevin Peters
We are using Tomcat 4.0.4. I am not sure if it is container-specific. As far as having a .jsp forward to the index.do, why bother? I don't really see how that is any simpler. An index.jsp with one line of code to forward or an index.do with nothing/zip/zilch. To each his own. It has been

Re: How to instantiate a DynaValidatorForm

2003-01-30 Thread Boris Folgmann
Durham David Cntr 805CSS/SCBE wrote: No, it's not wrong, but it's more difficult than letting ActionServlet instantiate the form and set it up for you. But I don't need one form, I need multiple ones in an array. The objects are based on a database query.

Re: How to instantiate a DynaValidatorForm

2003-01-30 Thread Boris Folgmann
Emmanuel Boudrant wrote: To instanciate an DynaActionForm : DynaActionFormClass formClass = DynaActionFormClass.createDynaActionFormClass( yourFormBeanConfigObject ); Where can I get this? DynaActionForm form = (DynaActionForm) DynaActionFormClass.newInstance();

Validator

2003-01-30 Thread Softwareentwicklung Hauschel
Hey all, does anybody knows an example for struts (date)validator or a peace of documentation ? thanks Fredy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How to instantiate a DynaValidatorForm

2003-01-30 Thread Boris Folgmann
Matthew Meyer wrote: Your Action gets passed a copy of the actionForm object that it is useing. So specify the name of your DynaValidatorForm in the name property of your action's definition. Then populate the actionForm oject in your action and forward to the JSP that expects a populated

Re: Validator

2003-01-30 Thread David Graham
There is a validator webapp that's in the Struts distro. David From: Softwareentwicklung Hauschel [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Validator Date: Thu, 30 Jan 2003 18:16:57 +0100 Hey all, does

tokens and set-property

2003-01-30 Thread John . E . Gregg
I'd like to use the set-property element of struts-config to tell my action whether to expect a token. For example, I have an action like this: action path=blah... set-property property=useToken value=true/ /action I'm using an abstract action subclass that itself is a superclass to my real

RE: tokens and set-property

2003-01-30 Thread Jerome Jacobsen
The set-property applies to the ActionMapping, not the Action. You can subclass ActionMapping and add a useToken property to it. Then the action entity will need the className attribute set to your ActionMapping subclass. action className=com.blah.MyActionMapping path=blah... set-property

Re: How to instantiate a DynaValidatorForm

2003-01-30 Thread Emmanuel Boudrant
FormBeanConfigObject corresponding to your form-bean element. Use method : FormBeanConfig findFormBeanConfig(String name) on your ApplicationConfig object returned with mapping.getApplicationConfig() --- Boris Folgmann [EMAIL PROTECTED] a écrit : Emmanuel Boudrant wrote: To instanciate

AW: Validator

2003-01-30 Thread Softwareentwicklung Hauschel
;-) thanks... -Ursprüngliche Nachricht- Von: David Graham [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 30. Januar 2003 18:20 An: [EMAIL PROTECTED] Betreff: Re: Validator There is a validator webapp that's in the Struts distro. David From: Softwareentwicklung Hauschel [EMAIL

Re: Does anyone out there use Scaffold?

2003-01-30 Thread p
Secondly, with the latest release of Struts (1.1b3), Scaffold code has been packaged into the contrib section. However the commons-scaffold components are not there. It was decided about 2 weeks ago that the struts 1.1 release would only contain commons libs needed to build the main

Re: How to instantiate a DynaValidatorForm

2003-01-30 Thread Matthew Meyer
If you are useing the DynaForm to hold the list just make sure you put the array into the DynaForm, under a predifined property name that has the same type(Array, List, ..) Then: logic:iterate name='dynaFormName' property='indexedProtertiesName' id='nameToUseForElements' bean:write

RE: [VALIDATOR] requiredif ??

2003-01-30 Thread Wendy Smoak
I'm Still struggling with requiredif... there doesn't seem to be a working example of it included with 1.1b3. I've gone through the documentation and come up with this. I'm trying to say that address is required only if 1. prospect is null 2. prospectNameOrId is not null 3. action is not

RE: [OT] Display Tag Library - Sorting Dates

2003-01-30 Thread Raible, Matt
Good idea - that worked - thanks! Matt -Original Message- From: Jerome Jacobsen [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 10:00 AM To: Struts Users Mailing List Subject: RE: [OT] Display Tag Library - Sorting Dates Couldn't you subclass Date and override

RE: [VALIDATOR] requiredif ??

2003-01-30 Thread PILGRIM, Peter, FM
In the Struts User Guide there is a large example with indexed properties. http://jakarta.apache.org/struts/userGuide/dev_validator.html PS: I spend today resurrecting an old programmatical validation from a previous project. -- Peter Pilgrim, Struts/J2EE Consultant, RBoS FM, Risk IT Tel: +44

Re: how to use two combo-box which depend one on the other ?

2003-01-30 Thread Eric C. Hein
Sandra, This works with the javascript code Chris pointed you to. The communityIssue is the parent field and there are two dependent fields (targetAudience activityType). - Eric td html:select property=communityIssue styleClass=select size=10 multiple=true tabindex=11

Re: How to instantiate a DynaValidatorForm

2003-01-30 Thread Emmanuel Boudrant
--- Emmanuel Boudrant [EMAIL PROTECTED] a écrit : FormBeanConfigObject corresponding to your form-bean element. Use method : FormBeanConfig findFormBeanConfig(String name) on your ApplicationConfig object returned with mapping.getApplicationConfig() Sorry, it's not

RE: tokens and set-property

2003-01-30 Thread pqin
Try to utilize the parameter in your action mapping. For loading action, parameter = load; for submission action, parameter = submit. Base action class logic: If parameter is load saveToken(request) If parameter is submit isTokenValid(request) submit

[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.

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 action path=/save type=SaveAction name=editForm scope=request validate=true

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. ... action-mappings action path=/toModule type=org.apache.struts.actions.SwitchAction/ ... /action-mappings

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

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 servlet-nameaction/servlet-name

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: head meta http-equiv=Refresh content=30; URL=http:///www.myserver.com/someURL.do; /head Note that the URL must be an absolute URL, not a relative one. You'll prolly have to use a

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

RE: How to REDIRECT?

2003-01-30 Thread Kevin Tung
try specifying forward name=success path=List.jsp redirect=true/ 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

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

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: logic:notEmpty name=pageBean property=tripReport.currentTripPage.currentImage/ NOT EMPTY br /logic:notEmpty

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

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: action

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've

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 : 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:

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: [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

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 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: 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, I

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:

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: form-bean name=logonForm type=org.apache.struts.webapp.example.LogonForm/ I get the following error: , root

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 the best

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: fmt:formatDate value=${employeeForm.dateOfBrith} pattern=dd/MMM/ var=formattedBirthDate/ html-el:text property=employee.dateOfBirthText value=${formattedBirthDate}/

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

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

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: 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 can redirect

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, January

RE: Reload after forward executes the previous action.

2003-01-30 Thread Sri Sankaran
Set the redirect attribute of the appropriate forward 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

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. global-forwards forward name=toModuleB contextRelative=true path=/moduleB/index.jsp redirect=true/ ...

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

[Tiles] Linking to definitions factory from servlet

2003-01-30 Thread Duane Morin
I've got Tiles configured as a struts plug-in: plug-in className=org.apache.struts.tiles.TilesPlugin set-property property=definitions-config value=/WEB-INF/tiles-defs.xml/ set-property property=moduleAware value=true / set-property property=definitions-parser-validate

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) Michael P.

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: [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 I

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 members of this

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 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

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

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

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 ALL

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 that's

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 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: jeudi 30

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: [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 it. Are

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 doing?

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 wanted to

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

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 accomplish

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()

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: 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 getting the

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 Subject:

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 doesn't.

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]]

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

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

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 are error

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

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

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: field property=newEmailAddress depends=email arg0 key=label.additional.email/ /field and fieldproperty=date

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

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));

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]]

<    1   2   3   >