Re: [S2] Load Testing and number of sessions

2008-03-11 Thread Skip Hollowell
Figured I would follow up, as I hadn't heard anything from others. OpenSTA (http://www.opensta.org/) falls in to the category of 'Open Source Partial LoadRunner clone', and has been serving me well for most of the last two days. Any other recommendations? Skip Hollowell

[S2] Load Testing and number of sessions

2008-03-07 Thread Skip Hollowell
nstance of tomcat, and some basic load balancing down to divvy up requests to the separate machines. Skip Hollowell - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[S2] Simple-ish tag question about autocomplete

2008-03-07 Thread Skip Hollowell
In my app, I don't want to have any of the fields be autocomplete, so I took the generalized approach of each form calling an onload script that sets AUTOCOMPLETE=OFF. Turns out, this gets my security folk's knickers in a twist, and they would like field itself have AUTOCOMPETE set to off, so

Re: Struts2 CheckBox tag inside an s:iterator

2008-03-04 Thread Skip Hollowell
, and one I too am currently struggling with. Skip Hollowell Mano Dasanayaka-2 wrote: Hi All, I have a jsp where we list down some dynamic checkboxes. for this we use s:checkbox tag inside a s:iterator , name="fullMarket" fieldValue="${entry.packageId}"

Re: [S2]Issue with wrong dates for datetimepicker and the New Year

2008-01-04 Thread Skip Hollowell
https://issues.apache.org/struts/browse/WW-2377 So, if I read this correctly, it is in the system, and schedule for release in the 2.1? If there is a way to grab a patch for this, I am unsure how to do that. Ideas? Skip Hollowell wrote: I have a datetimepicker on my page, from the struts

Re: [S2]Issue with wrong dates for datetimepicker and the New Year

2008-01-04 Thread Skip Hollowell
I have checked the Issues db for datetimepicker, and don't see this specific issue, or one even close to it. Is this something that I should report as a bug? Is anyone else able to verify that it is indeed an issue? Skip Hollowell wrote: I have a datetimepicker on my page, from the s

[S2]Issue with wrong dates for datetimepicker and the New Year

2008-01-03 Thread Skip Hollowell
to find that out)? Or is this something most folks haven't run into before, or better yet, am I doing something wrong? Skip Hollowell - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

No replies in the struts forum [via Nabble]

2007-12-26 Thread Skip Hollowell
Is it just my imagination, or are there no replies showing up on this forum anymore? Is this just a Nabble issue? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[S2] Splitting a Struts 2 Application

2007-12-05 Thread Skip Hollowell
This may be a bit off target, but I was hoping some folks here have some suggestions. I have been working on a Struts2 app here for the last6-8 months, and it is now pretty stable. So stable in fact that we want to use it as a model for more apps with similar functionality. So my question is

Re: [S2] Action-specific validate method?

2007-10-16 Thread Skip Hollowell
I struggled with the same thing, and finally had to defer to the "Webwork in Action" and it's chapter on the Validation Framework. "In the case of multiple action aliases, it's a better idea to pull your common validations into a method and then call that method from each of your execute() equ

[S2] Shopping Cart functionality

2007-10-15 Thread Skip Hollowell
Before I go about building some basic shopping cart features in my S2 app, I wanted to make sure that I wasn't reinventing the wheel, if something of this sort already exists. I have thousands of old transactions that a user can search for, a list comes up (using DisplayTag), 50 per page, and

Re: {S2}doublselect How to create the doubleList

2007-09-25 Thread Skip Hollowell
I think I have it...and I wanted to make sure I got this archived somewhere in case I or anyone else was ever looking for an example. The first list is a list of Course objects, made up of an id, name and Foods (a Set of Food objects) Food has an id and a name field. List listCourse = new Arr

{S2}doublselect How to create the doubleList

2007-09-13 Thread Skip Hollowell
2 days is my limit on attempting to implement a feature before I finally beg: I have read the doc, and am able to create a double list with static data in the jsp. list="{'fruit','other'}" doubleName="dishes" doubleList="top == 'fruit' ? {'apple', 'orange'} : {'monkey', 'chicken'}" /> And I

Re: Upgraded to 2.0.9 and Tomcat became very cranky starting my app.

