RE: AddActionMapping and AddActionForward dynamically.

2002-12-11 Thread C.K
Hello, I am currently using 1.1b, I saw the addmappinigAction method in the API, please advice. I can do mapping.setinput(), and others but how can I add the mapping. Regards, C.K -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 12, 2002 12:54

Re: Testing an action

2002-12-11 Thread Ryan Olson
Alireza, I highly recommend StrutsTestCase, which makes use of JUnit and the Jakarta Cactus framework: http://strutstestcase.sourceforge.net - rdo -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: Dynamic list validations

2002-12-11 Thread James Turner
If you use the field-indexed parameter of required-if, the dependent-field will get the same index as the dependee field, for example: field[0] lastName field-indexed[0] true field-test[0] NOTNULL

RE: Problems

2002-12-11 Thread Richmond Te
i fixed this problem by extending the validator plugin and the code is a bit similar to the one you have below.. cheers --- "Mouratidis, Georg" <[EMAIL PROTECTED]> wrote: > Hi, > > i dont' use the validator plugin. i dont know how to > do. > i have set the validate attribute in > struts-config.

Testing an action

2002-12-11 Thread Alireza Fattahi
Hi, Is there any way that we can test an action? We usually use a jsp, and a form which submit to action. Alireza. -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: Help! StrutsL-EL error (HTML tag)

2002-12-11 Thread David M. Karr
> "Brian" == Brian Moseley <[EMAIL PROTECTED]> writes: Brian> Karr, David wrote: >> I think I found the problem in the latest code base. Adding "styleId" to "html-el:image" required one more change that I didn't think of. I had to uncomment the use of the "styleId" attribute in the

Re: action to jsp form to action and validation failure problem.

2002-12-11 Thread Rick Reumann
> > Im new to structs so please be gentle. > > > > I have an action that forwards onto a jsp page with a form. > > When the form buttons are pressed a different action is called. > > > > Action1 ---> testform.jsp ---> Action2 > > > > All works fine if the form passes validation. > > > > When

Re: msg bean from jdbc/ldap vs properties files

2002-12-11 Thread James Mitchell
On Wed, 2002-12-11 at 22:52, Hanasaki JiJi wrote: > Is there any way to pull from jdbc and/or ldap instead of properties files? > > Thanks > -- I assume you mean pulling your application's resources (ApplicationResources.properties) from a Relational Database (Sorry, can't help you with LDA

Re: action to jsp form to action and validation failure problem.

2002-12-11 Thread James Mitchell
On Wed, 2002-12-11 at 22:00, g h wrote: > Hi everyone, > > Im new to structs so please be gentle. > > I have an action that forwards onto a jsp page with a form. > When the form buttons are pressed a different action is called. > > Action1 ---> testform.jsp ---> Action2 > > All works fine if th

Re: AddActionMapping and AddActionForward dynamically.

2002-12-11 Thread James Mitchell
On Wed, 2002-12-11 at 21:49, C.K wrote: > Hello, > > I would like to add action dynamically instead of predefine in the > struts-config.xml,could anyone give an example on this..Thanks in advance You won't be able to do this 'out of the box' with 1.1. Which version of Struts do you plan to use?

tiles docs for current beta

2002-12-11 Thread Hanasaki JiJi
Where can the tiles docs for the current beta befound? They are listed as "todo" in the downloaded Beta WAR docs. looking for the xml config files docs and the api and the tags. Thanks -- = = Management is doing things right; lead

Re: Struts UML Diagrams

