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 wrote: Hey all

[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

[S2] Load Testing and number of sessions

2008-03-07 Thread Skip Hollowell
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]

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 , s:iterator value=packageList id=entry status=stat s:checkbox name=fullMarket

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 struts

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

2008-01-03 Thread Skip Hollowell
looked 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

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

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()

[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. ListCourse listCourse =

{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. s:doubleselect label=doubleselect test1 name=menu list={'fruit','other'} doubleName=dishes doubleList=top == 'fruit' ? {'apple',

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

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]

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 s:doubleselct 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

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

2007-08-13 Thread Skip Hollowell
, 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]

[S2] Inserting Build Date

2007-07-31 Thread Skip Hollowell
=window.status=''; Thanks for any info 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
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] http://www.nabble.com/user

Re: [S2] Inserting Build Date

2007-07-31 Thread Skip Hollowell
: Skip Hollowell [mailto:[EMAIL PROTECTED] http://www.nabble.com/user/SendEmail.jtp?type=postpost=11924428i=0] Sent: Tuesday, July 31, 2007 9:25 AM To: [EMAIL PROTECTED] http://www.nabble.com/user/SendEmail.jtp?type=postpost=11924428i=1 Subject: [S2] Inserting Build Date I am not sure

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.

[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-mail: [EMAIL

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,Column4);

Re: [S2] Exporting to CSV and Excel

2007-06-19 Thread Skip Hollowell
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. Thanks for any and all help. Skip Hollowell newton.dave wrote: --- Skip Hollowell [EMAIL

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

[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
still not there. Any one have any ideas as to the best approach? Skip Hollowell - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

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.

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

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

[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: s:checkbox key=payment.billerSame / I submit the form and see this on the console for Tomcat: SEVERE:

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

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

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

[S2] Setting Global Variable in Struts 2

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

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 Hollowell wrote: I

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

2007-04-27 Thread Skip Hollowell
of the 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

[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

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] http

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=postpost=10206085i=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 use the stat.index value in your tags

Re: [s2] Difference between actionMessages and actionErrors

2007-04-24 Thread Skip Hollowell
Harring Figueiredo wrote: guess 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. /guess Bingo. That is exactly the reason for the two. Direct from my style sheet: span.actionMessage {

[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=postpost=10104748i=0 wrote: 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? Yes, you can, and I do it all

[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. s:property value=account.customer.firstName/ returns null every time.

Re: html:text autocomplete=off possible?

2007-04-19 Thread Skip Hollowell
} Skip Hollowell - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

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

2007-04-18 Thread Skip Hollowell
of 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]: 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) and I

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

2007-04-11 Thread Skip Hollowell
on my form for the datePaid field: s:textfield key=p.datePaid / 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

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

2007-04-11 Thread Skip Hollowell
. Is that 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 accomodating

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 when

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 s:text ...stuff here/s:text but it does the job and now that I have it written I can use

[S2] Adding Calendar function to a form.

2007-04-10 Thread Skip Hollowell
this thing to bits with tricks and cheats. Skip Hollowell - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [S2] Validation setup

2007-04-09 Thread Skip Hollowell
: Caught OgnlException while setting property 'minlength' on type 'com.opensymphony.xwork2.validator.validators.StringLengthFieldValidator'. ognl.NoSuchPropertyException: com.opensymphony.xwork2.validator.validators.StringLengthFieldValidator.minlength Anyone? Skip Hollowell wrote: I had

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: field

[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... !-- Use Case 01 -- action name=Account_* class=com.skip.action.AccountAction method=list

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=postpost=9857845i=0 wrote: AccountAction_payment-validation.xml doesn't work AccountAction_Payment-validation.xml doesn't work Are the underscores typos? No typos. I am grasping

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=postpost=9858550i=0 wrote: Dave Newton-4 wrote: Skip Hollowell said: AccountAction_payment-validation.xml doesn't work AccountAction_Payment-validation.xml doesn't work

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. s:form namespace=/irmc action=Payment_retrieveFee validate=true s:textfield key=payment.amtToPay /

[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

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=postpost=9458130i=0 wrote: 1 action per functional part of the app, or 1 action per data type, with many results corresponding to each method that I call inside that partuclar action? I

Re: Error Starting on Tomcat

2007-03-09 Thread Skip Hollowell
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=postpost=9386591i=0 wrote

[S2]: Error Starting on Tomcat

2007-03-08 Thread Skip Hollowell
frustrating 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
to signify ERRORS -- html:messages id=msg header=msg_header footer=msg_footer message=false libean:write name=msg//li /html:messages Skip Hollowell - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: Problem with DynaValidatorForm

2004-04-06 Thread Skip Hollowell
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 PROTECTED] wrote in message news:[EMAIL