2007-09-05 Thread Skip Hollowell
My bad. I don't use plexus, don't have the jar, and have removed the plugin. Argh, I hate posting before thinking. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Upgraded to 2.0.9 and Tomcat became very cranky starting my app.

2007-09-05 Thread Skip Hollowell
Help. What else can I send? I have also listed my complete WEB-INF/lib directory below. I know there are some libs I don't need, but I have them all in there for now. Are some doubling up perhaps? INFO: XML validation disabled 05 Sep 2007 10:41:43 INFO com.opensymphony.xwork2.config.provi

Re: [S2] 2 Select Boxes, one based on the other

2007-08-17 Thread Skip Hollowell
Rene, It sounds you are are saying that there IS a way, using this Correct? Rene Gielen wrote: Indeed there is no way without Javascript. The s2 tag Skip is searching for is http://cwiki.apache.org/confluence/display/WW/doubleselect Zoran Avtarovski schrieb: > Any solution has to be javasc

[S2] 2 Select Boxes, one based on the other

2007-08-13 Thread Skip Hollowell
r any help, and again, I very much apologize for posting what must be a very basic question. Skip Hollowell - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [S2] Inserting Build Date

2007-07-31 Thread Skip Hollowell
al Message- From: Skip Hollowell [mailto:[EMAIL PROTECTED] <http://www.nabble.com/user/SendEmail.jtp?type=post&post=11924428&i=0>] Sent: Tuesday, July 31, 2007 9:25 AM To: [EMAIL PROTECTED] <http://www.nabble.com/user/SendEmail.jtp?type=post&post=11924428&i=1> Subj

Re: [S2] Inserting Build Date

2007-07-31 Thread Skip Hollowell
"replace" task can be used for such a thing. See also, "tstamp" for creating the value to insert. George Dinwiddie, iDIA Computing, LLC http://iDIAcomputing.com/ http://blog.gdinwiddie.com/ -Original Message- From: Skip Hollowell [mailto:[EMAIL PROTECTED] <htt

[S2] Inserting Build Date

2007-07-31 Thread Skip Hollowell
t="window.status='';"> Thanks for any info Skip Hollowell - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [S2]Paging through a large list of things

2007-06-22 Thread Skip Hollowell
Jeromy Evans - Blue Sky Minds wrote: Here's some options: 1. store your results in the http session. This takes no effort but won't scale very well. 2. Look at the paging implementation provided by displaytag. The default behaviour loads all data and pages through it for you. http://displayta

[S2]Paging through a large list of things

2007-06-21 Thread Skip Hollowell
insight on, as the total list could be 1 records or more. (Don't ask me, I don't make their sandbox, I just play in it.) Skip Hollowell - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-ma

Re: [S2] Exporting to CSV and Excel

2007-06-19 Thread Skip Hollowell
Hack Alert: public String exportCSV() throws Exception { // Search based upon the entered criteria // TODO: pass the previously found List in, instead of performing the locate again // Use the Criteria, create a list of transactionBeans, and return it UserBean

Re: [S2] Exporting to CSV and Excel

2007-06-19 Thread Skip Hollowell
was all initialized. Nor how I close the file, nor how I then redirect the users to a success page somewhere. I dug through the Showcase as best I could and didn't really see a comparable example of any of this. It's very probable that you have just the pointers I am looking for

Re: [S2] Exporting to CSV and Excel

2007-06-19 Thread Skip Hollowell
The simple days of just dropping my values onto the response stream seem to be very much over. // Back in the Day... (Struts 1) response.setContentType("application/text"); response.setHeader("Content-disposition", "filename=\"Testing.csv\""); out.println("Column1,Column2,Column3,Co

[S2] Exporting to CSV and Excel

2007-06-18 Thread Skip Hollowell
? Thanks for any experienced viewpoints you may have. Skip Hollowell - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[S2]Field Validators, conditional

2007-06-07 Thread Skip Hollowell
): 4 4 Works great. I am looking at short circuits and expressions, in order to get this conditional going, but I am still not there. Any one have any ideas as to the best approach? Skip

Re: Regarding "How can we test applications?" in S2 doc online

2007-05-30 Thread Skip Hollowell
Dave and Laurie: So I am complicating things, as usual, by over thinking them. Say I have an AccountAction. Then it's as simple as having an AccountUtil class (or several classes depending on need) that will contain most of the logic that will need to be performed by the Account Action. The

Regarding "How can we test applications?" in S2 doc online

2007-05-29 Thread Skip Hollowell
"First, push as much business and data access logic as possible out of the Action class and into a POJO facade that the Action can call. In this way, you can test all that outside of the Action." My question lies in how do you scale this for 10 actions? 20? 50? Do you have 1 facade for all

Re: [s2] Validation does not work in Struts 2 basic project

2007-05-29 Thread Skip Hollowell
It looks to me like a typo in your xml or the naming of your xml file: Pasted as *Java* by *Logon-validaiton.xml *should be logon-validation.xml robinbajaj wrote: Here's my Logon-Validation.xml http://rafb.net/p/FToVf186.html --

[S2] Checkbox causes error on form submission.

2007-05-25 Thread Skip Hollowell
I am a wee bit confused on this one. I have my Account bean, with a boolean field: private boolean billerSame = false; along with a getter and setter, obviosuly. On my form I have: I submit the form and see this on the console for Tomcat: SEVERE: ParametersInterceptor - [setParameters]: U

Re: Struts2 Dynamic Checkboxes

2007-05-24 Thread Skip Hollowell
Dave Newton-4 wrote: Yep... in its simplest form, it's really pretty straight-forward. There's all sorts of cool ways to mess it up later ;) THAT'S the one part of this that I don't need any help with. I can mess things up with the best of them. Thanks again Dave for your input. It's greatl

