Hi,
It seems that Bugzilla didn't swallowed the incidents I opened yesterday (I
can't find them in Bugzilla queries), so I post them again in the list.
[1] Digester enhancement.
=
I have set up a ObjectPushRule class that allows to have the digester use
existing objects, instead
Hi Denis,
I'm using the i18n support in Struts in my applications, and am trying to
localize my client-side Javascript validation messages using
bean:message/. I've tried
var msg='bean:message key="login.error.username"/';
alert(msg);
and
alert(bean:message
Hi James,
I'm using Struts and I noticed a problem with my web application when I
was
running under Netscape 4.0. I was getting different results than if I ran
under IE. It turns out that the reason is because my links have spaces in
the parameter values:
http://foo.com/app/foo.do?parm=I
Hi George,
Two months ago, when moving to 1.0, I was stroke by this one too...
Extract from Craig's response:
mapping.getInput() works OK if you have the "input" attribute set in
the corresponding action tag in struts-config.xml
So your strut-config.xml should be:
action
.
actionpath="/yourAction"
actionClass="my.app.packages.TheActionClass"
formAttribute="myForm"
formClass="my.app.packages.TheActionForm"
Pierre Métras
iation has already occured,
instead of ActionServlet?
What do you think?
Pierre Métras
Hi again,
To temper my previous post.
Yes, you can define org.apache.struts.MessageBundle to correct the
serialization problem under some servlet containers.
No, don't change the syntax of the message files.
Pierre Métras
the configuration of the Struts application. But
please, don't try to mix application configuration with application data...
Pierre Métras
I propose to load the messages from an XML
file (so that you can declare the character set, and use an XML-based
editor).
For the Struts example app
he locale, you template:insert / the corresponding localized
page. This would allow a global framework for your application, but with
various looks depending on the language selected by the user.
Pierre Métras
shouldn't be concerned when you want initialization.
If you're using version 0.5, bad luck! I did the move to 1.0 for that
reason...
Pierre Métras
Hi Andre,
It seems there's no problem with your configuration files. Could you post
the top of your exception trace?
Pierre Métras
ot;/
/tag:param
/tag:mytag
Else, you're stuck with ver.1 for now.
Pierre Métras
unused "action" parameter...). And Craig will have to
rollback the CVS :,-(
Am I alone to have fallen in that trap?
Pierre Métras
Hi Craig,
Pierre Métras wrote:
As my design seems to be the *bad* one, I think I will have to change my
code (explode my actions in struts-config.xml to create action
/doSomethingInit and /doSomethingValid, and attach an "input" value only
to
/doSomethingValid, change all my
version 1.1
to change my code.
Pierre Métras
that it encountered a closing tag without opening...
But take care that the comparison will try to check
for String comparison, and not the boolean true...
Pierre Métras
- Original Message -
From:
Laufer, Michael
To: 'Struts'
Sent: Friday, November 24, 2000 6:41
/servlet-name
servlet-classorg.apache.struts.action.ActionServlet/servlet-class
init-param
param-nameconfig/param-name
param-value/WEB-INF/struts-config.xml/param-value
/init-param
...
Pierre Métras
- Original Message -
From: "De Smet Koen&qu
re based on a request parameter, that's
to say a big sequence of if-else.
Subsidiary question:
I have a menu option that is used to switch the language used for display,
and then return to the calling feature.
Can the menu know from which feature it is called, without having to add
another parameter in the request? Is the Referer header available in that
case?
Any opinion welcome.
Pierre Métras
features when I was
debugging a file. I have some work left to check that all features are
running like before, but I think the most tedious part of the work is gone.
Pierre Métras
PS: I include my version of LinkTag.java to support JavaScript events, too.
Though not HTML 4.0 conformant, I hope
y for now to render the error to the browser. What is missing
is something like form:error name="fieldA" / that would display the
associated error message on your form. You can try to write it and propose
your code for 1.0 inclusion...
Pierre Métras
Solutions
have been suggested for the past months...
Standard HTML attributes !!
Matthias
Pierre Métras
uot; /
I don't think you can rely on a custom tag as recursion into attributes is
not permitted.
Pierre Métras
- Original Message -
From: "Vandana Gupta/Raleigh/IBM" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, November 10, 2000 4:08 PM
Subject: Scripting variable from
of the result when called as http://pluton:8080/myapp/test.do?action=Init
Pierre Métras
Struts Test page
Requestorg.apache.tomcat.facade.HttpServletRequestFacade@44cbbe
Authentication type
null
Character Encoding
null
Content Length
-1
Content Type
null
it).
But all this must be justified in the specifications for servlets
containers...
Pierre Métras
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, November 08, 2000 3:15 PM
Subject: The Struts question
Hi There:
I get a question regarding for the struts
I add it and flush the response, then I should raise an
IllegalStateException. Either I add it without commiting and then the
response buffer (with all the headders?) is cleared before the forward.
Pierre Métras
an
"IllegalArgumentException: can't find message associated to key:
httpDate.pe" when I called request.getDateHeader(header).
Pierre Métras
- Original Message -
From: "Craig R. McClanahan" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, November 08, 2000
. And then it worked! I have "l'émission" on
the displayed HTML page.
Can someone explain this?
Pierre Métras
s a US one.
Morality of the story:
ALWAYS use a ?xml version="1.0" encoding="ISO-8859-1"? header in ALL XML
files! If some strange characters happens to get lost in the files, at least
they will be digested by the parser...
Pierre Métras
- Original Message -
From: &q
is to separate presentation (your combobox) from the
data, so the need for an intermediate bean (the controller) to manage them.
Pierre Métras
29 matches
Mail list logo