How would you write what? The JSP? Just add
errorStyleClass="css-class-name" or whatever to each of your form
fields. Or do you mean how would you write the CSS? Something like
css-class-name { background: url('/path/to/img') left center no-repeat;
} in your style sheet should get you started.
If you are using struts 1.2.7 or later, you can use the
ActionRedirect class to dynamically add parameters to the forward. In
your case, something like:
public ActionForward execute(ActionMapping mapping,
ActionForm form1,
HttpServletRequest
Łukasz Piątkowski on 22/10/05 12:33, wrote:
Hello again !
I have Message_pl.properties file for polish language. The problem is
every time I want to add something new to it, using polish characters, I
need to convert polish properties file with native2ascii tool. Then
everything is allrigh
michael Muttai on 22/10/05 15:11, wrote:
Is there a way to register multiple message resources in context so I
can get access to them by tag?
Not sure. Go to the java.sun.com website and get the JSTL spec for the
version you are using. The specification is well written and an
excellent ref
I put log statements any place there is something I want to log :)
Seriously, it sounds like a wise-ass answer, but it isn't.
Logging is a cross-cutting concern, and as such doesn't really apply to
any one part of a system. I personally like to have at least one debug
or trace level log messa
I'm using log4j, but i cannot decide where to place the log-statements..
For instance when a user adds an account.
My options are:
- in the ActionClasses. (This seems to be the common approach, but then
there's logstatements in the "Controller" part, which seems not that
logic to me). So here th
Is there a way to register multiple message resources in context so I can
get access to them by tag?
Michael
From: Adam Hardy <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List"
To: Struts Users Mailing List
Subject: Re: sharing message resources with jstl
Date: Sat, 22 Oct 2005
From: "Adam Hardy" <[EMAIL PROTECTED]>
nice new fresh looking website. Is that the maven-generated one?
Yes. :)
Are you guys using maven2 yet? It just went production-ready. ;)
Not yet... the m1 build for Struts Classic is working fine, so there's no
rush to switch. And while m2 is final
Yes..appears to be a bug in xdoclet which is remedied by
0
in the "servlets.xml" merge file.
Hope this works for you
Martin-
- Original Message -
From: "axel maroudas" <[EMAIL PROTECTED]>
To:
Sent: Saturday, October 22, 2005 7:58 AM
Subject: unknown field in struts-config.xml
Hello
Hello again !
I have Message_pl.properties file for polish language. The problem
is every time I want to add something new to it, using polish
characters, I need to convert polish properties file with native2ascii
tool. Then everything is allright. ...but I want to convert it
automatically
Hi,
you may want to check out these first:
http://support.microsoft.com/kb/234067/EN-US/
http://support.microsoft.com/kb/222064/EN-US/
Then, IE understands extended HTTP/1.1 Cache-Control headers
that the directive doesn't issue. For testing, add
the following line to the top of your JSP:
<%
Hi All,
nice new fresh looking website. Is that the maven-generated one?
Are you guys using maven2 yet? It just went production-ready. ;)
Adam
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAI
Hi Alex,
Unknown="true" is a special attribute which is useful in
directing the unknown requests to the applications to a specific page. For
example if you hit the URL of your application with
http://localhost:7001/App/someThing.do and if this "someThing.do" is not
a valid action in
michael Muttai on 22/10/05 05:02, wrote:
I have three message resources defined in struts-config.xml:
In web.xml, I define a context parameter as follows,
javax.servlet.jsp.jstl.fmt.localizationContext
ApplicationMessageResources
Questions:
(1). Can I define more than message resource
Hello all!
I am new to this mailing list. Actually this is my first post here.
I have a problem regarding the struts-config.xml. I am using xdoclet to
generate it. The situation is the following: The tags in the class as as
follows:
/**
*@struts.action
* path="/login"
*
Thanks Laurie
How would you write this. The usage doesnt seem to be
clear from the tag API.
--- Laurie Harper <[EMAIL PROTECTED]> wrote:
> Wendy Smoak wrote:
> > From: "Mon Cab" <[EMAIL PROTECTED]>
> >
> >> I know will
> give me
> >> the error message for username, but I don't care
> about
Thanks Wendy...
Much appreciated.
--- Wendy Smoak <[EMAIL PROTECTED]> wrote:
> From: "Mon Cab" <[EMAIL PROTECTED]>
>
> > I know will give
> me
> > the error message for username, but I don't care
> about
> > that. I just want to display the error arrow.
>
> Wrap the arrow in using the
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Saturday, October 22, 2005 12:25 PM
> To: Struts Users Mailing List
> Subject: RE: query string parameters problem
>
>
>
> The scope of the ActionForm is session means that the last submitted
> ActionForm wil
18 matches
Mail list logo