Re: Java Bean Naming Rules for boolean fields?

2003-08-27 Thread Adam Hardy
Does the boolean variable have to be called isTuesday? Why not just tuesday? On 08/26/2003 10:51 PM Michael Ruppin wrote: I don't know about intellij idea, but check here: http://java.sun.com/products/javabeans/docs/spec.html Section 8.3.2. I think you need either boolean getIsTuesday(), or

Re: skipping repopulation between actions without external forwarding

2003-08-27 Thread Max Cooper
You can't change the request parameters at all. (Technically, you can change them with a Filter, but that would not be appropriate here, so they are essentially immutable in this context.) Use a redirect after the login action rather than a forward. That way the URL in the browser will match what

RE: [OT] A better way to find JSP compile errors..

2003-08-27 Thread Yee, Richard K,,DMDCWEST
Most IDEs (JDeveloper, JBuilder, etc. ) do will this for you. -Richard -Original Message- From: Erez Efrati [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 26, 2003 8:24 AM To: 'Struts Users Mailing List' Subject: [OT] A better way to find JSP compile errors.. Hi all, I have had

Re: Java Bean Naming Rules for boolean fields?

2003-08-27 Thread Michael Ruppin
I don't know about intellij idea, but check here: http://java.sun.com/products/javabeans/docs/spec.html Section 8.3.2. I think you need either boolean getIsTuesday(), or boolean isIsTuesday(). boolean isTuesday() is non-conforming since you have no boolean property by the name of tuesday in this

RE: [OT] RE: mesage message account

2003-08-27 Thread Chappell, Simon P
Mark, I'm not sure that sarcasm is a powerful enough word to describe everything that you bring to the list. ;-) Simon -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 26, 2003 10:54 AM To: 'Struts Users Mailing List' Subject: RE: [OT] RE: mesage

Design Opinions Please

2003-08-27 Thread Bryce Fischer
Thanks again to all who helped me with the definitions problem. Working great now. I'm now trying to figure how I want to design my application. Here are the specific actions (not necessarily struts actions): 1. Login Verification 2. If #1 Successful, Read user's options, and forward to the

Re: Validator with property String array problem

2003-08-27 Thread Nicholas L Mohler
I have done some work with client-side indexed field validation...mostly, I have written a couple custom validations that can validate indexed or non-indexed fields based on a few attributes that I set in validation.xml. My validators are somewhat pointed towards my particular needs and the

RE: Struts, Tomcat, Hibernate - what the heck?

2003-08-27 Thread David Friedman
Bill, It's not that bad using Struts(1.1)/Tomcat(4.1.27)/Hibernate (2.02). I just got it working with the Struts Hibernate PlugIn http://www.hibernate.org/105.html over the weekend. My big thing was that I accidentally mapped one of my 'string's to 'long' in my Config.hbm.xml file so it kept

Re: DynaValidator and two fields with identical content

2003-08-27 Thread Adam Hardy
I think that is more like a business rule rather than a standard type-validation. What I'm saying is, I don't think you should expect to see it as a validation in the validator plug-in. Adam On 08/26/2003 11:14 PM Jiri Chaloupka wrote: Hallo, I have registration form username: input name=usr

DynaValidator and two fields with identical content

2003-08-27 Thread Jiri Chaloupka
Hallo, I have registration form username: input name=usr password: input name=pwd password again: input name=pwd2 how I can chceck if pwd contains identical content as pwd2 in DynaValidator layer? Does anybody has this extension for validator-rules? Thanks, Jiri

RE: DynaValidator and two fields with identical content

2003-08-27 Thread Steve Raeburn
Take a look at the examples here http://www.ninsky.com/struts/ The validator example shows one way of doing exactly this. (It's very similar to David's example). If you can use the nightly build, then the validwhen rule can alsoe compare fields. Steve -Original Message- From: Jiri

RE: Checkboxes

2003-08-27 Thread Wendy Smoak
Filip wrote: I have a list of 71 Checkboxes and want to have one checkbox to select all of them at once. This works fine but I cannot uncheck this checkbox if it was checked once in order to uncheck all other checkboxes. How are you 'checking' them all? JavaScript or do you require a round

Re: skipping repopulation between actions without external forwarding

2003-08-27 Thread Max Cooper
I don't know enough about your app to help out too much, but here goes... REQUEST: GET /login.do?page=1 [Struts will make a new ActionForm instance, call reset(), and call setPage(1)] RESPONSE: redirect to /config.do REQUEST: GET /config.do [Struts will make a new ActionForm instance, call

Re: login test in a jsp page - any suggestions

2003-08-27 Thread Emerson Cargnin
isn't it should be better to put his verification at actions? maybe a common super action could validade it, but I think that the jsp should be the last place to put it. Ideally, the jsp's are not even exposed to clients, making the access the view only through actions. David Thielen wrote:

RE: Struts custom tags tutorial

2003-08-27 Thread Edgar Dollin
In the case, the user described below, I didn't. What he wanted to do was, based on data values, guarantee a color scheme and other criteria, i.e. maybe all negative numbers should be in red. This is view based logic, but one of the priciples we all use is try not to write the same code twice.

RE: RE : Validation failes and returns (almost) empty page.

2003-08-27 Thread Yansheng Lin
The example uses doForward(). And the log explains it clearly that it's forwarding the request: Validation failed, returning to '/registration.jsp' Delegating via forward to '/registration.jsp' ... doForward(uri, request, response); Also, just before the doForward, the error was

RE: Validator JavaScript and html:radio buttons

2003-08-27 Thread Yee, Richard K,,DMDCWEST
Matt, Are you using the Struts html:radio tag to display the radio buttons? If so, you should initialize the field in the FormBean that contains the value of the radio button so that Struts marks one of the buttons as 'checked' for you. Regards, Richard -Original Message- From: Matt E

Re: [OT] A better way to find JSP compile errors..

2003-08-27 Thread David Stemm
Try using Netbeans - it's free (www.netbeans.org). David - Original Message - From: Erez Efrati [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Tuesday, August 26, 2003 10:24 AM Subject: [OT] A better way to find JSP compile errors.. Hi all, I have had

Response committed exception with tiles and protected jsps

2003-08-27 Thread Wes Kubo
Due to standards beyond my control I had to move my jsps from beneath /WEB-INF/jsp to /jsp. In order to prevent access to my jsps I added a security-constraint, blocking access to the jsps. Unfortunately, now none of my tiles display properly, instead I get the error message: [Exception

RE: Nested Tags

2003-08-27 Thread Arron Bates
The nested tags are simply different. The advantages of using them is not replicated in the JSTL/EL or any other tag system. The nested tags directly extend the Struts html, bean and logic tag library and add the nested context. Because they are different, they have never been on the

RE: login test in a jsp page - any suggestions

2003-08-27 Thread Cezar Nasui
Hi Dave, You have more choices to do user authentication, depending on your application's need, your experience and determination :) 1. you can put it in every jsp but just think at the maintenance. Having to modify all those jsp for one little change is not that fun. 2. If you use struts you

RE: nested tags

2003-08-27 Thread Edgar P Dollin
With 1.1 they work fine. My understanding is that all the tags are in a static state but should continue to function as is. Edgar -Original Message- From: Erez Efrati [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 26, 2003 7:59 AM To: 'Struts Users Mailing List' Subject: nested

RE: skipping repopulation between actions without external forwarding

2003-08-27 Thread David Friedman
Max, (and everyone else) This is the point where I kick myself (which cannot be aptly describe within an email) for not looking at things in the correct place. I had a setPage(1) in my reset function where I should've had a setPage(0). That, plus redirect=true, makes everything work properly.

Re: struts beans - serializable?

2003-08-27 Thread Craig R. McClanahan
On Tue, 26 Aug 2003, Evan Schnell wrote: Date: Tue, 26 Aug 2003 14:49:18 -0500 From: Evan Schnell [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: struts beans - serializable? [EMAIL PROTECTED] wrote:

RE: Should extend any struts components ?

2003-08-27 Thread Craig R. McClanahan
On Tue, 26 Aug 2003, Kommana, Sridhar wrote: Date: Tue, 26 Aug 2003 16:40:30 -0500 From: Kommana, Sridhar [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: RE: Should extend any struts

html:errors

2003-08-27 Thread Yakov Belov
Dear All, I have a question about html:errors tag. There is an optional attribute, bundle as in html:errors bundle=something/ My question is how do I use bundle attribute; is it a reference to a properties file or reference to a line in the default properties file? Thank you in advance, Yakov

RE: html:errors

2003-08-27 Thread Mohd Amin Mohd Din
Refers to the properties file. Since errors message key is a constant, therefore it does not need to refer to a specific line in the properties file. Amin -Original Message- From: Yakov Belov [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 10:54 AM To: Struts Users Mailing

Re: login test in a jsp page - any suggestions

2003-08-27 Thread David Thielen
I used login as a simple example. But I have another case that is not as simple. I have a 5 page check-out procedure. I want to set it up so that each page will forward to the previous page if the previous page's input fields have not been filled out yet. So each page has to do a different check.

Tiles Insert tag error - could be ActionErrors.clear() related?

2003-08-27 Thread Richard Mixon
I have a situation where if the only ActionError in my ActionErrors object has a particular key, then I would like to remove it in certain cases. So I've used ActionErrors.clear() to do this. It seems to work OK. However, now on the opposite situation - i.e. I have ActionError objects in the

Re: html:errors

2003-08-27 Thread Yakov Belov
Thanks Amin. But I still have a query. I use in my ActionForm: ActionErrors errors = new ActionErrors(); errors.add(persDet1, new ActionError(error.option.required)); and then in the jsp file: html:errors property=persDet1 bundle=persDet/ where persDet.properties exists and has

Re: html:errors

2003-08-27 Thread Yakov Belov
Thanks Amin. But I still have a query. I use in my ActionForm: ActionErrors errors = new ActionErrors(); errors.add(persDet1, new ActionError(error.option.required)); and then in the jsp file: html:errors property=persDet1 bundle=persDet/ where persDet.properties exists and has

Re: DynaValidator and two fields with identical content

2003-08-27 Thread Jiri Chaloupka
Thank you very much, first I thing I write something own, but it sould be not complete, this is better. Tkanks, Jiri David Stemm wrote: Jiri, I have logic that does this. Add this to your validator-rules.xml: validator name=twoFieldsEqual classname=com.yourcompany.StrutsValidator

[OT] How to bind an Action request to a Principal

2003-08-27 Thread Marco Tedone
Hi, please forgive me if this is a classic OT, but I'm trying to get answers anywhere without lot of success. We need to bind somehow the requests that an Action may issue to a business component (i.e. asking for a Remote Interface method execution) to a Principal object, so that the security

RE: Is singleton DAO acceptable? -- Best Practices

2003-08-27 Thread Seyhan BASMACI (Internet Yazilimlari Yetkilisi)
They were eligible for GC if its ClassLoader is GCd and they are not referenced by any object... or something like that. Please check for accuracy. for some versions type of class loader affects is it eligible for GC, to prevent singelatons eligible for GC you can use struts plugin feature,

HibernatePlugIn for struts (a few questions)

2003-08-27 Thread Bill Chmura
Okay, I managed after much beating and desk pounding got hibernate to work in struts. It just took some patience. Anyway, I now have two questions: #1 - Regarding the plugin that stuffs a hibernate sessionFactory into the servletContext. In my code I can use hibernate two ways:

RE: struts and flash

2003-08-27 Thread Micael
If you are embedding the Flash object in the web page, then none of the other questions have a thing to do with Flash. So, what you do is just what you would do in any case. The fact that Flash is embedded is as irrelevant to these other issues as the fact that a JPEG file might be called by

J2EE IDE

2003-08-27 Thread sreekant_gottimukkala
Can someone please suggest me a free J2EE IDE suitable for development of webapps using STRUTS. I know of some IDE's like the FORTE, ECLIPSE, NETBEANS. However I wanted to ckeckout if anyone has already evaluated any of these since I am not sure which one is easy to use and has reasonably good

How to access a session object from a form class

2003-08-27 Thread Bård Arve Evjen
I need to be able to get a session variable from a form class. How can access it? Cheers, Bard - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: How to access a session object from a form class

2003-08-27 Thread Seyhan BASMACI (Internet Yazilimlari Yetkilisi)
inside reset and validate request.getSession().getAttribure(); -Original Message- From: Bård Arve Evjen [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 9:55 AM To: [EMAIL PROTECTED] Subject: How to access a session object from a form class I need to be able to get a session

RE: How to access a session object from a form class

2003-08-27 Thread Andrew Hill
I presume you need this in your getters/setters? One hack might be to grab a transient instance member reference to the request (and thus session) in the reset() method (transient to maintain serializability). This would only be suitable for request-scoped beans however and wouldnt be advisable

RE: struts and flash

2003-08-27 Thread Bill Chmura
Are you talking about XML.sendAndLoad() as an action script inside the flash file? If this is the case, then you just really need to embed the flash file in the first page from your application. After that all of your subsequent calls to actions on the server would need to return XML only for

Re: J2EE IDE

2003-08-27 Thread Firat TIRYAKI
you should use eclipse, it doesn't use swing for GUI's, and it's faster than the others. F. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 9:46 AM Subject: J2EE IDE Can someone please suggest me a free J2EE IDE suitable for

RE : RE : RE : Validator and Dispatch Actions

2003-08-27 Thread thomas Sontheimer
here is another means to do it: http://nagoya.apache.org/wiki/apachewiki.cgi?ValidatorDispatchAction -Original Message- From: Trent Fisher [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 26, 2003 9:26 PM To: [EMAIL PROTECTED] Subject: Re: RE : RE : Validator and Dispatch Actions

RE: J2EE IDE

2003-08-27 Thread Navjot Singh
Well, i like Eclipse a lot but it has it's constraints. If you wish to have O/R mapping support in your IDE, try JDeveloper etc. Although i have never used JBulder or IntelliJ but they are also good ones. navjot |-Original Message- |From: [EMAIL PROTECTED] |[mailto:[EMAIL PROTECTED]

RE: HibernatePlugIn for struts (a few questions)

2003-08-27 Thread Hue Holleran
Hi Bill, Not related to your Hibernate queries - but I'd also recommend you evaluate (if you've not already done so, of course!) iBATIS. The homepage is at: http://www.ibatis.com/ ... and Rick has written an excellent worked example on getting iBATIS working with Struts that really

Visual Age Integration with Struts - org.xml.sax.SAXParseException

2003-08-27 Thread Chawla, Yogesh
Hi, Just wanted to know if anybody faced this problem in VA. Getting Exception on Console when starting up Servlet Engine. Have defined the element tag in struts-config.xml as !DOCTYPE struts-config SYSTEM -//Apache Software Foundation//DTD Struts Configuration 1.0//EN

Cannot find ActionMappings or ActionFormBeans collection

2003-08-27 Thread dummu
Hi , I am getting the following exception can you please help me out as you have faced the same exception. Exception Report: javax.servlet.ServletException: Cannot find ActionMappings or ActionFormBeans collection at

RE: tiles: condition in tile definition

2003-08-27 Thread Hue Holleran
As you've probably found-out this syntax does not work in tiles-defs.xml(!) ... but a similar result can be achieved in a definition in a JSP page. One option may be to define your loginform attribute as say, mainForm.jsp that could then use el (or logic) tags to determine which jsp to include.

RE: How to access a session object from a form class

2003-08-27 Thread Navjot Singh
I guess you can't and why would you need it? Your Action SHOULD play with Session objects and Form objects. |-Original Message- |From: Bård Arve Evjen [mailto:[EMAIL PROTECTED] |Sent: Wednesday, August 27, 2003 12:25 PM |To: [EMAIL PROTECTED] |Subject: How to access a session object from

Master-detail form

2003-08-27 Thread Mohan Radhakrishnan
Hi We've been using multiple row update using indexed properties for one level of master-detail hierarchy. Now we have several levels. i.e. Master 1 Detail 1 Detail 1.1 Detail 1.2 Detail 2 Detail 2.1

Re: J2EE IDE

2003-08-27 Thread Kok Wei, Koh
Yeah you'll love it. It's table, features are plenty, and its amazing ;-) And I'm not advertising ... it's just because it's really good as I use it everyday for struts. Firat TIRYAKI wrote: you should use eclipse, it doesn't use swing for GUI's, and it's faster than the others. F. -

Re: problem with JAASRealm

2003-08-27 Thread Thomas . Gaudin
Hi folks, For those interested in a basic example of using JAASRealm : http://forum.java.sun.com/thread.jsp?thread=233317forum=60message=1225787 hope it can help, Thomas

Re: J2EE IDE

2003-08-27 Thread rajendra . x . yadav
But eclipse has many problems at runtime. Boot up time is too high. Refresh time too high. Crashes very often. Am i right on these points ? thanks -raj

RE: Visual Age Integration with Struts - org.xml.sax.SAXParseException

2003-08-27 Thread PREETAM Balijepalli
check out your struts-config tags -Original Message- From: Chawla, Yogesh [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 2:26 PM To: 'Struts Users Mailing List' Subject: Visual Age Integration with Struts - org.xml.sax.SAXParseException Hi, Just wanted to know if anybody

Problem converting from Struts tags to JSTL

2003-08-27 Thread Kevin A. Palfreyman
Hello, I'm trying to convert some pages from Struts tags to JSTL for the next iteration of our product and I've hit a problem. [Struts 1.1, Tomcat 4.1.24, Java 1.4.2, JSTL 1.0.3] I need to be able to dynamically access nested fields of my form object. The Form object (instanceForm) contains a

Changed fields in ActionForm

2003-08-27 Thread Aswathy Priyarenj
Hello, I would like to know whether any facility is available in Struts to know which are the fields get changed. Eg;- I am displaying one jsp with one actionForm. I want to show one alert msg if user has changed any of the fields (before submitting) Without explicitly checking each field

RE: J2EE IDE

2003-08-27 Thread Hue Holleran
This has been asked a few times previously. Search the list at: http://marc.theaimsgroup.com/?l=struts-user Here are a few links to get you going: http://marc.theaimsgroup.com/?l=struts-userm=105553549210511w=2

Re: J2EE IDE

2003-08-27 Thread Kwok Peng Tuck
Have you actually tested it ? If you haven't then try it and see for yourself. Or you could try the other java based ide's around if you are not happy with Eclipse. [EMAIL PROTECTED] wrote: But eclipse has many problems at runtime. Boot up time is too high. Refresh time too high. Crashes very

RE: Problem converting from Struts tags to JSTL

2003-08-27 Thread Hue Holleran
Try the User Guide: http://jakarta.apache.org/struts/userGuide/building_controller.html#dyna_act ion_form_classes -Original Message- From: Kevin A. Palfreyman [mailto:[EMAIL PROTECTED] Sent: 27 August 2003 10:05 To: [EMAIL PROTECTED] Subject: Problem converting from Struts tags to

RE: Changed fields in ActionForm

2003-08-27 Thread Andrew Hill
Struts doesnt supply a feature for this unfortunately - you would need to implement the logic yourself. -Original Message- From: Aswathy Priyarenj [mailto:[EMAIL PROTECTED] Sent: Wednesday, 27 August 2003 17:05 To: [EMAIL PROTECTED] Subject: Changed fields in ActionForm Hello, I would

Re: J2EE IDE

2003-08-27 Thread rajendra . x . yadav
OfCourse, I have tested it. Then only i can make these comments. I was just expressing my views on Eclipse for other people who were looking for a IDE. I have my own preferences for a IDE. thanks -raj

RE: J2EE IDE

2003-08-27 Thread Shashank Dixit
Hi Friends JBuilder 9 is really a good IDE. Does BTW Eclipse support ejb development? I used myEclipseIde for J2EE dev. and It was OK. Shashank S. Dixit Software Analyst. Datamatics Ltd. Contact: 28291253 ext 146 Mobile: 9820930075 Be brave against all odds. Never give up. -Original

RE: Visual Age Integration with Struts - org.xml.sax.SAXParseException

2003-08-27 Thread Adolfo Miguelez
I think you have to place the DTDs somewhere in your classpath under the path org/apache/struts/resources: By example: under C:\Archivos de programa\IBM\VisualAge for Java\ide\project_resources\Struts which is the directory where VAJ stores the struts project resources it is for it classpath

JSTL

2003-08-27 Thread rajendra . x . yadav
Hi, Can I just download the JSTL without downloading the JWSDP ? thanks -raj - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Is singleton DAO acceptable? -- Best Practices

2003-08-27 Thread Adolfo Miguelez
Check out this link for some info about this topic. We tested under WAS 5, and its JDK should be 1.3.1 or something like that. Actually the JDK that comes which WAS 5. http://www.javaworld.com/javaworld/javatips/jw-javatip52.html It was curious because after a good perfomance, above certain

RE: Struts User September Meeting - RE: Introduction to Hibernate by Norman Klein

2003-08-27 Thread Van Riper, Mike
-Original Message- From: Bill Chmura [mailto:[EMAIL PROTECTED] Sent: Monday, August 25, 2003 4:16 PM To: 'Struts Users Mailing List' Cc: [EMAIL PROTECTED] Subject: Struts User September Meeting - RE: [ANNOUNCE] Introduction to Hibernate by Norman Klein: 6:30pm on September 3rd in

RE: JSTL

2003-08-27 Thread Kevin A. Palfreyman
Yes, you can get the reference implementation direct from Jakarta http://jakarta.apache.org/taglibs/doc/standard-doc/intro.html Kev -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 27 August 2003 10:55 To: [EMAIL PROTECTED] Subject: JSTL Hi, Can I

Re: J2EE IDE

2003-08-27 Thread Mick Wever
Looks like another IDE war coming on :-) You need to check out them out yourself. As you will no doubt soon see, each of us have different likes and requirements. NetBeans is known for its outstanding GUI (Form) editor and JSP editing. It also has excellent support for CVS and Ant integration.

RE: Visual Age Integration with Struts - org.xml.sax.SAXParseException

2003-08-27 Thread Chawla, Yogesh
Looks like There's nothing wrong with the tag : !DOCTYPE struts-config SYSTEM -//Apache Software Foundation//DTD Struts Configuration 1.0//EN file:///C:/struts/dtds/struts-config_1_0.dtd i think its got something to do with the xml parsers used in Visual Age -Original

RE: Problem converting from Struts tags to JSTL

2003-08-27 Thread Kevin A. Palfreyman
Thanks for the pointer to the user guide, but unfortunately it doesn't help. I tried: c:out value=${instanceForm.dynamic.map.%=fieldName%} / And c:out value='%=${instanceForm.dynamic.map.+fieldName+}%' / And c:out value=${instanceForm.dynamic.map.${fieldName}} / But those didn't work

RequestProcessor and Action classes

2003-08-27 Thread sreekant_gottimukkala
HI All, As a general practice all the application action classes are inherited from org.apache.struts.action.Action class. What are the Pro's and Con's of inheriting from org.apache.struts.action.RequestProcessor class instead ? Please bear with me if I am making no sense at all as I don't claim

RE: Is singleton DAO acceptable? -- Best Practices

2003-08-27 Thread Richard Tomlinson
I've experienced loss of singleton's under heavy load. We used an object preserver as detailed by Mark Grand in 'Patterns in Java' to register the singleton with a permanently waiting thread. The other option is to use of statics is to specify the JVM option of -Xnoclassgc to stop class

RE: Is singleton DAO acceptable? -- Best Practices

2003-08-27 Thread Adolfo Miguelez
Thanks for your feedback, Adolfo. From: Richard Tomlinson [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Adolfo Miguelez [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: RE: Is singleton DAO acceptable? -- Best Practices Date: Wed, 27 Aug 2003 11:48:19 +0100 I've

RE: Changed fields in ActionForm

2003-08-27 Thread Alex Shneyderman
1. You'd need to write javascript on the client side. I have a script that will determine if something was changed on a form, which you could probably change to display what was changed. If you are interested let me know and I will send it to you. 2. As to the server side, there are plent of

STRUTS as a project in ECLIPSE

2003-08-27 Thread sreekant_gottimukkala
How do I import the Source distribution of STRUTS as a project in ECLIPSE ? Regards Sreekant G This mail was scanned by Interscan Virus Wall of Mailserver2 at SNR, TCS, Chennai - To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: STRUTS as a project in ECLIPSE

2003-08-27 Thread Jimmy Emmanual
http://jakarta.apache.org/struts/faqs/eclipse.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 7:55 AM To: [EMAIL PROTECTED] Subject: STRUTS as a project in ECLIPSE How do I import the Source distribution of STRUTS as a project

RE: login test in a jsp page - any suggestions

2003-08-27 Thread Pady Srinivasan
I would do this using Servlet Filters. Thanks -- pady [EMAIL PROTECTED] -Original Message- From: David Thielen [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 26, 2003 11:03 PM To: Struts Users Mailing List Subject: Re: login test in a jsp page - any suggestions How can I set

RE: Problem converting from Struts tags to JSTL

2003-08-27 Thread Hue Holleran
Hi Kev, Sorry - I missed the fieldName being dynamic bit(!). I think you may want to consider moving to JSTL for the loop bit so it will save having to do conversions but I think the following will achieve what you're trying to do: bean:define id=fieldNameBean value=%=fieldName% / c:out

Positioning error messages

2003-08-27 Thread Samanth Athrey
Hey all, I am using Validation Framework. The only problem I now have is to position the messages. Everything is towards the right of textbox. But i want to the left. Is that possible? Thanx Samanth - To unsubscribe, e-mail:

RE: Problem converting from Struts tags to JSTL

2003-08-27 Thread Kevin A. Palfreyman
Hi Hue - thanks for your efforts. I actually just managed to get it working as your mail arrived. Here is what I had to do: 1) Change the JSP to be c:out value=${instanceForm.dynamic.map[fieldName]} / (actually just like you suggested) 2) This is the interesting bit - I had to

RE: Another missing attribute in html-el

2003-08-27 Thread Slattery, Tim - BLS
The following elements support the accesskey attribute: A, AREA, BUTTON, INPUT, LABEL, and LEGEND, and TEXTAREA. http://www.w3.org/TR/1998/REC-html40-19980424/interact/forms.h tml#adef-accesskey Hmm. I'd add TEXT to that list, accesskey is definitely supported there. I'm amazed it's not

RE: how to handle unknown exceptions/errors

2003-08-27 Thread Brian McSweeney
I dug a bit deeper into this and found that in struts-1.1 there's a global-exceptions facility in struts-config.xml Where you can declaratively handle exceptions for example: global-exceptions exception key=system.error type=java.lang.Exception path=/appError.jsp/

RE: Struts, Tomcat, Hibernate - what the heck?

2003-08-27 Thread Mark Galbreath
There has been a comprehensive, on-going live discussion of integrating Hibernate, Struts, and Eclipse at irc.darkmyst.org 6667 for the past week. Most of the participants use Tomcat as well. Mark -Original Message- From: Bill Chmura [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 26,

Tiles not generating page properly

2003-08-27 Thread Carl-Eric Menzel
Hello, I have the following problem with Struts1.1 and the included Tiles package. I have a master definition, which I want to extend for the other pages. Now the problem is that the sub-tiles' content doesn't get inserted, and the content of the master tile is cut off. Here is how I do it

Re: Resource Bundle Inheritance - please vote!

2003-08-27 Thread Sgarlata Matt
That's not exactly what I had in mind. In my application there are certain global resource bundle keys that we needed to use in every module. At first we manually copied the keys to the resource bundles for each module, which is a pain at best and a source of bugs at worst. To avoid this, I

Re: Positioning error messages

2003-08-27 Thread Samanth Athrey
forget it.. i had made a silly mistake.. thanx -Samanth Samanth Athrey [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hey all, I am using Validation Framework. The only problem I now have is to position the messages. Everything is towards the right of textbox. But i want to the

tile definition name in the action class

2003-08-27 Thread Pramod . P
Is it possible to get the tiles-definition name inside the action class?? action path = /Retrieve type = mypack.RetrieveAction name = myFormBean scope = session forward name=found path=info.form / !-- info.form is a tiles definition

RE: J2EE IDE

2003-08-27 Thread Syed, Nazeer
WSAD is the Good one. Thanks Nazeer -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 2:46 AM To: [EMAIL PROTECTED] Subject: J2EE IDE Can someone please suggest me a free J2EE IDE suitable for development of webapps using STRUTS. I

RE: J2EE IDE

2003-08-27 Thread José Fortunato H. Tomás
You should consider also Idea. The capability of code refactor is *big* *major* help for productivity. http://www.intellij.com/idea/ Which can integrat the same tool for struts editing like Eclipse. WSAD is the Good one. Thanks Nazeer -Original Message- From: [EMAIL PROTECTED]

Re: Tiles not generating page properly

2003-08-27 Thread Carl-Eric Menzel
Oops, a typo. The tiles-defs should be changed thus: definition name=.editor.login extends=.editor.master.layout put name=title value=editor.login.title/ put name=editArea value=/pages/editor/master/empty.jsp/

RE: tile definition name in the action class

2003-08-27 Thread Pady Srinivasan
I think you can do this with TilesServlet instead of ActionServlet as your front controller. Thanks -- pady [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 9:30 AM To: Struts Users Mailing List Subject: tile

Master-detail form

2003-08-27 Thread Brian Holzer
Yes you can implement collections within collections. You should also take a look at the nested tags to help implement this. Check out http://keyboardmonkey.com/next Brian Hi We've been using multiple row update using indexed properties for one level of master-detail hierarchy.

Re: J2EE IDE

2003-08-27 Thread Greg Reddin
+1 on NetBeans although I've not used Eclipse. I tend to stop looking when I find something that works. However, I find that 90% of the time it's quicker for me to just use vi and Ant. I use NetBeans for debugging though. And if I'm forced to use Windows for my development I'll immediately

RE: J2EE IDE

2003-08-27 Thread Vijay Pawar
Dear All, I am using WSAD 5.0 . Suppose i wish to use the latest nighty build of struts, then can that be configured in WSAD 5.0 and how ? I assume that WSAD 5.0 comes with bundled struts release 1.0 ! Thanks in advance, Vijay José_Fortunato_H._Tomás [EMAIL PROTECTED] wrote: You should

Validator and DispatchAction

2003-08-27 Thread Venkat Jambulingam
Has anybody been successful using validator framework with DispatchAction? Please let me know. I am getting NoSuchMethodFound error. Please reply. TIA, Venkat - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Newbie Validator and radio buttons question

2003-08-27 Thread John Boyes
I'm trying to use the Validator to validate that a particular radio button (with a value of yes) in a group is selected. I'm trying to use a mask to do this, but if I use a mask the form seems to fail validation no matter if the value in the form matches the pattern in the mask. I've tried using

Forwarding to existing Servlet

2003-08-27 Thread Manuel Lenz
Hi to all, I have an existing servlet which must be called in some cases. The serverlet nets a param which can be add to the request from the browser. How can I call an existing Servlet from a struts-action-class? I hope someone can help me, best regards, Manuel

Re: J2EE IDE

2003-08-27 Thread Firat TIRYAKI
Well, you can add struts support to every application you want, it automatically adds the required struts jar files when you open a new project. and struts 1.1 is supported too, you choose the version when you add. WSAD is the best IDE I've ever seen. F. - Original Message - From:

Nested Tags

2003-08-27 Thread Tarek M. Nabil
Hi everyone, I have a problem using a Tag for the property of another tag. Isn't that possible? Example: tempArray[0] = bean:write name=data property=bean:message key=\column.client.property\/ /; When I do that, I get the following error: ERROR 2003-08-27 17:35:06,546

RE: Forwarding to existing Servlet

2003-08-27 Thread Hue Holleran
Never tried this! Depending what the existing servlet is doing - can you not just instantiate the servlet and call the servlet's doGet method with the request and response arguments passed to the action. You can put any arguments you need (that would've been passed from the browser) into request

  1   2   3   >