Re: Struts2 Dynamic Checkboxes

2007-05-24 Thread Skip Hollowell
I have been struggling with the very same problem. So you say pre-populate the map/list. Would you make that a separate data structure, or part of the object already being passed? Let's say it's separate, just add the Map/List to the action, create setter and getters, and make sure and recr

Re: [s2] unexpected Tomcat shutdown everyday

2007-05-17 Thread Skip Hollowell
Off the top of my head, this smells a lot like a supporting app is unavailable at this time, causing the crash of Struts. All signs point to your Database being down. Is this the time of day your DB is being backed up? Skip Hollowell walidito wrote: Hi all, I have a a very strange and

Re: [S2] Setting Global Variable in Struts 2

2007-05-09 Thread Skip Hollowell
(RESOURCE_FILE); if (null != input) { prop = new Properties(); prop.load(input); public final String AGE_MIN = prop.get("AGE_MIN").toString(); public final String AGE_MAX = prop.get("AGE_MAX").toString(); } Am I on a better track now? Skip

[S2] Setting Global Variable in Struts 2

2007-05-09 Thread Skip Hollowell
ing config files. Thanks for any insight. Skip Hollowell - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [S2]Loop through two arrays in my JSP

2007-04-27 Thread Skip Hollowell
s:iterate tag. Skip Hollowell Martin Gainty wrote: Hi Skip http://husted.com/struts/tips/006.html from id of the iterate is then used to reference name (for the specific array value indicated by property) Does this help

Re: [S2]Loop through two arrays in my JSP

2007-04-26 Thread Skip Hollowell
Dave Newton-4 wrote: --- Skip Hollowell <[EMAIL PROTECTED] <http://www.nabble.com/user/SendEmail.jtp?type=post&post=10206085&i=0>> wrote: > I will work more in depth now that I know this > is the functionality I have been searching for. You should just be able to u

Re: [S2]Loop through two arrays in my JSP

2007-04-26 Thread Skip Hollowell
Dave, Thanks for the pointer. I was there, and quite frankly, I couldn't get it. I will work more in depth now that I know this is the functionality I have been searching for. My apologies for RTFM questions. Skip Dave Newton-4 wrote: --- Skip Hollowell <[EMAIL PROTECTED

[S2]Loop through two arrays in my JSP

2007-04-26 Thread Skip Hollowell
I have two Arrays (account.amt and account.date) and while they are both the same size, I don't know what that size is until the page gets em. If I really needed to I guess I could also put a size field into account. But what is the best way to loop over them and grab these values? I can eas

Re: [s2] Difference between actionMessages and actionErrors

