RE: Debugging JSP

2004-02-09 Thread Edgar P Dollin
In my experience, if your jsp is so complicated you need a debugger, you should write java classes and/or tags and debug them using junit/httpunit and logging. Edgar -Original Message- From: Ramadoss Chinnakuzhandai [mailto:[EMAIL PROTECTED] Sent: Monday, February 09, 2004 10:10 AM

RE: Unit Test in struts

2004-01-23 Thread Edgar P Dollin
Could you share with us how you worked around some of my issues, i.e. The user is entering items. User needs dynamic feedback as to to how much is entered so correctness of data entry can be determined. Thanks Edgar -Original Message- From: Jesse Alexander (KAID 11)

RE: JSP to static html...

2004-01-23 Thread Edgar P Dollin
You could use webtest with one of the logging options. Then if they change you could run your test to regenerate the pages. Edgar - Original Message - From: Jacob Wilson [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, January 23, 2004 12:30 PM

RE: Unit Test in struts

2004-01-22 Thread Edgar P Dollin
I have spent a fair amount of time with WebTest and HttpUnit. The major issues with both of these are JavaScript related. For example if you use JavaScript to populate select lists or html objects they are not available in WebTest or HttpUnit (HttpUnit is a little better since you have finer

RE: Unit Test in struts

2004-01-22 Thread Edgar P Dollin
I wish I had the luxury. Edgar -Original Message- From: Matt Raible [mailto:[EMAIL PROTECTED] Sent: Thursday, January 22, 2004 9:42 AM To: 'Struts Users Mailing List' Subject: RE: Unit Test in struts I use a fair amount of JavaScript in my apps, and what I've found is that the

RE: Unit Test in struts

2004-01-22 Thread Edgar P Dollin
Maybe I am not smart enough for my applications (order entry, inventory, etc.) I just don't see how to give any real functionality in the application space without JavaScript. Some issues where I don't see a work around for which are intrisic to all the applications I am working on. 1) The

RE: Struts-Menu (Support URL Re-writing)

2004-01-16 Thread Edgar P Dollin
You have the source to struts and the source to struts-menu, grab the code from struts and plug it into struts-menu and submit a patch. You might need a menu-config.xml option to indicate that you will be url rewriting. Edgar -Original Message- From: Parag Pattewar [mailto:[EMAIL

RE: Session Problem

2004-01-16 Thread Edgar P Dollin
If IE opens a new window (either through javascript or from the file/new/window menu) and IE is in a session, the session is shared between the two browser sessions. If you open two copies of IE from the operating system, they will not share the session. The only way to solve this that I know

RE: JSP Protection

2004-01-16 Thread Edgar P Dollin
There is one other way and that is to foward *.jsp in web.xml to a filter which always fails. Edgar -Original Message- From: lixin chu [mailto:[EMAIL PROTECTED] Sent: Thursday, January 15, 2004 8:24 PM To: Struts Users Mailing List Subject: Re: JSP Protection thanks ! --- Max Cooper

RE: Struts-Menu (Support URL Re-writing)

2004-01-16 Thread Edgar P Dollin
is on the right. BTW, this site uses the Velocity displayer for both the top menu and the side menu. If you're not familiar with struts-menu, checkout the demo at http://raibledesigns.com/struts-menu. Matt -Original Message- From: Edgar P Dollin [mailto:[EMAIL PROTECTED] Sent: Friday, January

RE: report in struts

2004-01-15 Thread Edgar P Dollin
JasperReports on sourceforge is pretty good with a decent base of support. Edgar -Original Message- From: Hari_s [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 14, 2004 8:25 PM To: Struts Users Mailing List Subject: report in struts Hi all is there any reporting tools (for creating

RE: Data Sources problem

2004-01-12 Thread Edgar P Dollin
I don't mean to discourage you however you are developing an application using struts. The current struts datasource is deprecated and it is recomended that you use either a jndi datasource or a product like poolman on sourceforge or a DAO product which maintains the datasource itself. I suspect

filters / tomcat / httpunit / webtest

2004-01-12 Thread Edgar P Dollin
I have a an interesting issue which at first blush doesn't seem solvable but could be a bug in struts 1.1 or my use of struts. I have a partially implemented struts application which is using filters for security (not the sourceforge security filter). I used to issue a 401 error, have the

RE: filters / tomcat / httpunit / webtest

2004-01-12 Thread Edgar P Dollin
is familiar with any drawbacks of trapping http error 202, your commentary would be appreciated. Thanks again Edgar -Original Message- From: Edgar P Dollin Sent: Monday, January 12, 2004 7:10 PM To: Struts Users Mailing List Subject: filters / tomcat / httpunit / webtest I have

RE: [OT] Canoe Webtest / HttpUnit

2004-01-08 Thread Edgar P Dollin
, 07 Jan 2004 22:28:10 -0500, Edgar P Dollin wrote: I have been struggling with these two testing tools for a while now attempting to retrofit http tests over an existing working application. JavaScript has been a bear, stuff that works on Mozilla and IE breaks in HttpUnit (not that the review

[OT] Canoe Webtest / HttpUnit

2004-01-07 Thread Edgar P Dollin
I have been struggling with these two testing tools for a while now attempting to retrofit http tests over an existing working application. JavaScript has been a bear, stuff that works on Mozilla and IE breaks in HttpUnit (not that the review didn't turn up myriads of errors). Repairing the

RE: Design Questions

2004-01-04 Thread Edgar P Dollin
-Original Message- From: Scott McClure [mailto:[EMAIL PROTECTED] Sent: Saturday, January 03, 2004 10:50 AM To: [EMAIL PROTECTED] Subject: Design Questions First, I was thinking about using a single UserForm to validate all forms relating to a user, for instance. The problem

RE: .NET: We are just like Struts... only better.

2003-12-26 Thread Edgar P Dollin
It is a complement that Microsoft is worried about the feature set of struts. However, a lot of the stuff that comes in ASP.NET sounds good compared to the java equivalents. Edgar -Original Message- From: Vic Cekvenich [mailto:[EMAIL PROTECTED] Sent: Thursday, December 25, 2003 6:16

RE: How find DataSource?

2003-12-23 Thread Edgar P Dollin
It can be done, use poolman. Easiest DB pool to get going, works well with more DB than others. http://sourceforge.net/projects/poolman Edgar -Original Message- From: Vic Cekvenich [mailto:[EMAIL PROTECTED] Sent: Monday, December 22, 2003 4:50 PM To: [EMAIL PROTECTED] Subject:

RE: Source code for Mastering Jakarta Struts

2003-12-23 Thread Edgar P Dollin
Buy the book. Edgar -Original Message- From: deepak saini [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 23, 2003 6:27 AM To: [EMAIL PROTECTED] Subject: Source code for Mastering Jakarta Struts hi! any idea from where cna i get the source code of Mastering Jakarta

RE: Connection Pooling

2003-12-18 Thread Edgar P Dollin
Drop connection pooling in struts and either go to Container pooling or use a product like Poolman (on sourceforge). Struts DataSource is no longer supported. Edgar -Original Message- From: hernux [mailto:[EMAIL PROTECTED] Sent: Thursday, December 18, 2003 1:39 AM To: [EMAIL

RE: Generate Java class from xml?

2003-12-18 Thread Edgar P Dollin
Castor from exolab http://www.castor.org/ is an excellent xml parser. There is also an interesting project for xml - beans http://xml.apache.org/xmlbeans. Edgar -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 17, 2003 8:31 PM To: Struts Users

RE: Tabbed menus using Tiles

2003-12-10 Thread Edgar P Dollin
Try struts-menu at sourceforge. It integrates very well and gives you nice choices for menus without writing a lot of javascript. Edgar -Original Message- From: Gopal Venkata Achi [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 10, 2003 3:36 PM To: Struts Users Mailing List

RE: [OT] Log4J and Pre-Processor

2003-12-09 Thread Edgar P Dollin
The difference between scientists and engineers The funny part is they are both right. The hard part is deciding which you are and living with the decision. Edgar -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED] You might first run some load tests to see if the

RE: How to detect that session has expired ?

2003-12-08 Thread Edgar P Dollin
If you use container authentication or filters, this isn't an issue. The user will never get to an action class with an invalid session. Edgar -Original Message- From: Kirk Wylie [mailto:[EMAIL PROTECTED] Sent: Monday, December 08, 2003 1:19 PM To: Struts Users Mailing List Subject: Re:

RE: Struts User Roles

2003-12-08 Thread Edgar P Dollin
I wasn't aware that such a concept existed. There are roles for container managed security, is that what you are refering to? Edgar -Original Message- From: Tiago Henrique Costa Rodrigues Alves [mailto:[EMAIL PROTECTED] Sent: Monday, December 08, 2003 1:06 PM To: Struts Users Mailing

RE: HELP: about to get datasource of struts and pass to logic bea ns...

2003-12-08 Thread Edgar P Dollin
Don't spend the time to get DataSource working. It is deprecated and will be removed from struts in 1.2. I use Poolman at sourceforge (I highly reccomend it for non-j2ee projects). Most others use the DataSource supplied with the container. Edgar -Original Message- From: Caroline Jen

RE: [FRIDAY] YA Stuts In Action / JUnit in Action Trivia Quiz

2003-11-28 Thread Edgar P Dollin
about a new question for those of us who didnt get our answer in before the result was prematurely revealed. (ie anyone who answered before Edgars post is still in the running but anyone after (like me :- ) has to answer a new question)??? -Original Message- From: Edgar P Dollin

RE: [FRIDAY] YA Stuts In Action / JUnit in Action Trivia Quiz

2003-11-27 Thread Edgar P Dollin
1) Computing Machinery and Intelligence 2) Alan M. Turing Bonus I Have No Mouth and I Must Scream Edgar PS, never read any Turing, but now I understand his influence. Still haven't read an Ellison, my patience with Science Fiction left after 30 years of Trek. -Original Message-

RE: Server manged vs. struts managed db pools

2003-11-25 Thread Edgar P Dollin
pools Quoting Edgar P Dollin [EMAIL PROTECTED]: I like struts managed db pools, however, the struts developers aren't too happy about the quality and the dependency on the commons-pooling library and are attempting to phase it out. The existing connection pool in struts

RE: Types supported by DynaActionForm (or DynaValidatorForm)

2003-11-25 Thread Edgar P Dollin
There is some contradiction when it comes to types in ActionForms. The general idea of struts is to put a bunch of Strings (or booleans) between the application and view layer so that after unsuccessful validation the framework can return the typed values unchanged. In certain cases, individual

RE: Does Taglibs cause any performance Issues ???

2003-11-25 Thread Edgar P Dollin
Tags stay in memory (in pools) based on the tags used and the parameter values of the tags. If memory is an issue then you can disable tag pooling. If cpu performance is an issue (pooling the tags saves object instantiation and release) then leave tag pooling in place. Edgar -Original

RE: Server manged vs. struts managed db pools

2003-11-25 Thread Edgar P Dollin
[mailto:[EMAIL PROTECTED] Sent: Tuesday, November 25, 2003 6:17 AM To: [EMAIL PROTECTED] Subject: Re: Server manged vs. struts managed db pools Edgar P Dollin wrote: There is another issue regarding connection pooling in struts vs connection pooling in the container. In struts

RE: Reporting System

2003-11-25 Thread Edgar P Dollin
Jasper reports is pretty good. http://jasperreports.sourceforge.net Edgar -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 25, 2003 9:35 AM To: Struts-User Subject: Reporting System Hello, we are looking for a good

RE: Token documentation

2003-11-21 Thread Edgar P Dollin
I haven't seen any but there isn't really much to document. You put an integer into the form with a value that is updated by the action. This value must change from request to request, typically it is incremented. You must carry a hidden field in the jsp to carry the token to the following

RE: URGENT:static methods in JSPs

2003-11-20 Thread Edgar P Dollin
All the tags us introspection to access the objects. Introspection works only on non-static public fields and methods. You must find a way, possible with a façade, to make your static method non-static. Edgar -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

RE: MessageResources...

2003-11-20 Thread Edgar P Dollin
A brute force approach is to loop through the context objects looking for ActionMessages or ActionError objects which contain the key you are looking for. Of course, once you have it, just put the key somewhere for future reference. Edgar -Original Message- From: Mitesh Patel

RE: Large scale Internationalization using struts

2003-11-19 Thread Edgar P Dollin
There have been lots of discussions of this on the archives. As released, there are no on the fly changes to the messages. There are many solutions in the archives although you might have to role your own using the ideas presented. Edgar -Original Message- From: Linus Nikander

RE: Which framework to choose?

2003-11-18 Thread Edgar P Dollin
You are right. This is not the right forum. The reason you are asking on this forum (you will get a good answer quickly) is the reason you are using struts and the reason struts has a future. All the other frameworks except for JSF and Microsoft are of technical interest only. Edgar

RE: Server manged vs. struts managed db pools

2003-11-18 Thread Edgar P Dollin
I like struts managed db pools, however, the struts developers aren't too happy about the quality and the dependency on the commons-pooling library and are attempting to phase it out. Edgar -Original Message- From: Nathan Maves [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 18,

RE: Wanted API to handle user roles

2003-11-03 Thread Edgar P Dollin
Write your own and implement with a filter. Edgar -Original Message- From: Zsolt Koppany [mailto:[EMAIL PROTECTED] Sent: Monday, November 03, 2003 9:56 AM To: Tomcat Users List; Struts Users Mailing List Subject: Wanted API to handle user roles Hi, I'm searching for a Java

Mappings

2003-10-31 Thread Edgar P Dollin
Has anyone encoded map keys as path parameters in the struts config? I am doing this but was wondering if there were any 'gotchas' I haven't forseen. What I am doing (in MockStrutsTestCase) is using the 'success' forward from an action be conditional or hard-coded. If it was conditional

RE: Session Timeout on post

2003-10-29 Thread Edgar P Dollin
Strictly a container issue. If you keep the login information in hidden fields, you will be able to reinstate the user session although the session information will be gone. You should be able to post the submited record however. You can use a filter for this. Edgar -Original Message-

RE: Please help: Cannot find message resources under key org.apa che. struts.action. MESSAGE

2003-10-29 Thread Edgar P Dollin
Looks like you need a file ApplicationResources.properties in your /WEB-INF/classes directory. Edgar -Original Message- From: Prashanth Narayanan [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 29, 2003 4:57 PM To: 'Struts Users Mailing List' Subject: Please help: Cannot find

RE: Struts-config

2003-10-28 Thread Edgar P Dollin
PROTECTED]: Download XML Spy (or another good XML tool) and validate it against the DTD. -Original Message- From: Edgar P Dollin [mailto:[EMAIL PROTECTED] Sent: Monday, October 27, 2003 4:37 PM To: Struts Users Mailing List Subject: Struts-config Has anyone experienced situtation

Struts-config

2003-10-27 Thread Edgar P Dollin
Has anyone experienced situtation where struts 1.1 will not allow any configuration items (controller / message-resources / plug-in) after the end of the action-mappings section. The error message is xml.sax.SAXParseException: Element struts-config allows no further input; controller is

StrutsTestCase and Multiple Struts Configuration files

2003-10-27 Thread Edgar P Dollin
Has anyone used StrutsTestCase with multiple comma-delimited struts configuration files and multiple message files. If so are there any issues which might make it less straight forward than straight struts? Thanks Edgar - To

RE: Tags creating Tags

2003-10-27 Thread Edgar P Dollin
There is a little more overhead than this. You are now taking control of the struts tag lifespan. Currently, assuming tag pooling, this is done by the container based on a hash of the parameter values. If you are careful you can piggyback on that by synchronizing the internal tag

RE: struts-menu

2003-10-23 Thread Edgar P Dollin
Stuts menu can do all of that. Be prepared to write some customizations since there are inconsistencies in the capabilities between the menu displayers. I have it working fine with tiles and struts with authentication http://www.abmga.org using a drop down displayer. Edgar -Original

RE: [Poll] Action Form data types

2003-10-14 Thread Edgar P Dollin
None of the above. I use java data types but use getters and setters in the ActionForm to perform the casting and any other manipulations necessary. Edgar Mainguy, Mike wrote: Here's my weekly(ish) question: For the purposes of this discussion, ActionForms also mean DynaActionForms

RE: DynaActionForms

2003-10-14 Thread Edgar P Dollin
- From: Edgar P Dollin [mailto:[EMAIL PROTECTED] Sent: Monday, October 13, 2003 4:39 PM To: Struts Users Mailing List Subject: RE: DynaActionForms Thanks for the input. I did some more research and I think I understand the forms a little better. The following code will create

RE: DynaActionForms

2003-10-14 Thread Edgar P Dollin
Doesn't this answer require an [OT] designation. -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 7:03 AM To: Struts Users Mailing List Subject: RE: DynaActionForms Yes. -Original Message- From: Edgar P Dollin [mailto

RE: DynaActionForms

2003-10-14 Thread Edgar P Dollin
://jakarta.apache.org/struts/faqs/indexedprops.html Let me know if I answered your question. robert -Original Message- From: Edgar P Dollin [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 8:12 AM To: Struts Users Mailing List Subject: RE: DynaActionForms

RE: Passing parameters between forms

2003-10-14 Thread Edgar P Dollin
My preference is to emulate the session functionality in your own classes, i.e. publish / subscribe. Stick a static map in your class and use a unique key generated from objects both threads are aware of to index the object, then you can pull it out when you need to. Synchronize if you need to

RE: Basic tag library question

2003-10-14 Thread Edgar P Dollin
Use the HTML:TEXT with readonly=true/false. The true or false can be rendered either with a JSP expression or JSTL. Edgar -Original Message- From: Jacob Wilson [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 7:01 PM To: [EMAIL PROTECTED] Subject: Basic tag library

RE: Converting to Struts, where to put Servlet init() code?

2003-10-14 Thread Edgar P Dollin
I have done authentication filters and they work very nicely with struts. Edgar -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 6:43 PM To: [EMAIL PROTECTED] Subject: Converting to Struts, where to put Servlet init() code? I'm

DynaActionForms

2003-10-13 Thread Edgar P Dollin
I have an application with configuration files already. Rather than have struts-config configure DynaForms, I would like to populate the forms myself. Does anyone have any experience with how this behaves in struts? Thanks Edgar

RE: DynaActionForms

2003-10-13 Thread Edgar P Dollin
Mailing List' Subject: RE: DynaActionForms yourdynaform.set(propertyname,propertyvalue); -Mensaje original- De: Edgar P Dollin [mailto:[EMAIL PROTECTED] Enviado el: lunes, 13 de octubre de 2003 19:35 Para: Struts Users Mailing List Asunto: DynaActionForms

RE: JavaServer Faces

2003-10-11 Thread Edgar P Dollin
I have been triing to avoid this issue, but I can't help stick my foot in my mouth. Struts works but so do a lot of technologies. Struts is about the COMMUNITY. I have never been on a more supportive, active, relevant communitity of developers. As long as the community keeps producing stuff

RE: Struts Design Issue - Search Functionality - Best Practices

2003-09-26 Thread Edgar P Dollin
I believe this feature is implemented in struts-layout http://struts.application-servers.com/ Edgar -Original Message- From: Chawla, Yogesh [mailto:[EMAIL PROTECTED] Sent: Friday, September 26, 2003 2:19 AM To: 'Struts Users Mailing List' Subject: Struts Design Issue - Search

RE: Menu based on Tiles

2003-09-24 Thread Edgar P Dollin
Look at struts menu on sourceforge. Edgar -Original Message- From: Sudip Kumar Bhattacharya [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 3:45 AM To: [EMAIL PROTECTED] Subject: Menu based on Tiles Hi I need to create a menu using tiles. The menu is a

RE: [OT] STL startup times - is caching going on?

2003-09-21 Thread Edgar P Dollin
Custom tags are cached in most containers (tag pooling). If the parameters to a tag are the same the same instance of a tag object is used. It is up to the container when to discard / garbage collect the tag instances. I don't know if this is the problem / issue here but hope it helps. Edgar

RE: multiple forms with the same formBean

2003-09-19 Thread Edgar P Dollin
Use multiple form-bean entries for the same form and struts will keep them separate. Edgar -Original Message- From: Rajat Pandit [mailto:[EMAIL PROTECTED] Sent: Friday, September 19, 2003 4:21 AM To: [EMAIL PROTECTED] Subject: multiple forms with the same formBean hello, i am

RE: Design Question

2003-09-17 Thread Edgar P Dollin
I have special field objects which with separate methods for jsp setting and database setting which also track changes. Then I can use reflection to the specific type and see if any of the objects in the database changed and are not confused by spurious instance variables. You can then create

RE: searching on client side.

2003-09-17 Thread Edgar P Dollin
Use javascript and a button to invoke the browser find function. Edgar -Original Message- From: imran ali [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 17, 2003 4:17 PM To: Struts Users Mailing List Subject: searching on client side. Hi All, I am having a

Errors / Messages

2003-09-15 Thread Edgar P Dollin
In validate, if you add an error to the message list, validator returns without forwarding. Has anyone done anything with an alternate message file or prioritized messages, so you can add a message yet still forward. Thanks in advance. Edgar

RE: Errors / Messages

2003-09-15 Thread Edgar P Dollin
flow that are looking for? -Max - Original Message - From: Edgar P Dollin [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, September 15, 2003 2:54 AM Subject: Errors / Messages In validate, if you add an error to the message list, validator

RE: Easy Question

2003-09-12 Thread Edgar P Dollin
Boolean form properties are cool too (at least in my experience)... Edgar -Original Message- From: Michael Ruppin [mailto:[EMAIL PROTECTED] Sent: Friday, September 12, 2003 3:14 PM To: Struts Users Mailing List Subject: RE: Easy Question Non-String Form bean properties are

RE: Struts with a DHTML menu

2003-09-11 Thread Edgar P Dollin
Struts-menu works pretty well. http://sourceforge.net/project/showfiles.php?group_id=48726 Edgar -Original Message- From: Mahbub ul Huq Bin Kabir [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 10, 2003 11:39 PM To: [EMAIL PROTECTED] Subject: Struts with a DHTML menu Hi,

RE: How to reference multiple form beans from one VelocityLayoutS ervlet set of page fragments?

2003-09-05 Thread Edgar P Dollin
I have gotten two html:forms two work in a limited fashion with struts. Note that your always visible form, doesn't have to be connected with a struts action so the problems with actions wouldn't apply. Also, the rules for forms are different if you are using tiles since each tile has an action

RE: Migrating to struts

2003-09-02 Thread Edgar P Dollin
This would depend how your application was architected. If you do ONLY jsp (i.e. sql and logic in the page), then basically you are re-writing the application by cutting back-end code out of your jsp pages and creating business logic classes and action class. If your application is reasonably

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: how to switch of logging with log4j at initialization

2003-04-03 Thread Edgar P. Dollin
Since you are still having problems, I would set up a simple test app with a class or two and a clean classpath. Edgar -Original Message- From: Martin Monsorno [mailto:[EMAIL PROTECTED] Sent: Thursday, April 03, 2003 2:37 AM To: 'Struts Users Mailing List' Cc: 'Niesen, Nathan';

Struts Console

2003-04-02 Thread Edgar P. Dollin
James: Would there be any interest in getting struts console to support struts-menu. Thanks Edgar - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: StrutsMenu Coolmenu4 images

2003-03-19 Thread Edgar P. Dollin
I am not a committer so I am guessing to some degree, but it looks like the image is not being passed through to coolmenus (look at the generated code for save). I am not a coolmenu expert either so I don't know if coolmenus doesn't support the image or if struts-menu just didn't generate the

RE: StrutsMenu

2003-03-12 Thread Edgar P. Dollin
Matt: The links below don't seem to do any role stuff that I can find. BTW: there are some bugs in the dhtmlDropdown.jsp with IE6. Maybe I am reading the code incorrectly but the DropDown displayer never calls isAllowed or works with an object that does The coolmenu displayer does makes

FW: Running unit tests for Validator used with Struts

2003-02-26 Thread Edgar P. Dollin
Use StrutsTestCase, http://strutstestcase.sourceforge.net. It does the whole struts cycle and allows test of all struts components. Edgar -Original Message- From: otisg [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 4:51 PM To: '[EMAIL PROTECTED]'

[OT] Resin to Tomcat Conversion

2003-01-17 Thread Edgar P. Dollin
Has anyone done a conversion from a another j2ee container (in my case caucho/resin) to tomcat? If so do you have any war stories? Thanks Edgar -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: FW: dataSources outside of actionservlet

2002-12-17 Thread Edgar P. Dollin
Another option is to aquire the database connection via jndi when you need it. Edgar -Original Message- From: Matthias Bauer [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 17, 2002 9:05 AM To: 'Struts Users Mailing List' Subject: Re: FW: dataSources outside of actionservlet The

RE: dataSources outside of actionservlet

2002-12-17 Thread Edgar P. Dollin
15:17, Edgar P. Dollin [EMAIL PROTECTED] wrote: Another option is to aquire the database connection via jndi when you need it. Edgar -Original Message- From: Matthias Bauer [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 17, 2002 9:05 AM To: 'Struts Users Mailing List

RE: Struts and session

2002-12-17 Thread Edgar P. Dollin
You don't forward from the filter, you send an error to the container. The container has a configurable login page i.e. from web.xml. error-page error-code401/error-code location/WEB-INF/jsp/requestUserLogin.jsp/location /error-page Edgar -Original Message- From:

RE: [OT] Overloaded setters in JavaBeans

2002-12-14 Thread Edgar P. Dollin
I believe if you really need both setters, you should create both getters. Edgar -Original Message- From: Sri Sankaran [mailto:[EMAIL PROTECTED]] Sent: Friday, December 13, 2002 1:54 PM To: 'Struts Users Mailing List' Subject: [OT] Overloaded setters in JavaBeans It is now a

RE: how do i set the HTML name attribute of an input element?

2002-12-14 Thread Edgar P. Dollin
If you look at the generated HTML, the name is actually the property (plus any nesting information). Edgar -Original Message- From: Andy Kriger [mailto:[EMAIL PROTECTED]] Sent: Friday, December 13, 2002 4:02 PM To: 'Struts Users Mailing List' Subject: how do i set the HTML name

RE: Finding app context in action class???

2002-12-14 Thread Edgar P. Dollin
Request.getSession(); -Original Message- From: Pete Serafin [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 14, 2002 11:32 AM To: '[EMAIL PROTECTED]' Subject: RE: Finding app context in action class??? This is close, but I am hoping to accomplish with just an Action class. I

RE: Finding app context in action class???

2002-12-14 Thread Edgar P. Dollin
in the acition class? -Original Message- From: Edgar P. Dollin [mailto:[EMAIL PROTECTED]] Sent: Sat 12/14/2002 10:42 AM To: 'Struts Users Mailing List' Cc: Subject: RE: Finding app context in action class

RE: Why is token checking only available when control has passed to the Action class?

2002-12-13 Thread Edgar P. Dollin
One solution is to make the increment of the array size a separate request so that your Bean can be expanded, i.e. insert rows, add record. Edgar -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 12, 2002 6:21 PM To: '[EMAIL PROTECTED]'

Validate - Struts-Config.xml - input attribute

2002-12-13 Thread Edgar P. Dollin
Has anyone ever asked for the ability to control the input attribute, i.e. for validation in a multipage form? Edgar To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

Struts Console

2002-12-13 Thread Edgar P. Dollin
Is there a way to copy entries as the normal cut and paste windoze operations don't seem to function. Thanks Edgar -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

RE: Page scope bean and nested:iterate

2002-12-13 Thread Edgar P. Dollin
If you look at the tag, I believe it is keeping a reference to the original property of the bean, and basing everything from that. Edgar -Original Message- From: Jim Krygowski [mailto:[EMAIL PROTECTED]] Sent: Friday, December 13, 2002 11:39 AM To: 'Struts Users Mailing List' Subject:

RE: nested tag error

2002-12-13 Thread Edgar P. Dollin
As an aside on this issue, I have found that using XML syntax for jsp helpful as it would have given you a message about unmatched tags. Not just jsp but also html and other tags (handy for really large tables, etc). Edgar -Original Message- From: Cory Newey [mailto:[EMAIL PROTECTED]]

RE: How to Format default input text value according to user request?

2002-12-11 Thread Edgar P. Dollin
If I were doing this I would do it either in the validate() or reset() functions of my form bean during the load action. Edgar -Original Message- From: Renato Aganippe [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 4:18 AM To: 'Struts Users Mailing List' Subject: Re: How

RE: Constructing absolute URL in struts 1.1-b2

2002-12-11 Thread Edgar P. Dollin
This is a known bug and the solution is not known at this time although it is stated it will be fixed. If you need an immediate solution you might consider using javax.servlet.RequestDispatcher from ServletRequest.getRequestDispatcher. Edgar -Original Message- From: Andrew Watters

RE: Constructing absolute URL in struts 1.1-b2

2002-12-11 Thread Edgar P. Dollin
an IllegalStateException because the response was already committed. I haven't done anything to commit the response in my controller, I think, so I assumed that the struts framework had done so. Is this assumption correct do you know? Thanks again for your help. Andrew - Original Message - From: Edgar P

RE: dynamically disable a input field.

2002-12-10 Thread Edgar P. Dollin
A couple of choices: Actually put the html:text inside the logic and use an else clause. Use struts-EL for the disabled attribute calculation ${OrganizationSession.isProvider==0?disabled:enabled} Edgar -Original Message- From: Mouratidis, Georg [mailto:[EMAIL

RE: Forcing SSL for index page of application

2002-12-10 Thread Edgar P. Dollin
I am no expert but here is the IE developers link for SSL http://www.microsoft.com/technet/treeview/default.asp?url=/TechNet/prodt echnol/ie/reskit/ie5/part1/ch06digi.asp Edgar -Original Message- From: Matt Raible [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 10, 2002 6:07 PM To:

RE: Multiple Submit Buttons + Internationalisation

2002-12-09 Thread Edgar P. Dollin
LookupDispatchAction is not for everyone in every situation. Understanding the mechanism can help you really solve your issues. Edgar -Original Message- From: Gemes Tibor [mailto:[EMAIL PROTECTED]] Sent: Monday, December 09, 2002 7:53 AM To: Struts Users Mailing List Subject: Re:

RE: Multiple Submit Buttons + Internationalisation

2002-12-09 Thread Edgar P. Dollin
Users Mailing List Subject: Re: Multiple Submit Buttons + Internationalisation 2002. december 9. 14:55 dátummal Edgar P. Dollin ezt írtad: LookupDispatchAction is not for everyone in every situation. Understanding the mechanism can help you really solve your issues. Yes, you're right

RE: How to switch debug off?

2002-12-09 Thread Edgar P. Dollin
Look in web.xml under the init-params for struts. There is a debug level. It is described in the manual. Edgar -Original Message- From: Zsolt Koppany [mailto:[EMAIL PROTECTED]] Sent: Monday, December 09, 2002 3:45 PM To: 'Struts Users Mailing List' Subject: How to switch debug off?

RE: any way to turn a checkbox on based on a request value?

2002-12-09 Thread Edgar P. Dollin
JavaScript... ;-} -Original Message- From: Andy Kriger [mailto:[EMAIL PROTECTED]] Sent: Monday, December 09, 2002 4:18 PM To: 'Struts Users Mailing List' Subject: any way to turn a checkbox on based on a request value? I want to have a checkbox checked when a given request attribute is

RE: JSTL Struts-EL missing from 12/8 12/9 Nightlies!

2002-12-09 Thread Edgar P. Dollin
The last time this happened, Craig said it was something with the build. -Original Message- From: Karr, David [mailto:[EMAIL PROTECTED]] Sent: Monday, December 09, 2002 7:32 PM To: 'Struts Users Mailing List' Subject: RE: JSTL Struts-EL missing from 12/8 12/9 Nightlies! No idea.

  1   2   >