On 9/11/05, Wendy Smoak <[EMAIL PROTECTED]> wrote:
> From: "Murray Collingwood" <[EMAIL PROTECTED]>
>
> > I guess pushing the form bean into the session would do this, but session
> > variables for a
> > request level function is probably not recommended.
>
> It is by me. :) Put the form in sess
From: "Murray Collingwood" <[EMAIL PROTECTED]>
I guess pushing the form bean into the session would do this, but session
variables for a
request level function is probably not recommended.
It is by me. :) Put the form in session scope, and most of your problems
will disappear. You pick up
Hi folks
Getting back to some operational questions...
I want to edit some fields on a record in my database. I have a form bean
which
contains all of these fields plus a bunch of other fields that I won't be
needing on the
edit form. One of the fields I don't update is the ID property, it
Hi Laurie,
Thanks for the suggestion!
After digging into the Tomcat console logs, I've finally found out
what the problem is. Seems like my copy of validation-rules.xml was
corrupted. The arguments for the validateRequired method were wrong.
Corrected that and now it works fine :-)
Thanks for th
you're welcome
- Original Message -
From: "Laurie Harper" <[EMAIL PROTECTED]>
To:
Sent: Sunday, September 11, 2005 3:45 PM
Subject: Re: Wrapping Struts tags in tag files
That's only relevant to Tiles, though; it doesn't help for general JSP
tags.
L.
Martin Gainty wrote:
It appea
I am saying that for me Struts is not a viable product to use in any
new commercial areas because of this. Spring is hugely superior as
things stand and Struts is threatening to devolve. Indeed, it would
be easier to build a new Struts on top of Spring than to fix get
anyone to evolve Struts rath
On 9/11/05, Ted Husted <[EMAIL PROTECTED]> wrote:>
> Right now, our implementation is too much like a template and too
> little like a true chain.
That is because the template method was used first and the chain was
enlisted to fix this mistake. Had a strategy pattern been used in the
first pla
Frank,
Thanks for your advise.
I wish to look into the onLoad option that you
suggested, but please tell me, how to set the value
attribute of logic:equal to the value of the opening
form's field. For example, if
opener.forms[0].to_country.value has a value of UK,
how can I get this value (UK
> 1-is it possible to upload a file from a jsp file which has some more other
> fields too ?
> I mean for example a registration form which must have a file item to be
> uploaded ?
Absolutely - it's just a standard HTTP request form after all.
> 2-which method should be used to send the jsp fie
Thanks for your response, I have taken note of your
points.
Please note, formB is actually opened as a popup - I
should have mentioned this.
--- Laurie Harper <[EMAIL PROTECTED]> wrote:
> You're trying to mix JSP syntax, which is processed
> on the server before
> the page is sent to the brows
Laurie is of course correct. However, the other way you can do this is
to have the script that you show here in the value attribute execute as
a result of the onLoad event. That way you would not need to pass the
information through with the request.
The flow of what happens in that case is
You're trying to mix JSP syntax, which is processed on the server before
the page is sent to the browser, with Javascript, which is processed by
the browser after the page is sent. You can't do that.
What you'll need to do is, when formA opens formB (presumably by
submitting an HTTP request),
Hi
Thank you for reading my post.
here is my problem :
1-is it possible to upload a file from a jsp file which has some more other
fields too ?
I mean for example a registration form which must have a file item to be
uploaded ?
2-which method should be used to send the jsp fields to action ?
Pos
That's only relevant to Tiles, though; it doesn't help for general JSP tags.
L.
Martin Gainty wrote:
It appears the definition may be out of scope /out of context
This can be achieved thru tiles by 'Put an attribute' into enclosing
attribute container tag
(where container tag can be or )
htt
You probably need your form to be declared as type
org.apache.struts.action.DynaActionForm (rather than DynaValidatorForm).
The difference between their behaviour is a little subtle so it's easy
to get them mixed up. Try changing it and see if it works.
L.
Weng Kong Lee wrote:
Hi all,
I've j
How to get ActionMessages and form bean objects when simple sevlet is
used as a view ?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Help please!
BACKGROUND
==
A parent window/form - formA opens up formB. In
formB, I am using logic:equal. In the value attribute
of logic:equal, I want to dynamically get the current
value of a field in formA - opener.
PART OF SOURCE CODE
===
PROBLEM
===
None of t
I had problem with character encoding in my web application. I was trying to
display Polish characters using UTF-8 but data from forms was not getting in
proper format to the business layer. I managed to solve this by setting
filter which does request.setCharacterEncoding(encoding); But the quest
Hi,
I had problem with character encoding in my web application. I was trying to
display Polish characters using UTF-8 but data from forms was not getting in
proper format to the business layer. I managed to solve this by setting
filter which does request.setCharacterEncoding(encoding); But th
My aim with the list of patterns / features was to give you something to
scan over quickly to point out where the Spring MVC framework provides
something better than struts.
They're not really just struts features, they're more patterns found in
any web-app. I find several of them require cumb
As my wife likes to say, cool beans :)
Frank
Ted Husted wrote:
Speaking for myself, yes.
On 9/10/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
Ted, I read what you wrote here with interest. I consider myself a
champion of backwards compatibility... in fact, within the past month I
recal
It appears the definition may be out of scope /out of context
This can be achieved thru tiles by 'Put an attribute' into enclosing
attribute container tag
(where container tag can be or )
http://struts.apache.org/api/org/apache/struts/taglib/tiles/PutTag.html
(Unless of course there is a probl
On 9/10/05, Murray Collingwood <[EMAIL PROTECTED]> wrote:
> I am very happy to contribute towards the development of Struts (since Craig
> invited
> me) however I'm still kinda new so I might not be much use for a while. So,
> here I am
> sticking up my virtual hand and asking "what would you li
Speaking for myself, yes.
On 9/10/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> Ted, I read what you wrote here with interest. I consider myself a
> champion of backwards compatibility... in fact, within the past month I
> recall being involved in a discussion thread here where I seemed to
On 9/10/05, Leon Rosenberg <[EMAIL PROTECTED]> wrote:
>
>
>
> > -Ursprüngliche Nachricht-
> > Von: Craig McClanahan [mailto:[EMAIL PROTECTED]
> > Gesendet: Samstag, 10. September 2005 18:06
> > An: Struts Users Mailing List; [EMAIL PROTECTED]
> > Betreff: Re: Who decides?
> >
> > Here's
25 matches
Mail list logo