Parameterized messages

2005-07-12 Thread N G
Hi, Is it possible to use the resource properties for keys as well as args? For example, Properties: test.val1=hello {0} test.val2=world So, what I am trying to accomplish is to have the above statement output: hello world However, it outputs: hello test.val2 Is there a way to force it to lo

Name of the form

2005-07-18 Thread N G
I need to instantiate a form that is not associated with my particular action and place it on the request before forwarding... Right now I have to hardcode the name of the form as the key into the request scope. I know that you can get the configured name of the form that IS associated with your a

Composing a link

2005-07-29 Thread N G
Hi, only allows 1 map and 1 param-value pair. However, I need to add 2 params besides the map. Adding this param to the map is not an option, I don't think. I generate my map inside the form bean. The data for the 2 extra params is not available in the form and is only available on the page. Ho

Re: Composing a link

2005-07-29 Thread N G
How do you push the 2 parameters into the Map? You mean using a scriptlet? I want to avoid any type of straight Java code in my page. Is there a way to push those parameters into the map using JSTL? Thanks, NG On 7/29/05, Laurie Harper <[EMAIL PROTECTED]> wrote: > N G wrote: > >

Re: Composing a link

2005-07-30 Thread N G
works. I think it's cleaner. NG. On 7/29/05, Laurie Harper <[EMAIL PROTECTED]> wrote: > You can do it with JSP tags, no scriptlets required. Try something like > this (I haven't tested it, but experiment a bit if it doesn't work quite as > written here): > >

Re: Composing a link

2005-07-30 Thread N G
2005 3:19 PM > To: user@struts.apache.org > Subject: Re: Composing a link > > N G wrote: > > only allows 1 map and 1 param-value pair. However, I need > > to add 2 params besides the map. > > > > Adding this param to the map is not an option, I don't think.

Accessing properties of a custom map

2005-08-24 Thread N G
Hi, I have a class that extends HashMap. This class holds a collection of different items plus a custom property 'total'. This "resultsMap" is stuck into the request to pass it to the JSP page. Inside the JSP page I am trying to output 'total' without having to use a scriplet... Does anyone kno

[IGNORE] Testing

2005-02-22 Thread N G
Please ignore this. Sorry. Just testing. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[Ignore] Testing

2005-02-22 Thread N G
Ignore. testing. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[Test] Why am I not seeing this message? It doesn't bounce...

2005-02-22 Thread N G
Any ideas why I can see this message in the archives, but it doesn't come back to me in my mail box? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[testing] I hope I'll be able to see this one

2005-02-22 Thread N G
I am so sorry for all this mail! I am sending these emails and see them in the archives, but NONE of the email from this list (including the ones I send) come back to me! I already unsubscribed and resubscribed! If this doesn't work, I am not sure what else to do. ---

[IGNORE] testing again. Sorry

2005-02-22 Thread N G
Testing. Please ignore this. I apologize for this. We'll see if Gmail ignores this email and only sticks it in the "sent" folder. -- Take care, NG - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EM

Re: JAVASCRIPT: Object expected

2005-02-22 Thread N G
Eric, No javascript guru here, but... 1) Are you sure that this function is there? (check page source) 2) Is this function declared at the very bottom and it's a huge and slow loading page and you are clicking that button *before* the page is completely loaded? 3) Is the word "javascript" really

Re: JAVASCRIPT: Object expected

2005-02-22 Thread N G
I ran your javascript code in a page and it works 100%. Hence, I am thinking that Frank's comment's are right on target. NG. On Tue, 22 Feb 2005 16:32:18 -0500, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > Hmm... usually, in my experience, this type of error results when some > other object h

Re: printing struts from jspWriter

2005-02-24 Thread N G
Jon, If I understand you correctly (forgive me if I am not)... Consider out.println() as a direct System.out.println() type of thing, but your out.println() prints directly to the browser (so to speak). So, essentially, you are just sending the string "test" to the browser. is a custom tag tha

Re: Hibernate and Struts Usage Pattern question/survey

2005-03-03 Thread N G
On Tue, 1 Mar 2005 17:48:40 -0500, Joe Hertz <[EMAIL PROTECTED]> wrote: > That is, usually you want the request to begin a transaction early > and either commit or rollback at the end. Hmm... I was under the impression that you **always** want to begin your transaction as late as possible, not ear

Re: Struts and EJB integration question?

