?
Nathan Maves
Sun Microsystems
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
It does use a servlet that all request that match a filter are sent to.
Are the filters called in the order that they appear in the web.xml
file?
Nathan Maves
Sun Microsystems
On Feb 17, 2004, at 10:05 AM, Max Cooper wrote:
Nathan,
Struts actually uses a Servlet rather than a Filter. But you
Never Mind you were right :)
Nathan Maves
Sun Microsystems
On Feb 17, 2004, at 12:08 PM, Nathan Maves wrote:
It does use a servlet that all request that match a filter are sent
to. Are the filters called in the order that they appear in the
web.xml file?
Nathan Maves
Sun Microsystems
. This leads me to have text fields with 1.4779002E7 as
the value. I there any way to get around this?
Nathan Maves
Sun Microsystems
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
action form to a DynamActionForm without
subclassing it.
Nathan Maves
Sun Microsystems
On Feb 11, 2004, at 2:17 PM, Mark Lowe wrote:
yeah.. I read that too never seen it working though (made a nice
article, ). You can specify indexed list property in validation.xml to
do this, but didn't work
So you would suggest formating the number after it is copied into my
form bean? It is a string at this point.
Nathan Maves
Sun Microsystems
On Feb 12, 2004, at 10:28 AM, Larry Meadors wrote:
A few dozen, yes. :)
Look at the java.text.NumberFormat class.
Larry
[EMAIL PROTECTED] 02/12/04 10
1.1 as far as I know. I could never find the page to download 1.2
Nathan Maves
Sun Microsystems
On Feb 12, 2004, at 11:24 AM, Mark Lowe wrote:
Nice.. Are you on 1.1 or 1.2?
On 12 Feb 2004, at 18:22, Nathan Maves wrote:
Well I am close :) I have a DynaValidatorActionForm that has
This should work it your array is in either your session or request
scope. If you set it as part of your FormBean then I think that you
need to you the full path to the form bean. I.E.
formBeanName.map.tokens[i].
I am still new to struts so I could be way off :)
Nathan Maves
Sun
I need a DynaFormBean that has an array property. I want this property
to be of made up of a second DynaFormBean that I define. It this
possible?
Nathan Maves
Sun Microsystems
-
To unsubscribe, e-mail: [EMAIL PROTECTED
What do you use to specify the type attribute of the form to be?
Nathan Maves
Sun Microsystems
On Feb 11, 2004, at 8:12 AM, Mark Lowe wrote:
Yep.. I've done this with arrayList before, don't know if you can use
an array of DynaForm's but I'd imagine you can. But it works with
ArrayList.
On 11
Ok I got that part but what is the best way to populate that arraylist
with other DynaActionForm?
Nathan Maves
Sun Microsystems
On Feb 11, 2004, at 8:36 AM, Mark Lowe wrote:
form-property name=nestedForms type=java.util.ArrayLIst /
On 11 Feb 2004, at 16:18, Nathan Maves wrote:
What do you use
Nice...
This only thing that scares me is that you are creating an empty DAF.
Can you then validate the first DAF's indexed properties using the
validator? I have read that you can do this.
Nathan Maves
Sun Microsystems
On Feb 11, 2004, at 11:52 AM, Mark Lowe wrote:
In a referring action
name I believe that I will have to
test if the current student row is equal to the next row in the array
of data. If they are then I will have to create the html:text by
hand.
Nathan Maves
Sun Microsystems
On Feb 10, 2004, at 1:40 AM, Villalba Arias, Fredy [BILBOMATICA] wrote:
Hi,
I don't know
the html:text by
hand.
Nathan Maves
Sun Microsystems
On Feb 10, 2004, at 1:40 AM, Villalba Arias, Fredy [BILBOMATICA]
wrote:
Hi,
I don't know about indexes, but I can think of a simple solution,
Struts-independent (well, not 100%): have all values concatenated in
a single hidden attribute
Can this be done?
I have an Array of my customer objects as the indexed property.
Nathan Maves
Sun Microsystems
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I have searched but found nothing on this specific example.
I have a form that will have n number of elements. Each of these
elements will needs it own name.
example.
list of students is displayed on the screen with two text fields for
their first and last name.
This is for a mass update
your form goes
into
the session scope instead of the request scope. This is probably the
biggest
issue with indexed properties I have seen.
Matt Bathje
- Original Message -
From: Nathan Maves [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Monday, February 09
I know that struts can handle data formating great between different
locales.
My question is how and what needs to happen to support double byte
languages?
How can you create the locale specific properties files?
What databases support these characters?
nathan
We are using JFreeChart with struts.
On Feb 2, 2004, at 11:32 AM, Andy Engle wrote:
Hi all,
Just curious if anyone has used ChartDirector (from
http://www.advsofteng.com) in any Struts application?
Andy
-
To unsubscribe,
Were are attempting to do the same thing. (Have an action return an
image) everything works great but we have the following error in the
server log.
StandardWrapperValve[action]: Servlet.service() for servlet action
threw exception
java.lang.IllegalStateException: getOutputStream() has
Perfect! I remember seeing that but just did not register. My bad :)
On Feb 3, 2004, at 5:28 PM, Michael McGrady wrote:
I think I posted the code that works for my application that does
this. Are you returning null with your action?
At 03:47 PM 2/3/2004, you wrote:
Were are attempting to
All of my other forms validate perfect. This form will only validate
the name field and not the two breakpoint fields.
I have tried everything Any ideas?
action path=/admin/UpdateMetric
type=dashboard.presentation.actions.admin.UpdateMetricAction
name=MetricForm validate=true
So are you saying that it is because I declared it as a java.lang.Float?
When I switch it to a java.lang.String will it works!
So the real question is how to validate a float to be required?
Nathan
On Feb 2, 2004, at 1:32 PM, Larry Meadors wrote:
It is because beanutils converts anything that
The floatRange validation is working fine but the error message show
that my vars are null? This is surprising since the validation is
occurring fine using the specified vars.
Nathan
field property=redBreakpoint depends=required,float,floatRange
arg0 key=app.metric.redBreakpoint /
This is a basic validator why would it not be able to find it? I can
however use the required validator.
Here is the error :
No ValidatorAction called maxLength found for field name
Here is the code from my validator.xml
form name=/admin/UpdateDashboard
field property=name
Found the error. In the version of Struts in Action it has the
validators listed as maxLength when it should be maxlength.
Nathan
On Jan 28, 2004, at 1:56 PM, Nathan Maves wrote:
This is a basic validator why would it not be able to find it? I can
however use the required validator.
Here
Is there any reason why this has not been implemented in the struts
html tags?
http://www.mail-archive.com/[EMAIL PROTECTED]/msg02207.html
Say I have a List of People objects that I place into the request from
an action.
Now I want to iterate through them and create links with two or more
I have a collection of objects that I am interating over in my jsp. I
would like to create links to another action with a few of the
properties of the beans in the collection. From the docs I see that
you have to use a java.util.Map if you want to have multiple params on
a html:link tag. Is
=bean items=${beans}
c:set target=${paramMap} property=prop1 value=${bean.prop1}/
c:set target=${paramMap} property=prop2 value=${bean.prop2}/
c:set target=${paramMap} property=prop3 value=${bean.prop3}/
html:link action=/foo name=paramMap.../html:link
/c:forEach
Quoting Nathan Maves [EMAIL
is it possible to have dynamic parameters sent to to a dyna form?
I do not know how many or the name of the parameters that are being
sent?
Nathan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
how do you create html links to an action that uses a dyna action form?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Here is the situation...
I have a first list of items. If the used chooses to expand on any of
these I need to pull the children of that element and so on. The
amount of level varies on how many nodes the user expands. I think
that I somehow need to keep track of what the user has clicked
8, 2004, at 11:18 AM, Robert Taylor wrote:
Look at IndexedProperties:
http://jakarta.apache.org/struts/faqs/indexedprops.html
robert
-Original Message-
From: Nathan Maves [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 08, 2004 1:02 PM
To: Struts Users Mailing List
Subject: dynamic
No search on nagoya.apache.org take less then a minute.. Way to slow
to be efffective!
nathan
On Nov 20, 2003, at 9:22 AM, Paananen, Tero wrote:
What may seem like a lazy question to some, may seem like a
valid question for a newbie.
Some people just need to remember what it was like to try
If it only worked on OSX :)
On Nov 19, 2003, at 5:40 PM, Sergey Smirnov wrote:
Which UI editor would you recommend someone use when developing web
applications based upon the struts framework? I am using eclipse as my
IDE.
The new Exadel Struts Studio 5.1 was released yesterday. Eclipse based
Are there any pro/con 's for either?
Nathan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Every other time I deploy my app from netbeans 3.5 I get
SEVERE: Error creating form bean of class
org.apache.struts.validator.DynaValidatorForm
java.lang.NoClassDefFoundError
I then redeploy again and everything works
Anyone else ever get this?
Nathan
I have an action with the following code in it
String[] selectedEngineers = new String[3];
request.setAttribute(selectedEngineers,selectedEngineers);
request.setAttribute(availableEngineers,selectedEngineers);
here is the code from the jsp.
logic:iterate id=engineer name=availableEngineers
I just deployed the struts-exercise-taglib.war and tried
html-multibox.jsp. At the top of the page is states that When first
started, all of the listed checkboxes should be selected. does this
mean they all should be checked? If so they are not on my machine.
Anyone else verify this?
Nathan
I have a simple design question..
I have to forms.
first form is one simple select box that needs to have the values
populated from a db.
This form needs to have validation and the submit to the second form.
The second form need to populate a select box based on the value from
the first form.
-
From: Nathan Maves [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2003 12:02 PM
To: [EMAIL PROTECTED]
Subject: simple design question
I have a simple design question..
I have to forms.
first form is one simple select box that needs to have the values
populated from a db.
This form needs
staticJavascript=false /
script language=Javascript1.1
src=staticJavascript.jsp/script
same for the other jsp page.
Hope this helps
Saul
-Original Message-
From: Nathan Maves [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2003 12:23 PM
To: Struts
What is the difference between these three
DynaActionForm
DynaValidatorForm
DynaValidatorActionForm
I assume that the first does no validation. But I can not find any docs
on how to use the second two.
nathan
-
To
I use Sun's application server but when I do this all web applications
reload when you deploy a new one out there. Does Tomcat do this as
well?
Nathan
On Oct 28, 2003, at 9:48 AM, Ruth, Brice wrote:
You can probably reload or stop/start the individual application,
whilst leaving the
JfreeChart
On Oct 27, 2003, at 2:56 PM, Michael Korolyov wrote:
Hello,
Would anyone point me to a free chart lib? pls.
tag support isn't must, but nice to have.
thank you
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
how to collect the values from multiple select box?
nathan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
What about with Dyna Action Forms
Nathan
On Oct 27, 2003, at 4:09 PM, Chen, Gin wrote:
Simplest way is to have a String[] as your property.
html:select property=stringarrayproperty multiple=true
-Tim
-Original Message-
From: Nathan Maves [mailto:[EMAIL PROTECTED]
Sent: Monday, October
linklint can do what you are asking for. Remotely it can only see the
pages that are linked together. To see the orphan'ed files you can run
linklint locally.
Nathan
On Oct 27, 2003, at 9:30 PM, Dinh Nguyen wrote:
Hi all,
I know that this is probably not a right place to ask the question,
I am looking to do just what you have proposed. How do you preload the
action.
Nathan
On Wednesday, October 22, 2003, at 10:45 PM, Andrew Hill wrote:
Well, if the values to show dont need to be dynamically loaded based on
other user input on that page then of course best practice is to load
Example of preloading a form from and Action?
nathan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I have a form that has two select boxes. One need to be pre-populated
on load. The second will be populated when a use selects one of the
elements in the first list.
Can this be accomplished and if so how?
I would really like to use DynaActionForms if possible.
Nathan
51 matches
Mail list logo