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
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
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]
, 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
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 struts
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
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
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()
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.
ListCourse listCourse =
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',
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
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]
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
, 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]
=window.status='';
Thanks for any info
Skip Hollowell
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
: 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
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.
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
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);
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
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
?
Thanks for any experienced viewpoints you may have.
Skip Hollowell
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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]
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.
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
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
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:
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
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
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
files.
Thanks for any insight.
Skip Hollowell
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
(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
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
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
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
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
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 {
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=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
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.
}
Skip Hollowell
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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]
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
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
. 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
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
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
this thing to bits with
tricks and cheats.
Skip Hollowell
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
: 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
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
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
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
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
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 /
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
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
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
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]
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
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
64 matches
Mail list logo