Strange problem with jsp:include

2003-02-07 Thread Ray
Hi there; I wonder if someone could tell me why the following happens: I have a JSP form that looks something like this:   Want to get in touch? Just fill in the form below, and press 'send'

Re: Validator question

2003-02-07 Thread Jamal Najmi
I found the error - I had not copied the basic error resources from validator_rules.xml into my application resource file. Thanks for looking into it though!! Jamal Rob Leland <[EMAIL PROTECTED]> wrote: Did you 'new HashMap()' all your HashMap's in you ActionForm ? > >Any ideas why I am get

Re: Validator question

2003-02-07 Thread Rob Leland
Did you 'new HashMap()' all your HashMap's in you ActionForm ? Any ideas why I am getting this error? I will really appreciate the help. It looks like I am not defining the error properly and the MessageTag is throwing excetpion. I will really appreciate any help I can get. Thanks!! Jam

Re: Design Questio

2003-02-07 Thread Rob Leland
Justin F. Knotzke wrote: Hi, I am sure this is a basic question. Take a situation in where we have 2 JSPs, 2 ActionForms, and 2 ActioForward classes: a.jsp b.jsp ActionFormA.class ActionFormB.class ActionForwardA.class ActionForwardB.class a.jsp has form who's

Validator question

2003-02-07 Thread Jamal Najmi
I am developing my Struts first application with Strus 1.3b. I am using Validator Frameqork that is a part of Struts Commons. I intend to use Validator Framework with the ValidatorActionForm instead of usual DynaActionForm. What I have done is really try to follow the registration example th

Re: Design Questio

2003-02-07 Thread Scott Barr
Correcting :) Consider this scenario 1. An ActionForwardA forwards to a a.jsp with ActionFormA 2. a.jsp is submitted 3. ActionForwardB gets an ActionFormA, does some 'happy-happy' stuff, then forwards to x.jsp with ActionFormB. Regards Scott Barr On Sat, 2003-02-08 at 14:29, Justin F. Knotzke

Design Questio

2003-02-07 Thread Justin F. Knotzke
Hi, I am sure this is a basic question. Take a situation in where we have 2 JSPs, 2 ActionForms, and 2 ActioForward classes: a.jsp b.jsp ActionFormA.class ActionFormB.class ActionForwardA.class ActionForwardB.class a.jsp has form who's action paramete

jbuilder8 and struts: "missing message key" error

2003-02-07 Thread miguel angel rojas aquino
hi, i'm evaluaring jbuilder8 ee for development with struts, i've setup a sample app with no database acces or anything fancy, and it works well, but now i'm trying to build a prototype app with oracle, and now it seems like jbuilder can't find the ApplicationResources.properties file. i've put

error forwarding/switching from one Action to another Action

2003-02-07 Thread Peterkofsky, Don
In a Struts Action class, when trying to forward to an action other than the current action, the action fails after executing and while forwarding to the JSP, and an error message like the one below is generated in Tomcat. The switching/forwarding is being done like this, from an action other t

Re: nest sytax.. looks cool but does it work? :)

2003-02-07 Thread Sundar Narasimhan
Hi, Sri: Thanks much for responding to my post. You write.. <%-- print the userFormName property of UserForm --%> <%-- Iterate over all the UserPrefForms --%> I almost have this but my selected preference is a property of the top level form.. I essentially have

RE: newbie question

2003-02-07 Thread Mark Galbreath
I haven't used 1.0.2 since last May and don't remember if there was a big difference in the ActionForm class. I know that upgrading to 1.1b-1 was a bitch, though. As for breaking out of an iteration, take a look at the rest of the tag documentation. I'm sure you will have an "aha" experience (e

RE: Can't download struts sources

2003-02-07 Thread Mark Galbreath
Use http://www.apache.org/dist/jakarta/struts/ -Original Message- From: Thorsten Schäfer [mailto:[EMAIL PROTECTED]] Sent: Friday, February 07, 2003 4:06 PM To: [EMAIL PROTECTED] Subject: Can't download struts sources Hi, At http://jakarta.apache.org/site/sourceindex.html, the struts so

RE: Can't download struts sources

2003-02-07 Thread Mark Galbreath
You can find it at http://www.apache.org/dist/jakarta/struts/ Mark -Original Message- From: Robert Leland [mailto:[EMAIL PROTECTED]] Sent: Friday, February 07, 2003 4:58 PM To: Struts Users Mailing List Subject: Re: Can't download struts sources Thorsten Schäfer wrote: > Hi, > > At ht

