RE: Struts1.1 and iPlanet Web Server 6.0 sp5

2003-08-30 Thread Bueno, Maurice
Interesting - what experiences do you have with the combo. Unfortunatly, we're not in a posisiton to move away from iPlanet in the time frame of this project that requires a struts like framework because part of the preexisting application depends on the iPlanet search collections facilities. Can

RE: Struts Validator and Hidden Field

2003-08-30 Thread Wendy Smoak
Octavia wrote: I have tried to validate it as any other input field, but have not had any luck. Any suggestions/ideas? Thanks much! You'll have to post some of your code before anyone will have any idea why it's not working. The Validator also logs copious amounts of info, you should be able

RE: [FRIDAY] RE: Vacancy

2003-08-30 Thread Bill Chmura
Snif, snif... I told myself I wouldn't cry, but look at me... Well, I would like to thank my parents, my brother, the Jarakta project and of course I could not have done this without the help of Andrew... Thanks again... -Original Message- From: Adam Hardy [mailto:[EMAIL

(Tiles) format message

2003-08-30 Thread Ray Madigan
I have a tile I use to build a html control that has to write a string. I use several message bundles within my application. I pass the bundle into the tile. Is it legal to pass in the name of the bundle to the tile. What happens is somehow the first bundle that is written to is used for all

Re: Suggestion of a java package hierarchy for a Struts project

2003-08-30 Thread Robert Leland
Jean-Michel Garnier wrote: My company is going to use Struts for all its web applications and we have defined a standard java package hierarchy. I submit the result of our work to the community so any company new to Struts could use it. If you are currently using Struts, I am interested by your

Re: Remote Debugging facility

2003-08-30 Thread Jason Lea
Yes, I use it. Version of Java is probably more importent than version of Tomcat. I'm using Tomcat v4.1.24, Java 1.4.2, on Windows 2000. Tomcat is installed as a service. I use these settings: -Xrs -Xdebug -Xnoagent -Djava.compiler=NONE

Support for optgroup ina select list

2003-08-30 Thread Richard Mixon
I've searched the documentation and mailing lists and find only a couple of oblique references to the optgroup option for select lists. Is there any way to support this directly or indirectly? Thanks - Richard - To

Re: form submit - nested property problem

2003-08-30 Thread Arron Bates
I think that the mix of original Struts tags and nested tags is getting you a little confused. Using the nested:text tags and such inside a basic iterate tag will yield no benefit, may as well use the plain logic and html tags. Try this nested tag markup... nested:root name=fagtypeform

RE: [FRIDAY] RE: Vacancy

2003-08-30 Thread Indra Gunawan
Well Bill, Speaking about evil army or such things , the company is not doing all those things . May be you have seen too many scary movies , so you get distracted a little :) http://www.cpthailand.com/ if you are not sure . May be they can hire you for higher salary than you have right now :)

[ANNOUNCE] Core J2EE Patterns -- Expanded and Updated in Second Edition

2003-08-30 Thread Ted Husted
From the Back Cover: The authors do a great job describing useful patterns for application architectures. The section on refactoring is worth the price of the entire book! -- Craig McClanahan, Struts Founder and Specification Lead for JavaServer Faces Developers often confuse learning the

RE: [FRIDAY] RE: Vacancy

