Re: dynamic bean message

2002-05-15 Thread @Basebeans.com
Subject: Re: dynamic bean message From: "Morten Raahede Knudsen" <[EMAIL PROTECTED]> === Hi I had the exact same problem as you had. I came up with a solution which isn't pretty, but it works. I think its a flaw that the bean:message doesn't support attributes in scopes. Regards Morten Raah

Re: dynamic bean message

2002-05-15 Thread emmanuel.boudrant
" /> working for me under Struts 1.0, witch struts version have you got ? Boon Chew <[EMAIL PROTECTED]> a écrit : I searched on the archive and didn't find an question similar to this... What I am trying to achieve is when the action servlet is done its job it would forward to a generic

Re: suspected bug configuring ActionServlet for BasicDataSource

2002-05-15 Thread Mark Johnson
Jim - Thanks for your reply. After some sleep, I noticed that the BasicDataSource property is called "username", but I had written "user" in struts-config.xml. I wrongly assumed that some logging statement in BeanUtils.populate() would warn of failed attempts to set non-existent properties in the

Re: I need help building tiles from src - please

2002-05-15 Thread Cedric Dumoulin
Hello, To build Tiles, go to tiles directory, provide your own build.properties file (check the example in directory), with absolute paths for requested paths. Then run "ant dist". Tiles should compile. You can also build Tiles from Struts build file, if you specify absolute paths in you

Re: Tiles -(1 controller for three tiles) struts-tiles

2002-05-15 Thread Cedric Dumoulin
Hello, See intermixed. Cedric Rajesh Kalluri wrote: > Hi all i am using tiles as a templating mechanism in my application and like > the > controller mechanism a lot. > > This is my defintion which will add 3 tiles (add,rank,publish) in a column > layout. > > path="/layouts/zonesLayo

Re: Abstracted Tiles definition references?

2002-05-15 Thread Cedric Dumoulin
Hello, You don't need to specify a struts global forward. If you use tiles servlet, you can use a tiles definition name in place of a page url in the struts action tag : There is a lot of examples inside the struts-tiles.war or tiles-doc.war. Check the code.

Problem with iterate tag

2002-05-15 Thread Pierre Mathelart
I've a servlet that gets a collection of beans, and put this collection in the next JSP page with req.setAttribute("memberBeans", members.getMemberBeans(action)); (memberBeans is a collection of 20 memberBean) Then, in the forwarded page, I try to iterate on the collection with " id="memberBean

Re: Problem with iterate tag

2002-05-15 Thread Nicolas De Loof
I think you just have to use: So iteratetag will look into scopes for a "memberBeans" object that should be a Collection. What you do is tell iterate tag to look for a Collection named ... the result of "request.getAttribute("memberBeans").toString()", that is the datas of the list off member

Debugging under Netbeans 3.3.1

2002-05-15 Thread Malecki
Hi World! I have got Struts 1.0.2 (particularly struts-example) running under NetBeans 3.3.1 (built-in Tomcat 3.2.1). I mounted sipmly the struts-example directory (info by Jerald Henderson in this list) I'm using the recommended struts war architecture, so my sources are under WEB-INF/src... Du

using parameter defined inside Action Form

2002-05-15 Thread Thorsten Maus
Hi there... Im facing a problem Im not yet able to solve.. my action class retrieves content from a backend area. this data should be made accessable for the jsp-page. i therefore put the data into public methods inside the action-form.. how can my jsp page now address the parameter ??? th

Re: using parameter defined inside Action Form

2002-05-15 Thread Adam Hardy
As long as the methods are getX getter methods, you can use normal struts tags like in the examples. Thorsten Maus wrote: > > Hi there... > > Im facing a problem Im not yet able to solve.. > > my action class retrieves content from a backend area. > > this data should be made accessable for

Simple Exception - Complex for me

2002-05-15 Thread Sudhir
Hi, Can anybody tell me when this exception will come. javax.servlet.ServletException: No bean found under attribute key projectForm Thanks and Best Regards, -- To unsubscribe, e-mail: For additional commands, e-mail:

Javascript and struts compatibility

