how to send notifications when a bean propriety changed

2002-02-11 Thread Ioana Danescu
I have a question about the best way to implement, using Struts framework, the following: I have a huge form (registration form) over 4 pages. I have a field, let's say regions that contains the regions that the user may select from a multiple selection list. I want to have a link on the form

calling secured EJBs from an Action

2002-02-11 Thread Bill McArthur
It seems as though I can't call a secured EJB from an Action class - but I can call the same EJB methods from a separate servlet - can anyone explain why this is happeing? Thanks in advance -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL

setting mapped property in ActionForm

2002-02-11 Thread Tom Goemaes
Hi, I have a form in which i want checkboxes to use mapped properties. input type=Checkbox name=library.genericId(A) input type=Checkbox name=library.genericId(B) So that i can create a list of keys (A,B,... ) which were selected. In the ActionForm object i have a getLibrary(), and in the

Re: DETAIL/QUESTION: patterns.doc, 1.4.4 Struts CMV,Table 1.5 - Struts view helpers

2002-02-11 Thread Ted Husted
After the 0.5 release, the form taglib was renamed as the html taglib. In the 1.0 release, the tld was retained for backward compatibility, but is deprecated. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Java Web Development with Struts. -- Tel +1 585 737-3463. -- Web

Re: performance over iterate

2002-02-11 Thread Alberto Bolchini
Hi Arron. I am aware of Netscape's idiosyncrasy for nested tables, and as the code snippet showed, I just used one table, playing around w/ colspans. Actually my Leaf would eventually return a _null_ on the getChildren method thus breaking the nested iterator. Returning an empty array and taking

Re: TILES: using Defenitions as Forwards in Struts 1.1 dev

2002-02-11 Thread Cedric Dumoulin
Important changes have been made in latest Struts 1.1 dev. The old mechanism consisting to subclass ActionServlet doesn't work anymore. I have a Tiles version working with Struts nightly build. It add a new class (TilesController), and a new struts-config.xml. Unfortunately, it is not

RE: mapping jsp *.do how to ?

2002-02-11 Thread Arik Levin ( Tikal )
I can't make it work, I have tried it. Maybe I'm missing something? I have this... global-forwards forward name="start" path="/xtest/jsp/xtestHeader.jsp"/ /global-forwards the jsp is going fine but not the start.do let say that I don't just want to map *.do but some of my JSP's

Passing a collection (ArrayList or string array) to the Action class from the jsp page ...

2002-02-11 Thread Charlesworth, Chico
Hi, I'm trying to find the best way in struts of passing a collection of new values to an action class, but there doesn't seem to be an easy way of doing this ... Here's a given scenario: got a form with an arraylist. in the jsp do a logic:iterate within a html:form tag, and within the

multipartRequestHandler

2002-02-11 Thread Dionisio Acosta
Hi, I am trying to move my application from 1.0.b3 to 1.0.1. Now when I run thr application the following error is raised recordForm.populate - java.lang.NoSuchMethodException: Property 'multipartRequestHandler' has no getter method at

Problem with html:link forward...

2002-02-11 Thread James . W . BLAKEY
I have a JSP with the following lines: ul lihtml:link forward=userMaintAdd a new User Account/html:link/li /ul My struts-config.xml is as follows: global-forwards type=org.apache.struts.action.ActionForward forward name=userMaint path=/userMaint.do?actionName=add / /global-forwards

RE: TILES: using Defenitions as Forwards in Struts 1.1 dev

2002-02-11 Thread Galbreath, Mark
Ted, The struts.jar at the URL below is smaller and has an older date than the binary at Jakarta. Is that right? Mark -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 10, 2002 10:12 AM Yes, for the time being, the Nightly Build cannot be used

newbie question

2002-02-11 Thread Oliver Kiessler
hello, how can i access my message resource file (ApplicationResources.properties) from an action? i need to get certain value pairs (db.name=example_db) from it. any code examples would be appreciated. thanks, oliver -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

RE: Passing a collection (ArrayList or string array) to the Action cl ass from the jsp page ...