2003-08-30 Thread Bill Chmura
Ah-Ha! Not doing ALL those things? So it IS doing some? Hmm Perhaps we should move this to [EMAIL PROTECTED] -Original Message- From: Indra Gunawan [mailto:[EMAIL PROTECTED] Sent: Saturday, August 30, 2003 12:54 AM To: 'Struts Users Mailing List'; '[EMAIL

RE: [FRIDAY] RE: Vacancy

2003-08-30 Thread Indra Gunawan
Come on Bill , wake up :) -Original Message- From: Bill Chmura [mailto:[EMAIL PROTECTED] Sent: Saturday, August 30, 2003 2:05 PM To: 'Struts Users Mailing List' Subject: RE: [FRIDAY] RE: Vacancy Ah-Ha! Not doing ALL those things? So it IS doing some? Hmm Perhaps we should move

How can I construct STRUTS select options tag according to a parameter ?

2003-08-30 Thread Fumitada Hattori
Hi there. How can I construct STRUTS select options tag according to a parameter ? I got a jsp named example_1.jsp. One accesses the page with a parameter like example_1.jsp?id=2 . Now what I wanna do is that the example_1.jsp get the value of id parameter and construct select options tag

RE: validating mapped properties

2003-08-30 Thread Gandle, Panchasheel
Hi Yusuf, I had earlier posted for similar requirements but nobody replied and even I check on some places on the net about it, but it seems, there is nothing available. so then I wrote some of the basic validators for mapped properties. It seems to be working good. let me know if you need it.

load data into form for editation

2003-08-30 Thread Jiri Chaloupka
Hallo, what is the correct way to load data from db into form? I have some form: html:form action=/FinishRegister method=post focus=registerFull table border=0 tr tdbean:message key=register.name.Fullname /:/td tdhtml:text property=fullname //td /tr tr

Re: [OT] sslext java.lang.IllegalStateException: sendError() failed- data has already been sent to client

2003-08-30 Thread Adam Hardy
It might sound like Microsoft Support Hotline, but you should upgrade to the full 1.1 release. Plus of interest would be the tomcat version. On 08/29/2003 11:22 PM Robert Taylor wrote: I'm using Struts1.1rc2 with sslext for Struts1.1rc2 and am seeing some peculiar behavior when an invalid path

Re: load data into form for editation

2003-08-30 Thread Ross Sargant
Hi there, It looks to me like you need to include a form bean reference in your action so that Struts will instantiate the (intially empty) form bean.This means that ((DynaActionForm)form).set(registerFull, registerDTO); actually has a form object to work with. Presumably you have a form

Re: Repost: Validations in Action Form

2003-08-30 Thread Joe @ Team345
No, IMO you should not do what you outline. Rather, use the Struts Validator Framework to do validation. It took me a little bit to get the first required validation to work right. After that though you get used to it very fast. It is simple, extensible and your validations are not in code,

Re: [OT] RE: What is Java Server faces ?

2003-08-30 Thread Micael
Come on, Mark. This guy is not necessarily what you are assuming. Maybe he just cannot tell what the difference and relations are between JSF and Struts. That is not a trivial issue in some ways of interpreting this. Boy, you are MEAN! LOL. At 09:26 AM 8/29/2003 -0400, Mark Galbreath

Re: How can I construct STRUTS select options tag according to aparameter ?

2003-08-30 Thread Ted Husted
The simplest thing would be to have the Action create a LabelValue bean collection from state and cities, and pass that collection instead. http://jakarta.apache.org/struts/api/org/apache/struts/util/LabelValueBean.html A good practice is to use Actions to front any page that uses dynamic

Re: J2EE IDE

2003-08-30 Thread Ted Husted
Razi Ansari wrote: IntelliJ IDEA is the way to go +1. It costs money, but, then, so do I =:) See also http://nagoya.apache.org/wiki/apachewiki.cgi?MyFavoriteIDEAndWhy -Ted. -- Ted Husted, Junit in Action - http://www.manning.com/massol/, Struts in Action -

Re: What's an ActionForm?

2003-08-30 Thread Ted Husted
When discussing patterns, like View Helper and Context, it's important to remember that these are *patterns* not architectural elements. In an implementation, a class will often use several patterns. An ActionForm is both a Context and a View Helper. It's a Context when the Request Processor

getting at public static class constant field values in EL script

2003-08-30 Thread Adam Hardy
I am doing my error page and I want to test for the presence of an error collection, which struts puts in the request using a key string defined by org.apache.struts.Globals.ERROR_KEY It is actually org.apache.struts.action.ERROR I can't even work out how to do the simplest c:out/ tag to

Re: getting at public static class constant field values in EL script

2003-08-30 Thread James Mitchell
You can take advantage of the Unstandard tags. Here's a : This doesn't directly answer your question, but I'm sure you are smart enough to derive your answer from the following archived post on taglib-users from July: I'm wondering if there is a way I could compare a scoped variable to a

RE: Struts1.1 and iPlanet Web Server 6.0 sp5

2003-08-30 Thread Juan Alvarado
At my last job we could not use struts 1.1 with iplanet 6.xx because of classpath issues. This is something that as of the time I left, it had not been resolved. Apart from that, iplanet in general was not a very reliable platform for us. Web consoles didn't work, JSPs were not compiled when

RE: [OT] sslext java.lang.IllegalStateException: sendError() failed - data has already been sent to client

2003-08-30 Thread Robert Taylor
Adam, thanks for the reply but upgrading won't help in this case. I've already looked at the source for the full 1.1 release and this issue is not addressed. Also, I'm not using Tomcat, I'm using ServletExec4.2 with the latest patch. The servlet container has nothing to do with this problem. It

Re: getting at public static class constant field values in EL script

2003-08-30 Thread David M. Karr
Adam == Adam Hardy [EMAIL PROTECTED] writes: Adam I am doing my error page and I want to test for the presence of an error Adam collection, which struts puts in the request using a key string defined by Adam org.apache.struts.Globals.ERROR_KEY Adam It is actually

[OT] RE: getting at public static class constant field values in EL script

2003-08-30 Thread Mike Whittaker
Some people (me included) have proposed the possibility of having a class at startup use reflection to load the static variables of a class into a map that's stored in one of the accesible scopes. Absolutely, you could have a class that you register other classes with, these classes could then

[OT] jstl forEach problem

2003-08-30 Thread Johan
Hi, I have a JSTL question and the answers in the archives don't solve the problem. So maybe one of you run into the problem ones I have an ArrayList containing Objects. c:forEach var=document items=${sessionScope.user.session.workDocuments} c:out value=${document.carBrand.name} /

Re: What is Java Server faces ?

2003-08-30 Thread Ted Husted
Since this has become a common question, sure to become commoner, we put a link on the front page. You can now see the link at the bottom of http://jakarta.apache.org/struts/ -Ted. Madhu Nair wrote: Hi, What is java server faces technology? Is it similar to Struts ? Will all that I learnt