2002-05-15 Thread deepak
Hi, Here is a problem I'm dealing with. In a JSP textfields are formed dynamically using struts. Struts will name these dynamically created textfields in the form of array as txtName[0], txtName[1] ... txtName[i] respectively. The names txtName[i] correspond to the respective getTxtN

Re: Simple Exception - Complex for me

2002-05-15 Thread Adam Hardy
You haven´t written the ProjectForm class that you defined in your struts-config.xml, or it isn´t where you said it was. Sudhir wrote: >Hi, > >Can anybody tell me when this exception will come. > >javax.servlet.ServletException: No bean found under attribute key projectForm > >Thanks and Best R

RE: Problem with iterate tag

2002-05-15 Thread Pierre Mathelart
It doesn't work, neither with Then, my next "basic" question is : must I put something in the JSP page, before the "iterate" tag, to have the "memberBeans" object in the "scope" ? Pierre -Original Message- From: Nicolas De Loof [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 15 May, 2002 1

Displaying a Vector of vectors in JSP using STRUTS

2002-05-15 Thread keerti shrimal
Title: Displaying a Vector of vectors in JSP using STRUTS Hi  I have two jsp pages.From one page, the user selects a record based on which i have to get the details and display them in another JSP.I have a bean in which i get all the details to be displayed.This bean method returns a vector

Re: problems migrating struts tags - weblogic 5.1 - 6.1 (has no property)

2002-05-15 Thread Max Cooper
Michelle, WebLogic 6.1 SP2 requires your use of JSP custom tags to strictly comply with the TLD, where 5.1 was not so strict. This strictness is a really good thing, IMHO, because it helps identify errors and such. You can add those attributes to the TLD to fix the problem. If you haven't writte

RE: Displaying a Vector of vectors in JSP using STRUTS

2002-05-15 Thread Jacob Hookom
You could try something along these lines, if I understood your question:

Re: Problem with iterate tag

2002-05-15 Thread Nicolas De Loof
The Action that forwards to your JSP has to put this bean in "request" or "session" scope. You say you get your member list by putting " <%= request.getAttribute("memberBeans")%> " in your JSP it looks ok. Is your "memberBeans" class a Collection ? Did you include <%@ taglib uri="/WEB-INF/strut

I have left the Deutsch Bank UK stage

2002-05-15 Thread Peter A. J. Pilgrim
Tuesday 14th May 2002 All I have left Deutsche Bank UK, today. I have been made redundant because of global restructuring. I am now at home. Do not worry, I am okay. I am fine. THANKS to all the Jakarta Struts users and developer. I have enjoyed working with such a great product. Please could

RE: Debugging under Netbeans 3.3.1

2002-05-15 Thread Gruner, Manfred
I for myself start tomcat independent from Netbeans in debugmode under Windows you have to set this environment set TOMCAT_OPTS=-classic -Xdebug -Xbootclasspath/p:c:\jdk1.3.1\lib\tools.jar Then I connect from netbeans to tomcat via: debug->attach JDK1.1 implementation And now you could debug

RE: Javascript and struts compatibility

2002-05-15 Thread James Mitchell
You've got to use a different syntax for referencing the browser dom. document.forms["frm"].elements["txtName[1]"].value() JM > -Original Message- > From: deepak [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 15, 2002 7:01 AM > To: [EMAIL PROTECTED] > Subject: Javascript and struts c

RE: Displaying a Vector of vectors in JSP using STRUTS

2002-05-15 Thread keerti shrimal
Hi Jacob I am sending you my java bean class which i have written to get the vector.Please have a look at it and tell me how do i get individual elements of the vector and display them on my JSP.This is just a dummy code as i am right now developing a prototype using STRUTS. Please help out with

Re: I have left the Deutsch Bank UK stage

2002-05-15 Thread Adam Hardy
Time to go contracting then - I was surprised how fast I got a new contract after I put struts in my profile. Peter A. J. Pilgrim wrote: > Tuesday 14th May 2002 > > All > > I have left Deutsche Bank UK, today. > I have been made redundant because of global restructuring. > I am now at home. Do

