ent: Monday, February 11, 2008 3:49 PM
To: user@struts.apache.org
Subject: Re: [probably OT] Default locale on login page
Christopher Loschen wrote:
> Hi all,
>
> My best guess is that this is happening before Struts gets involved,
but
> I wondered if anyone might have some suggesti
Hi all,
My best guess is that this is happening before Struts gets involved, but
I wondered if anyone might have some suggestions or places for me to
look. I'm having some strange i18n behavior on our initial login page.
Our app is still using Struts 1.1 (don't ask..). We're using form-base
I'm sure you've already checked, but a double-check might be helpful:
what is the actual entry in package.properties? For example, do you have
a typo in your key there? Did you name that hello.key instead of
Hello.key?
You know, the usual things that are obvious once you actually see
them...
Chri
Not quite.
With the regex ^000\d{6}$, if you DON'T get a match, the input could be
any length and might not even be a number: after all, it isn't matching.
All this checks is the particular case where you have a 9-digit number
which starts with 000: any of the other possible problems aren't
addres
The / at the end of the tag closes that tag, so the
other closes it for a second time, making it
unbalanced.
Assuming you have some sort of content between the two tags, it should
be
Content...
HTH, Chris
-Original Message-
From: probertm [mailto:[EMAIL PROTECTED]
Sent: Thursday, M
Great suggestion -- thanks to both of you!
JProbe is one of the other tools we were considering anyway, so it could
be very useful to have a comparison handy. I'll take a look!
Chris
-Original Message-
From: Ed Griebel [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 22, 2007 9:08 AM
To:
urs tuning
Java code when the problem lies in a different layer. I find this
prioritization of the object of tuning more important than the tuning
itself, which in most cases is trivial.
Thanks,
Rahul
-Original Message-
From: Christopher Loschen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, M
Hi all,
I guess this is partially off-topic, but I've been asked to start
looking at improving the performance of our application, and wanted to
start reading up on things I should be looking for, techniques to
improve performance, and so on.
Our application has a pretty standard stack of J
Maybe it's just Friday and I'm tired and cranky, but can't you do your
own homework? You're not going to learn anything by having us do it for
you. Several people have suggested starting with some Google research --
I agree that would be a good place to start. Research is so easy these
days that th
t want to
waste everyone's time.
Thanks again for everyone's help on this!
Chris
-Original Message-
From: Christopher Loschen [mailto:[EMAIL PROTECTED]
Sent: Monday, February 12, 2007 9:46 PM
To: Struts Users Mailing List
Subject: RE: Struts action call in a JS method returns bla
]
Sent: Sun 2/11/2007 10:14 AM
To: Struts Users Mailing List
Subject: Re: Struts action call in a JS method returns blank page
Christopher Loschen wrote:
> I'm suspicious of some code elsewhere on the page that reloads the entire
> page -- I don't have it in front of me right now, but
/11/2007 10:14 AM
To: Struts Users Mailing List
Subject: Re: Struts action call in a JS method returns blank page
Christopher Loschen wrote:
> I'm suspicious of some code elsewhere on the page that reloads the entire
> page -- I don't have it in front of me right now, but it goes s
;ll double-check that too.
Chris
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Sun 2/11/2007 9:21 AM
To: Struts Users Mailing List
Subject: [OT] RE: Struts action call in a JS method returns blank page
--- Christopher Loschen
ECTED]
Sent: Sun 2/11/2007 12:11 AM
To: Struts Users Mailing List
Subject: Re: Struts action call in a JS method returns blank page
Is there a reason you have to use the collection? Could you rewrite
this to go after specific ID's? If so, I'd suggest trying that. Just a
hunch...
Chr
way, but
it also finds all of the elements inside it. I'm not sure what could be
different between them. I'm tearing my hair out!!!
Any insights?
Chris
-Original Message-
From: Christopher Loschen [mailto:[EMAIL PROTECTED]
Sent: Friday, February 09, 2007 4:32 PM
To: Struts User
ethod returns blank page
Yeah, as musachy suggests, Firebug is your friend :) I personally tend
to code my JS to always go after specific IDs rather than using any of
the common collections... that usually works just fine as long as you
don't have multiple dynamic forms.
Frank
Christopher
uggestions? Thanks!
Chris
-Original Message-
From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 08, 2007 5:30 PM
To: Struts Users Mailing List
Cc: Struts Users Mailing List
Subject: RE: Struts action call in a JS method returns blank page
On Thu, February 8, 2007 4:46 p
mid"),
> onComplete: function() {
> //do something here, or not :)
> }
> });**|
>
> regards
> musachy
>
> Christopher Loschen wrote:
>> I'm not all that familiar with JS, to be honest, and I've never h
ge
Like I said before you can use Ajax to submit the form, and the page
won't
refresh, how to do it depends on what JS framework you are using, if
any.
regards
musachy
On 2/8/07, Christopher Loschen <[EMAIL PROTECTED]> wrote:
>
> Yes, you're right that the form submit was causin
JS method returns blank page
It returns a blank page might be due to
form.submit(); in your JS.
I think if you have a form named 'service.device.selected-devices-form' then
it will never be null hence it will always submit.
May you could enlightened why u need a form.submit() ?
e you don't want to change the current page, you
could do this by making an asynchronous request. I'm probably wrong, but
I don't think you can make a post, and stay on the same page (unless you
are returning the same page from the action of course).
regards
musachy
Christopher Los
Hi all,
I'm honestly unsure if I'm having a problem with Struts (sadly, 1.1) or
with Javascript, or something else. But my best guess is it's a Struts
issue, and anyway, there are a lot of very knowledgeable people on both
of those technologies here, so I hope someone can help. Bottom line: I'm
You might also want to check that tools.jar is in fact where you expect it to
be. We had a report at my office that some downloads of the 1.5.0_10 JDK were
missing that jar file, and perhaps you have one of those. The report said that
the online download worked correctly, but the offline downloa
Hi all,
Does anyone here use StrutsTestCase?
I'm getting an NPE I haven't been able to figure out and haven't gotten
any response from the associated forum at SourceForge. Just in case
somebody here could help, here are the details:
My class looks like this:
public class CreateActionTest extend
Hi all,
I've got some new bug fixes for our application, which is based on
Struts 1.1 (yes, I know we need to upgrade, but not this week...). I'd
like to set up some unit tests so that we can make sure this bug doesn't
crop up again.
We've got quite a few unit tests set up with JUnit, but n
Hi experts!
I've got a problem where two fields are being checked for being in the valid
range when only one of them is being used at any one time. I'm using Struts
1.1 so I'm limited to using requiredif instead of validwhen (right?). I've got
some radio buttons set up like this:
Total amount wit
fer-Encoding: 7bit
References: <[EMAIL PROTECTED]>
X-Virus-Checked: Checked
Resent-Message-Id: <[EMAIL PROTECTED]>
Resent-Date: Thu, 27 Jan 2005 18:23:56 + (GMT)
On Thu, 27 Jan 2005 11:40:45 -0500, Christopher Loschen
<[EMAIL PROTECTED]> wrote:
> Thanks for your advice!
&
ession scope, but your submit action is
>defining one in request scope.
>
>w
>
>Christopher Loschen wrote:
>>Hi all,
>>The action classes do seem to be updating the form correctly, but if
>>they were, I'd get the upda
Hi all,
Sorry if this appears twice -- my last attempt hasn't made it after an hour,
so I'm trying again.
I'm working with a form called UserProfileForm which includes a property
called email. I'm starting from a User Profile screen which displays the email
address and offers a link to edit it. T
29 matches
Mail list logo