2002-02-11 Thread Charlesworth, Chico
Just found out where the problem lies ;) The following does not work: % int i=0;% logic:iterate id=myElement name=myForm property= myArrayList html:hidden name=myElement value=%=new Integer(i).toString()%/ %i++;% /logic:iterate But the following does: % int i=0;% logic:iterate

RE: Poolman feedback from author

2002-02-11 Thread Galbreath, Mark
Perhaps Jakarta would take it -Original Message- From: Adriano Labate [mailto:[EMAIL PROTECTED]] Sent: Monday, February 11, 2002 2:33 AM To: Struts Users (E-mail) Subject: Poolman feedback from author Hi, I recently asked the PoolMan's author whether he will continue the

Re: setting mapped property in ActionForm

2002-02-11 Thread Keith Bacon
Not sure but try defining a getter as well. Maybe the method doesn't get treated as a property unless get/set are defined correctly. --- Tom Goemaes [EMAIL PROTECTED] wrote: Hi, I have a form in which i want checkboxes to use mapped properties. input type=Checkbox name=library.genericId(A)

html:form help!!

2002-02-11 Thread Luke Studley
Hi there. I just found some 'interesting' behaviour with the html:form tag that I hope somebody can explain. I have the action servlet mapped in my web.xml to *.do, this worked fine for me until I wanted some files to be downloaded with the extension .csv, so I added another servlet-mapping of

OT: Resin, JNDI, and Poolman

2002-02-11 Thread Will Jaynes
This is off-topic, but here goes... Does anyone have a working example of using Resin, JDNI, and Poolman to setup a JDNI lookup for a poolman database pool. I've read the Resin docs on setting up JDNI, and the poolman docs on using JDNI, but there's still something missing in my

Re: Questions regarding the usage of nested tags...

2002-02-11 Thread Arron Bates
Answers inline... At some point NESTED tags were being developed outside of the STRUTS tag library, however, recently they have been merged into the nightly build. There are a number of questions which I have in this regard: 1. With introduction of nested tags into the library, there are now

newbie

2002-02-11 Thread Gross, Carson
All, I am trying to set up struts 1.0.1with Weblogic 6.1sp2. I have the following jsp, called test_form.jsp: %@taglib uri=/WEB-INF/struts-html.tld prefix=html html:form action=testForm Please Input User Name: html:text property=userName /br/ Please Input Password: html:password

Re: URL handling problem with struts ...

2002-02-11 Thread Mark Rines
Phew, I vote that we split up this mail list into several topics such as installation, configuration, add-ons (such as strutsTests) and extending the various ActionXXX classes. I am really having trouble keeping up with all (over 110 just today) the email. Mark To unsubscribe, e-mail:

internationalization

2002-02-11 Thread Christopher Cheng
I am struggling with double byte characters with the JSP On the struts jsp form, I am putting %@ page contentType=text/html; charset=UTF-8 % on the top META http-equiv=Content-Type content=text/html; charset=UTF-8 in the head I got some question marks when I print the characters in the

Cleaning Of ActionForm data and ActionErrors

2002-02-11 Thread Antony Stace
Hi I am validating the contents of an ActionForm in an Action. I am basically doing this process -- TestFormFactory tmpTestFormFactory = new TestFormFactory((TestFormBean) form ); ActionErrors errors = tmpTestFormFactory.getErrors(); //this getErrors()

Re: URL handling problem with struts ...

2002-02-11 Thread cody.burleson
I second that motion. We do not have filtering capability here at my work so I have to manually delete messages! - Cody Mark Rines [EMAIL PROTECTED] on 02/11/2002 07:19:43 PM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL

RE: URL handling problem with struts ...

2002-02-11 Thread Barr, Scott [IBM GSA]
I disagree. Most messages are relatively small, and so long as people dont send attachments there generally isn't too much of a problem. The delete key is a great filter :) Scott -Original Message- From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, February 12, 2002

Re: For Steve Wilkinson, Re: Best way to go about learning Views with Struts?

2002-02-11 Thread STEVE WILKINSON
Theron, 1) I have a war, but it's from a CVS build of 12/2001 so it includes some struts1.1 stuff. 2) Is is possible that you could install ant? All you have to do is follow the documentation at http://jakarta.apache.org/ant/manual/install.html I'm sorry, but I would have to move backward

