I search example of code that allow to display/manage two combox box
dependent one on the other.
For example I have two collections:
- a first collection of Formation object
The formation object has the following properties:
- subject ( C++, Java,
I've defined a DynaValidatorForm in struts-config.xml without any classfile
in WEB-INF/classes. A JSP using this Form for data input and validation
works well. But how can I instantiate an object of this DynaValidatorForm?
I need to generate an array of form objects so that I can print them using
Heligon Sandra [EMAIL PROTECTED] writes:
Do I have to ask the web server each time the user select a new
function, or is it possible to do this logic on the client side
(with JavaScript probably ???).
Yep, w/ JavaScript. I just did this and used the basic functions found
at:
(DynaActionForm) myForm = (DynaActionForm) form;
Giovedì, 30 gen 2003, alle 17:23 Europe/Rome, Boris Folgmann ha scritto:
I've defined a DynaValidatorForm in struts-config.xml without any
classfile
in WEB-INF/classes. A JSP using this Form for data input and validation
works well. But how
Your Action gets passed a copy of the actionForm object
that it is useing. So specify the name of your
DynaValidatorForm in the name property of your action's
definition. Then populate the actionForm oject in your
action and forward to the JSP that expects a populated
DynaValidatorForm..
Not with Struts. Aren't working a little late, Andrew?
-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 30, 2003 10:22 AM
To: Struts Users Mailing List
Subject: RE: Automatic refresh - IS THIS POSSIBLE?
Can Flash do it? ;-)
-Original
To instanciate an DynaActionForm :
DynaActionFormClass formClass = DynaActionFormClass.createDynaActionFormClass(
yourFormBeanConfigObject );
DynaActionForm form = (DynaActionForm) DynaActionFormClass.newInstance();
(...)
I hope this help.
-emmanuel
--- Boris Folgmann [EMAIL PROTECTED] a
Since there seems to be a lot of display:* users on this list, I thought
I'd ask this question here - hope you don't mind.
I have a string in my form that is a date. In order to get the display tag
library to sort this column (date) correctly, I have added the following
method in a Decorator:
Flash? Why not just go to a jsp page that displays 'Please Wait' and it then
makes the request? This seems a lot easier and, more likely, in line with
your current app. Just make sure you forward the appropriate request data.
Michael Lee
- Original Message -
From: Hookom, Jacob John
-Original Message-
From: Mark Lowe 2 [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 30, 2003 10:29 AM
To: Struts Users Mailing List
Subject: Re: How to instantiate a DynaValidatorForm
(DynaActionForm) myForm = (DynaActionForm) form;
That's casting, which is probably
Weblogic 6.1 SP3
-Original Message-
From: Murthy D [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 30, 2003 4:31 AM
To: Struts Users Mailing List
Subject: RE: Help!! Getting NT User
Hi Manju,
Which App Server you are using?
-Original Message-
From:
Do you have an example of this with the struts tags
that allows to display combo-box from a collection of JavaBeans
html:select ...
html:option /html:option
Sandra
-Original Message-
From: Chris Halverson [mailto:[EMAIL PROTECTED]]
Sent: 30 January 2003 17:29
To: Struts Users
Perhaps you didn't get the joke Michael. All OTs lead to Flash.
-Original Message-
From: Michael Lee Jr. [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 30, 2003 11:38 AM
To: Struts Users Mailing List
Subject: Re: [OT] RE: Automatic refresh - IS THIS POSSIBLE?
Flash? Why not just go
nO, im fyne thAnk you very mutch.
Aneyway, itz oNly 1 am. I kood keep going for ours.
Know sines of fateeg yet. 8~}
hey mark - kan yoo remembar wot it be wot kauzez theze NullPointerException
things?
I shood no this one, but mi memeree seemz a bit hazey rite now.
-Original Message-
From:
Heligon Sandra [EMAIL PROTECTED] writes:
Do you have an example of this with the struts tags
that allows to display combo-box from a collection of JavaBeans
html:select ...
html:option /html:option
Nope, sorry.
cdh
--
Chris D. Halverson
Couldn't you subclass Date and override toString?
-Original Message-
From: Raible, Matt [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 30, 2003 11:41 AM
To: '[EMAIL PROTECTED]'
Cc: '[EMAIL PROTECTED]'
Subject: [OT] Display Tag Library - Sorting Dates
Since there seems to be a
We are using Tomcat 4.0.4. I am not sure if it is container-specific. As
far as having a .jsp forward to the index.do, why bother? I don't really
see how that is any simpler. An index.jsp with one line of code to forward
or an index.do with nothing/zip/zilch.
To each his own. It has been
Durham David Cntr 805CSS/SCBE wrote:
No, it's not wrong, but it's more difficult than letting ActionServlet instantiate
the form and set it up for you.
But I don't need one form, I need multiple ones in an array. The objects
are based on a database query.
Emmanuel Boudrant wrote:
To instanciate an DynaActionForm :
DynaActionFormClass formClass = DynaActionFormClass.createDynaActionFormClass(
yourFormBeanConfigObject );
Where can I get this?
DynaActionForm form = (DynaActionForm) DynaActionFormClass.newInstance();
Hey all,
does anybody knows an example for struts (date)validator
or a peace of documentation ?
thanks
Fredy
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Matthew Meyer wrote:
Your Action gets passed a copy of the actionForm object
that it is useing. So specify the name of your
DynaValidatorForm in the name property of your action's
definition. Then populate the actionForm oject in your
action and forward to the JSP that expects a populated
There is a validator webapp that's in the Struts distro.
David
From: Softwareentwicklung Hauschel [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Validator
Date: Thu, 30 Jan 2003 18:16:57 +0100
Hey all,
does
I'd like to use the set-property element of struts-config to tell my action
whether to expect a token. For example, I have an action like this:
action path=blah...
set-property property=useToken value=true/
/action
I'm using an abstract action subclass that itself is a superclass to my
real
The set-property applies to the ActionMapping, not the Action. You can
subclass ActionMapping and add a useToken property to it. Then the
action entity will need the className attribute set to your
ActionMapping subclass.
action className=com.blah.MyActionMapping path=blah...
set-property
FormBeanConfigObject corresponding to your form-bean element.
Use method :
FormBeanConfig findFormBeanConfig(String name)
on your ApplicationConfig object returned with mapping.getApplicationConfig()
--- Boris Folgmann [EMAIL PROTECTED] a écrit : Emmanuel Boudrant wrote:
To instanciate
;-)
thanks...
-Ursprüngliche Nachricht-
Von: David Graham [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 30. Januar 2003 18:20
An: [EMAIL PROTECTED]
Betreff: Re: Validator
There is a validator webapp that's in the Struts distro.
David
From: Softwareentwicklung Hauschel [EMAIL
Secondly, with the latest release of Struts (1.1b3), Scaffold code
has been
packaged into the contrib section. However the commons-scaffold
components
are not there.
It was decided about 2 weeks ago that the struts 1.1 release would
only contain commons libs needed to
build the main
If you are useing the DynaForm to hold the list just make
sure you put the array into the DynaForm, under a
predifined property name that has the same type(Array,
List, ..) Then:
logic:iterate name='dynaFormName'
property='indexedProtertiesName'
id='nameToUseForElements'
bean:write
I'm Still struggling with requiredif... there doesn't seem to be a working
example of it included with 1.1b3. I've gone through the documentation and
come up with this. I'm trying to say that address is required only if
1. prospect is null
2. prospectNameOrId is not null
3. action is not
Good idea - that worked - thanks!
Matt
-Original Message-
From: Jerome Jacobsen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 30, 2003 10:00 AM
To: Struts Users Mailing List
Subject: RE: [OT] Display Tag Library - Sorting Dates
Couldn't you subclass Date and override
In the Struts User Guide there is a large example with indexed properties.
http://jakarta.apache.org/struts/userGuide/dev_validator.html
PS: I spend today resurrecting an old programmatical validation
from a previous project.
--
Peter Pilgrim,
Struts/J2EE Consultant, RBoS FM, Risk IT
Tel: +44
Sandra,
This works with the javascript code Chris pointed you to. The
communityIssue is the parent field and there are two dependent fields
(targetAudience activityType).
- Eric
td
html:select property=communityIssue styleClass=select size=10
multiple=true tabindex=11
--- Emmanuel Boudrant [EMAIL PROTECTED] a écrit : FormBeanConfigObject corresponding
to your
form-bean element.
Use method :
FormBeanConfig findFormBeanConfig(String name)
on your ApplicationConfig object returned with mapping.getApplicationConfig()
Sorry, it's not
Try to utilize the parameter in your action mapping.
For loading action, parameter = load; for submission action, parameter =
submit.
Base action class logic:
If parameter is load
saveToken(request)
If parameter is submit
isTokenValid(request)
submit
Hi all,
I know this kind of question is done here almost every day, but i am still without a
decision
about what O/R mapping tool to use.
I found Cayenne (www.objectstyle.org/cayenne). Did anyone here use it?
Pros? Cons?
Thanks in advance,
Daniel.
Hello,
how to say to IE (browser) to change url? use redirect instead forward.
one Action class call another as it defined in struts-config.xml -
SaveAction -- ListAction
action path=/save
type=SaveAction
name=editForm
scope=request
validate=true
I am wondering why SwicthAction is needed.
The following example uses SwitchAction to switch from module test2 to
module test.
In config file of module test2.
...
action-mappings
action path=/toModule
type=org.apache.struts.actions.SwitchAction/
...
/action-mappings
But you still have to duplicate code in the actions, right? Even if that code is as
simple as:
Service service = Service.getService(SERVICE_KEY);
Foo[] foos = service.getFoos();
request.setAttribute(FOO_KEY, foos);
Action chaining allows this code to be written once and used many times. Thus
In theory it should, but it ain't.
I am running Struts 1.1 Beta 3 and TomCat 4.1.18 under Linux...
My ApplicationResources.properties file is in the folder
webapp/WEB-INF/classes/com/havleik and in the web.xml file I have:
...snip
servlet-nameaction/servlet-name
Dunno why you're doing this, but you can tell the browser to refresh with a different
URL in the meta tag:
head
meta http-equiv=Refresh content=30; URL=http:///www.myserver.com/someURL.do;
/head
Note that the URL must be an absolute URL, not a relative one. You'll prolly have to
use a
Well,
it's rather simple -- I wanted to be able to use the power of struts
constructs, even if the content was not known a priori. But I just
realized that if I can do that (and I'm pretty sure there's a way to
pass internally a string for the Struts taglibs to parse), I'd be
incurring in a
try specifying
forward name=success path=List.jsp redirect=true/
KT
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 30, 2003 1:16 PM
To: [EMAIL PROTECTED]
Subject: How to REDIRECT?
Hello,
how to say to IE (browser) to change url? use
Hey all,
i've problems with my validator:
30.01.2003 19:27:39 org.apache.struts.validator.ValidatorActionForm validate
SCHWERWIEGEND: Resources not defined for Validator
org.apache.commons.validator.ValidatorException: Resources not defined for
Validator
at
Hello-
I have an object that is null (that is what the log says) however the
logic:empty and logic:notEmpty tags are both executing the nested body.
JSP code:
logic:notEmpty name=pageBean
property=tripReport.currentTripPage.currentImage/
NOT EMPTY
br
/logic:notEmpty
I saw this once and couldn't figure it out. Then I reaized
that the taglibs weren't defined in the JSP and that they
were being evaluated.. Do a view source from your browser,
to verify this.. Hope This solves your problem, because
it's nice when they are easy to fix.
Matt,
On Thu, 30 Jan
Hello list.
This is my case:
I have one action called NewIssue and one called ListIssues.
NewIssue processes a very simple input form in newissue.jsp.
ListIssues gives me a list of all the issues entered by the user in
listissues.jsp.
In my struts-config.xml file i have:
action
Your struts-config doesn't have a plug-in element for the Validator.
Sri
-Original Message-
From: Softwareentwicklung Hauschel
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 30, 2003 1:33 PM
To: Struts Users Mailing List
Subject: Validator Problems
Hey all,
i've
I was wondering if there was a way to either nest
DynaValidatorForms, or any other way to use more than one
DynaValidatorForm in the same view/action?
The big gotcha if that I still need validation to
function. Can I use nested property notation in the
validation.xml?
Any help or experience on
You are closing your starting tag.
Remove the / at the end of your starting tag
...pPage.currentImage instead of
...pPage.currentImage/
-Message d'origine-
De : Matthew Meyer [mailto:[EMAIL PROTECTED]]
Envoyé : jeudi 30 janvier 2003 13:51
À : Struts Users Mailing List
Objet : Re:
Hi,
I have a Form which extends ActionForm and need to get the ActionServlet instance.
When I
attempt to do this using this.getServlet() method I am returned a null reference. My
actual goal is to get the ServletContext which I should be able to get from the
ActionServlet instance. Anybody
A quick look at that configuration looks correct. Let me know if it
doesn't work for you.
James Turner
Owner Manager, Black Bear Software, LLC
[EMAIL PROTECTED]
Author:
MySQL JSP Web Applications:
Data Driven Programming Using Tomcat and MySQL
ISBN 0672323095; Sams, 2002
You can redirect instead of forwarding. Of course, as you know, this creates a new
request and so you can't expect to use anything that is in request scope in the list
page.
Sri
-Original Message-
From: carlos list [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 30, 2003 1:54
Man, that looks convoluted.
Sri
-Original Message-
From: PILGRIM, Peter, FM [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 30, 2003 1:03 PM
To: 'Struts Users Mailing List'
Subject: RE: [VALIDATOR] requiredif ??
In the Struts User Guide there is a large example with
You could use the HttpServletRequest to get the HttpSession to get the
ServletContext.
David
From: bkafka [EMAIL PROTECTED]
Reply-To: bkafka [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Forms and getting the ActionServlet from the form
Date: Thu, 30 Jan 2003 12:24:01 -0700
Hi,
I
I have had this same problem in the past. Make sure you're not putting
anything on Tomcat's classpath. That seemed to fix my problem. You might
also try jarring up all your class files and putting it in /WEB-INF/lib
instead.
David
From: Bjørn T Johansen [EMAIL PROTECTED]
Reply-To:
Hello-
Running struts 1.1-3b struts-example.
The struts-config.xml is configured to use DynaValidatorForm by default
- which works fine.
However, when I switch to the form-bean:
form-bean name=logonForm
type=org.apache.struts.webapp.example.LogonForm/
I get the following error:
, root
From: Sri Sankaran [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 30, 2003 2:30 PM
To: Struts Users Mailing List
Subject: RE: [VALIDATOR] requiredif ??
Man, that looks convoluted.
Sri
Well, short of implementing a full boolean expression language inside
Validator, it was the best
If you're using Struts and JSTL, you might as well use Struts-EL, so you
could do the following:
fmt:formatDate value=${employeeForm.dateOfBrith}
pattern=dd/MMM/ var=formattedBirthDate/
html-el:text property=employee.dateOfBirthText
value=${formattedBirthDate}/
I suppose that is an acceptable price to pay for being to declaratively define
validations.
I am hoping to take advantage of requiredif to stop validator from validating upon the
first error encountered -- of course it works only where one is testing the 'required'
rule.
Sri
-Original
Is there any reason that none of the books, or docs
discuss writeing javascript pluggable validators. I wrote
my own xorDependency pluggable javascript validator, one
field or the other field required but not both. It takes
one var named secondField that tells it the other field in
the
James wrote:
A quick look at that configuration looks correct. Let me know if it
doesn't work for you.
No, it doesn't. It's as if that rule isn't even there-- if there is no
prospect, and there is a prospect name, even if the address is blank, it
passes validation and goes to the next step.
Sounds good. How can I do that?
From: Sri Sankaran [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: RE: Reload after forward executes the previous action.
Date: Thu, 30 Jan 2003 14:29:24 -0500
You can redirect
pff you just song like a stupid man who think he have all the rigth
and the other people didn't have the rigth to have a different opinon
stupid american
- Original Message -
From: Andrew Hill [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, January
Set the redirect attribute of the appropriate forward to 'true'.
Sri
-Original Message-
From: carlos list [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 30, 2003 2:51 PM
To: [EMAIL PROTECTED]
Subject: RE: Reload after forward executes the previous action.
Sounds
May be I understand why SwicthAction is needed.
If I want to forward from an Action in module A to a JSP in module B, I can
set the contextRelative to true.
global-forwards
forward name=toModuleB
contextRelative=true
path=/moduleB/index.jsp
redirect=true/
...
I'd call you stupid right back, but I can't figure out how to phrase it.
Are you a stupid:
Swissy?
Swissite?
Swizzler?
Switzerlandian?
Switzerlandener?
Switzerlard?
Switzerlander?
-Original Message-
From: alexj [mailto:[EMAIL
I've got Tiles configured as a struts plug-in:
plug-in className=org.apache.struts.tiles.TilesPlugin
set-property property=definitions-config
value=/WEB-INF/tiles-defs.xml/
set-property property=moduleAware value=true /
set-property property=definitions-parser-validate
Oh I feel silly now. 8-)
Thanks alot!
-Michael
On Thu, 30 Jan 2003 [EMAIL PROTECTED] wrote:
You are closing your starting tag.
Remove the / at the end of your starting tag
...pPage.currentImage instead of
...pPage.currentImage/
On Thu, 30 Jan 2003 13:41:17 -0500 (EST)
Michael P.
I haven't done anything with the Tomcat's classpath and jarring up all my
classes didn't work either... :(
Anymore suggestions?
BTJ
On Thursday 30 January 2003 20:35, David Graham wrote:
I have had this same problem in the past. Make sure you're not putting
anything on Tomcat's classpath.
Hey guys,
Let's stop to hurt members of this list. We are here to talk about struts and
technology in
general. We are not here to start a war. Bush will do it!
Love and peace for anyone,
Daniel.
--- Jarnot Voytek Contr AU HQ/SC [EMAIL PROTECTED] wrote:
I'd call you stupid right back, but I
I agreetake it offline guys.
--
James Mitchell
- Original Message -
From: Daniel H. F. e Silva [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, January 30, 2003 3:23 PM
Subject: RE: [OT] Geek Code
Hey guys,
Let's stop to hurt members of this
Per the documentation section 5.4.3.1:
All that's required to install the struts tag libraries is to copy
struts.jar into your /WEB-INF/lib directory and reference the tags in
your code like this:
%@ taglib
uri=http://jakarta.apache.org/struts/tags-html-1.0;
prefix=html %
We should take political discussions offline as well, we don't ALL share
your views. ;-)
-Original Message-
From: Daniel H. F. e Silva [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 30, 2003 2:24 PM
To: Struts Users Mailing List
Subject: RE: [OT] Geek Code
Hey guys,
Let's stop to
Hello-
struts 1.1-3b, iPlanet Web Server 6.0 sp5,
Using virtual server, I get:
, root cause: javax.servlet.jsp.JspException
at org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:600)
at _jsps._logon_jsp._jspService(_logon_jsp.java:164)
Has anyone ever gotten a form-bean to work
never used cayene but the ibatis o/r lib is very good. I've used it for
high-volume applications with no problem. The memory caching is killer.
www.ibatis.com
-Original Message-
From: Daniel H. F. e Silva [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 30, 2003 1:13 PM
To: [EMAIL
lol sorry for my post (s) I'm a bit tired
- Original Message -
From: John Espey [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, January 30, 2003 9:32 PM
Subject: RE: [OT] Geek Code
We should take political discussions offline as well, we don't ALL
struts b3 use the WEB uri look at the sample include with your version
- Original Message -
From: Kirby Vandivort [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, January 30, 2003 9:32 PM
Subject: problems with tag libraries
Per the documentation section 5.4.3.1:
All that's
Hello
We are using struts 1.0.2 for our application.
Our application is huge and needs a certain sets of
products(with new fields on the screen) to be added
every 6 months. All the screens for these products
will have similar look and feel.
So, to make the development easier and faster, we want
Hi,
You could try this one :
%@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean
%
%@ taglib uri=/WEB-INF/struts-html.tld prefix=html %
Nicolas
-Original Message-
From: Kirby Vandivort [mailto:[EMAIL PROTECTED]]
Sent: jeudi 30
I believe DynaActionForms can do this but that is a 1.1 feature. 1.1 final
should be out relatively soon so you should consider upgrading to get new
features you need.
David
From: Raji Vivek [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
try swiss :))
- Original Message -
From: Jarnot Voytek Contr AU HQ/SC [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Thursday, January 30, 2003 9:07 PM
Subject: RE: [OT] Geek Code
I'd call you stupid right back, but I can't figure out how to phrase it.
Are
On Wed, 29 Jan 2003, Alireza Fattahi wrote:
Date: Wed, 29 Jan 2003 12:52:14 +0330
From: Alireza Fattahi [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Subject: RE: Struts Validator Debug output? What is it doing?
On Wed, 29 Jan 2003, Luiz-Otavio Zorzella wrote:
Date: Wed, 29 Jan 2003 08:40:22 -0800
From: Luiz-Otavio Zorzella [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: How to have a generated string processed by Struts?
What if I wanted to
That was a compliment, Andrew.
-Original Message-
From: alexj [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 30, 2003 2:52 PM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: Re: [OT] Geek Code
pff you just song like a stupid man who think he have all the rigth
and the
On Thu, 30 Jan 2003, Arnesen, Geir wrote:
Date: Thu, 30 Jan 2003 07:46:01 +0100
From: Arnesen, Geir [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Session based authentication across muliple webapps
Is it, - or how may I accomplish
Doing things your way leaves the wrong ModuleConfig stored under the
request attribute identified by Globals.MODULE_KEY, so the destination
action or page will likely misbehave.
You can avoid using SwitchAction, as long as you emulate what it
accomplishes -- a call to RequestUtils.selectModule()
I never have done that but maybe you can do it using xdoclet but I'm really
not sure
- Original Message -
From: Raji Vivek [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, January 30, 2003 9:41 PM
Subject: Dynamic GUI Generation
Hello
We are using struts 1.0.2 for our
The HttpServletRequest is not available from something extending ActionForm.
I do use that when I'm in an Action.
- Original Message -
From: David Graham [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, January 30, 2003 12:33 PM
Subject: Re: Forms and getting the
What do you need to get the ActionServlet in your ActionForm?
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: bkafka [mailto:[EMAIL PROTECTED]]
Sent: January 30, 2003 4:28 PM
To: Struts Users Mailing List
Subject:
From: Wendy Smoak [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 30, 2003 2:44 PM
To: 'Struts Users Mailing List'
Subject: RE: [VALIDATOR] requiredif ??
James wrote:
A quick look at that configuration looks correct. Let me know if it
doesn't work for you.
No, it doesn't.
Yes. In a follow-up e-mail I asked a follow-up question. This problem also
exists if contextRelative forwards are used. Shouldn't the contextRealtive
forward change the module before forwarding the request.
Sanjay
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Hi,
In my application some messages are error and some are
information, i want to show error messages in red and
information messages in blue,
so how can i do it??
can i store them both in one ActionErrors class and
in jsp have some thing to show in different colors or
have 2 different
I don't know what you mean by this. I'm using the nightly build
and I've looked through all of the samples and non of them seem to
be using the http://jakarta URI (maybe that should tell me something)
even though the docs clearly say that this can be done to 'simplify
deployment'.
To the other
try ActionErrors and ActionMessages - works fine
-Original Message-
From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]]
Sent: Donnerstag, 30. Januar 2003 23:02
To: [EMAIL PROTECTED]
Subject: Disply messages in different colors on jsp
Hi,
In my application some messages are error
I know of some folks that put a few satellites in orbit that run on Forth. There is
nothing quite like having your hands right on the program stack. :)
M (the language formally known as MUMPS)... the database is the code / the code is the
database... the whole DB structure looks like DOM with
I am trying to get a property passed from a plugin to initialize a List. I
have a workaround, which is getting it from the Action and then putting it
in a hidden field but it bothers me that I can't get from the form when the
method is advertised.
- Original Message -
From: [EMAIL
James wrote:
Dumb question: Are you sure you're running validations at all?
Yes. I have some simple validations like:
field property=newEmailAddress
depends=email
arg0 key=label.additional.email/
/field
and
fieldproperty=date
Hi, I just noticed this message about paging tags posted on the archive
for struts-user. I was using Ed Hill's display taglib for doing this sort
of thing in the past, but it wasn't flexible enough for me, so I ended up
completely rewriting it. I've been in the process of putting a proposal
Hello,
You can save your error messages with a diffent error key than the
information messages.
Here's a short example :
In your java :
ActionErrors errors = new ActionErrors();
errors.add (KEY_ERROR_MESSAGES, new ActionError(your message key));
I prefer your workaround. It is simply not good idea to me to touch servlet
request or ActionMapping or ActionServlet in ActionForm.
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: bkafka [mailto:[EMAIL PROTECTED]]
101 - 200 of 235 matches
Mail list logo