2005-03-03 Thread N G
On Thu, 03 Mar 2005 12:03:27 -0500, Erik Weber <[EMAIL PROTECTED]> wrote: > Well, a facade is supposed to be a black box, so you shouldn't have to, > for example, do an EJB lookup, to use the facade. It's supposed to be > easily accessible from any implementations of the next higher layer (in > oth

Re: Using a CSS file

2005-03-08 Thread N G
On Sat, 5 Mar 2005 23:56:54 -0500, James Mitchell <[EMAIL PROTECTED]> wrote: > > @import url(); > What exactly is "@import" ? Is that a CSS command? What does it do? Thanks, NG - T

Re: Using a CSS file

2005-03-08 Thread N G
t; > http://www.google.com/search?hl=en&q=css+import > > > -- > James Mitchell > Software Engineer / Open Source Evangelist > EdgeTech, Inc. > 678.910.8017 > AIM: jmitchtx > > - Original Message - > From: "N G" <[EMAIL PROTECTED]> &g

Re: Using a CSS file

2005-03-08 Thread N G
That's "eloquently." I did a google search on it. On Tue, 8 Mar 2005 15:27:53 -0500, N G <[EMAIL PROTECTED]> wrote: > Very cute, James. Yes, I broke the convenant of "first try searching > on google." Thanks for pointing it out so eliquently. > > NG &g

Concurrency in Action classes

2005-03-09 Thread N G
Hi, Is the Action class's instance reused for every request or is a new Action instance is created for every request? I forgot this... I seemed to remember that the Action is just like a HttpServlet: it shouldn't have any member variables that are assumed to be thread safe. Thanks, NG -

Re: BRANCH: Typical Struts development team and distribution of tasks?

2005-03-13 Thread N G
On Sun, 13 Mar 2005 06:18:36 -0700, Larry Meadors <[EMAIL PROTECTED]> wrote: > For example, on the application I am working on, we changed a screen > that accessed a large amount of data. The time to draw that screen > changed from over 10 minutes (we killed it after that, and are not > sure how lo

Re: Is There a Tool for JSF?

2005-03-13 Thread N G
I haven't had experience with it myself, but I've heard that Sun's Studio is very good. NG. On Thu, 10 Mar 2005 10:07:13 +0530, Rajaneesh <[EMAIL PROTECTED]> wrote: > Try WSAD if the cost is not too high for the project > > -Original Message- > From: Michael Oliver [mailto:[EMAIL PROTEC

Re: Struts , hibernate, and DBCP

2005-03-29 Thread N G
This has nothing to do with Struts: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html Good luck, NG. On Tue, 29 Mar 2005 13:40:56 -0500, Brian McGovern <[EMAIL PROTECTED]> wrote: > Im using struts, hibernate and dbcp connection pooling. Everything works > fine

Re: Struts , hibernate, and DBCP

2005-03-29 Thread N G
's the latter, I > think specifying the minimum connection count property (> 0) in your > datasource config should cause the pool to be primed right after > startup. But, it's up to the pool implementation of course. But the > minimum connection count is supposed to keep the p

Re: Struts , hibernate, and DBCP

2005-03-29 Thread N G
ian McGovern <[EMAIL PROTECTED]> wrote: > Ok.. Im not to sure how that works. Can you explain a little more? > > -Original Message- > From: N G [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 29, 2005 4:34 PM > To: Struts Users Mailing List > Subject: Re: Strut

Re: Exception in JSP

2005-04-07 Thread N G
If you are using a container that supports 2.4 servlet spec, see this page for your answer: http://www.onjava.com/pub/a/onjava/2003/12/03/JSP2part2.html If you are using a 2.3 servlet container: 1) Declare <%@ page isErrorPage="true" %> 2) Put this somewhere in the body of your page: <%= exception

[OT] Open source paginator

2005-04-07 Thread N G
Does anyone know of some open source paginator package out there? Something generic enough that you could stick collections into and it would paginate it for you based on some criteria and expose methods to nextPage(), previousPage() and stuff like that. Thanks, NG. --

Re: [OT] Open source paginator

2005-04-07 Thread N G
build one. Thanks for your suggestions anyway, NG. On Apr 7, 2005 6:42 PM, Fogleson, Allen <[EMAIL PROTECTED]> wrote: > Comments inline > > -Original Message- > From: Rick Reumann [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 07, 2005 2:41 PM > To: Struts

Automatic validation question...

2005-05-31 Thread N G
If I have set up validation as follows: test (radioButton = "firstNameSearch")var-value> If "validwhen" failts, will it try to validate the "required"? In other words, when using automatic validation, the validator goes through the list in "depends"

[OT] Type of import statement

2005-10-09 Thread N G
Does anyone know if it makes any kind of difference if you use "*" in your import statements like: import java.util.*; vs. import java.util.Collection; Is one better than the other? Does one take longer than the other when compiling/executing? Thanks, NG.

user@struts.apache.org

2005-11-08 Thread N G
Hi, I looked at the implementation that Struts has for the tag and was wondering the following... Why isn't just something like this good enough: String url = "/" + request.getContextPath(); Thanks, NG

Why request.getContextPath() wouldn't work?

2005-11-09 Thread N G
Hi, I asked a similar question yesterday, but I think I was misundertood as to what I was asking... Here is what I would like to know... If you use the following code in your JSP to avoid having to hard code the app name: Is there a case where this wouldn't work? Thanks, NG