2007-04-24 Thread Skip Hollowell
Harring Figueiredo wrote: Here it goes, without testing. I think that the HTML generated is slightly different so that you may apply different CSS style sheets to it. Bingo. That is exactly the reason for the two. Direct from my style sheet: span.actionMessage { background-color: Lig

[S2] Data entry form for nested beans

2007-04-23 Thread Skip Hollowell
and implement this base concept in Struts 2. Any, ANY, advice and help would be greatly appreciated. Skip Hollowell - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [S2]Accessing a Bean within a Bean in my jsp

2007-04-20 Thread Skip Hollowell
Mark Menard wrote: On 4/19/07 12:48 PM, "Skip Hollowell" <[EMAIL PROTECTED] <http://www.nabble.com/user/SendEmail.jtp?type=post&post=10104748&i=0>> wrote: > I am not sure if this is possible, but can I access a bean within a > bean, and grab fields from it

Re: html:text autocomplete=off possible?

2007-04-19 Thread Skip Hollowell
t field of the first form } Skip Hollowell - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[S2]Accessing a Bean within a Bean in my jsp

2007-04-19 Thread Skip Hollowell
I am not sure if this is possible, but can I access a bean within a bean, and grab fields from it within my jsp? The AccountBean named account has a Customer Bean named customer, and I want the first name of that Customer. returns null every time. I know that the account is set (see it in th

Re: [S2]: Which way would you present dynamically generated block of text?

2007-04-18 Thread Skip Hollowell
Definitely ResourceBundle.I'll let the Action build the text based on the variables and the text in the bundle, drop it on the ActionStack (in a prop called script) and then display it that way. Skip Hollowell wrote: My app is progressing happily (With no small thanks to you all)

[S2]: Which way would you present dynamically generated block of text?

2007-04-18 Thread Skip Hollowell
these 'more' correct? Is there a 3rd or 4th option I have? Suggestions? Comments? Help? Skip Hollowell - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [S2] Adding Calendar function to a form.

2007-04-11 Thread Skip Hollowell
Fogleson, Allen wrote: Skip, There is a pretty good tutorial out there to create a component using the struts tags - this is what I did for exactly what you are doing. Granted it is not as "pretty" as stuff here but it does the job and now that I have it written I can use it in all the p

Re: [S2] Adding Calendar function to a form.

2007-04-11 Thread Skip Hollowell
Dave Newton-4 wrote: So far I've found the "xhtml" theme to work for me almost everything with the occasional dip in to "simple" land, but my projects have fairly basic input needs (except for one horribly difficult page :/ d. I too am starting to see this. Yes, simple will be the way to go w

Re: [S2] Adding Calendar function to a form.

2007-04-11 Thread Skip Hollowell
a proper assumption, and a more 'struts2-ish' way of approaching things? Thanks, Skip Skip Hollowell wrote: Trying again, due to bad formatting on Nabble... I saw cilquirms reply, but I don't think I phrased my problems correctly. I understand that the tag libraries are very ac

Re: [S2] Adding Calendar function to a form.

2007-04-11 Thread Skip Hollowell
to my input box on my form for the datePaid field: I am just missing the concept here on how to plug custom code into the s: tags. I am trying very hard not to hack this thing to bits with tricks and cheats. Skip Hollowell -

[S2] Adding Calendar function to a form.

2007-04-10 Thread Skip Hollowell
o add: src="images/cal.gif" width="16" height="16" border="0" alt="Pick a date"> Where I want to add it: I am just missing the concept here on how to plug custom code into the s: tags. I am trying very hard not to ha

Re: [S2] Validation setup

2007-04-09 Thread Skip Hollowell
minLength and maxLength (case is important and I am an idiot) Done and done. Thanks Dave for helping where you could. Much appreciated. Skip. Skip Hollowell wrote: Now, if I could only figure out why I am getting errors on the minlength and maxlength of my stringlength validator

Re: [S2] Validation setup

2007-04-09 Thread Skip Hollowell
.opensymphony.xwork2.validator.validators.StringLengthFieldValidator.minlength Anyone? Skip Hollowell wrote: I had the whole validation thing working great, and then I had to go and get 'fancy' with my Actions and aliases, and now, I can't seem to get my validator xml files named correctly...

Re: [S2] Validation setup

2007-04-05 Thread Skip Hollowell
OK, I think I may be on to something here... In this particular Action, I am working with a Payment class, instead of individual fields. that may very well be where all of my trouble is. align="center"/> So say I want to validate the ccNumber and ccExpDate. These are part of my Pa

Re: [S2] Validation setup

2007-04-05 Thread Skip Hollowell
Dave Newton-4 wrote: --- Skip Hollowell <[EMAIL PROTECTED] <http://www.nabble.com/user/SendEmail.jtp?type=post&post=9858550&i=0>> wrote: > Dave Newton-4 wrote: >> Skip Hollowell said: >>> AccountAction_payment-validation.xml doesn't work >>&g

Re: [S2] Validation setup

2007-04-05 Thread Skip Hollowell
Dave Newton-4 wrote: --- Skip Hollowell <[EMAIL PROTECTED] <http://www.nabble.com/user/SendEmail.jtp?type=post&post=9857845&i=0>> wrote: > AccountAction_payment-validation.xml doesn't work > AccountAction_Payment-validation.xml doesn't work Are the

[S2] Validation setup

2007-04-05 Thread Skip Hollowell
I had the whole validation thing working great, and then I had to go and get 'fancy' with my Actions and aliases, and now, I can't seem to get my validator xml files named correctly... method="list"> name="success">/WEB-INF/jsp/UC01-EnterPayment.jsp

Re: Setting up actions

2007-03-13 Thread Skip Hollowell
Dave Newton-4 wrote: --- Skip Hollowell <[EMAIL PROTECTED] <http://www.nabble.com/user/SendEmail.jtp?type=post&post=9458130&i=0>> wrote: > 1 action per functional part of the app, or 1 action > per data type, with many results corresponding to > each method that

[S2] Setting up actions

2007-03-13 Thread Skip Hollowell
I have spent a few weeks getting my hands dirty with Struts 2 now, and I have come to a crossroads of sorts, in my app design and layout of my actions. A good example of where I am looking for direction is the following: A user logs in and wants to add a transaction for an account. I have an

Re: Error Starting on Tomcat

2007-03-09 Thread Skip Hollowell
ibowo wrote: I would try to recompile the entire app. NoClassDefFoundError generally relates to different JAR files that is shipped .. vs the one that was used to compile the app. On 3/9/07, Skip Hollowell <[EMAIL PROTECTED] <http://www.nabble.com/user/SendEmail.jtp?type=post&p

[S2]: Error Starting on Tomcat

2007-03-08 Thread Skip Hollowell
rustrating as things were progressing nicely up until this point. Thanks for any help, Skip Hollowell - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Problem with struts validator

2004-04-07 Thread Skip Hollowell
he tag in your jsp to actually show the errors. That was what I was missing when I thought I had everything setup properly. Skip Hollowell - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Need advice on design decisions and architecture issues.

2004-04-07 Thread Skip Hollowell
nters? All are greatly appreciated. Skip Hollowell struts-config.xml [edited] -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Problem with DynaValidatorForm

2004-04-06 Thread Skip Hollowell
ies, especially with regards to the input on the action mapping (it didn't list an input, even when it changed the validate to True). You immediately find out it is required, but examples should at least show correct strutcture. Thanks Adam. Skip Hollowell "Adam Hardy" <[EMAIL PR

Re: Problem with DynaValidatorForm

2004-04-06 Thread Skip Hollowell
does the path relate to the bean or vice versa. These are the things I had to practice with through trial and error, and usenet, of course. And thanks for all your help. Skip Hollowell "Adam Hardy" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Done the same s

Re: Problem with DynaValidatorForm

2004-04-05 Thread Skip Hollowell
Son of a gun. As my gramma would used to say, "Ain't that a pip?" I guess I just have to ask myself how I missed that part in the tags and validator documentation. Thanks a million, Adam and Niall. 3 days down the drain, but you probably saved me at least 3 more. Skip Ho

Re: Problem with DynaValidatorForm

2004-04-05 Thread Skip Hollowell
I do not currently have any error tags in my JSP. I was hoping to actually see the validation work in the server logs first, then work on spitting out messages as appropriate to the user. Skip Hollowell "Adam Hardy" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]

Re: Problem with DynaValidatorForm

2004-04-05 Thread Skip Hollowell
again. I was going like gangbusters with regular forms and actions and then decided to 'simplify' based on the number of forms in the syste, (30 at last count). Skip Hollowell "Niall Pemberton" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]

Problem with DynaValidatorForm

2004-04-05 Thread Skip Hollowell
iated. Skip Hollowell struts-config.xml: = validatio