Help about Model design

2003-02-17 Thread Heligon Sandra
I know that Struts treats only the View and Controller parts of the MVC2 model . I have a lot of question about the Model design (management of the state of a Web client (shopping cart object ), management of the displayed data(catalog of object) ). I would

RE: [ANNOUNCE] Struts talks at Lone Star Symposium

2003-02-17 Thread ROSSEL Olivier
Neil Erdwien wrote: You mean Feb 21-23 -- next week? Yes, next week. Will these conferences be (freely?) available in mp3 or ogg format, so we can hear it later? This e-mail is intended only for the above addressee. It may contain privileged information. If you are not the addressee you

AssociatedtilesAction failed!

2003-02-17 Thread Ferran Parra
Greetings, I have the following TilesAction configuration: tiles-defs.xml !-- Main page layout used as a root for other pages defintion.-- definition name=.admin.mainLayout path=/web/admin/layouts/adminBase.jsp controllerUrl=/do/AdminAssociatedAction put name=title value

Jsp code is sent to the client...?

2003-02-17 Thread J=?ISO-8859-1?Q?=F6rgen_Lundberg
Hi, I'm running a small struts(1.1b3) app in our Tomcat 4.0.6. After a few days the jsp:s stop working. They don't seem to be processed, instead the jsp code gets sent back to the browser. Our bug reporting app (Scarab) is running in the same Tomcat and it works fine. Any ideas? / Jörgen

Re: Jsp code is sent to the client...?