RE: URL handling problem with struts ...

2002-02-11 Thread cody.burleson
Well, it's not dibilitating. I can hack it. I guess I'm neutral on this one. - Cody Barr, Scott [IBM GSA] [EMAIL PROTECTED] on 02/11/2002 08:01:41 PM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] cc: Subject: RE:

Re: For Steve Wilkinson, Re: Best way to go about learning Views with Struts?

2002-02-11 Thread STEVE WILKINSON
I've sent the latest war to your email address to avoid posting the war to the user list. From: [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Subject: For Steve Wilkinson, Re: Best way to go about

help on html:select

2002-02-11 Thread Henrik Chua
hi! can anybody give me an example of how to use html:select? thanx -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Pre and Post Processing

2002-02-11 Thread Sarah Farrell
I'm relatively new to struts too. But I really don't like the HTML select implementation. So I use a custom tag to fill in select/option lists. In fact I have to use this tag throughout my application so I made it very generic. My select/option lists almost always come right from my database.

Re: Article about Struts and XSLT

2002-02-11 Thread dIon Gillard
Ted Husted wrote: Pete Carapetyan wrote: Expresso has implemented that class. It is coincidentally named exactly the same name. Seems to work well, but right now it only serves up three of the many possibilities. What does it do? To help Gabe and Geir get started on the Velocity Servlet for

help: %.. how do i convince them to learn JSP?

2002-02-11 Thread Michael
long before server pages or servlets existed i was writing these C++ template based systems with CGI so i could do my best to separate content generation from programming logic... i'm a consultant and this company made me lead on my first JSP/Servlet based project, i was really excited to get

Re: help: %.. how do i convince them to learn JSP?

2002-02-11 Thread Sarah Farrell
Michael, Here's the best one I could find. http://java.sun.com/blueprints/guidelines/designing_enterprise_applications/ web_tier/qanda/index.html There are some other ones on java.sun.com if you search for JSP presentation logic separate. Here's another one: http://java.sun.com/products/jsp/

RE: URL handling problem with struts ...

2002-02-11 Thread cool dude
Time-out, guyz!!! Can we get back to the original problem for which I started this thread ... we can take up the issue you guyz have on a separate/new thread ... Hope you guyz can help me out with this problem ... Thanx in advance, VD. __ Do You

Returned mail: User unknown

2002-02-11 Thread Mike Campbell
The original message was received at Mon, 11 Feb 2002 23:42:05 0500 - The following addresses had permanent fatal errors - [EMAIL PROTECTED] - Transcript of session follows - ... while talking to mail.s1.com: RCPT To:[EMAIL PROTECTED] 550 [EMAIL PROTECTED]... User

[ANNOUNCEMENT] Struts 1.0.2 Released

2002-02-11 Thread Martin Cooper
The Struts team is proud to announce the release of Struts 1.0.2. This release is a bug fix release, and fixes a compatibility problem inadvertently introduced with the previous 1.0.1 release. No new functionality is available with this release. The binary distribution is available at:

Returned mail: User unknown

2002-02-11 Thread Mike Campbell
The original message was received at Tue, 12 Feb 2002 01:00:30 0500 - The following addresses had permanent fatal errors - [EMAIL PROTECTED] - Transcript of session follows - ... while talking to mail.s1.com: RCPT To:[EMAIL PROTECTED] 550 [EMAIL PROTECTED]... User

Re: [ANNOUNCEMENT] Struts 1.0.2 Released

2002-02-11 Thread Antony Stace
Thanks for all the great work struts developers! http://jakarta.apache.org/builds/jakarta-struts/release/v1.0.2/src/ In addition, the library distibution, which contains updated binaries without the sample applications, is available at:

AW: help on html:select

2002-02-11 Thread Oliver Reflé
Hello here a small example, select is like in normal html only the frame. Then i put in a normal field(can also be done with all fields), you can also use here html:option value=bla/html:otion With the next line struts iterates over a collection, which is put in the request.