RE: Rendering alternate rows of a table in Struts

2003-02-07 Thread Craig R. McClanahan
On Fri, 7 Feb 2003, Micael wrote: > > That is, as they say, "WAY COOL". Someone is thinking. > That's why we went to a new major version number (2.0) instead of an incremental update (it was originally proposed to be 1.3). And these two new features are only two of lots ... The "Proposed Fin

newbie question

2003-02-07 Thread Charles Liu
Hi, I am new to struts and I have two questions: 1. how do I break out loop if certain condition is met? 2. I have html form like this create drop I am thinking create a Map in the form bean, "1234" as key and "create" as value(I need both information). I know this wil

RE: Rendering alternate rows of a table in Struts

2003-02-07 Thread Craig R. McClanahan
On Fri, 7 Feb 2003, Sundar Narasimhan wrote: > Date: Fri, 7 Feb 2003 16:02:32 -0500 > From: Sundar Narasimhan <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED], [EMAIL PROTECTED] > Subject: RE: Rendering alternate rows of a table in Struts > > Hi, Craig: > > >JSTL in particular covers a huge amount of

Re: Can't download struts sources

2003-02-07 Thread Robert Leland
Thorsten Schäfer wrote: Hi, At http://jakarta.apache.org/site/sourceindex.html, the struts sources cannot get downloaded. I'm getting a 404 error. Works for me. I just clicked that page then go down to 'Struts' link then download a package. It was broken about 3 days ago, try clearing your cac

user customizing

2003-02-07 Thread LUCERO,DENNIS (HP-Boise,ex1)
Hello, I am looking for resources that would help me to provide the ability for a user to customize their home page. Both informational and functional resources would be of help. thanks We come from the land of the ice and snow With the midnight sun, where the hot springs glow The hammer of t

Can't download struts sources

2003-02-07 Thread Thorsten Schäfer
Hi, At http://jakarta.apache.org/site/sourceindex.html, the struts sources cannot get downloaded. I'm getting a 404 error. Greetings, Thorsten - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EM

RE: Rendering alternate rows of a table in Struts

2003-02-07 Thread Micael
That is, as they say, "WAY COOL". Someone is thinking. At 12:28 PM 2/7/03 -0800, you wrote: On Fri, 7 Feb 2003, Mark Galbreath wrote: > Date: Fri, 7 Feb 2003 14:35:18 -0500 > From: Mark Galbreath <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: 'Struts Users

constom the "validation error" mesg

2003-02-07 Thread david chan
Hi, I am using Struts 1.1b3 and Tomcat 4.1.12 and wondering how can I constomize the mesg "Validation Error You must correct the following error(s) before proceeding:" When I use tag in my jsp. This mesg comes up whenever I use the then followed by my own mesg. 1) How can I remove this mesg

RE: [OT] Scriptlets vs. tags

2003-02-07 Thread David Graham
I'm not sure that it explains anything. David From: "Mark Galbreath" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Subject: RE: [OT] Scriptlets vs. tags Date: Fri, 7 Feb 2003 16:01:55 -0500 Well, THAT certai

problem with ActionForward to another domain

2003-02-07 Thread Christopher Hamersley
I want to return an ActionForward from an Struts Action class that causes a redirect to a new domain (another computer). I have tried setting redirect to true and contextRelative to false.. to no avail. The local domain is preappended to my absolute url. Does anyone know how to do this.. or if

RE: Rendering alternate rows of a table in Struts

2003-02-07 Thread Assenza, Chris
Indeed, JSP is starting to feel mature in many more ways. :) Chris -Original Message- From: David Graham [mailto:[EMAIL PROTECTED]] Sent: Friday, February 07, 2003 3:54 PM To: [EMAIL PROTECTED] Subject: RE: Rendering alternate rows of a table in Struts Cool! JSP is catching up to ColdF

RE: Rendering alternate rows of a table in Struts

2003-02-07 Thread Assenza, Chris
Craig wrote: > * Tag files, which allow a page author to point at a chunk of > JSP code (which might itself have tag invocations insode) and > say, in effect, "treat this chunk of stuff as a custom tag". > Now, page authors can create and reuse presentation-ish stuff > just as easily as Ja

RE: Rendering alternate rows of a table in Struts

