It seems to me that for apps that do not need i18n, i18n constructs shouldn't be
forced upon the user. Is there a way to return an error message from
ActionForm.validate(..) without dealing with a resource file?
Dave Ford
Smart Soft - The Developer Training Company
http://www.smart-soft.com
Hi,
I've got struts going using a nightly build from about a month ago.
Anyway, I'd like to have a form
public class InputForm extends Form
{
Integer volume;
java.util.Date transferDate;
String notes;
}
And on a JSP page, effecti
Hi,
In my application in Action Class we are setting FormBean values for next
screen.
In this scenario first time the values are not pre populating in next
screen.
If we refreshed the page i.e: the action invoking once again then the
values are prepopulating.
Scope of the Next FormBean :
I believe it was Martin Fowler referring to JUNIT. - Richard
-Original Message-
From: Ted Husted [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 02, 2003 4:10 PM
To: [EMAIL PROTECTED]
Subject: [OT] So much time, so little to do ...
"No, stop. Rewind and reverse that." =:0)
Okay trivi
Hi,
Try to use bean:define to define a variable from the FormBean
I think
But you better check the documentation for the bean:define tag
Hope this helps
Regards
Sakis
- Original Message -
From: "Souravmay Das" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 03, 2003
Hi,
I have a JSP which get redirected from the Controller servlet
now how do
I access the Form objects from Tag class.
Now my struts-config looks some thing like this
Now in index.jsp I have a tag which tries to get some thing from the
LogonForm.
How can I get th
Todd Pierce wrote:
Off the top of my head :
...should do the trick. But why do you want a blank option? If it's for a
divider, I suggest -- would work better.
Thanks. Wonder why an actual space between the and
would throw an exception?
{{SNIP}}
--
Charles H. Baker
[EMAIL PROTECTED]
Off the top of my head :
...should do the trick. But why do you want a blank option? If it's for a
divider, I suggest -- would work better.
-Original Message-
From: Charles H. Baker [mailto:[EMAIL PROTECTED]]
Sent: Monday, 3 February 2003 3:12 PM
To: [EMAIL PROTECTED]
Subject: blan
How can I create a blank entry in a selection list using the
html:option tag? Everytime I try something like
I get an exception which just so happens to be missing it's Message
Resource. What am I doing wrong?
--
Charles H. Baker
[EMAIL PROTECTED]
http://www.charleshbaker.com/
http://www.charl
Sundar Narasimhan wrote:
- set each individual attribute of my model into request
parameters
Why would you do this if you have the form bean from the previous
step?
Hi, Paul: Thanks for your thoughtful reply. Your above statement is
what I guess I'm having trouble with. (i.e.
Winston Churchill sad:
'Never in the history of human conflict has so much been owed by so many to
so few.'
Ok! I'm not the first But, I'm original!
What do You think Ted? :-) ;-)
- Original Message -
From: "Ted Husted" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, Febr
>You should really go back through some of the archives to review the
>pro and con arguments; and (among other things)
>you will find that I am adamantly against what you propose -- it would
>encourage people to reuse the wrong thing for the wrong reasons.
Craig -- thanks for your response. Will go
I think this is how you'd do it using JSTL and Struts-EL (I may have messed
the names up)
-Original Message-
From: Charlie Toohey [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 02, 2003 4:10 PM
To: Struts Users Mailing List
Subject: Re: html:text tag "indexed" attribute
Th
On Sun, 2 Feb 2003, Sharma, Sanjay (LNG-DAY) wrote:
> Date: Sun, 2 Feb 2003 15:19:54 -0500
> From: "Sharma, Sanjay (LNG-DAY)" <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: "'[EMAIL PROTECTED] '" <[EMAIL PROTECTED]>
> Subject: Issues with using Modules
>
>
>
On Sun, 2 Feb 2003, Sundar Narasimhan wrote:
> What I would have liked to be able to do is..
>
> class PointForm extends Point implements SomeStrutsFormInterface {
> }
>
> in cases where this is possible. The advantage of this is that it
> still maintains and allows for the *Form
martin fowler, talking about junit
On Mon, 2003-02-03 at 09:39, Ted Husted wrote:
> "No, stop. Rewind and reverse that." =:0)
>
> Okay trivia geeks, who said "Never has so much been owed by so many to
> so few lines of code" and what "so few lines of code" are we talking about?
>
> Yet another
"No, stop. Rewind and reverse that." =:0)
Okay trivia geeks, who said "Never has so much been owed by so many to
so few lines of code" and what "so few lines of code" are we talking about?
Yet another autographed copy of Struts in Action to the first lucky
emailer with the correct answers. (Pri
I wasn't looking in the JSTL spec, once I looked there I found an
example I could extrapolate from. Thanks for pointing me in the right
direction David. BTW your example was exactly what I needed also, so
thanks again.
jb
-Original Message-
From: David M. Karr [mailto:[EMAIL PROTECTED]
>> - set each individual attribute of my model into request
>> parameters
>Why would you do this if you have the form bean from the previous
>step?
Hi, Paul: Thanks for your thoughtful reply. Your above statement is
what I guess I'm having trouble with. (i.e. if I have a Point model
obje
Thanks David. I appreciate your help.
My conclusion is that the html:text "indexed" attribute is only intended for
collections of beans which have properties, not for collections of Strings
which do not have properties. The generated "name" attribute for the HTML tag
of name[nn].property simply
Hi, David: Thanks for your notes.
Sundar> Does 1.1. interfere w/ the the loading/reading of css attributes?
Sundar> Thanks.
>You'll have to be much more specific, showing exactly what you mean by
>"doesn't
>work", along with showing relevant portions of your pages, and the
>resulting
>output. Wh
> "Jeff" == Jeff Born <[EMAIL PROTECTED]> writes:
Jeff> I have been unsuccessfully trying to figure out how to do something like
Jeff> the following:
Jeff> do something
Jeff>
Jeff> if this possible? Am I going about it all wrong? I really want to check
Jeff> for
> "Sundar" == Sundar Narasimhan <[EMAIL PROTECTED]> writes:
Sundar> Hi, I have a web application that was working fine w/ struts 1.0. I
Sundar> updated to 1.1 (by update the tld's the jars etc.), and now the
Sundar> web pages that had css attributes just don't seem to work!!!
> "Sundar" == Sundar Narasimhan <[EMAIL PROTECTED]> writes:
Sundar> David -- Apologies.. but I'm a newbie to struts, and can't understand
Sundar> your statement. Can you perhaps show me what you mean by concatenate
Sundar> strings together? In short, are you saying struts cannot do
1) There are no real global forwards and exceptions. The global are only
visibale within a module. How can I define forwards and exceptions that are
used in multiple module.
2) Forwarding between mdoules is awakward. First, if you want to forward
from an action to a jsp in another module, context
Sundar Narasimhan wrote:
Hi, I have a master form that displays a bunch of object.
I'd like for the user to select a radio button corresponding to one of
those objects and then click Edit.
The editaction should obviously display a form corresponding to the
selected object.
What I'm failing to
I have been unsuccessfully trying to figure out how to do something like
the following:
do something
if this possible? Am I going about it all wrong? I really want to check
for the existence of getParameter("body") and if the body tag exists do
something. After playing with it I couldn't ev
Hi, I have a web application that was working fine w/ struts 1.0. I
updated to 1.1 (by update the tld's the jars etc.), and now the
web pages that had css attributes just don't seem to work!!!
Does 1.1. interfere w/ the the loading/reading of css attributes?
Thanks.
---
David -- Apologies.. but I'm a newbie to struts, and can't understand
your statement. Can you perhaps show me what you mean by concatenate
strings together? In short, are you saying struts cannot do somehting
like this?
ps. I have tried different syntaxes such as:
...
etc. but none of them s
Hi, I have a master form that displays a bunch of object.
I'd like for the user to select a radio button corresponding to one of
those objects and then click Edit.
The editaction should obviously display a form corresponding to the
selected object.
What I'm failing to understand is what I need t
Most of the real work can occur on the back end in POJOs (Plain Old Java
Objects). In practice, the way to accept dates in a form is through a
select box and/or JavaScript calendar. So you start by sending out a set
of three select boxes with the year/month/day (localised if need be).
When thos
In Patterns of Enterprise Application Architecture [1], Martin Fowler
[2] lays out two basic patterns for handling business logic [3].
* Transaction Script - "Organizes business logic by procedures where
each procedure handles a single request from the presentation.
* Domain Model - "An object mo
I am wondering whether the SecureRequestProcessor of SSL extension for
Struts 1.1 can embrace TilesRequestProcessor so the http/https switching can
recognize Tiles definitions. If not, can this be a feature?
BaTien
- Original Message -
From: "Alireza Fattahi" <[EMAIL PROTECTED]>
To: "'Str
Are you talking about Velosurf?
--
James Mitchell
- Original Message -
From: "Aislan Fernandes" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, February 01, 2003 7:22 AM
Subject: scope of a tool
> hi again,
>
> Before i have said about scope of a tool and seem that nobo
Hello David,
I think that the main problem in struts-validator is because is highly
coupled with ActionForm. Ok, I can use commons-validator. But, my idea is:
* Put the validation rules in only one place (a XML file that can be
read and interpretated by struts and my business rule);
*
The framework could be extended to support this on a per-action basis. In
struts-config.xml we could have an additional element or attribute of the
'action' attribute to indicate the desired ActionForm populate/validate
behavior on invalid token.
> -Original Message-
> From: Craig R. McCl
Looks pretty cool! Thanks for sharing.
robert
> -Original Message-
> From: Brandon Goodin [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, February 02, 2003 12:16 AM
> To: Struts Users Mailing List
> Subject: RE: Running a heartbeat program in struts.
>
>
> This is the BEST open source cron lik
37 matches
Mail list logo