Re: html code problem

2002-05-15 Thread siraj
Thanks alot Victor thats doing fine Siraj - Original Message - From: Victor Hadianto <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> Sent: Thursday, May 16, 2002 12:04 PM Subject: Re: html code problem > On Tue, 16 May 2000 15:55, you wrote: > > Food (stored in

Re: html code problem

2002-05-15 Thread Victor Hadianto
On Tue, 16 May 2000 15:55, you wrote: > Food (stored in this format in the > database). the problem is whn i use struts to display this data, it > displays as it is. instead of Food, can some one tell me wht exactly i > can do to display only the data. Are you using tag? There is a filter attr

Re: html code problem

2002-05-15 Thread arul
You should parse it, use some logic to retrieve the attribute, value and the text use " " as a delimeter to get the key value pair of attribute, and >< anything between that will be your text. what else could u do?? - Original Message - From: siraj <[EMAIL PROTECTED]> To: Struts User

RE: implementing form actions

2002-05-15 Thread Vikram Goyal01
Also, Using javascript change the action class based on what button is clicked. So: fnDoSubmit(btn){ document.myForm.action = btn.value; document.myForm.submit; } You might need to put the suffix .do to the action in the javascript or the value of the buttons. Rgs Vikram -Origi

html code problem

2002-05-15 Thread siraj
Good Morning/Noon/Evening teams, i have a simple problem, i would highly appreciate if some one can give a soln for this i have some data which contains html codes along with that data say a catalog name Food Food (stored in this format in the database). the problem is whn i use struts

Require sample code for Dynamic Forms

2002-05-15 Thread veenak
Hi All, I am developing an application which requires the generation of forms dynamically. My Form bean class is extending from "DynaActionForm " class. Currently my application is not working and I am getting an exception "javax.servlet.ServletException: Exception creating bean of class FormBean

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

2002-05-15 Thread Max Cooper
Oops, oh yeah, I guess that is a problem. I don't have a good solution, but I can think of a few things that might be worth investigation/consideration: 1. See if you can turn strict checking off in weblogic.xml 2. Add the methods you need to the tag handler classes. (sounds painful) 3. Figure ou

Extracting Result Sets

2002-05-15 Thread Jacob Hookom
Hey, I've been trying to find a better way of removing the data from the result set to a more reusable, iteratable object that can be used within the JSP page. I can foresee running into conditions where results must be stored outside the scope of the page; and data can be iterated over multiple

Re: Can you easily order ActionErrors?

2002-05-15 Thread Pamela Li
hi, i have some idea, 1.for order: though ActionErrors is a HashMap,but u can put a ArrayList to one key 2.for dynamic content u can put the dynamic content to the request,this will show in page use - Original Message - From: "Grant Hodgins" <[EMAIL PROTECTED]> To:

Re: how to check session time out with jsp tag on jsp files ???

2002-05-15 Thread Victor Hadianto
On Thu, 16 May 2002 08:17, you wrote: > And if the session is timed out, I do get a NullPointer with > , don´t I? Check for first. -- Victor Hadianto --- spagmumps, n.: Any of the millions of Styrofoam wads that accompany mail-order items. -- "Sniglets", Rich Hall & Friends -- To

Re: lajug - Keeping Constants Outside The Java/JSP Source File

2002-05-15 Thread Victor Hadianto
On Thu, 16 May 2002 08:18, you wrote: > I believe you can put them inside a property file as part of your WAR. > Is that what you mean? That will work, or you can do this as well: On your web.xml fle declare: My variable description myVariable /usr/local/bin/st

Re: implementing form actions

2002-05-15 Thread Victor Hadianto
> I currently define a single action, forward > all the [operation] buttons to the action and let > the action distinguish between the various operations > based on a property name. Another way of doing this is by utilising an "action" property on your form bean and for declare a setters method

implementing form actions

2002-05-15 Thread K Br
what is the recommended action structure to implement the following form pattern? [data fields] [operation1] [operation2]...[operationN] I currently define a single action, forward all the [operation] buttons to the action and let the action distinguish between the various

Re: lajug - Keeping Constants Outside The Java/JSP Source File

2002-05-15 Thread Christopher Smith
I believe you can put them inside a property file as part of your WAR. Is that what you mean? --Chris On Wed, 2002-05-15 at 14:32, Ryan Norman wrote: > Hi, > > I am Ryan Norman. > > I am running Win 2K advanced server, tomcat 4.0, struts, oracle. > > I have a bunch of constants that I would l

Can you easily order ActionErrors?

2002-05-15 Thread Grant Hodgins
Hi, This may have been asked before. If so, my apologies. I'm trying to order some action errors, using for presentation to the user. Since the ActionErrors class uses a HashMap for errors the order is not guaranteed. Additionally, using the optional property attribute here doesn't apply he

Re: Struts Menu and VAJ 4.0/WTE

2002-05-15 Thread Scott Sayles
I'm probably using a nightly build that is more recent then the version of Struts that you are using. You can check out an earlier version of MenuPlugin (revision 1.1 I believe) and build with that. The most recent version should reflect the latest Struts 1.1 head. If not, please let me know.

Handling submit with multibox

2002-05-15 Thread K Br
i have a form that lists a number of items using logic:iterate and makes each item selectable using a check box (multibox). The associated Form object makes available an item array Book[] as a property that should

RE: Autodeploying Struts apps from Forte to Tomcat via WARfile -- BROKEN?!?

2002-05-15 Thread McAfee, Tom
We have successfully deployed Struts app from Forte4J 3 to Tomcat 4. I still don't feel that we have a complete understanding of path issues, and we finally got the links to html help files, which initially worked in the IDE and not when deployed, to work in both places through trial and error. W

RE: Using IDE -JBuilder5 or WSAD

2002-05-15 Thread Mannem, Taati
I was told that the next version of WSAD will have struts console integrated with it..That would be around jun/jul Regards, Taati > -Original Message- > From: James Holmes [SMTP:[EMAIL PROTECTED]] > Sent: Wednesday, May 15, 2002 5:00 PM > To: Struts Users Mailing List > Subject: Re

Re: how to check session time out with jsp tag on jsp files ???

2002-05-15 Thread Kriss Weissmann
And if the session is timed out, I do get a NullPointer with , don´t I? At least this is what happens to the other tags accessing the session after time out with the result of ugly Ex´s on the screen, wich I´d like to avoid... - Original Message - From: "James Mitchell" <[EMAIL PROTECTED]

Keeping Constants Outside The Java/JSP Source File

2002-05-15 Thread Ryan Norman
Hi, I am Ryan Norman. I am running Win 2K advanced server, tomcat 4.0, struts, oracle. I have a bunch of constants that I would like to keep outside the Java/JSP source file. Because when I am done, I would like to upload my files to my client place where there is nobody to change and recomp

RE: Using IDE -JBuilder5 or WSAD

2002-05-15 Thread James Mitchell
(Jbuilder) I have used this setup in the past: /project<-create project here -build.xml (ant script) -project.jbx (jbuilder project) + src<-set this as working folder + WEB-INF - classes <-compile to here - lib <-create a project_home and add these Look in

Re: Using IDE -JBuilder5 or WSAD

2002-05-15 Thread emmanuel.boudrant
... And the StrutsWizard for JBuilder, Struts wizard generate action, actionform and jsp, it use the struts console for config file. Currently I'm working on an eclipse version (available soon...) There is some opentools for JBuilder struts support, see struts ressources in Jakarta web site or

RE: Question in upgrading to 1.1b1

2002-05-15 Thread James Mitchell
You forgot one Don't ask questions on Friday JM > -Original Message- > From: DHS Struts [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 15, 2002 4:45 PM > To: [EMAIL PROTECTED] > Subject: Re: Question in upgrading to 1.1b1 > > > We are also looking a migrating from 1.0.2 to 1.1b

RE: how to check session time out with jsp tag on jsp files ???

2002-05-15 Thread James Mitchell
If you have anything in the session you can test with logic:present JM > -Original Message- > From: Kriss Weissmann [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 15, 2002 5:02 PM > To: [EMAIL PROTECTED] > Subject: how to check session time out with jsp tag on jsp files ??? > > > Hi a

Re: Using IDE -JBuilder5 or WSAD

2002-05-15 Thread James Holmes
Currently the Struts Console plugs into JBuilder but not into Eclipse/WSAD. The Struts Console makes working on Struts projects much easier in terms of the config file. http://www.jamesholmes.com/struts/ Hopefully in the future there will be a Struts Console plugin for Eclipse/WSAD, but it's no

how to check session time out with jsp tag on jsp files ???

2002-05-15 Thread Kriss Weissmann
Hi all, is there a way to check for a session time out based on (struts) jsp-tags? I´m aware of the request.getSession(false) call, but I´d like to do it with tags (for uniformity). TIA Kriss -- To unsubscribe, e-mail: For additional commands, e-mail:

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

2002-05-15 Thread DHS Struts
Thanks Ted, We are looking into migrating to 1.1b1 so I may table this issue for now. mark n. >From: Ted Husted <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: Struts Users Mailing List <[EMAIL PROTECTED]> >Subject: Re: Dynamic control of errors.header and errors.footer >Date: Wed, 15 Ma

Re: Question in upgrading to 1.1b1

2002-05-15 Thread DHS Struts
We are also looking a migrating from 1.0.2 to 1.1b1. So I would second Simon's request for information, etc. Even a migration check list would be helpful... 1) Don't ask questions on Friday. 2) Backup every thing 3) have a beer 4) Don't ask questions on Friday 5) Download 1.1b1 6) Explore inter