2003-02-17 Thread Affan Qureshi
Can you show us the JSP code? This happened to me when I forgot to import the tag libraries. Try deleting the work directory contents and restart the server. Also make sure the extensions etc. are correct. Affan - Original Message - From: Jörgen Lundberg [EMAIL PROTECTED] To: [EMAIL

Use of DispatchAction class

2003-02-17 Thread shashi
Hi I am new in the struts and working on a form in which i want to use the hidden fields in my Action class. Please give me any idea regarding how i can implement the functionalty. Thanks Regards Shashi Bhushan

Re: Problem with ActionError in Templates

2003-02-17 Thread Cedric Dumoulin
Hi, I suppose that you use the input attribute of the action. The action forward to the url found in the input value when validation fail. Change the value of the input. Cedric Holger Danske wrote: Hello List. I have the following problem. I using two parts of struts. First at all

date format

2003-02-17 Thread usha
Hi i need to display the date fields on the jsp in the format dd/MMM/. is there any simple way i can get this like configuration or writing any class etc.. if anybody has any ideas plz help me Thanks usha - To

re: business logic questions

2003-02-17 Thread Ted Husted
Dan McGowan wrote: Now I would like to isolate the business logic to a bean class and use the scaffold ProcessAction class ala the Artimus app in Struts in Action. Since the bean class has all the business logic how do I communicate errors? Excellent question! The Scaffold solution is to use

Re: Jsp code is sent to the client...?

2003-02-17 Thread J=?ISO-8859-1?Q?=F6rgen_Lundberg
I forgot to say that the struts app works fine when I restart Tomcat. index.jsp looks like this: %@ taglib uri=/WEB-INF/taglibs/struts-logic.tld prefix=logic % logic:redirect page=/index.do/ / Jörgen Lundberg -Original Message- From: Affan Qureshi [EMAIL PROTECTED] To: Struts Users

re: Modifying Form Data in Action

2003-02-17 Thread Ted Husted
Chris wrote: The problem I am noticing is that when the second action is being invoked, the form is being 'repopulated' with the initial form values that the form had when it was passed to the first action. This is an excellent example of what we mean when we talk about Action chaining, or,

re: How to set the active locale ???

2003-02-17 Thread Ted Husted
Soren Dalby wrote: As default, I18N Struts-applications are managed by the language in the browser. I would like it to be based on a language-code in the users login and thus I need to set the locale/language designation that controls Struts As far as I know, by default, Struts applications

RE: [Q] Is Struts use of BeanUtils and PropertyUtils inconsistent?

2003-02-17 Thread Jim Krygowski
Hi Craig- thanks for the reply. You mention that: The conversions on form submit are required because HTTP request parameters are all strings. which I understood perfectly well. I also understand that, in order for that conversion to work for things like date, a common format must used

Re: How to set the active locale ???

2003-02-17 Thread Gemes Tibor
2003. február 17. 13:20 dátummal Ted Husted ezt írtad: Soren Dalby wrote: As default, I18N Struts-applications are managed by the language in the browser. I would like it to be based on a language-code in the users login and thus I need to set the locale/language designation that

Re: [ANNOUNCE] Event Foo In US state blah

2003-02-17 Thread Alex McLintock
Is no one going to do a Struts event in the UK? There is supposedly an apache meetup in London organised through http://apache.meetup.com but last one didn't have enough responders to be worthwhile. Alex Available for java/perl/C++/web development in London, UK or nearby. Apache FOP,

Bean:define and nulls

2003-02-17 Thread Jordan Thomas
Hi, I want to use a bean:define tag within a logic:iterate tag to set a bean value to null. How can I do this if I can not use the same value for the id attibute. thanks Jordan - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Use of DispatchAction class

2003-02-17 Thread Alex McLintock
At 10:59 17/02/03, shashi wrote: I am new in the struts and working on a form in which i want to use the hidden fields in my Action class. Please give me any idea regarding how i can implement the functionalty. Hello, You may find Ted Husted's Artimus example useful. It has a form with hidden

Re: Use of DispatchAction class

2003-02-17 Thread shashi
Thanks Alot If I make a method with the name of hidden field parameter in the Bean Class and give as parameter in the structs_config.xml. Is it helpful for me to find the hidden field value in the class which is extended the Action class. Regards Shashi - Original Message - From:

Where to add Access control

2003-02-17 Thread Rademacher Tobias
Hi Folks, I want to add some access control in order to protected a site form a group of users. My application uses JAAS so I guess I have to write a PriviligedAction. Where do I have to add the invokation of this Action? Where is the best place in RequestProcessor in order to add such support?

Re: Where to add Access control

2003-02-17 Thread Robert S. Sfeir
Instead of an action, perhaps a better approach is to have something like: public boolean hasPrivileges(HttpServletRequest request) { ... } which would check if a user or group has a privilege. I put a method like this in my BaseAction, which extends Action and other actions in my framework

Modifying action input at runtime

2003-02-17 Thread Colin Hawkett
Hi all, I am looking to use an action to handle the submission of multiple similar forms. Normally I would use separate actions, but in this case the code is identical for the different forms. Everythign seesm to be working fine except for the specification fo the input parameter on the

RE: Modifying action input at runtime

2003-02-17 Thread du Plessis, Corneil C
You will have to parameterize the action of your html:form then have different actions in struts-config for each of those. A failing validation will return to the appropriate input page. -Original Message- From: Colin Hawkett [mailto:[EMAIL PROTECTED]] Sent: 17 February, 2003 16:09 To:

RE: Where to add Access control

2003-02-17 Thread du Plessis, Corneil C
Look at how Struts support web server roles. http://jakarta.apache.org/struts/userGuide/preface.html#jaas -Original Message- From: Rademacher Tobias [mailto:[EMAIL PROTECTED]] Sent: 17 February, 2003 15:37 To: '[EMAIL PROTECTED]' Subject: Where to add Access control Hi Folks, I want

Struts design flaw -- ActionForms are not true domain objects

2003-02-17 Thread NYIMI Jose (BMB)
Dear Struts Users, I have just bought this book : Expert one-one-one J2EE Design and Development by Rod Johnson. http://www.wrox.com/news/852.htm I will greatly appreciate to have your opinion about this so beeing design flaw of Struts described in the above book. Rod Johnson suggested an

[OT] serving images with apache

2003-02-17 Thread Curtis Brown
I am considering what server configuration to use. What is the current best practices as far as using a servlet container fronted by a web server (e.g. tomcat with apache)? On one hand I like the idea of having everything self contained in a war file, and just using the servlet container to

Re: Struts design flaw -- ActionForms are not true domain objects

2003-02-17 Thread David Graham
The author correctly states that ActionForms are not true domain objects. This is intentional. He also correctly points out that Struts uses too many concrete base classes. We will be working to use more interfaces over time. However, Struts is not too JSP oriented. JSP is the most popular

RE: Struts design flaw -- ActionForms are not true domain objects

2003-02-17 Thread James Childers
-Original Message- From: David Graham [mailto:[EMAIL PROTECTED]] Sent: Monday, February 17, 2003 8:55 AM To: [EMAIL PROTECTED] Subject: Re: Struts design flaw -- ActionForms are not true domain objects However, Struts is not too JSP oriented. JSP is the most popular Java user

RE: Struts design flaw -- ActionForms are not true domain objects

2003-02-17 Thread NYIMI Jose (BMB)
-Original Message- From: David Graham [mailto:[EMAIL PROTECTED]] Sent: Monday, February 17, 2003 3:55 PM To: [EMAIL PROTECTED] Subject: Re: Struts design flaw -- ActionForms are not true domain objects The author correctly states that ActionForms are not true domain objects.

Re: Struts design flaw -- ActionForms are not true domain objects

2003-02-17 Thread Chris Halverson
James Childers [EMAIL PROTECTED] writes: You can't really use that outside of a servlet container. This is not a knock to Struts; it was never designed to be a general purpose MVC model. But noone is going to write a Swing app using Struts, for example.

RE: Struts design flaw -- ActionForms are not true domain objects

2003-02-17 Thread John Espey
i think the argument isn't about it being too servlet-container centric, rather that it is too tightly coupled to JSP as the view technology. -Original Message- From: James Childers [mailto:[EMAIL PROTECTED]] Sent: Monday, February 17, 2003 9:11 AM To: Struts Users Mailing List

RE: Struts design flaw -- ActionForms are not true domain objects

2003-02-17 Thread James Childers
-Original Message- From: Chris Halverson [mailto:[EMAIL PROTECTED]] Sent: Monday, February 17, 2003 9:16 AM To: Struts Users Mailing List Subject: Re: Struts design flaw -- ActionForms are not true domain objects James Childers [EMAIL PROTECTED] writes: You can't really

RE: Struts to JSTL EL - Taglib 1.0 implementation

2003-02-17 Thread Sundar Narasimhan
Seriously ... it would be nice if JavaBeans recognized something like mapped properties. But that is for the future -- in the mean time, you'll need to stay within the limits of what the JVM recognizes *now* if you want to leverage EL expressions. Craig -- IMHO, if you look at Lisp.. symbol-plist

E-commerce flow with Transaction Tokens?

2003-02-17 Thread Greg Hess
Hi All, I am building an e-commerce module. The flow of the application is as follows: PaymentForm-- ProcessPayment -- Receipt Success //End -- Receipt Error -- Payment Form The

RE: Struts design flaw -- ActionForms are not true domain objects

2003-02-17 Thread David Graham
There are always ultra-literal people out there :-). Of course I meant any java web UI technology. David From: James Childers [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: Struts design flaw -- ActionForms

RE: Looking for DBMessageResources...

2003-02-17 Thread James Mitchell
You sure that was James Holmes? -- James Mitchell Software Engineer/Struts Evangelist http://www.open-tools.org/ The man who does not read good books has no advantage over the man who cannot read them. - Mark Twain (1835-1910) -Original Message- From: Dave Cowden

RE: Struts design flaw -- ActionForms are not true domain objects

2003-02-17 Thread David Graham
Is there any plan to move ActionForms to true domain objects ? No. See past developer and user list discussions on this topic. Struts uses too many concrete base classes. We will be working to use more interfaces over time. Any idea on when or version ? Because introducing interfaces

RE: Struts design flaw -- ActionForms are not true domain objects

2003-02-17 Thread David Graham
It's not coupled to JSP at all. Struts provides taglibs to use in JSPs but does not dictate that you must use JSP as your view layer. This has been demonstrated by people using Velocity, XML, and Web Services with Struts. David From: John Espey [EMAIL PROTECTED] Reply-To: Struts Users

RE: Struts design flaw -- ActionForms are not true domain objects

2003-02-17 Thread Robert Taylor
If you use any flavor of DynaForms, you can pass the user input directly to the business domain as a DynaBean interface which is not directly connected to Struts, but rather to org.apache.commons.beanutils package. You will most likely still have to convert to some sort of DataTransportObject

Action not executed, only the *.do url is shown and the screen isempty

2003-02-17 Thread Bert Catsburg
Hello, I have the problem that an Action is not executed. When I process the Form (by clicking Submit button), the .do url is shown in the addressbar and an empty screen is shown. The start of the Action javafile does some logging (using Log4J), but I see nothing in the MySQL (to where I am

RE: Struts design flaw -- ActionForms are not true domain objects

2003-02-17 Thread NYIMI Jose (BMB)
-Original Message- From: Robert Taylor [mailto:[EMAIL PROTECTED]] Sent: Monday, February 17, 2003 4:35 PM To: Struts Users Mailing List Subject: RE: Struts design flaw -- ActionForms are not true domain objects If you use any flavor of DynaForms, you can pass the user

RE: Bean:define and nulls

2003-02-17 Thread James Mitchell
I don't believe bean:define can help you with that. You'll probably have to do this with a scriptlet, a custom tag.or better yet, you should take care of that in your action class. -- James Mitchell Software Engineer/Struts Evangelist http://www.open-tools.org/ The man who does not read

RE: Struts design flaw -- ActionForms are not true domain objects

2003-02-17 Thread John Espey
I agree. I wasn't claiming that Struts IS too tightly coupled to JSP, I was pointing out that the argument from the initial post was not that Struts is too servlet centric but that it is too JSP centric, and that the execute() method signature from a subsequent post doesn't really shed any light

Re: Struts design flaw -- ActionForms are not true domain objects

2003-02-17 Thread Robert McIntosh
NYIMI Jose (BMB) wrote: -Original Message- From: Robert Taylor [mailto:[EMAIL PROTECTED]] Sent: Monday, February 17, 2003 4:35 PM To: Struts Users Mailing List Subject: RE: Struts design flaw -- ActionForms are not true domain objects If you use any flavor of DynaForms, you can

RE: [OT] serving images with apache

2003-02-17 Thread Brandon Goodin
I am using apache(http)/tomcat combo with JK Connector. I gave up on using JK2 as the connector because I had to get my app deployed. JK2's conifguration was rather complex and documentation wasn't 1-2-3 (simple) enough for me to get it done quickly. As a side note. There have been significant

html:select tag and the value attribute

2003-02-17 Thread John C Cartwright
Hello All, I'm having some trouble getting the html:select tag to recognize the value attribute in order to set the appropriate enclosed option to selected. It works fine with a simple string, but doesn't seem to recognize a RT expression. Here's the code sample: html:select

RE: [OT] serving images with apache

2003-02-17 Thread Pani, Gourav
You could have both. Have an images directory within your war build and have it under webapps. Then use the following setup in your httpd.conf to point to the directory where you have images in your webapps directory. DocumentRoot /usr/local/appserver/webapps/application/images -Original

Re: html:select tag and the value attribute

2003-02-17 Thread David M. Karr
John == John C Cartwright John writes: John Hello All, John I'm having some trouble getting the html:select tag to recognize the value John attribute in order to set the appropriate enclosed option to selected. It John works fine with a simple string, but doesn't seem to

[OT] Struts and Design Patterns

2003-02-17 Thread Matt Raible
I'm writing a chapter on Struts for a book, Professional JSP 2.0, from Wrox (http://www.wrox.com/books/1861008325.htm). The reason I'm sending this post is to verify my belief of the different design patterns that Struts implements. From the Core J2EE Design Patterns book (by Alur, Crupi, and

RE: Use of DispatchAction class

2003-02-17 Thread Brandon Goodin
You would retrieve the hidden form property like any other. In other words you have a hidden form element: input type=hidden name=myProperty value=Be cool/ In you action form you have a property with setter/getter: public MyActionForm extends ActionForm { ... protected String

RE: Controller - Model design question?

2003-02-17 Thread Marco Tedone
Yes, I think I'll do that. I could design an underlying service which could ask to the Factory to return bean's instance and it would contain the business methods implementation and error mapping. This way an Action will have to ask only for result(i.e., getCatalogs()), letting the service

RE: [ANNOUNCE] Event Foo In US state blah

2003-02-17 Thread James Turner
-Original Message- From: Alex McLintock [mailto:[EMAIL PROTECTED]] Is no one going to do a Struts event in the UK? There is supposedly an apache meetup in London organised through http://apache.meetup.com but last one didn't have enough responders to be worthwhile. Alex

RE: Struts design flaw -- ActionForms are not true domain objects

2003-02-17 Thread NYIMI Jose (BMB)
True data binding is generally inflexible and troublesome. Having come from the VB world many years ago, and its data binding way of doing things, I can say that I can't stand it. Having a middle ground creates more opportunities and power than not having it. I know some who still

Fw: TilesAction and Controller

2003-02-17 Thread BaTien Duong
Question: Just check to make sure that the controllerClass (NOT controllerURL) used in tiles:insert tag can extends TilesAction (and NOT implements Controller)? - Original Message - From: BaTien Duong [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Sunday, February

RE: [OT] Struts and Design Patterns

2003-02-17 Thread Jerome Jacobsen
This has already been done by Ted in his book, I think. At least in the downloadable draft version there is a Patterns chapter. Actually it is Appendix D. -Original Message- From: Matt Raible [mailto:[EMAIL PROTECTED]] Sent: Monday, February 17, 2003 11:57 AM To: [EMAIL PROTECTED]

Re: Struts design flaw -- ActionForms are not true domain objects

2003-02-17 Thread Robert McIntosh
NYIMI Jose (BMB) wrote: True data binding is generally inflexible and troublesome. Having come from the VB world many years ago, and its data binding way of doing things, I can say that I can't stand it. Having a middle ground creates more opportunities and power than not having it. I

RE: [Q] Is Struts use of BeanUtils and PropertyUtils inconsistent?

2003-02-17 Thread Craig R. McClanahan
See below. On Mon, 17 Feb 2003, Jim Krygowski wrote: Date: Mon, 17 Feb 2003 07:20:27 -0500 From: Jim Krygowski [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: [Q] Is Struts use of BeanUtils and

Re: Struts design flaw -- ActionForms are not true domain objects

2003-02-17 Thread Craig R. McClanahan
On Mon, 17 Feb 2003, Chris Halverson wrote: Date: Mon, 17 Feb 2003 09:16:01 -0600 From: Chris Halverson [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Struts design flaw -- ActionForms are not true domain

RE: Struts design flaw -- ActionForms are not true domain objects

2003-02-17 Thread NYIMI Jose (BMB)
Rod Johnson: The idea of copying properties from an action form to business command is inelegant and there is o support for type checking. Was there so far an around solution ? José. DISCLAIMER This e-mail and any attachment thereto may contain information which is confidential

RE: Struts design flaw -- ActionForms are not true domain objects

2003-02-17 Thread NYIMI Jose (BMB)
Rod Johnson: The idea of copying properties from an action form to business command is inelegant and there is no support for type checking. Was there so far an around solution ? José. DISCLAIMER This e-mail and any attachment thereto may contain information which is confidential

Re: Action not executed, only the *.do url is shown and the screen is empty

2003-02-17 Thread Jim Theodoridis
Hi. Check the log files of your container to see the errors. Usualy this occurs because of wrong path of the JSP Check the line forward name=success-login path=/index2.jsp / - Original Message - From: Bert Catsburg [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 17,

Announce: Struts talk .. labs live online w/ 4 Authors

2003-02-17 Thread Vic Cekvenich
Ted James have now both graciously agreed to join the WebEx labs. Try to see them in person! (I just did DC 2 weeks ago). But if you can’t…. you can see their presentation and hear them live from your home or work, shortly after their live shows. This in addition to doing real labs for multi

Re: Action not executed, only the *.do url is shown and the screenis empty

2003-02-17 Thread Bert Catsburg
More info: The tomcat logfile shows: 2003-02-17 18:38:36 action: Processing a POST for /logon 2003-02-17 18:38:36 action: Looking for ActionForm bean under attribute 'logonForm' 2003-02-17 18:38:36 action: Creating new ActionForm instance of class 'fimp.logon.LogonForm' 2003-02-17 18:38:36

RE: Struts design flaw -- ActionForms are not true domain objects

2003-02-17 Thread Brandon Goodin
Just monitoring this thread. I wanted to put my 2 cents in. Being a big dummy ;-) I was thinking... Looking at each view technology that exists out there (JSP,XML,XHTML,WAP,Swing,SWT etc...). We face the reality of having a base form in which the data is collected and transported. In a markup

Struts design flaw -- ActionForms are not true domain objects

2003-02-17 Thread Ted Husted
I think Rod makes a common mistake in believing Struts is suppose to act as the base of your domain architecture. Struts is a presentation layer controller. Sophisticated applications will also need their own *domain layer* controller. Yes, ActionForms are not domain objects. They are not

Velocity. Validator and Indexed Properties

2003-02-17 Thread Sujay D'Souza
Hello, I have been using Vel-tools (struts) as the view technology along with struts for a while now. I am trying to get Indexed properties on a Velocity Template which is used as an input form which then needs to be validated by Struts validator. I am using dyna beans, and the Value Object is

RE: Struts design flaw -- ActionForms are not true domain objects

2003-02-17 Thread David Graham
Validation code shouldn't be contained in web-tier controllers or any objects unique to the web tier. This allows the reuse of validation objects for other client types. You can perform absolutely no validation in the Struts web tier if you choose. Validate wherever you like; Struts provides

Re: Struts design flaw -- ActionForms are not true domain objects

2003-02-17 Thread Robert McIntosh
Touche... Of course I have to shamelessly plug our domain layer framework, eQ!(www.browsersoft.com/eQ) :-) One of the goals is to be UI independant, as well as deployment independant (app server, client-server, standalone), but we also provide adapters for Swing and of course Struts. If we had

Re: Struts design flaw -- ActionForms are not true domain objects

2003-02-17 Thread Craig R. McClanahan
* Thus a Struts ActionForm is not a true domain object. Definitely true -- ActionForm is a view tier object, used (by the framework, not the application) to maintain the server-side state of input fields on an HTML form. Trying to treat it as a domain object is a misuse of Struts, and

Re: TilesAction and Controller

2003-02-17 Thread BaTien Duong
I found the following in tilesAdvancedFeatures: If you use a class name as controller, it should extend one of the following base classes or interfaces: org.apache.struts.action.Action (wrapper org.apache.struts.action.StrutsActionControllerWrapper is used) If you provide a Struts Action

Re: html:select tag and the value attribute

2003-02-17 Thread John C Cartwright
Thanks for the prompt reply, David. I didn't realize that there was a Struts-EL library, where would I find such a beast? I don't see mention of it in the 1.1b3 distribution nor in the on-line docs. Thanks again! -- john David M. Karr wrote: John == John C Cartwright John writes:

Re: Action not executed, only the *.do url is shown and the screenis empty

2003-02-17 Thread Bert Catsburg
Jim, Thanks for your answer. To be sure I changed the index2.jsp to main.jsp, maybe it looks too much like the index.jsp. (Yes, you try the less obvious at some point) No luck. To answer your question on the errors int the logfile of the container, I posted the other reply with more info on that.

RE: Struts design flaw -- ActionForms are not true domain objects

2003-02-17 Thread John Cavacas
I think Rod makes a common mistake in believing Struts is suppose to act as the base of your domain architecture. Struts is a presentation layer controller. Sophisticated applications will also need their own *domain layer* controller. [John Cavacas] I have to disagree with that statement

RE: Struts design flaw -- ActionForms are not true domain objects

2003-02-17 Thread NYIMI Jose (BMB)
It's 19h22 in Belgium : time for me to go home :-) Thanks for your input ... Soon ? José. DISCLAIMER This e-mail and any attachment thereto may contain information which is confidential and/or protected by intellectual property rights and are intended for the sole use of the

Re: Struts design flaw -- ActionForms are not true domain objects

2003-02-17 Thread Robert S. Sfeir
On Monday, Feb 17, 2003, at 13:04 US/Eastern, John Cavacas wrote: Struts is great for what it does, and Rods Spring Framework also seems great at what it does. There are also flaws in both Struts and Spring. But that's the beauty and simplicity of all of this. If you don't like something,

Re: html:select tag and the value attribute

2003-02-17 Thread David M. Karr
John == John C Cartwright John writes: John Thanks for the prompt reply, David. I didn't realize that there was a John Struts-EL library, where would I find such a beast? I don't see mention of it John in the 1.1b3 distribution nor in the on-line docs. It's in a directory in the

Re: Action not executed, only the *.do url is shown and the screenis empty

2003-02-17 Thread Bert Catsburg
Hello, Found the solution. The answer was lying around in my first posting on this subject. Somewhere I read that the method in the Action was called 'execute'. So, I used that. But the ActionServlet start the method 'perform' and I did not have that one. That's why I did not get an error but the

RE: [OT] Struts and Design Patterns

2003-02-17 Thread Thorsten Schäfer
Hi, This has already been done by Ted in his book, I think. At least in the downloadable draft version there is a Patterns chapter. Actually it is Appendix D. Wow, that's exactly what I'm searching! Can you tell me where it's possible to download this draft version? Thanks in advance,

RE: [OT] Struts and Design Patterns

2003-02-17 Thread Jerome Jacobsen
It appears I was wrong. You can only download the Tiles and Validator chapters (these are the final versions). http://www.manning.com/getpage.html?project=hustedfilename=chapters.html Ted had sent me the draft of the entire book at one point but it looks like you can't download these chapters

RE: [OT] Struts and Design Patterns

2003-02-17 Thread Pani, Gourav
Well, it isn't like his book isn't available in stores. If you want to read it, you could always buy a copy. It is a really good read. -Original Message- From: Jerome Jacobsen [mailto:[EMAIL PROTECTED]] Sent: Monday, February 17, 2003 3:42 PM To: Struts Users Mailing List Subject: RE:

RE: [OT] Struts and Design Patterns

2003-02-17 Thread Jörg Maurer
And for the unpatient ones, you can pay + download it as pdf directly from manning online. -Original Message- From: Pani, Gourav [mailto:[EMAIL PROTECTED]] Sent: Montag, 17. Februar 2003 21:45 To: 'Struts Users Mailing List' Subject: RE: [OT] Struts and Design Patterns Well, it isn't

Re: [OT] Struts and Design Patterns

2003-02-17 Thread Matt Raible [EMAIL PROTECTED]
Figures... I own the book and left it at work. Anyone care to save me a trip into the office to verify this? Thanks, Matt --- In [EMAIL PROTECTED], Jerome Jacobsen [EMAIL PROTECTED] wrote: This has already been done by Ted in his book, I think. At least in the downloadable draft version

RE: [OT] Struts and Design Patterns

2003-02-17 Thread Jerome Jacobsen
The table of contents is available online. It is listed there as Appendix A. http://www.manning.com/getpage.html?project=hustedfilename=contents.html -Original Message- From: Matt Raible [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, February 17, 2003 3:54 PM To: [EMAIL

re: Velocity. Validator and Indexed Properties

2003-02-17 Thread Ted Husted
Does anybody have any tips for getting the validation portion working along with vel-struts. I'm using the Velocity View Tools for Struts with the Validator and conventional beans without a problem. What happens if you just fail validation without using the validator? Or use conventional

Log detail question

2003-02-17 Thread Ian Hunter
I have low verbosity and debug=0 set in server.xml, but I keep getting all this useless (in production, anyway) detail in my logs: 2003-02-17 17:05:40 default: DefaultServlet.serveResource: Serving resource '/main.css' headers and data 2003-02-17 17:05:46 action: Processing a POST for /logon

tag inside the attribute of another tag?

2003-02-17 Thread Ginger Cheng
Hello, I am trying to use the jsp:plugin to include an applet in my jsp page. But I want the codebase of my applet and jar file to come from the result of html:rewrite. However, the interpretation stops at the slash right after 'page', saying that attribute has no value. But the slash has to

Re: tag inside the attribute of another tag?

2003-02-17 Thread David Graham
You can't use tags as input to another tag's attribute. You can use scriptlets or expression language to provide dynamic attribute values. David From: Ginger Cheng [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: tag inside the attribute

Re: tag inside the attribute of another tag?

2003-02-17 Thread Ginger Cheng
Hello, May I know how I may have the scriptlet of html:rewrite? Thank you for help. At 03:32 PM 2/17/2003 -0700, you wrote: You can't use tags as input to another tag's attribute. You can use scriptlets or expression language to provide dynamic attribute values. David From: Ginger

RE: Struts design flaw -- ActionForms are not true domain objects

2003-02-17 Thread Marco Tedone
Well said, and that's the reason why I like so much to write and use web applications. Marco -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Monday, February 17, 2003 5:26 PM To: Struts Users Mailing List Subject: Re: Struts design flaw -- ActionForms are

RE: Struts design flaw -- ActionForms are not true domain objects

2003-02-17 Thread Marco Tedone
I would say DTO -Original Message- From: NYIMI Jose (BMB) [mailto:[EMAIL PROTECTED]] Sent: Monday, February 17, 2003 5:35 PM To: Struts Users Mailing List Subject: RE: Struts design flaw -- ActionForms are not true domain objects Rod Johnson: The idea of copying properties from an

Attribute indexed invalid according to the specified TLD

2003-02-17 Thread MarwanSalam [EMAIL PROTECTED]
Hi, I am getting Attribute indexed invalid according to the specified TLD in my JSP. Here is part of my ActionForm: private List parameterList = new ArrayList(); public List getParameterList() { logger.debug(List size is: + this.parameterList.size()); return

Re: html:select tag and the value attribute

2003-02-17 Thread John C Cartwright
Very cool! -- thanks very much for your help and for contributing Struts-EL! -- john David M. Karr wrote: John == John C Cartwright John writes: John Thanks for the prompt reply, David. I didn't realize that there was a John Struts-EL library, where would I find such a

Re: Attribute indexed invalid according to the specified TLD

2003-02-17 Thread Kris Schneider
Try: http://jakarta.apache.org/struts/doc-1.0.2/struts-html.html#text You're looking at the 1.1 stuff... MarwanSalam wrote: Hi, I am getting Attribute indexed invalid according to the specified TLD in my JSP. Here is part of my ActionForm: private List parameterList = new ArrayList();

RE: date format

2003-02-17 Thread Desmond
Use the SimpleDateFormat to do it so. Refer this webpage http://java.sun.com/docs/books/tutorial/i18n/format/simpleDateFormat.html -Original Message- From: usha [mailto:[EMAIL PROTECTED]] Sent: Monday, February 17, 2003 3:38 AM To: [EMAIL PROTECTED] Subject: date format Hi i need to

RE: date format

2003-02-17 Thread Mark Chaimungkalanont
Going for a neat solution, in our project, we tried extending sql.Date and overwriting the toString method to output a date formatted with SimpleDateFormat in dd/MM/ format, We then used this data type as our Date type in our data beans so that when you do a bean:write on it, it will output

re: Help about Model design

2003-02-17 Thread Ted Husted
Heligon Sandra writes: I would wish to know if somebody know the address of a forum where the model part is brought for web application. You can probably find what you are looking for at the ServerSide http://www.theserverside.com/home/index.jsp -T. -- Ted Husted, Struts in Action

html:errors/

2003-02-17 Thread varma dvk
Hi frenz, Here goes my problem... How can i display action errors at different different places in jsp. For example i have username and password fields in a jsp.If the username is null then i want display the error right behind the username text box...n the same for password.. how can i do

last item in iterate loop

2003-02-17 Thread Miriam Aguirre
Hi hi, Quick question, (I hope this is easy), is there any way to easily find out if the current item in a logic:iterate loop is the last item ? -Miriam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: html:errors/

2003-02-17 Thread David Graham
http://jakarta.apache.org/struts/userGuide/struts-html.html#errors See the property attribute. David From: varma dvk [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: html:errors/ Date: Mon, 17 Feb 2003 18:09:03 +0530 Hi frenz, Here goes

Re: html:errors/

2003-02-17 Thread Affan Qureshi
Does this work for nested:errors/ as well? Or do I have to do something different? Affan - Original Message - From: David Graham [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 18, 2003 8:31 AM Subject: Re: html:errors/

Re: html:errors/

2003-02-17 Thread David Graham
I don't use nested but I think it will work the same as html:errors. David From: Affan Qureshi [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: html:errors/ Date: Tue, 18 Feb 2003 09:16:00 +0500 Does this

  1   2   >