I remember avoiding reset() because any exceptions caused by DB interaction
couldn't be handled gracefully-- i.e., the exceptions would be thrown prior
to the execute() method.
This case seems to be another of the type addressed by this proposal-- am I
right?
> -Original Message-
> From
your server bridge not append the
> context path or
> follow Ted's suggestion and subclass the FormTag to do what you want.
>
> David
>
>
>
>
> >From: "Taylor, Jason" <[EMAIL PROTECTED]>
> >Reply-To: "Str
ge-relative links is a best practice because the
contextPath can vary from installation to installation.
All I wanted was some feedback on how to enable what could be an important
feature for those developing on multi-tiered architectures. Thanks as
always for your feedback.
-JT
> As always, I
lways does-- if you look at getActionMappingName and
getActionMappingUrl, they both handle "login.do" just as well as "/login".
There is no problem getting the form bean. All I want is to rid myself of
the context path in the HTML form tag generated by Struts' FormTag.
> Da
t; On Mon, 28 Oct 2002, Taylor, Jason wrote:
>
> > Date: Mon, 28 Oct 2002 13:54:29 -0800
> > From: "Taylor, Jason" <[EMAIL PROTECTED]>
> > Reply-To: Struts Developers List <[EMAIL PROTECTED]>
> > To: 'Struts Developers List' <[EMAIL PROTEC
RE: [SURVEY] HREF attribute for FormTag
You still haven't addressed why you want to do this. If can't
lookup the form bean because the action doesn't match an action mapping,
then the other html form related tags are basically useless. You could just
use straight html for this.
rm to be submitted across modules as with
ActionForward.
-JT
-Original Message-
From: Craig R. McClanahan [mailto:craigmcc@;apache.org]
Sent: Monday, October 28, 2002 11:13 AM
To: Struts Developers List
Subject: Re: [SURVEY] HREF attribute for FormTag
On Mon, 28 Oct 2002, Taylor, Jason
Hi all--
There have been two bugs (#12600, #13871) logged against the form tag for
the behavior of its getActionMappingUrl method, which always prepends the
context path.
Other html tags that produce a URL that is sent to the browser such as
LinkTag and ImgTag give the user at least the option
While this discussion is going on regarding 'relativity', I'd like to note
that bug #12600 reports a problem with the form tag that seems related:
Basically always prepends the module context,
making it impossible to specify a true relative link (like "login.do" rather
than "/app/login.do" or "/a
happens to your js date formatting when I turn off javascript?
Dave
>From: "Taylor, Jason" <[EMAIL PROTECTED]>
>Reply-To: "Struts Developers List" <[EMAIL PROTECTED]>
>To: "'Struts Developers List'" <[EMAIL PROTECTED]>
>Subjec
I disagree with the idea that JavaBeans should handle date formats, and I
think it is a good example of mixing view and model components-- of
confusing the roles of front- and back-end developers.
Date formats and the like are better left to the front-end developer since
they are UI elements an
HTTP Status 404 - /struts-atlanta/downloads/DBMessageResources
type Status report
message /struts-atlanta/downloads/DBMessageResources
description The requested resource
(/struts-atlanta/downloads/DBMessageResour
My feeling is that if you really want to have sub-apps be independent, why
not leave them in separate .war files?
Any organization or project group that is large enough to have different
people working on different parts of a given application (rather than having
each application have its own m
I agree that sub-applications are handicapped by not utilizing some form of
inheritance from the default sub-app or "parent" sub-apps. Given that
Struts is a Java-based framework, it makes sense that there would be some
way to "extend" an application.
I'm probably at the far end of the spectrum
o figure out how it works ;)
-Original Message-
From: Taylor, Jason
Sent: Friday, October 04, 2002 2:17 PM
To: 'Struts Developers List'
Subject: RE: [VOTE] New Struts Committer: Eddie Bush
+1
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Friday,
+1
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 04, 2002 1:54 PM
To: [EMAIL PROTECTED]
Subject: [VOTE] New Struts Committer: Eddie Bush
I'd like to propose Eddie Bush <[EMAIL PROTECTED]> as a committer on the
Struts project.
Eddie has de
impact of patches on each
other to some degree. Just a thought.
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 04, 2002 12:04 PM
To: Struts Developers List
Subject: RE: Applying patches
On Fri, 4 Oct 2002, Taylor, Jason wrote:
> Da
list and in
the code. If I can help in this type of area by trying patches and voting
for
ones that work, that would be great.
rom: Taylor, Jason <[EMAIL PROTECTED]>
Subject: Applying patches
Date: Fri, 4 Oct 2002 10:43:48 -0700
Content-Type: multipart/alternative;
boundary="--
Maybe we can come up with some process of reviewing patches so that
struts-dev subscribers can take care of some of the quality control tasks
and committers can review the reviews, if that makes sense. Struts is so
good at divvying up work between people and creating specialized tasks that
someho
post to struts-user and you may get a better response...
-Original Message-
From: Marcelo Flores A. [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 03, 2002 1:49 PM
To: [EMAIL PROTECTED]
Subject: who
who I do than element radio have the attribute checked ?
help me
Atte. Marce
+1
Eddie's right about the brokenness of the behavior he's trying to patch and
he's right about the importance of addressing sub-app issues before the next
release-- the importance of at least discussing them. Is it somehow taboo
to discuss these things at this stage of 1.1's development?
My 2c
Are you pre-compiling your JSPs? It sounds like you aren't. If you're
really concerned about performance, you should use the compiler your
container uses to compile JSPs and save it the trouble by doing it at build
time (ant has built-in tasks to do this). It's really a container issue, I
think
InvocationTargetExceptions happen when Method.invoke is used during
reflection and the invoked method throws *any* exception. To hunt it down,
you'll need to do trial and error, or hack PropertyUtils to spit out a stack
trace on the exception it catches before rethrowing it. Anyone have any
bett
t the resources using the following:
MessageResources resources =
(MessageResources) request.getAttribute(Action.MESSAGES_KEY)
--- "Taylor, Jason" <[EMAIL PROTECTED]> wrote:
> I posted a question to the struts-user group asking how one could get a
> Reso
ervletRequest) method to either the ActionForm or
ActionServlet class. Any thoughts?
-JT
-Original Message-
From: Taylor, Jason
Sent: Saturday, September 21, 2002 12:21 PM
To: 'Struts Users Mailing List'
Subject: RE: getting MessageResources within ActionForm.reset()
Because I
25 matches
Mail list logo