Struts & Tiles

2002-05-15 Thread Demers . Johanne
I am trying to include a tiles tag within a struts tag but I have had no success This is what I would like as the final result: In the above code line, layout.jsp is a variable in the tiles definition file. I have tried the following with no success: How can I get this variable sent with m

Interesting question?

2002-05-15 Thread Yaman Kumar
Hi, I have a problem in rendering data from an object that is bound to request object in myaction class. request.setAttribute("myVector",results); and that is fetched and put it in html select component in myJSP. So far this is fine.. When I'm validating t

Dynamic Forms?

2002-05-15 Thread Michael Marrotte
I need help figuring out how to generate and use dynamic forms with Struts. Is there already an eloquent MVC solution in Struts? Is DynaActionForm the answer? I can't see how extending the ActionForm behavior accomplishes this. It seems that to really implement a dynamic form, the form Bean wo

Re: Interesting question?

2002-05-15 Thread Nicolas De Loof
Your "myVector" object is placed in request scope, so it is not present anymore in the next request, when the user submits the form. To display the JSP after validation error detection you need to put this object in session scope. using tells the JSP compiler to look for your object and if none

RE: Displaying a Vector of vectors in JSP using STRUTS

2002-05-15 Thread Jacob Hookom
Given that the order of the sub-vectors is concrete (meaning that S.No always is first, followed by NumberFrom, etc), I would try something like this: I don't believe the Search class is to 'bean standards' to be used with Struts. The method "setstrGroupId" should be declared as "setStrGroupId",

RE: Displaying a Vector of vectors in JSP using STRUTS

2002-05-15 Thread keerti shrimal
Hi Jacob If i use this code, it gives me the following error : javax.servlet.jsp.JspException: Cannot find bean col in scope null at org.apache.struts.util.RequestUtils.lookup(RequestUtils.java:493) at org.apache.struts.taglib.bean.WriteTag.doStartTag(WriteTag.java:179)

Re: Struts & Tiles

2002-05-15 Thread Cedric Dumoulin
Import the tiles attribute into the request or page scope just before calling your tag. Then you will be able to use tiles' attribute value just like any attribute from request or page scope : You need to do that because tiles attribute are stored in the tiles context. Hope this help,

RE: Displaying a Vector of vectors in JSP using STRUTS