2003-02-07 Thread Sundar Narasimhan
Hi, Craig: >JSTL in particular covers a huge amount of ground on the nitty gritty >things, and (where it overlaps with things in the struts-bean and >struts-logic libraries) does it much better, mostly thanks to the >expression language's power. I couldn't agree w/ this statement more after spen

RE: [OT] Scriptlets vs. tags

2003-02-07 Thread Mark Galbreath
Well, THAT certainly explains a lot! ;-)~ -Original Message- From: David Graham [mailto:[EMAIL PROTECTED]] Sent: Friday, February 07, 2003 3:54 PM Cool! JSP is catching up to ColdFusion's ease of use. I'm a big CF fan but there's really no need for it when we have free Java. David

RE: [OT] Scriptlets vs. tags

2003-02-07 Thread Mark Galbreath
It's a common humorous way of making exclusive statements about a class of things. The implication is often that of the X is a mystery accessible only to the enlightened. Thus my light-hearted association of X = tags_fascists. -Original Message- From: Durham David Cntr 805CSS/SCBE [mailt

RE: [Tiles] How to get rid of redundant code

2003-02-07 Thread Thorsten Schäfer
Hi, This works great. Thanks for opening my eyes ;) Thorsten > > I'm using tiles with definitions and I've a lot of pages with the same > > structure. The problem is, that I need always two files for one page: a > > page for the structure and one for the content. These pages look like > > this:

RE: Rendering alternate rows of a table in Struts

2003-02-07 Thread David Graham
Cool! JSP is catching up to ColdFusion's ease of use. I'm a big CF fan but there's really no need for it when we have free Java. David You are correct that designing correct tags in JSP 1.1/1.2 isn't all that easy. However, folks will *really* like what is coming up in JSP 2.0 in this area --

RE: [OT] Scriptlets vs. tags

2003-02-07 Thread Durham David Cntr 805CSS/SCBE
Doesn't seem relevant. > -Original Message- > From: Mark Galbreath [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 07, 2003 2:47 PM > To: 'Struts Users Mailing List' > Subject: RE: [OT] Scriptlets vs. tags > > > Could be...it's a hacker derivative of the Tao te Ching, "The > Tao whi

RE: Rendering alternate rows of a table in Struts

2003-02-07 Thread Durham David Cntr 805CSS/SCBE
> > -Original Message- > > From: David Graham [mailto:[EMAIL PROTECTED]] > > Sent: Friday, February 07, 2003 3:13 PM > > To: [EMAIL PROTECTED] > > Subject: RE: Rendering alternate rows of a table in Struts > > > > > > How is this: > > > > > > " /> > > > > easier to understand than thi

RE: [OT] Scriptlets vs. tags

2003-02-07 Thread Mark Galbreath
Could be...it's a hacker derivative of the Tao te Ching, "The Tao which can be spoken of is not the true Tao." -Original Message- From: Durham David Cntr 805CSS/SCBE [mailto:[EMAIL PROTECTED]] Sent: Friday, February 07, 2003 3:41 PM What is this metaphysical truth? > -Original Messa

RE: Rendering alternate rows of a table in Struts

2003-02-07 Thread Dennis Doubleday
> -Original Message- > From: David Graham [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 07, 2003 3:13 PM > To: [EMAIL PROTECTED] > Subject: RE: Rendering alternate rows of a table in Struts > > > How is this: > > > " /> > > easier to understand than this: > > > > Well,

RE: [OT] Scriptlets vs. tags

2003-02-07 Thread Durham David Cntr 805CSS/SCBE
What is this metaphysical truth? > -Original Message- > From: Mark Galbreath [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 07, 2003 2:26 PM > To: 'Struts Users Mailing List' > Subject: RE: [OT] Scriptlets vs. tags > > > Yeah, well just remember that the X that can be Y is not the t

RE: Opinions: fine or coarse grained actions

2003-02-07 Thread Assenza, Chris
The new one on design patterns: http://www.amazon.com/exec/obidos/tg/detail/-/0321127420/qid=1044650306/sr=8 -1/ref=sr_8_1/104-1055391-3511918?v=glance&s=books&n=507846 Chris -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED]] Sent: Friday, February 07, 2003 3:37 PM To: 'S

RE: Opinions: fine or coarse grained actions

2003-02-07 Thread Mark Galbreath
Is that in "Refactoring: Improving the Design of Existing Code" or his co-authored book on design patterns? Mark -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED]] Sent: Friday, February 07, 2003 3:12 PM Personally, I liken the fine-grained Actions to what Fowler [1] calls