2002-12-11 Thread Peter A. Pilgrim
Bartley, Chris P [PCS] wrote: -Original Message- From: Pat Quinn [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 3:23 PM To: [EMAIL PROTECTED] Subject: Struts UML Diagrams Hi guys, Does any one know where I might find the complete or partial UML diagrams of struts?? Not

msg bean from jdbc/ldap vs properties files

2002-12-11 Thread Hanasaki JiJi
Is there any way to pull from jdbc and/or ldap instead of properties files? Thanks -- = = Management is doing things right; leadership is doing the = = right things.- Peter Drucker= =_

action to jsp form to action and validation failure problem.

2002-12-11 Thread g h
Hi everyone, Im new to structs so please be gentle. I have an action that forwards onto a jsp page with a form. When the form buttons are pressed a different action is called. Action1 ---> testform.jsp ---> Action2 All works fine if the form passes validation. When the form fails validation, I

AddActionMapping and AddActionForward dynamically.

2002-12-11 Thread C.K
Hello, I would like to add action dynamically instead of predefine in the struts-config.xml,could anyone give an example on this..Thanks in advance

RE: [Tiles]Wrong root element?

2002-12-11 Thread Sri Sankaran
No I did not try your suggestion; the reason being, as you have also attested, that the dtd suggests that either can be used. So, 's working wouldn't explain why does not work. Although if neither worked that would indeed be puzzling... I don't know why Struts Console has a problem getting t

Processing multiple records all at once

2002-12-11 Thread Brad Balmer
I've searched the internet and different news groups for an answer to this question, but have yet to find something that matches what I'm trying to do. I have an application that reads records from a table and creates an instance of a bean for each row. Therefore, when I return from my DB call,

RE: [Tiles]Wrong root element?

2002-12-11 Thread David Graham
Did you even try my suggestion? If you look in the dtd you'll note that you can use either root element. One of your errors seems to indicate Struts Console couldn't reach the internet. The other indicates you should be using the alternative root element. David From: "Sri Sankaran" <[E

Re: [OT] RE: Struts UML Diagrams

2002-12-11 Thread Peter A. Pilgrim
James Childers wrote: ArgoUML, while impressive in its potential, is not ready for prime time. I have investigated this tool and found it to be extremely buggy, although to be fair I haven't tried it in a few months. I gave up on it after it corrupted my .zargo file -- which contained about 20 dia

Re: Error using Validator (newbie)

2002-12-11 Thread Rick Reumann
On Wednesday, December 11, 2002, 5:53:54 PM, Michelle wrote: MH> However, the Struts 1.1 gives more information and says that the root MH> cause is because "java.lang.NoSuchFieldError: MH> org.apache.commons.validator.Validator: field SERVLET_CONTEXT_KEY not MH> found". Double check that

Struts/Tiles question

2002-12-11 Thread Raghavan, Namita
Hi, I am using Tiles and Struts and WebLogic 6.1. I have created some tile definitions in a file called mytiles-defs.xml under DefaultWebApp\WEB-INF. When I try to access my main page, I get the foll. exception: Factory initialized

RE: [Tiles]Wrong root element?

2002-12-11 Thread Sri Sankaran
As you'll note in my original post I am still using Struts 1.0.2 and appropriate Tiles jar. Everything works fine as is (with and all), the problem is with the editors. Sri -Original Message- From: David Graham [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 3:10 PM To:

RE: Validator with separate modules (Tiles too)

2002-12-11 Thread Frost, Gary [IT]
Is this the only change required, as I put that in the corresponding struts-config.xml files, but then when reloaded and went to a page I got an error StandardContext[/webatlas]: Mapped to servlet 'action' with servlet path '/logon/logon.do' and path info 'null' and update=true Which was found a

global-exceptions parse error

2002-12-11 Thread Manish Shah
It must be something really stupid but when is it not. I am trying to use global exceptions but I keep getting this parse error. I have attached the struts-config here...please let me know Thanks http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd";>

HTML anchor with Struts and JSP?

2002-12-11 Thread Michael Marrotte
Problem: Redirect or forward to an HTML anchor placed in a JSP file. Are there any straightforward ways to leverage Struts to do this? One solution that comes to mind is to set an anchor attribute in the request, write it's value with JSP, jump to it using JavaScript. But, I'd like to stay away

Validator Formsets search by Locale

2002-12-11 Thread Frost, Gary [IT]
Hi, Seem to have run into another issue with the validator. I have a validator.xml http://jakarta.apache.org/commons/dtds/validator_1_0.dtd";>

[OT] RE: Struts UML Diagrams

2002-12-11 Thread James Childers
ArgoUML, while impressive in its potential, is not ready for prime time. I have investigated this tool and found it to be extremely buggy, although to be fair I haven't tried it in a few months. I gave up on it after it corrupted my .zargo file -- which contained about 20 diagrams -- after doing

Re: Error using Validator (newbie)

2002-12-11 Thread Michelle Harris
My bad. I forgot the attachments. Here they are. Thanks again, Michelle Michelle Harris wrote: Hello, I'm very new to using the Struts' Validator (have been using Husted's Struts In Action as a guide). I am trying most to use Validator in Struts 1.0.2 as that is required by my company. Howeve

Error using Validator (newbie)

2002-12-11 Thread Michelle Harris
Hello, I'm very new to using the Struts' Validator (have been using Husted's Struts In Action as a guide). I am trying most to use Validator in Struts 1.0.2 as that is required by my company. However, I have tried my webapp in Struts 1.1 in an attempt to get it to work as well. When I hit the s

Re: Struts UML Diagrams

2002-12-11 Thread Emmanuel Boudrant
> Are there any java class to UML class diagrams that are open source, > and developers recommend? > That may be a way to generate class diagrams for `MessageResourcesFactory' etc. Perhaps Eclipse IDE + Omondo free edition http://www.eclipse.org http://www.eclipseuml.com

Re: Struts UML Diagrams

2002-12-11 Thread Emmanuel Boudrant
> BTW: What UML tools are you guys/gals using? For the moment Rational Rose but I'm really impatient to try Together + WSAD (http://www.togethersoft.com/products/twse/index.jsp) or Elipse + OMONDO (http://www.eclipseuml.com) By the way, it's funny, Borland aquire TogetherSoft and IBM aquire Ratio

RE: Struts UML Diagrams

2002-12-11 Thread Chappell, Simon P
There's ArgoUML, but I'm not certain how much it does in the way of creating diagrams. It's open source and written in Java. Simon >-Original Message- >From: Peter A. Pilgrim [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, December 11, 2002 4:30 PM >To: Struts Users Mailing List >Subject:

RE: Forward action.

2002-12-11 Thread Adolfo Miguelez
I would be interested also in feedback on this issue, since I get this exception too often. Nothing happends and pages are rendered properly but it is really anoying. It looks like that server lose connection with the client (despite HTTP is a connectionless protocol). Does any of you could pro

RE: Dynamic list validations

2002-12-11 Thread Bhamani, Nizar A TL56E
Thanks for your response. I am already using this (requiredIf) with hardcoded field iterator index values i.e. ' field0', 'field_value0', ... I wanted to know if we can do this without hardcoding the indexes. Nizar. -Original Message- From: James Turner [mailto:[EMAIL PROTECTED]] Sent:

Re: Struts design: All actions in one ActionClass

2002-12-11 Thread David Graham
There's nothing wrong with using one dispatch action for each form but if you start putting other stuff in there you're in trouble. The action would be straightforward if you had getForm, updateForm, and insertForm type of methods. Since they're calling business logic methods the action will b

Re: Struts UML Diagrams

2002-12-11 Thread Peter A. Pilgrim
Pat Quinn wrote: I too found that site... i was looking for a UML Diagram to outline the MessageResourcesFactory and its various components. I wish to extend this functionality but wanted a clear understanding of what was in place already. ---- Are there any java class to UML class diagram

Re: Struts UML Diagrams

2002-12-11 Thread Peter A. Pilgrim
James Holmes wrote: http://jakarta.apache.org/struts/resources/tutorials.html http://jakarta.apache.org/struts/resources/articles.html Gotta dig a little...there's probably more than that... http://husted.com/struts/resources/uml-jps.pdf This diagram is not technically correct. I mean, Prese

Re: Struts UML Diagrams

2002-12-11 Thread Emmanuel Boudrant
Hi, Some Struts 1.1 class diagrams : http://www.mycgiserver.com/~eboudrant/#uml11 Or the complete Struts 1.1 rational rose model (I hope you have Rational Rose;) : http://www.mycgiserver.com/~eboudrant/download/model-struts-1.1b1.zip > > > > > --- Pat Quinn <[EMAIL PROTECTED]> a écri

Re: Struts UML Diagrams

2002-12-11 Thread Emmanuel Boudrant
Hi, Some Struts 1.1 class diagrams : http://www.mycgiserver.com/~eboudrant/#uml11 Or the complete Struts 1.1 rational rose model (I hope you have Rational Rose;). -emmanuel --- Pat Quinn <[EMAIL PROTECTED]> a écrit : > I too found that site... i was looking for a UML Diagram to outline the

RE: Forward action.

2002-12-11 Thread struts user
Hi, The page is displayed fine. However, Tomcat returned me with the following stack traces. Do you know why? Thanks! - Lee 2002-12-11 16:12:28 - Ctx() : IOException in R( /) - java.net.SocketException: C onnection aborted by peer: socket write error at java.net.SocketOutputStream.socke

RE: Dynamic list validations

2002-12-11 Thread James Turner
Look at the new RequiredIf validation in the night build, it supports just this mechanism. James > -Original Message- > From: Bhamani, Nizar A TL56E [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, December 11, 2002 5:07 PM > To: 'Struts Users Mailing List' > Subject: Dynamic list validatio

Dynamic list validations

2002-12-11 Thread Bhamani, Nizar A TL56E
Our forms have a list of input fields and we are using struts-validators to Validate our forms. i.e. the form looks like : InputField1[0] InputField2[0] InputField1[1] InputField2[1] InputField1[2] InputField2[2] InputField1[3] InputField2[3] I want to perform validation

RE: Forward action.

2002-12-11 Thread Wendy Smoak
Lee wrote: > I would like to know how do I forward from action to > action? Can I do the following in my path="/showUsers.do"/>? Those tags look fine to me, and similar to what I'm using. Did you try this and get an error? -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State Univers

Re: Struts UML Diagrams

2002-12-11 Thread Pat Quinn
Cheers James but i was looking for something a little more informative than that... i guess JavaDoc will have to do From: James Holmes <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> Subject: Re: Struts UML Diagr

Re: Struts UML Diagrams

2002-12-11 Thread Pat Quinn
I too found that site... i was looking for a UML Diagram to outline the MessageResourcesFactory and its various components. I wish to extend this functionality but wanted a clear understanding of what was in place already. From: "Khalid K." <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing

RE: Struts UML Diagrams

2002-12-11 Thread Bartley, Chris P [PCS]
Here are two more: Struts 1.0.2: http://rollerjm.free.fr/pro/Struts.html Struts 1.1: http://rollerjm.free.fr/pro/Struts11.html (I have no association with them and dunno how accurate they are--i found 'em just by doing a Google search on "Struts UML diagram") > -Original Messag

RE: Struts UML Diagrams

2002-12-11 Thread Bartley, Chris P [PCS]
> -Original Message- > From: Pat Quinn [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, December 11, 2002 3:23 PM > To: [EMAIL PROTECTED] > Subject: Struts UML Diagrams > > > Hi guys, > > Does any one know where I might find the complete or partial > UML diagrams of struts?? Not really UM

Forward action.

2002-12-11 Thread struts user
Hi All, This question probably being asked already. However, I could not find it on the Struts mailing list. So, please bear with me for asking this question because I really need help. I would like to know how do I forward from action to action? Can I do the following in my ?

Re: Struts UML Diagrams

2002-12-11 Thread Khalid K.
a quick google search with "Struts UML Diagram" yielded the following website..check it out.. http://rollerjm.free.fr/pro/Struts11.html Khalid - Original Message - From: "James Holmes" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, December 11, 2

RE: Re[2]: Struts design: All actions in one ActionClass

2002-12-11 Thread Wendy Smoak
> Well, I guess I'll have to look into the "DispatchAction" thing. I've not heard of it before today. > It sounds real similar to what we're doing. Also see "LookupDispatchAction" which works great if you have one form with several different actions that could happen depending on which button the

Re: Struts UML Diagrams

2002-12-11 Thread James Holmes
http://jakarta.apache.org/struts/resources/tutorials.html http://jakarta.apache.org/struts/resources/articles.html Gotta dig a little...there's probably more than that... -james --- Pat Quinn <[EMAIL PROTECTED]> wrote: > I've looked on there James but failed to find any... > can you point me in

RE: Re[2]: Struts design: All actions in one ActionClass

2002-12-11 Thread Greg.Reddin
Well, I guess I'll have to look into the "DispatchAction" thing. I've not heard of it before today. It sounds real similar to what we're doing. > -Original Message- > From: Rick Reumann [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, December 11, 2002 3:29 PM > To: Struts Users Mailing Li

Re: Struts UML Diagrams

2002-12-11 Thread Pat Quinn
I've looked on there James but failed to find any... can you point me in the right direction please From: James Holmes <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> Subject: Re: Struts UML Diagrams Date: Wed, 1

Re: Struts UML Diagrams

2002-12-11 Thread James Holmes
http://jakarta.apache.org/struts/resources/index.html --- Pat Quinn <[EMAIL PROTECTED]> wrote: > Hi guys, > > Does any one know where I might find the complete or > partial UML diagrams of > struts?? > > > _ > Protect your PC - ge

Struts UML Diagrams

2002-12-11 Thread Pat Quinn
Hi guys, Does any one know where I might find the complete or partial UML diagrams of struts?? _ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 -- To unsubscribe, e-m

Re:

2002-12-11 Thread James Holmes
The reason why Struts Console complains is because it does a string comparison on the DOCTYPE to determine what type of config file a file is. If it does not match the PUBLIC definition exactly then it will not recognize the file. -james http://www.jamesholmes.com/struts/ --- "Khalid K." <[EMAIL

Re[2]: Struts design: All actions in one ActionClass

2002-12-11 Thread Rick Reumann
On Wednesday, December 11, 2002, 4:16:31 PM, Rob wrote: RL> One of the developers that took over the project merged a number of the RL> actions RL> edit, delete, create, list into one big ugly mess. Was this all being done a 'normal' action class or a DispatchAction class? I think a Dis

struts-user@jakarta.apache.org

2002-12-11 Thread Khalid K.
What is the difference between: http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd";>

Re: Struts design: All actions in one ActionClass

2002-12-11 Thread Rob Leland
David Graham wrote: Definitely b. It will be far easier to maintain. If you're worried about having a lot of actions you can look at DispatchAction or using DynaBeans. I'll second that. For a project we started back in Feb 2001, I used small Action classes. I went away on my Honeymoon in Ma

problem with logic:iterate and html:text

2002-12-11 Thread Brian DeLuca
I am trying to iterate over a String [] and create html:text tags. I am getting jsp exceptions thrown and other variations are not populating the form bean. I have tried different variations on the text tag where property = "", and name ="testParty.advisingInstr" value = Here is my For

RE: Struts design: All actions in one ActionClass

2002-12-11 Thread Greg.Reddin
Just for a different perspective... If we took that approach we could conceivably have hundreds of actions that looked almost identical except for the value of a few variables. So, we're building a model layer that creates and invokes components in a standardized way. So, (when it's all built

Re: Struts design: All actions in one ActionClass

2002-12-11 Thread Rick Reumann
On Wednesday, December 11, 2002, 1:05:36 PM, Jordan wrote: JT> a) Put all my actions for a particluar area (i.e. creating, editing and JT> deleting user accounts) in one Action class I guess I am in the minority here but lately I've been building one big DispatchAction class that acts a

RE: Struts design: All actions in one ActionClass

2002-12-11 Thread David Graham
I apply this theory to jsps as well. Each JSP displays one thing; otherwise, you'll end up with something resembling a perl script with a bunch of if statements. This allows you to reuse the jsp in other places that need that same view (or tile). David From: "Jordan Thomas" <[EMAIL PROTE

Re: [Tiles]Wrong root element?

2002-12-11 Thread David Graham
You need to use tiles-definitions as the root element. component-definitions is deprecated. David From: "Sri Sankaran" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts-User" <[EMAIL PROTECTED]> Subject: [Tiles]Wrong root element? Date: Wed, 11 Dec 2

Artimus & Tomcat 4

2002-12-11 Thread Sean A. Mandel
Ok, So I just started working with Struts and I'm trying to get the Artimus example app up and running. I read the README and made sure everything was done (even though there are a few mistakes in the README that are a bit disconcerting). I drop the artimus.war file into the deployment di

Struts and MVC (long, OTish?) (was: All actions in one ActionClass)

2002-12-11 Thread Nelson, Laird
> -Original Message- > From: Chappell, Simon P [mailto:[EMAIL PROTECTED]] > In business logic classes completely outside of the Struts > arena. Exactly right. This actually has some neat MVC implications if you do it right. I think of Struts Actions as presentation-layer-specific contro

RE: Struts design: All actions in one ActionClass

2002-12-11 Thread Jordan Thomas
Does this also count for the JSP's? It would seem that it would be better to reuse the JSp's where possible which seems possible. -Original Message- From: David Graham [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 11 December 2002 7:27 PM To: [EMAIL PROTECTED] Subject: Re: Struts design: All

Multiple submits in form with same display label

2002-12-11 Thread Viggio, Alex
The UI spec for a page I must implement in a Struts 1.0.2 app calls for multiple submit buttons on the form all having the label "Edit" to indicate a desire to modify specific sets of data for a large data object. Other than the submit buttons, the page does not have any read/write form controls, a

RE: Struts design: All actions in one ActionClass

2002-12-11 Thread Chappell, Simon P
In business logic classes completely outside of the Struts arena. Check out the PowerPoint presentation that I have on my website's Struts page. http://simonpeter.com/techie/java/struts/index.html This will explain some of the layering and separation that we put into our recent system. Simon

[Tiles]Wrong root element?

2002-12-11 Thread Sri Sankaran
Using: Struts 1.0.2 Tiles version compatible with Struts 1.0.2 Realizing that my tile-definitions.xml file did not have a Doctype statement, I proceeded to "do the right thing" and added it. However now my IDE warns me that I have the "wrong root element". Following is a snippet of my tile

RE: Struts design: All actions in one ActionClass

2002-12-11 Thread Ron Day
where do you do your business logic ? -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 12:52 PM To: Struts Users Mailing List Subject: RE: Struts design: All actions in one ActionClass Abolutely go with option B. We did this and if

Re: tiles:insert page=?

2002-12-11 Thread ajTreece
Please disregard... I figured it out. Thanks... ajTreece wrote: Folks... I tried to search the archives, but for some reason any text search returns no data... Could just be me! I have a tile def and in it I have the following code: The challenge is the "some-jsp" page to be inserted coul

RE: Struts design: All actions in one ActionClass

2002-12-11 Thread Chappell, Simon P
Abolutely go with option B. We did this and if you keep all of your actual business logic outside of your actions (the only way to fly) then you end up with lots of small and easy to understand/maintain actions. This worked for us, so I'm not speaking from theory here. :-) Simon -

Re: Struts design: All actions in one ActionClass

2002-12-11 Thread David Graham
Definitely b. It will be far easier to maintain. If you're worried about having a lot of actions you can look at DispatchAction or using DynaBeans. David From: "Jordan Thomas" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts-User" <[EMAIL PROTECTED

Re: Struts design: All actions in one ActionClass

2002-12-11 Thread Patrice
For me, it's easy to maintain seperate actions. If you want to group different actions in one Action class, you might use a DispatchAction with a method for each process. Hope it helps Patrice - Original Message - From: "Jordan Thomas" <[EMAIL PROTECTED]> To: "Struts-User" <[EMAIL PROTEC

RE: Struts design: All actions in one ActionClass

2002-12-11 Thread Nelson, Laird
> -Original Message- > From: Jordan Thomas [mailto:[EMAIL PROTECTED]] > What is the best way to design my application? Is it better to > a) Put all my actions for a particluar area (i.e. creating, > editing and > deleting user accounts) in one Action class > > or > > b) Use a seperate ac

Re: Design tools and Struts

2002-12-11 Thread Gemes Tibor
2002-12-11, sze keltezéssel Moyer, Alan L ezt írta: > I'm interested in finding what web design tools (Example: Dreamweaver) work > well with Struts. With a good tool, the effort to go from web page design to > JSP with struts tag libraries should be mimimized. > I was told that the Dreamweaver M

Struts design: All actions in one ActionClass

2002-12-11 Thread Jordan Thomas
Hi, What is the best way to design my application? Is it better to a) Put all my actions for a particluar area (i.e. creating, editing and deleting user accounts) in one Action class or b) Use a seperate action class for every action in my application or c) Put all of the actions for a partic

RE: Help! StrutsL-EL error (HTML tag)

2002-12-11 Thread Karr, David
If that's the case, then I'll have to look at this closer tonight. I can only work on minor testing and changes during the day here. > -Original Message- > From: Brian Moseley [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, December 11, 2002 9:22 AM > To: Struts Users Mailing List > Subject

Re: RE: Cannot find bean under name org.apache.struts.taglib.html.BEAN

2002-12-11 Thread aduprat . struts
I'm sure each property of the form has a getter in the for bean cause it was working in struts 1.0 without any module... can it be becuse i put in place of ? Message d'origine >Sujet: RE: Cannot find bean under name org.apache.struts.taglib.html.BEAN >Date: Wed, 11 Dec 2002 11:35:05 -

RE: Cannot find bean under name org.apache.struts.taglib.html.BEAN

2002-12-11 Thread James Childers
> Then i have another problem : > Generated page comes with an error : > javax.servlet.ServletException: Cannot find bean under name > org.apache.struts.taglib.html.BEAN Check your form bean and make sure it has getters/setters for each element in the tag. If it is getting thrown during vali

Cannot find bean under name org.apache.struts.taglib.html.BEAN

2002-12-11 Thread aduprat . struts
Hello all. I'm back with my modules problems. Someone taold me that hmtl:form is bugged in struts 1.1 and that it is for this reason i can find any action when in a module witch is not the default one. So i transformed my in Then i have another problem : Generated page comes with an error :

tiles:insert page=?

2002-12-11 Thread ajTreece
Folks... I tried to search the archives, but for some reason any text search returns no data... Could just be me! I have a tile def and in it I have the following code: The challenge is the "some-jsp" page to be inserted could be one of many. Is it possible to set the page name in a variable

Re: Help! StrutsL-EL error (HTML tag)

2002-12-11 Thread Brian Moseley
Karr, David wrote: I think I found the problem in the latest code base. Adding "styleId" to "html-el:image" required one more change that I didn't think of. I had to uncomment the use of the "styleId" attribute in the BeanInfo class. I've submitted a fix which will hopefully be in tonight's bui

RE: Help! StrutsL-EL error (HTML tag)

2002-12-11 Thread Karr, David
I think I found the problem in the latest code base. Adding "styleId" to "html-el:image" required one more change that I didn't think of. I had to uncomment the use of the "styleId" attribute in the BeanInfo class. I've submitted a fix which will hopefully be in tonight's build (if the proble

Design tools and Struts

2002-12-11 Thread Moyer, Alan L
I'm interested in finding what web design tools (Example: Dreamweaver) work well with Struts. With a good tool, the effort to go from web page design to JSP with struts tag libraries should be mimimized. Any recommendations? Tools to avoid? Thanks much, Al This transmission is intended only fo

Re: Help! StrutsL-EL error (HTML tag)

2002-12-11 Thread Brian Moseley
Hohlen, John wrote: I'm currently encountering the following error in my JSP trying to use Struts-EL tags. Error in using tag library uri='/WEB-INF/struts-html-el.tld' prefix='html-el': The Tag class 'org.apache.strutsel.taglib.html.ELImageTag' has no setter method corresponding to TLD declared a

Re: I cannot unsubscribe from Struts Email list

2002-12-11 Thread Eddie Bush
The process goes like: - send the email you did - wait for a reply - reply to that reply - receive notification that you're off the list If that process fails you, you could always contact the owner at [EMAIL PROTECTED] and have them manually remove you. Ota, Larry W wrote: I w

RE: Map-backed ActionForms with JSTL

2002-12-11 Thread Kris Schneider
Assuming you've got something like: public ProfilePageForm extends ActionForm { private final Map map = new HashMap(); public void setProperty(String key, Object value) { map.put(key, value); } public Object getProperty(String key) { return map.get(key); } } As a standard bean

RE: I cannot unsubscribe from Struts Email list

2002-12-11 Thread Arnaud HERITIER
Did you send this e-mail with the SAME e-mail address you used to register to the mailing-list ??? > -Message d'origine- > De : Ota, Larry W [mailto:[EMAIL PROTECTED]] > Envoyé : mercredi 11 décembre 2002 17:54 > À : Struts Users Mailing List (E-mail) > Objet : I cannot unsubscribe from St

I cannot unsubscribe from Struts Email list

2002-12-11 Thread Ota, Larry W
I wish to unsubscribe to this mailing list. I've tried to unsubscribe by following: > To unsubscribe, e-mail: > It's been a few days since I sent that out, and I am still receiving all posts. I love the info and plan on getting back onto the list when the time is ri

Help! StrutsL-EL error (HTML tag)

2002-12-11 Thread Hohlen, John
I'm currently encountering the following error in my JSP trying to use Struts-EL tags. Error in using tag library uri='/WEB-INF/struts-html-el.tld' prefix='html-el': The Tag class 'org.apache.strutsel.taglib.html.ELImageTag' has no setter method corresponding to TLD declared attribute 'styleId', (

RE: Transforming a String to valid HTML encoding

2002-12-11 Thread Dennis van den Berg
Hi, from javadoc of struts: org.apache.struts.util.ResponseUtils. filter public static java.lang.String filter(java.lang.String value)Filter the specified string for characters that are senstive to HTML interpreters, returning the string with these characters replaced by the corresponding char

Re: Transforming a String to valid HTML encoding

2002-12-11 Thread Andrew Watters
Can you use java.net.URLEncoder.encode(String s,String enc) (since J2SE 1.4)? - Original Message - From: "Hirschmann, Bernhard" <[EMAIL PROTECTED]> To: "Struts User Mailing List (E-Mail)" <[EMAIL PROTECTED]> Sent: Wednesday, December 11, 2002 4:34 PM Subject: Transforming a String to valid

RE: Map-backed ActionForms with JSTL

2002-12-11 Thread Jarnot Voytek Contr AU HQ/SC
not a JSTL expert here, but have you tried ${profilePage.property["ID"]}? -Original Message- From: Justin Ashworth [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 10:34 AM To: Struts Users Mailing List Subject: Map-backed ActionForms with JSTL Hi, Has anyone been able to s

RE: Tiles editor, help - StrutsConsole new version ?

2002-12-11 Thread Heligon Sandra
I have the StrutsConsole tab when I open a struts-config.xml file but I don't have this tab with the tiles-def.xml file. I read that It can be due to the DOCTYPE but this DOCTYPE seems good: http://jakarta.apache.org/struts/dtds/tiles-config_1_1.dtd";> -Original Message- From: Emmanuel Bou

Re: Using the "key" of a HashMap in an html:option tag ?

2002-12-11 Thread Kris Schneider
The problem is that the type of the property that the tag handler exposes as an attribute has to be assignable from the type of the expression. Taking the current example: The type of the expression is Object and the type of the tag handler's (OptionTag) value prop

Transforming a String to valid HTML encoding

2002-12-11 Thread Hirschmann, Bernhard
Hello! Is there a parser around, which is able to parse a String with special characters (like in the German language), and can transform them into valid html encoding? (like "schön" for schön) Best regards Bernhard -- To unsubscribe, e-mail: For additional comm

Re: static elements in forms

2002-12-11 Thread David Graham
Probably because of the JavaBean spec. I'm not too familiar with the details but static variables may not be accessible the same way member variables are. David From: Edgar Dollin <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "'[EMAIL PROTECTED]'" <[EMA

Map-backed ActionForms with JSTL

2002-12-11 Thread Justin Ashworth
Hi, Has anyone been able to successfully access properties in a map-backed ActionForm with JSTL? I haven't been able to come up with the expression language to retrieve properties out of a Map in my ActionForm. If this is possible, what is the syntax? I have tried mailto:[EMAIL PROTECTED]> For

  1   2   >