2002-05-15 Thread Jacob Hookom
My bad, I just got up and I have a final in a half hour ;-) In the second iterate tag, flip the name and id. -Original Message- From: keerti shrimal [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 15, 2002 7:23 AM To: [EMAIL PROTECTED] Subject: RE: Displaying a Vector of vectors in JSP

RE: problems migrating struts tags - weblogic 5.1 - 6.1 (has no property)

2002-05-15 Thread Michelle Popovits
Hi Max, Yesterday, I did try adding one of the attributes (testexpr) to the tld file but it came back with another error, I think it was expected there to be a method in the tag which, of course, did not exist. Is there something that I missed doing? Thanks, Michelle -Original Message--

RE: Displaying a Vector of vectors in JSP using STRUTS

2002-05-15 Thread Jacob Hookom
Ignore my last message, it was correct the first time. I apologize. Actually, col is just a name you've given the bean, there is no property or method being called. The first iterate tag puts the sub vector in the pagecontext under "row", since "row" contains/is a vector, you can just iterate o

RE: Problem with iterate tag

2002-05-15 Thread Pierre Mathelart
I knew it was a stupid problem ... On the official site (installation : http://jakarta.apache.org/struts/doc-1.0.2/installation.html), you have : <@ taglib uri="/WEB-INF/struts-logic.tld" prefix="struts-logic" %> and on the same site (documentation : http://jakarta.apache.org/struts/doc-1.0.2/st

logic:match question

2002-05-15 Thread Graham Lounder
Hello all, I'm not sure what is happening here but I think it's an obvious fix, I just can't see it. When I'm looping through a logic:iterate tag, I want to display a message on the first iteration. I used the IndexId attribute and created an index and compare it to the value 0. For some re

class cast exception

2002-05-15 Thread Thorsten Maus
hi there ... i always get a class cast excpetion when trying to cast the form-class is there anybody who is able to tell me what is wrong in my form-class public class StrutsAction extends Action{ public StrutsAction() { } public ActionForward perform(ActionMapping mapping,

Re: Dynamic Forms?

2002-05-15 Thread Adolfo Miguelez
Hi Michael, I run in the same issue days ago. I could not find a proper solution for Struts 1.0.*. The right answer, I think is using String[] as type of data in ActionForms. By instance, you can wrap all HTML inputs () in a unique parameter: String[] inputs with get and set methods in handli

RE: logic:match question

2002-05-15 Thread Leonardo Maciel
In some programming languages '0' is a character while "0" is a string. try to use "0" instead. -Original Message- From: Graham Lounder [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 15, 2002 9:02 AM To: [EMAIL PROTECTED] Subject: logic:match question Hello all, I'm not sure what is

Re: logic:match question

2002-05-15 Thread Nicolas De Loof
logic:match tag looks for "value" substring in it's body or in bean setted by "name" and optionnaly "property" (using toString() for non String objects). Your index is an Integer, and this tag uses toString() value, taht is decimal view of your index. So "0" and "10" and so on have the "0" substr

Re: class cast exception

2002-05-15 Thread Nicolas De Loof
Please give us your mapping (struts-config) for this "StrutsAction". > > hi there ... > > i always get a class cast excpetion when trying to cast the form-class > is there anybody who is able to tell me what is wrong in my form-class > > public class StrutsAction extends Action{ > > publ

RE: class cast exception

2002-05-15 Thread Leonardo Maciel
Is MyActionForm the name (form-bean) for the mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 15, 2002 9:10 AM To: struts-user Subject: class cast exception hi there ... i always get a class cast excpetion when trying to cast the form-class is there anybody who is able to tell me what is wrong

Re: logic:match question

2002-05-15 Thread Graham Lounder
Rats! I knew once I heard the explanation that it was going to be something stupid. Thanks for the help. Graham - Original Message - From: "Nicolas De Loof" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, May 15, 2002 10:12 AM Subject: Re: logic:

RE: Struts & Tiles

2002-05-15 Thread Demers . Johanne
Cedric, This does not seem to be working for me. Maybe my message is not clear. I want to replace the variable in the statement by the value returned by the tiles tag Thanks Johanne -Original Message- From: Cedric Dumoulin [ mailto:[EMAIL PROTECTED]] S

Re: class cast exception

2002-05-15 Thread Thorsten Maus
Nicolas De Loof wrote: >Please give us your mapping (struts-config) for this "StrutsAction". > > > >>hi there ... >> >>i always get a class cast excpetion when trying to cast the form-class >>is there anybody who is able to tell me what is wrong

RE: class cast exception

2002-05-15 Thread Yaman Kumar
Hi, Can You check action element attributes in action-mappings element in struts-config.xml element. Ex: some thing like below hope it helps rayaku -Original Message- From: Thorsten Maus [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 15 May 2002 6:40 PM To: struts-u

Re: Help : Dropdown List

2002-05-15 Thread Damien VIEL
Hi... I do not manage to do what I want :) I explain my problem. I've got 3 classes and 1 jsp: - AddProjectForm.java - AddProjectAction.java - CompanyJob.java - project.jsp In my CompanyJob.java I've got this following methode : public ArrayList getAll() throws SQLException { ArrayList list

Applying struts submit and reset button tags functionality to images

2002-05-15 Thread Yaman Kumar
Hi, Can any one help in applying struts submit /reset buttons to images. submit reset To /images/submit.gif" width="42" height="22" border="0"> /images/reset.gif" width="42" height="22" border="0"> Many Thanks, rayaku -- To unsubscribe, e-mail: For additional

Re: Struts & Tiles

2002-05-15 Thread Cedric Dumoulin
Can't you specify a request or page attribute name for your tag (something like beanName="...") ? If yes use it instead. If no, check if your tag accept an rtexpr as value and do the following : If your tag doesn't accept rtexpr, try to change that in the corresponding tld, and check t

RE: Applying struts submit and reset button tags functionality to images

2002-05-15 Thread Leonardo Maciel
use mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 15, 2001 9:26 AM To: Struts Users Mailing List Subject: Applying struts submit and reset button tags functionality to images Hi, Can any one help in applying struts submit /reset buttons to images. submit reset To /images/submit.gif" width="42

RE: Help : Dropdown List

2002-05-15 Thread Yaman Kumar
Hi, There is little advice If I understood ur problem. Do u have your "list" object in request scope with the key "complist". and if u would like to populate the complist in list box then change the statment to below one.If u r looking for option values and option names are same. I hope this h

RE: Applying struts submit and reset button tags functionality to images

2002-05-15 Thread Robert Taylor
I think the which is what you need. At least that is what I'm using in Struts 1.0. robert > -Original Message- > From: Leonardo Maciel [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 15, 2002 9:28 AM > To: Struts Users Mailing List > Subject: RE: Applying struts submit and reset butto

RE: Applying struts submit and reset button tags functionality to images

2002-05-15 Thread Leonardo Maciel
you are right use ... ... -Original Message- From: Robert Taylor [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 15, 2002 9:37 AM To: Struts Users Mailing List Subject: RE: Applying struts submit and reset button tags functionality to images I think the which is what you need. A

Re: Displaying a Vector of vectors in JSP using STRUTS

2002-05-15 Thread Arron Bates
This is all good if you only ever want to show the data. Updating the data is another story. There's also the hassle of maintaining the child bean names etc etc etc (the last couple of problems you've just had). All managed for you. The nested tags make this really simple (it was the problem t

re: re: DAO open source?

2002-05-15 Thread Adolfo Miguelez
Thanks Casey, I have been thinking as you, in configuring queries from XML. I will give it a look and I will post feedback when done. Regards, Adolfo. >From: Casey Forbes <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: re: re: D

Re: Help : Dropdown List

2002-05-15 Thread Damien VIEL
Yep... I think my problem comes from this point. I've tried to put this code in my AddProjectAction.java in the perform methode : try { CompanyJob companyJob = new CompanyJob(); ArrayList listcomp = companyJob.getAll(); request.setAttribute("listcomp", listcomp); System.out.println("Size o

Using Validator to validate dynamic fields

2002-05-15 Thread @Basebeans.com
Subject: Using Validator to validate dynamic fields From: "Matt Raible" <[EMAIL PROTECTED]> === Is it possible to use the validator to validate dynamic (indexed) fields? I have a page that iterates (using JSTL's forEach and x:transform with XSL) through a form and it's children and creates appro

Re: Displaying a Vector of vectors in JSP using STRUTS

2002-05-15 Thread Jeff_Mychasiw
I agree, I was really impressed with the nested tutorials and how easy is was to display complex data. Arron, on your statement "Updating the data is another story." This is that part that I am still trying to resolve. If I keep the datastructure in the session, I ha

Announce: Struts trainings: Switzerland/Belgium/Luxembourg

2002-05-15 Thread @Basebeans.com
Subject: Announce: Struts trainings: Switzerland/Belgium/Luxembourg From: "Wolfgang Gehner" <[EMAIL PROTECTED]> === Due to popular demand, we are happy to announce: J2EE/Struts Framework - 4-day seminar & workshop 28-31 May: Switzerland - Geneva (EN/FR) 18-21 June: Belgium - Brussels (EN/FR) 2-

RE: Help : Dropdown List

2002-05-15 Thread Robert Taylor
You could have a PreAddProjectAction which performs the population and then forwards to the view. Then the view looks up the "listcomp" in the request and renders it. The user interact with the view and submits the form to be processed by AddProjectAction which captures the user input and updates

Re: Help : Dropdown List

2002-05-15 Thread Damien VIEL
ok, I'll try this. Thank Dams - Original Message - From: "Robert Taylor" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, May 15, 2002 4:09 PM Subject: RE: Help : Dropdown List > You could have a PreAddProjectAction which performs the population an

Implementing Dynamic Forms, mixing Struts tags with plain HTML controls...

2002-05-15 Thread Michael Marrotte
I got the JSP, found below, to work within my application for implementing dynamic forms. The HTML 's are "named" dynamically with Struts 's, all within . The Action that handles this form processes the HttpServletRequest, filtering for parameters names that start with the constant values, e.g.

Sharing information among web apps

2002-05-15 Thread Roshan Paiva
Hi.. This is not a struts related question.. but I need to know if there is a way of sharing information between web applications. for example I have a common class.. maybe in the server's classpath .. and one web app accesses it and sets some values.. and then another web app accesses it and get

Dynamic Forms?

2002-05-15 Thread Michael Marrotte
I need help figuring out how to generate and use dynamic forms with Struts. Is there already an eloquent MVC solution in Struts? Is DynaActionForm the answer? I can't see how extending the ActionForm behavior accomplishes this. It seems that to really implement a dynamic form, the form Bean wo

Most interesting question.

2002-05-15 Thread Yaman Kumar
Hi, I have a problem in rendering data from an object that is bound to request object in myaction class. request.setAttribute("myVector",results); and that is fetched and put it in html select component in myJSP. So far this is fine.. When I'm validating t

Re: Simple Exception - Complex for me

2002-05-15 Thread Jon Ferguson
You apparently have an action form called "projectForm" but you don't cause it hasn't been specified in your config file to be associated with the particular action.. check references in your .jsp and the config file and make sure any names match. Cheers, Jon Sudhir wrote: > Hi, > > Can anybod

Torque and Struts.

2002-05-15 Thread Jose Galiana
Hi, Anybody has used Torque with Struts? Do I need to use TurbineConfig in Struts and put turbine.jar in /WEB-INF/lib? Greeting. Jose Galiana

Re: Debugging under Netbeans 3.3.1

2002-05-15 Thread Larry Meadors
If you use the JPDA debugger, you can use any version of tomcat *on any machine* with the NB debugger. Mount all the jars in the $CATALINA_HOME/common/lib directory. Mount all the jars in then /WEB-INF/lib directory. Mount the /WEB-INF/classes directory. Next, set an environment variable CATAL

RE: Sharing information among web apps

2002-05-15 Thread Stephen . Thompson
Hello, The only ways I can think of would be: A persistent store (ie a database). You could possibly use a singleton structure IF all the web apps are inside the same VM. Anyone have any better suggestions. Regards, Stephen. -Original Message- From: Roshan Paiva [mailto:[EMAIL PROTE

Re: Help : Dropdown List

2002-05-15 Thread Damien VIEL
ok, I've created the following Action that will populate my forms : public final class PrepareFormAction extends Action { public ActionForward perform( ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletExceptio

Re: Dynamic control of errors.header and errors.footer

2002-05-15 Thread Ted Husted
The errors.header and errors.footer come out of the Application Resources. This is in application scope, and really can't be changed on a request by request basis. Struts 1.1 offers a set of message tags that can do exactly what you want. These were first introduced in the Struts Validator, so f

RE: Most interesting question.

2002-05-15 Thread Tandon, Pankaj
The way I handled this situation was to create a method called populateLists() in the form. I then call this method from 2 places: 1. The action, as myForm.populateLists() and 2. from the validate method in the form, incase validation fails and the action is never invoked. populateLists(), fcours

RE: Most interesting question.

2002-05-15 Thread James Higginbotham
Well, if you follow the suggested guidelines of the J2EE Blueprints, you should be writing a custom JSP tag to fetch the data and push it into the request under the name desired (or passed in via an id or similiarly named attribute). This way, actions process forms and JSP pages + Custom tags rend

Re: Sharing information among web apps

2002-05-15 Thread Rakesh Ayilliath
Thats web services buddy...!! - Original Message - From: "Roshan Paiva" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 15, 2002 9:44 PM Subject: Sharing information among web apps > Hi.. > > This is not a struts related question.. but I need to know if there is a > w

Re: javascript and struts1.0.2

2002-05-15 Thread Ted Husted
"Mannem, Taati" wrote: > One more thing the thread started with the usage of javascript with struts1.0.2.Any suggestions there? If the earlier responses didn't help, you may need to rephrase your question. David's Validator was in wide use on production sites before Struts 1.0 was released. If

RE: Help : Dropdown List

2002-05-15 Thread Robert Taylor
You need to place the listcomp object in the request before you forward to the view. robert > -Original Message- > From: Damien VIEL [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 15, 2002 11:21 AM > To: Struts Users Mailing List > Subject: Re: Help : Dropdown List > > > ok, > I've cr

Re: JSP error

2002-05-15 Thread Ted Husted
You might consider posting this to JSP-interest or searching the archives there. http://archives.java.sun.com/archives/jsp-interest.html -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web: http://husted.com/about/services

creating a DynaActionForm instance

2002-05-15 Thread Christopher Book
Hi, How do I create my own dynaactionform instance and set values based on my struts-config? DynaActionForm myForm = new DynaActionForm(); myForm.set("name","name"); The previous two lines don't work, as the 'set' method throws a nullpointerexception. Thanks, Chris -- To unsubscribe, e-mail:

RE: Sharing information among web apps

2002-05-15 Thread James Higginbotham
Well, that's web services if you are sharing data across networks, sharing between technologies that don't integrate well, or are sharing data that is in XML form within your network. Otherwise, you have the overhead of setUp and teardown of the HTTP protocol and XML creation/parsing to share data

Read this for sure !!!

2002-05-15 Thread SUPRIYA MISRA
Read this link . May be it affects Flash !!! The technical details are awesome. http://securityresponse.symantec.com/avcenter/venc/data/aol.exe.hoax.html _ Join the world’s largest e-mail service with MSN Hotmail. http://www.ho

path mapping vs Tomcat webapp paths

2002-05-15 Thread @Basebeans.com
Subject: path mapping vs Tomcat webapp paths From: "Jeff" <[EMAIL PROTECTED]> === What do I need to do to get path mapping to work properly under BOTH Tomcat 3 (running inside Forte as the sole application) and Tomcat 4 (running standalone on a server deployed from "webapps/")? At the moment, I

RE: Read this for sure !!!

2002-05-15 Thread Mannem, Taati
LOL! Regards, Taati > -Original Message- > From: SUPRIYA MISRA [SMTP:[EMAIL PROTECTED]] > Sent: Wednesday, May 15, 2002 12:24 PM > To: [EMAIL PROTECTED] > Subject: Read this for sure !!! > > Read this link . May be it affects Flash !!! The technical details are > awesome. > > ht

RE: Sharing information among web apps

2002-05-15 Thread Cachia . Alex
The theory is that if you are using a J2EE application server, you can put the classes in your Enterprise Application. Web applications within the same Enterprise application see the classes in the Enterprise application. Across Enterprise applications I don't think is portable. You'd have to r

RE: Sharing information among web apps

2002-05-15 Thread Kevin . Bedell
Here are a couple options: - Store the "object" you want to share in a JNDI directory. This can be on the same host or on a seperate one. - Wrap this object as an Entity Bean in an EJB sever. - Wrap access to it in a generic RMI wrapper and have all objects access it in a singl

Re: Application State == View or Business Logic

2002-05-15 Thread Ted Husted
The Model represents application state. The View displays the application state. The Controller captures user gestures and selects the View. In a conventional "desktop" MVC application, the View may connect to the Model in order to display the state in "real-time". In remote applications, incl

populating list for html:options tag within FormBean

2002-05-15 Thread Gary Bartlett
Question - I saw in an earlier post that someone was populating the list for an html:options tag within a FormBean. My question is how does the FormBean place the list into the context so it is available to the tag ? I realize this is a pretty basic question, but my only frame of reference h

RE: creating a DynaActionForm instance

2002-05-15 Thread James Mitchell
@see \src\example\org\apache\struts\webapp\example\LogonAction.java - line 138 JM > -Original Message- > From: Christopher Book [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 15, 2002 11:51 AM > To: '[EMAIL PROTECTED]' > Subject: creating a DynaActionForm instance > > > Hi, > > How do

RE: re: DAO open source?

2002-05-15 Thread Jacob Hookom
There are some excellent articles about the different mapping tiers at: http://www.martinfowler.com/isa >From these, I had implemented a configurable command pattern DAO, much like the suggestions that Casey had offered whereby you predefine the SQL statements and properties for later use. Once

struts-user@jakarta.apache.org

2002-05-15 Thread Trieu, Danny
Does anyone know what is the number of Struts developer out there? and does anyone have a list of all the website that using Struts/Tiles? Thanks, --danny -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: problems migrating struts tags - weblogic 5.1 - 6.1 (has no property)

2002-05-15 Thread Bart Schrever
Indeed, if you specify some additional tag attribute in the tld file, simular get... en set... methods must be available in the class file defining the tag. ex: when you add attribute testexp in html:text, a getTestexp() and setTestexp(Object ...) should exist in the class TextTag -Oorspron

Re: populating list for html:options tag within FormBean

2002-05-15 Thread Damien VIEL
I've created the following Action that will populate my forms : public final class PrepareFormAction extends Action { public ActionForward perform( ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException {

RE: Struts & Tiles

2002-05-15 Thread Demers . Johanne
Another question... Here is one definition in my xml file: By using this syntax , I can retrieve the value /screens/user/add.jsp Is ther a way I could retrieve the value of the definition name "AddUser" Johanne -Original Message- From: Cedric

Re: Websphere 4.02 Struts Deployment

2002-05-15 Thread Danny Mui
To follow up, WebSphere 4.02 comes with the fix pack (they also have an E-FIX for putting out that fire) that makes it redirect compliant to servlet spec 2.3. To enable this mode, add : name com.ibm.websphere.sendredirect.compliance value 1 to the System Properties in the admin console under:

RE: using parameter defined inside Action Form

2002-05-15 Thread Bart Schrever
your action is normally associated with a formbean, if the scope of this formbean is larger then "page" (i.e. request, session, application), you could put the data in the FormBean (passed as a parameter in the perform - method of your action) public ActionForward perform(..., ActionForm aForm,

RE: populating list for html:options tag within FormBean

2002-05-15 Thread Pruthee, Ranjan
It is not a good practice to have DB calls in ur Action class. Action Class belongs to web tier and it should call db layer thru' Business objects via a Business delegate. There was a good thread couple of weeks ago on this. After the call is made to the Db and results are returned, u can store

RE: Application State == View or Business Logic

2002-05-15 Thread Dan Cancro
I thought that a view could access a model directly to display the model's state. There used to be a MVC2 diagram on the Struts site that had a line connecting the view directly to the model. Does Struts work differently now? That was a good diagram. I wish it was easier to find. Thanks, Dan

RE: creating a DynaActionForm instance

2002-05-15 Thread Christopher Book
That line : PropertyUtils.getSimpleProperty(form, "username"); uses the form that was posted with the login page. What I want to do is create a new form myself, and set it as a request attribute so that the form is populated in advance. ie How would you change this example so that the login page

RE: dynamic bean message

2002-05-15 Thread Boon Chew
I use struts 1.1b. Single quote works! Escaping the double quote works as well. Thanks all for your tips. " /> - boon -Original Message- From: Struts Newsgroup [mailto:@[EMAIL PROTECTED]] Sent: Wednesday, May 15, 2002 12:55 AM To: [EMAIL PROTECTED] Subject: Re: dynamic bean message

RE: Application State == View or Business Logic

2002-05-15 Thread Robert Taylor
The problem with accessing the model directly from the view is that if for some reason an error were to occur while accessing the model, then there is no mechanism to notify the user with a meaningful message. For example: If I had a custom select tag which retrieved a list of companies where th

Digester, which files does it need?

2002-05-15 Thread @Basebeans.com
Subject: Digester, which files does it need? From: Marco <[EMAIL PROTECTED]> === Hi, I have a sample running Struts in Visual Age 4.0. I get error msg's after starting the Websphere Test Environment. Below you can find the msgs. I think both classes open files which are either not available or

  1   2   >