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
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]
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
, 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}"
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
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
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]
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]
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
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
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
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
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
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]
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
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
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]
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
"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
t="window.status='';">
Thanks for any info
Skip Hollowell
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
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
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
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
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
?
Thanks for any experienced viewpoints you may have.
Skip Hollowell
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
):
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
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
"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
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
--
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
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
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
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
(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
ing config files.
Thanks for any insight.
Skip Hollowell
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
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
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
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
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
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]
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
t field of the first form
}
Skip Hollowell
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
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)
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]
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
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
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
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
-
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
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
.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...
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
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
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
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
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
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
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
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]
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]
nters? All are greatly appreciated.
Skip Hollowell
struts-config.xml [edited]
--
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
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
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
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]
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]
iated.
Skip Hollowell
struts-config.xml:
=
validatio
70 matches
Mail list logo