RE: [OT] Jasper's TagHandlerPool and reusing tag handlers

2003-02-07 Thread Sri Sankaran
I just tried it with the nightly of 2003-02-07. The problem persists. Sri > -Original Message- > From: Karr, David [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 07, 2003 3:20 PM > To: Struts Users Mailing List > Subject: RE: [OT] Jasper's TagHandlerPool and reusing tag handlers >

RE: Rendering alternate rows of a table in Struts

2003-02-07 Thread Craig R. McClanahan
On Fri, 7 Feb 2003, Mark Galbreath wrote: > Date: Fri, 7 Feb 2003 14:35:18 -0500 > From: Mark Galbreath <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: 'Struts Users Mailing List' <[EMAIL PROTECTED]> > Subject: RE: Rendering alternate rows of a table in Struts

RE: [OT] Scriptlets vs. tags

2003-02-07 Thread Mark Galbreath
Yeah, well just remember that the X that can be Y is not the true X. -Original Message- From: Durham David Cntr 805CSS/SCBE [mailto:[EMAIL PROTECTED]] Sent: Friday, February 07, 2003 3:17 PM FUD > -Original Message- > From: David Graham [mailto:[EMAIL PROTECTED]] > Sent: Friday,

RE: Rendering alternate rows of a table in Struts

2003-02-07 Thread Mark Galbreath
Hey Ken! Would you please share the URL to this library? I read much about it but I can only find the .NET version ( http://www.dotnetmagic.com/ ). Where is the Java version? TIA, Mark -Original Message- From: Ken Anderson [mailto:[EMAIL PROTECTED]] Sent: Friday, February 07, 2003 2:45

RE: [OT] Jasper's TagHandlerPool and reusing tag handlers

2003-02-07 Thread Karr, David
I wonder if this was just recently fixed in the nightly build. I remember a problem with the nested tags getting the wrong "name" value, and I believe Aaron committed a fix for this in the last day or so. > -Original Message- > From: Sri Sankaran [mailto:[EMAIL PROTECTED]] > > Using Stru

RE: Rendering alternate rows of a table in Struts

2003-02-07 Thread Mark Galbreath
And why aren't you sharing? -Original Message- From: Durham David Cntr 805CSS/SCBE [mailto:[EMAIL PROTECTED]] Sent: Friday, February 07, 2003 2:52 PM What kind of smoke break are you taking? > -Original Message- > From: Ken Anderson [mailto:[EMAIL PROTECTED]] > Sent: Friday, Feb

RE: Rendering alternate rows of a table in Struts

2003-02-07 Thread Durham David Cntr 805CSS/SCBE
FUD > -Original Message- > From: David Graham [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 07, 2003 2:13 PM > To: [EMAIL PROTECTED] > Subject: RE: Rendering alternate rows of a table in Struts > > > How is this: > > > " /> > > easier to understand than this: > > > > > >

RE: Rendering alternate rows of a table in Struts

2003-02-07 Thread David Graham
How is this: " /> easier to understand than this: It's truly amazing that people are still advocating confusing scripting over easy tags. David From: "Dennis Doubleday" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMA

RE: Opinions: fine or coarse grained actions

2003-02-07 Thread Ted Husted
Fine-grained actions is one pattern. Coarse-grained actions is another. Sometimes the circumstances call for one, sometimes the other. Just as sometimes you need a singleton, and other times you need a factory. The beauty of Struts is that it lets you pick and choose which pattern to use when.

RE: Rendering alternate rows of a table in Struts

2003-02-07 Thread Dennis Doubleday
I just created a RowToggler class with a getValue() method that returns an alternating value each time you call it. Then, in JSP, I do: and on each table row: " /> which gives alternating rows different CSS class names. This especially works better than scripting if the data in the rows of the

validate

2003-02-07 Thread Diego
I have the following action in my struts-config: if the validate method in UserForm finds an error the controller should return focus to the input attribute, in this case "/add_user.jsp" right? In my case it comes back to a blank page and no exceptions are thrown. Any ideas?

[OT] Jasper's TagHandlerPool and reusing tag handlers

2003-02-07 Thread Sri Sankaran
Using Struts 1.1b3 on Tomcat 4.1.18 First let me state my problem: I found that some tags were failing because they were trying to retrieve a property from the wrong bean. I get the classic "No getter method for property foo of bean bar". Except, "bar" isn't the bean that it should've been

RE: Rendering alternate rows of a table in Struts

2003-02-07 Thread Durham David Cntr 805CSS/SCBE
What kind of smoke break are you taking? > -Original Message- > From: Ken Anderson [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 07, 2003 1:45 PM > To: [EMAIL PROTECTED] > Subject: RE: Rendering alternate rows of a table in Struts > > > Personally I prefer the new Java Magic librar

RE: Rendering alternate rows of a table in Struts

2003-02-07 Thread Ken Anderson
Personally I prefer the new Java Magic library. You just sprinkle the magic dust on your keyboard and say the magic words and BAM you got table rows with alternating colors. This way I don't have to argue with my fellow developers over scriplets vs. custom tags. We just all rely on Java Magic an

Re: Rendering alternate rows of a table in Struts

2003-02-07 Thread Mark Lepkowski
> >Oh, and cutting and pasting tags is better? > > Yes. This allows changes to occur in one place rather than every jsp using > the scriptlet. Sounds like tomato = to-may-to = to-mah-to to me (i.e., personal preference). In one case you have to maintain tags which are customized. In the othe

RE: Rendering alternate rows of a table in Struts

2003-02-07 Thread Durham David Cntr 805CSS/SCBE
I was thinking about just typing them, instead of searching around for something to cut and paste. The point is that the logic is one place. That's one the intents of OO right? If you know Java, then you can easily learn to write taglibs. It's not that difficult, if anyone out there is afrai

more forms best practices questions and a potential solution

2003-02-07 Thread p
I have read a lot of discussion on forms best practices in the list archives, but I have some questions that I don't think have been addressed: 1. PropertyUtils.copyProperties() only performs a shallow copy, according to it's JavaDoc description. So I think this means that the form properties

RE: Another logging question

2003-02-07 Thread pqin
It proved my suspicion - commons-logging didn't know log4j.properties's existence. Read commons-logging's document. There is a package description explains how to integrate log4j. Regards, PQ "This Guy Thinks He Knows Everything" "This Guy Thinks He Knows What He Is Doing" -Original Mes

RE: Rendering alternate rows of a table in Struts

2003-02-07 Thread David Graham
Oh, and cutting and pasting tags is better? Yes. This allows changes to occur in one place rather than every jsp using the scriptlet. David _ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com

RE: Another logging question

2003-02-07 Thread Davor Cengija
Susan Bradeen wrote: > Ok, I deleted log4j.properties and the application happily runs the same > as it has since I started this process ... all log messages are going to > the console. Should I be getting an error since the properties file is > gone now? I had problems similar to yours when upgr

RE: Rendering alternate rows of a table in Struts

2003-02-07 Thread Mark Galbreath
Oh, and cutting and pasting tags is better? With scriptlets, you need to know one thing: Java. With taglibs you must expand and juggle knowledge by an order of magnitude. Anybody who knows Java can understand a scriptlet; the converse cannot be said of taglibs. Mark -Original Message-

RE: validator

2003-02-07 Thread Durham David Cntr 805CSS/SCBE
blank page can mean that something like an out of memory error is being thrown. Did you check your server's logs for the exception? > -Original Message- > From: Diego [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 07, 2003 1:04 PM > To: Struts Users Mailing List > Subject: validator

RE: Rendering alternate rows of a table in Struts

2003-02-07 Thread Durham David Cntr 805CSS/SCBE
Taglibs aren't just useful to people working with HTML, they are a great way to reuse logic in JSP's. Cutting and pasting scriplets IMO is not. -Dave > -Original Message- > From: Mark Galbreath [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 07, 2003 1:07 PM > To: 'Struts Users Mail

Re: Help hiding jsp's using WebSphere

2003-02-07 Thread Davor Cengija
Brad Balmer wrote: > We are using WebSphere (4.0.3/5.0) and I am trying to place my jsp's in > the /WEB-INF/jsp directory. I am able to access these jsp's using the > simple HTML href tag, but cannot using struts and trying to reach it > through a global forward. > > My global forward looks lik

RE: Another logging question

2003-02-07 Thread Susan Bradeen
Ok, I deleted log4j.properties and the application happily runs the same as it has since I started this process ... all log messages are going to the console. Should I be getting an error since the properties file is gone now? On 02/07/2003 01:48:57 PM pqin wrote: > Remove your log4j.propert

RE: Rendering alternate rows of a table in Struts

2003-02-07 Thread Mark Galbreath
Well, let's be honest, dude. The great idea behind taglibs in the first place was to allow non-developers such as HTMLers and graphic artists to be able to manipulate content without understanding a programming language and keep real programmers (yes, I have a definition, if you are interested) fr

validator

2003-02-07 Thread Diego
I have the following action in my struts-config: if the validate method in UserForm finds an error the controller should return focus to the input attribute, in this case "/add_user.jsp" right? In my case it comes back to a blank page and no exceptions are thrown. Any ideas?

RE: Rendering alternate rows of a table in Struts

2003-02-07 Thread Mark Galbreath
Okay, okay...enough already! :-) I've SEEN the light! (right, Simon?) http://java.sun.com/products/jsp/taglibraries.html -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Friday, February 07, 2003 1:05 PM One of the nice things about custom tag libraries i

RE: Another logging question

2003-02-07 Thread pqin
Remove your log4j.properties and see if you will be getting the same result. Regards, PQ "This Guy Thinks He Knows Everything" "This Guy Thinks He Knows What He Is Doing" -Original Message- From: Susan Bradeen [mailto:[EMAIL PROTECTED]] Sent: February 7, 2003 1:48 PM To: Struts Use

RE: Another logging question

2003-02-07 Thread Susan Bradeen
Thanks, PQ. Is it just a matter of getting the log4j.properties file right? Almost seems like it isn't even getting acknowledged. I tried a number of log4j.properties file variations, as well as what was listed in the "short introduction to Log4j". For example ... log4j.rootLogger=DEBUG, A1

RE: resource files

2003-02-07 Thread Greg Dunn
I'm dynamically generating a form using JSTL to iterate over a collection of beans, one row in the form for each bean. I'm also dynamically populating fields from properties of those beans. There is a checkbox and a text field in each row which are prepopulated dynamically, and the user can chan

Re: Problem with struts, taglibs and i18n

2003-02-07 Thread Craig R. McClanahan
Sounds like you should modify your myDesign tag to take a "key" attribute and look up the corresponding message, like does. You could look at the source of that tag class (org.apache.struts.taglib.bean.MessageTag) for ideas on how to implement this. Craig On Fri, 7 Feb 2003, Tom Ziemer wrote:

RE: Nested tags -- Again

2003-02-07 Thread Sri Sankaran
An earlier post (http://marc.theaimsgroup.com/?l=struts-user&m=104445714816028&w=2) suggested getting an updated version of commons-beanutils as a possible solution with nested tags in 1.1b3. I don't know if you are using 1.1b3; if you are, this may help. Sri > -Original Message- > Fro

Re: [OT] what version of JSP required for JSTL?

2003-02-07 Thread Craig R. McClanahan
On Fri, 7 Feb 2003, Jarnot Voytek Contr AU HQ/SC wrote: > Date: Fri, 7 Feb 2003 09:55:57 -0600 > From: Jarnot Voytek Contr AU HQ/SC <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: "Struts Users Mailing List (E-mail)" <[EMAIL PROTECTED]> > Subject: [OT] what ve

RE: Rendering alternate rows of a table in Struts

2003-02-07 Thread Craig R. McClanahan
On Fri, 7 Feb 2003, Mark Galbreath wrote: > Date: Fri, 7 Feb 2003 10:04:44 -0500 > From: Mark Galbreath <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: 'Struts Users Mailing List' <[EMAIL PROTECTED]> > Subject: RE: Rendering alternate rows of a table in Struts

using tiles, but without knowing the specific jsp's until runtime?

2003-02-07 Thread spamsucks
Is there a way to pass a parameter to each tile in the def file? I am using tiles to do the layout of my page, but I do not know until runtime what my header, footer, etc pages are. I have a javabean in the session scope that figures this out. The bean works with a jsp:include in the "selectPage

RE: [OT] how do people work in project with one CVS server

2003-02-07 Thread Craig R. McClanahan
On Fri, 7 Feb 2003, Peter S. Hamlen wrote: > Date: 07 Feb 2003 11:53:03 -0500 > From: Peter S. Hamlen <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: RE: [OT] how do people work in project with one CVS s

Re: improved perfs with JDK 1.4 ?

2003-02-07 Thread Craig R. McClanahan
On Fri, 7 Feb 2003, Nicolas De Loof wrote: > Date: Fri, 7 Feb 2003 11:11:29 +0100 > From: Nicolas De Loof <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: improved perfs with JDK 1.4 ? > > Hi > > I've rea

Re: installing Struts in Websphere Allication Server 5?

2003-02-07 Thread Adolfo Miguelez
It is working already also for me. Xerces 4.0.5 es backwards compatible for Struts. :-) Cheers Ashish From: Ashish Kulkarni <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> Subject: Re: installing Struts in Webspher

Help hiding jsp's using WebSphere

2003-02-07 Thread Brad Balmer
We are using WebSphere (4.0.3/5.0) and I am trying to place my jsp's in the /WEB-INF/jsp directory. I am able to access these jsp's using the simple HTML href tag, but cannot using struts and trying to reach it through a global forward. My global forward looks like this: And I am calling it

Nested tags -- Again

2003-02-07 Thread Alvarado, Juan (c)
I am using an action to prepopulate my action form with the data it needs. Im my jsp I am using the nested tags to render the nested elements of the form. However when I submit the form, I was getting an exception having to do with BeanUtils. My work around to that problem was to add the following

problems with Tiles and Struts Tools?

2003-02-07 Thread Tom Roche
If you're using Struts Tools with WSAD or WSSD and you're having problems with Tiles, check your build. Here's why: [EMAIL PROTECTED] on Fri, 7 Feb 2003 10:34:34 -0500 > With wsad 5.0 you have to be carefull. It exist 2 build versions > WSAD 5.0 Build Id 20020913.0100 This we call "EA" (it was t

RE: Rendering alternate rows of a table in Struts

2003-02-07 Thread Mark Galbreath
The problem was defined by the original query, which specifically asked, "Is there a struts tag...". My responses were restricted to the problem space. If you want to introduce new parameters, then it's a whole new problem that requires another response set. Although I advocated a particular solu

Re: Rendering alternate rows of a table in Struts

2003-02-07 Thread Claude Betancourt
Why don't just add another property to your collection, i.e. rowId and set it as you add your data to it. Then you can use to change the style or bgcolor on the html. -c - Original Message - From: "Ritesh Singhal" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Se

RE: Another logging question

2003-02-07 Thread pqin
# A multi-destination logger # FATAL will go to the console # All will go to a file log4j.logger.mylogger=DEBUG, fatalconsole, file # All fatal messages will log to the console: System.out log4j.appender.fatalconsole=org.apache.log4j.ConsoleAppender log4j.appender.fatalconsole.Target=System.out lo

RE: [OT] how do people work in project with one CVS server

2003-02-07 Thread Peter S. Hamlen
Just to add two more recommendations to Craig's list: * Have an automated build process that builds from scratch and runs your tests. Run this process at least once a day (cf. the nightly build process for Struts and other Jakarta projects.) This ensures that if someone does "break the buil

RE: Another logging question

2003-02-07 Thread Susan Bradeen
Yes, thank you. I was under the impression that you could set the logging level to WARN or something and not see all the INFO messages in the console. Despite my efforts to change this level, I still see all messages as if the level were set to DEBUG. Sorry if I didn't make my question clear.

RE: Another logging question

2003-02-07 Thread pqin
If you use ConsoleAppender, of course you see messages on the screen. Regards, PQ "This Guy Thinks He Knows Everything" "This Guy Thinks He Knows What He Is Doing" -Original Message- From: Susan Bradeen [mailto:[EMAIL PROTECTED]] Sent: February 7, 2003 11:34 AM To: [EMAIL PROTECTED

Another logging question

2003-02-07 Thread Susan Bradeen
I apologize in advance for yet another logging question to the group, but I cannot get this to work. I am getting anything and everything printing to my console. I couldn't seem to make logging level changes using the default SimpleLog, so today I moved on to Log4j. I am using Struts 1.1b3, and

RE: Rendering alternate rows of a table in Struts

2003-02-07 Thread David Graham
At bottom... <% int count = 0 %> <% if( count % 2 == 0 ) { %> <% } else { %> <% } %> <% count++ %> What could be simpler and clearer? Using a taglib. Isn't this much better? David ___

RE: Struts 1.1b Memory Leak?

2003-02-07 Thread John Espey
Actually, having the library with each app is the preferred way to do it, unless you want to force upgrades to EVERY application's version of Struts at once. What do you mean by apps written in the struts framework refuse to execute? Is it just any app in the web container, or just Action classes?

Problem with nested tag libs in 1.1 beta 3

2003-02-07 Thread Alvarado, Juan (c)
I am populating my form bean in an action as is suggested in some mailing list posts I read: execute method on action that sets up the form: TestNested nestedForm = new TestNested(); nestedForm.setTestUser(populateTestUser()); request.setAttribute("nestedForm", nestedForm); System.out.println("S

RE: [OT] what version of JSP required for JSTL?

2003-02-07 Thread Jarnot Voytek Contr AU HQ/SC
Thanks for the reply, I saw that result - but was looking for confirmation from a Sun source - which someone else replied with... More apropos would be to chide me for not checking the JSTL spec. -- Voytek Jarnot Quidquid latine dictum sit, altum viditur. > -Original Message- > From: Ro

RE: Rendering alternate rows of a table in Struts

2003-02-07 Thread Rob Kischuk
> That's all well and good but what happens when the author no longer supports > it, technology moves on, and somebody behind you has got to maintain it? > Doing it with scriptlets is as easy as > > <% int count = 0 %> > > <% if( count % 2 == 0 ) { %> > > > <% } else { %> > >

RE: Rendering alternate rows of a table in Struts

2003-02-07 Thread Durham David Cntr 805CSS/SCBE
This whole alternating row thing is just a small part of the diplaying rows of data problem. The next thing that's gonna be needed is paging, it's almost guaranteed. Pragmatism is great, but first you have to define the problem. > -Original Message- > From: Mark Galbreath [mailto:[E

RE: [OT] what version of JSP required for JSTL?

2003-02-07 Thread Prabhat Kumar (IT)
from the JSTL spec 1.4 Container Requirement JSTL requires a JSP 1.2 web container. -Original Message- From: Jarnot Voytek Contr AU HQ/SC [mailto:[EMAIL PROTECTED]] Sent: Friday, February 07, 2003 10:56 AM To: Struts Users Mailing List (E-mail) Subject: [OT] what version of JSP required f

RE: Opionions: fine or course grained actions

2003-02-07 Thread Mark Galbreath
It depends on what stage of finishing you are at and the hardness of the wood. Chief Eating Crow - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Rendering alternate rows of a table in Struts

2003-02-07 Thread Mark Galbreath
That's all well and good but what happens when the author no longer supports it, technology moves on, and somebody behind you has got to maintain it? Doing it with scriptlets is as easy as <% int count = 0 %> <% if( count % 2 == 0 ) { %> <% } else { %> <% } %> <

[NESTED] Looking for getter in the wrong bean

2003-02-07 Thread Sri Sankaran
Using Struts 1.1b3 A page fails to load with an exception that says that the necessary getter is not available in a bean. The trouble is that the framework is looking at the wrong bean. A little more background: The problem code looks like this: This results in th

RE: [OT] what version of JSP required for JSTL?

2003-02-07 Thread Rob Kischuk
Please do a quick search before you ask the list: http://www.google.com/search?q=jstl+jsp+version&sourceid=mozilla-search&star t=0&start=0 First result: "NOTE: JSTL requires a JSP container that supports the Java Servlet 2.3 and JavaServer Pages 1.2 specifications." -Rob -Original Message--

Problem with struts, taglibs and i18n

2003-02-07 Thread Tom Ziemer
Hello, I've got a little problem: I am working on an application that uses struts, castor, taglibs, etc. and I've written a custom tag that will create the page-design for me: ... [Part of my tld] myDesign tag.DesignTag jsp uni design design true false

Re: [OT] what version of JSP required for JSTL?

2003-02-07 Thread David Graham
I'm not certain of the JSP version but it's Servlet 2.3.. David From: Jarnot Voytek Contr AU HQ/SC <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List (E-mail)" <[EMAIL PROTECTED]> Subject: [OT] what version of JSP required for JSTL? Dat

[OT] what version of JSP required for JSTL?

2003-02-07 Thread Jarnot Voytek Contr AU HQ/SC
Sorry for the OT, but what's the earliest JSP version that supports the JSTL? Thanks, -- Voytek Jarnot Quidquid latine dictum sit, altum viditur. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAI

  1   2   >