RE: Using IDE -JBuilder5 or WSAD

2002-05-15 Thread Soomar, Muki (R.)
Thanks Mark. That was helpful info. Regards, Muki Soomar IT-Systems Customer Relationship Center Integration Global Consumer Systems 4S-110, Regent Court Phone: (313) 20-64687 Ford Motor Co. -Original Message- From: DHS Struts [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 15, 2002

Re: Using IDE -JBuilder5 or WSAD

2002-05-15 Thread DHS Struts
I've not had any experience with JBuilder so I can't speak to it. However I have been using WSAD for the past few months. We have two developers who split the application basically in half. One does the presentation layer and the other the model layer. We built a prototype of the application a

Autodeploying Struts apps from Forte to Tomcat via WARfile -- BROKEN?!?

2002-05-15 Thread @Basebeans.com
Subject: Autodeploying Struts apps from Forte to Tomcat via WARfile -- BROKEN?!? From: "Jeff" <[EMAIL PROTECTED]> === Has -anybody- ever managed to build a Struts-using web app inside Forte or Netbeans AND successfully autodeploy the app using a WARfile created by Forte/Netbeans to a standalone s

RE: Using IDE -JBuilder5 or WSAD

2002-05-15 Thread Soomar, Muki (R.)
I meant specific to doing STRUTS development work. Apologize for missing that out. Regards, Muki Soomar -Original Message- From: Soomar, Muki (R.) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 15, 2002 4:26 PM To: Struts-User (E-mail) Subject: Using IDE -JBuilder5 or WSAD Does anyon

Using IDE -JBuilder5 or WSAD

2002-05-15 Thread Soomar, Muki (R.)
Does anyone have a methodology for doing development work using IDEs like JBuilder5 or WSAD. I will be curious to know. I have been pulling my hair out trying to use both of them but finding it very difficult. Regards, Muki Soomar -- To unsubscribe, e-mail: For

Re: JSP error

2002-05-15 Thread Kevin . Bedell
Pete Serafin wrote: > > Is it possible for the JSP error directive to capture any other type of > exceptions other than just javax.servlet.jsp.JspException. Im trying > to catch any types of exceptions in my JSPs including Jasper and plain > Exceptions, but Im not sure if this is possible. H

equal tag within iterate have access to current item

2002-05-15 Thread Gary Bartlett
Greetings - I have a page where I wish to place a logic:equal tag within an iterate tag. I would like the method (in the FormBean) associated with the logic:equal tag to have the context of the current item to use as part of its logic. Is there any way to do this ? For example, can the iter

populating part of bean properties to another

2002-05-15 Thread Boon Chew
Is there currently a way in struts to populate a bean to a bean with only a subset of the properties of the source bean? For example, the form bean may have username, password and password2, and a bunch of other properties, but the actual object to encapsulate the form info may only want to keep

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

2002-05-15 Thread Michelle Popovits
Here is the error message: Parsing of JSP File '/jsps/account/EditAccount.jsp' failed: /jsps/account/EditAccount.jsp(3): Error in using tag library uri='struts-html.tld' prefix='strutshtml': The Tag class 'org.apa

RE: Application State == View or Business Logic

2002-05-15 Thread Nelson, Laird
> -Original Message- > From: Robert Taylor [mailto:[EMAIL PROTECTED]] > > My point of contention is with the view or > view helpers containing the logic which actually > interacts with the business layer therefore > circumventing the controller. That is, I wanted > to make the point >

Question in upgrading to 1.1b1

2002-05-15 Thread Chappell, Simon P
I am trying to upgrade to 1.1b1 from a small body of working 1.0.1 code. The team I am on is at the start of the project, so if we are going to switch to 1.1, then now is the ideal time. I have put an initial framework together that works under 1.0.1 and then versioned it in our SCM tool. I ca

Re: Application State == View or Business Logic

2002-05-15 Thread Ted Husted
I'd say you were enforcing the pattern. The controller is the filling in the sandwhich. It can be bound to model and bound to view. By using the Action class you have the appropriate degree of seperation between the view and model (using MVC/Layers). I'd also say that the form-beans are controll

RE: Application State == View or Business Logic

2002-05-15 Thread Robert Taylor
Ooops. My bad. I'm still screwing up the terminology and thanks Chuck for the clarification. My point of contention is with the view or view helpers containing the logic which actually interacts with the business layer therefore circumventing the controller. That is, I wanted to make the point tha

RE: Application State == View or Business Logic

2002-05-15 Thread Chuck Cavaness
My thinking is that the data transfer objects (also referred to as value objects) are still part of the model. The view components do access these as JavaBeans to help render the dynamic data. Here's a linke from the Struts user guide: http://jakarta.apache.org/struts/userGuide/building_model.

RE: Application State == View or Business Logic

2002-05-15 Thread Steven Banks
The diagram comes from section 1.4 of the J2EE Blueprints: Introduction to the Blueprints at Sun. http://java.sun.com/blueprints/guidelines/designing_enterprise_applications/introduction/summary/index.html#1035154 Steven Banks 368-0566 >>> "Robert Taylor" <[EMAIL PROTECTED]> 05/15/02 02:47PM

RE: Sharing information among web apps

2002-05-15 Thread Kevin . Bedell
Forgot my favorite: - Host the information behind a web service. This allows the flexibility of having the webapps be on different machines any and even behind firewalls. All info travels via http. And you can have apps on other platforms share the info as well. [EMAIL PROTECTED] on 05/15

Struts Menu and VAJ 4.0/WTE

2002-05-15 Thread Raffy_Lata
Has anyone had any luck in using Struts Menu 1.1B2 in VAJ 4.0/WTE? The plug-in does not seem to be doing it's job and I'm not getting any errors in the console. The ActionServlet simply fails to load. I did use a struts-menu.jar from the site.zip from basebeans and that one worked (it's dated 03/

Re: Digester, which files does it need?

2002-05-15 Thread Raffy_Lata
Check your struts-config.xml and web.xml and make sure they are well-formed. Use IE or anything that will tell you if your xml files are ok or not. Struts Newsgroup (@Basebeans.com) To: [EMAIL PROTECTED] cc: Subject: Digester, which files does it need? Subject: Digester, which files d

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.

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

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

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

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

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

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

  1   2   >