On Fri, 14 Jan 2005 23:20:47 -0800, Oleg [EMAIL PROTECTED] wrote:
Hi, ok I am trying to get my Dynamic List-Backed form to work, no
luck, here is what I have so far.
ActionForm with a List in it:
public ArrayList getFields() {
return fields;
}
public void setFields(ArrayList
Sorry forgot to tack on the actual property
logic:iterate name=formActionForm property=fields indexId=index
id=field
tr
td
html:text property='%=fields[+index.intValue()+].label%'/
/td
td
html:select property='%=fields[+index.intValue()+].type%'
html:optionsCollection
On Fri, 14 Jan 2005 18:01:25 -0200, Flávio Maldonado
[EMAIL PROTECTED] wrote:
Hello...
When I use this tags above, the Button works well, but the Link doesn't
work.
html:form action=/user
html:submit property=actionbean:message
key=button.new//html:submit
html:link
Hi List,
I have something like this in my validation.xml:
field property=stdCode depends=validwhen
arg0 key=entry.std/
varvar-nametest/var-name
var-value
((phone != null) or (mobile == null) or (*this* != null))
/var-value
/var
Kindly send all your messages to [EMAIL PROTECTED] This mail account is not
functioning anymore.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On Sat, 15 Jan 2005 15:18:33 +0530, Vamsee Kanakala
[EMAIL PROTECTED] wrote:
Hi List,
I have something like this in my validation.xml:
field property=stdCode depends=validwhen
arg0 key=entry.std/
varvar-nametest/var-name
var-value
((phone != null) or
hi,
iam using struts and making a website.
During the development phase, we had used the default
port 8080.
so to access my webpage i used to write,
http://localhost:8080/simliv/action/welcome
well all files in my jsp pages use struts html:base
tag
so under view source for any jsp page,
the url
Kindly send all your messages to [EMAIL PROTECTED] This mail account is not
functioning anymore.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Kishore Senji wrote:
http://struts.apache.org/userGuide/dev_validator.html
Probably you missed the validWhen rules; Search for A few quick notes
on the grammer on the above page
Thanks, I really missed that part. I have one more problem:
My form is populating a drop-down like this:
select
Kindly send all your messages to [EMAIL PROTECTED] This mail account is not
functioning anymore.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
You can do the same thing WITHOUT the parameter values in the
struts-config.xml and the following code:
html:form action=/user
html:submit property=new.methodbean:message
key=button.new//html:submit
html:link page=/user.do?new.method=''New/html:link
/html:form
if you what the method to be
I don't know what Kishore is talking about. Seems what you do is
better than that suggestion. However, if you want the field from the
form saved, populated, etc., all you have to do is have a property for
the field, e.g.
protected String field;
public String getField() { return field; {
public
Is everyone else getting the irritating messages from
[EMAIL PROTECTED] I wish those with the switch would throw
it on this user.
Jack
--
--
You can lead a horse to water but you cannot make it float on its back.
~Dakota Jack~
You can't wake a person who is
Kindly send all your messages to [EMAIL PROTECTED] This mail account is not
functioning anymore.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Kindly send all your messages to [EMAIL PROTECTED] This mail account is not
functioning anymore.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Kindly send all your messages to [EMAIL PROTECTED] This mail account is not
functioning anymore.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Oops, never mind, they are back.
Since I am a moderator, I should be able to unsubscribe this account (that
is, if it is subscribed and not some forward from another account).
Give it a few minutes.
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM:
Kindly send all your messages to [EMAIL PROTECTED] This mail account is not
functioning anymore.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Thanks. Hope you like them. Nice looking site by the way.
Erik
Vic wrote:
You do need a life.
But... I just bought 2 books from your list.
I keep a track of cool design ideas here: http://sandrasf.com/kiss -
so if anyone wants to append there they can.
(I like SQL Tuning, SQL for smartites and
Kindly send all your messages to [EMAIL PROTECTED] This mail account is not
functioning anymore.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I have not used with validator - but have used earlier versions of this
script..
http://www.mattkruse.com/javascript/calendarpopup/
db
-Original Message-
From: Vamsee Kanakala [mailto:[EMAIL PROTECTED]
Sent: 15 January 2005 13:35
To: Struts Users Mailing List
Subject: [Slightly OT]
Alex,
The below Stack Trace snippet suggests you had some sort of exception in
your Logon jsp, line 85, while trying to use something in the page context.
This was clearly noted in the Stack trace. They are very useful (Stack
traces). If this happens alot to you then I would recommend you
Kindly send all your messages to [EMAIL PROTECTED] This mail account is not
functioning anymore.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi all,
It's a strange problem.
I have a struts-based web application installed under the ROOT context of
one vhost of Tomcat 5.
In the jsp files, if I use html:rewrite action=/someaction/ or
html:form action=/someaction/
Struts rendered //someaction.do or form action=//someaction.do to the
Hi all,
It's a strange problem.
I have a struts-based web application installed under the ROOT context of
one vhost of Tomcat 5.
In the jsp files, if I use html:rewrite action=/someaction/ or
html:form action=/someaction/
Struts rendered //someaction.do or form action=//someaction.do to the
Kindly send all your messages to [EMAIL PROTECTED] This mail account is not
functioning anymore.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Just check Logon_jsp.java:85 and it will tell you what is wrong.
Jack
On Sat, 15 Jan 2005 12:25:06 -0500, David G. Friedman
[EMAIL PROTECTED] wrote:
Alex,
The below Stack Trace snippet suggests you had some sort of exception in
your Logon jsp, line 85, while trying to use something in the
I agree. Frank Zammetti (SP?) decries this sort of thing and rightly so.
Jack
On Sat, 15 Jan 2005 14:06:25 +0100, Leon Rosenberg
[EMAIL PROTECTED] wrote:
This was second time I've heard about xmoon, so I thought I'll take a look.
The third source file I opened:
package
On Fri, 14 Jan 2005 18:12:24 -0800 (PST), Manisha Sathe
[EMAIL PROTECTED] wrote:
I do know what exactly could be the problem
I am having one JSP which calls Main Action Handler - this does some database
job and get userid. This id i want to pass it to another page. If it is a
direct JSP
On Sat, 15 Jan 2005 03:36:36 -0800 (PST), Vilpesh Mistry
[EMAIL PROTECTED] wrote:
hi,
iam using struts and making a website.
I think this whole is configuring apache and tomcat,
please specify how do i configure tomcat so that when
i access
http://localhost/simliv/action/welcome ,
A
I take it that worked?
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
- Original Message -
From: James Mitchell [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Saturday, January 15, 2005 9:17 AM
Subject:
Hi All,
I am new using Struts 1.1 , Tomcat 5.0.28 and Java 1.4.2.I am getting theses
errors although i have imported these
c.tld
struts-bean-el.tld
struts-html-el.tld
struts-logic-el.tld
In the WEB-INF directory
And
commons-beanutils.jar
commons-collections.jar
commons-digester.jar
Avinash,
Two quick questions:
1) If you are new why are you using Struts v1.1 when V1.2.4 is the current
stable release?
2) Is your error when you are compling? If so, how are you compiling? Ant,
and IDE such as Eclipse, etc? For Ant you need to add the jars from the
WEB-INF/lib/ directory to
Yufan,
This is a known problem with Struts IF Struts is used as a ROOT webapp. It
probably happens with any container or app server, not just Tomcat.
A post back in November (25th, 2004) wrote the easiest current way to fix it
would be to hack a line or two if the
Looks like it, James. Thanks a million.
Jack
On Sat, 15 Jan 2005 13:48:34 -0500, James Mitchell [EMAIL PROTECTED] wrote:
I take it that worked?
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
- Original Message -
Hi All,
I am having trouble getting my mind around the boolean expression
semantics of the validwhen validator. Consider the following example.
I have a form with two possible input groups depending on the user
selection. If the entity is an individual, then I need to require
firstName etc.
On Sat, 15 Jan 2005 15:08:17 -0500, Todd Nine [EMAIL PROTECTED] wrote:
Hi All,
I am having trouble getting my mind around the boolean expression
semantics of the validwhen validator. Consider the following example.
I have a form with two possible input groups depending on the user
Hi,
i would like to use my own components to be plugged in and loaded
dynamically but i get everytime the same exception. The error eccoured
when the Servlet executes.
I have no idea where the Problem is.
I am happy about every tip.
Thanxx
Greets Jens
##
The
Ok I tried that and a couple of more things. I can see what Kishore
trying to do, using indexed properties. However using login iterate
loop with indexed property didnt work and I was getting: cannot find
fields[0].label in the bean. So I replaced that with nested:iterate
like so:
Ok I tried that and a couple of more things. I can see what Kishore
trying to do, using indexed properties. However using login iterate
loop with indexed property didnt work and I was getting: cannot find
fields[0].label in the bean. So I replaced that with nested:iterate
like so:
Ok I got I think, the problem is, silly of me to miss it, is that the
action to which I am posting using a different ActionForm :) that
would screw things up :)/
Problem is that I have to use that ActionForm, so now I have to do it
porgrammatically, but from what I understand I cant get an
java.lang.AbstractMethodError:
control.plugin.WatchdogPlugin.init(Lorg/apache/struts/action/ActionServlet;Lorg/apache/struts/config/ApplicationConfig;)
public void init(ActionServlet servlet, ModuleConfig config)
throws ServletException {
logger.debug(Enter
Hubert Rabago wrote:
Looks like you're using an obsolete jar. The spec you implemented is
using ModuleConfig, yet the jar you're deploying is using the
deprecated ApplicationConfig.
Hubert
Thank you for the Tip.
I looked for obsolete jar but i could not found anything. I downloaded
the
Yes. You could've been using a pre-1.1 struts.jar.
On Sat, 15 Jan 2005 23:54:37 +0100, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hubert Rabago wrote:
Looks like you're using an obsolete jar. The spec you implemented is
using ModuleConfig, yet the jar you're deploying is using the
If you have a select, you don't want an ArrayList from request scope.
You want the value selected to be the value of the option name.
Right?
Also, you can do indexed properties with JSTL.
Jack
On Sat, 15 Jan 2005 14:31:27 -0800, Oleg [EMAIL PROTECTED] wrote:
Ok I got I think, the problem
They're back! They must have resubscribed. I emailed them and
notified them a day or so ago about this problem. No response to
that.
Jack
--
--
You can lead a horse to water but you cannot make it float on its back.
~Dakota Jack~
You can't wake a person who is
I have to state that chaining actions, even if you want to do that, is
a bad policy. As others have pointed out on the list, you can
instantiate the actions down the chain inside one another and avoid
chaining actions and still get the desired behavior. However,
creating a utility class in the
Please get off Struts. We all hate you.
Jack
--
--
You can lead a horse to water but you cannot make it float on its back.
~Dakota Jack~
You can't wake a person who is pretending to be asleep.
~Native Proverb~
Each man is good in His sight. It is not necessary
This seems to be a different address than the one that was
unsubscribed. Sent a notice to the dev list (i'm sure you saw it),
and James sent a message saying he's removed this, too, so the
messages should stop now.
On Sat, 15 Jan 2005 15:25:38 -0800, Dakota Jack [EMAIL PROTECTED] wrote:
You are absolutely right and I finally got it dsiplaying the way I
want it, still on submit I get
java.lang.NullPointerException
org.apache.commons.beanutils.PropertyUtils.getIndexedProperty
On Sat, 15 Jan 2005 15:23:20 -0800, Dakota Jack [EMAIL PROTECTED] wrote:
If you have a select,
Could you restart this thread under another name and show us what you
have now on your JSP page and in your Action and ActionForm? That
would clarify things so you could get a clear answer.
Jack
-
To unsubscribe, e-mail: [EMAIL
Hubert Rabago wrote:
Yes. You could've been using a pre-1.1 struts.jar.
Ok, i found the old jar. My first Problem is solved ;-).
But the next Error is comming. I don't use tiles and get the following
Exception. I read in in the mailing-archive that someone had solved the
Problem.
Take out this from your struts-config.xml:
controller processorClass=org.apache.struts.tiles.TilesRequestProcessor/
Why? The claim is that tiles isn't being used so you don't need a
controller line listing the TilesRequestProcessor. The exception shows
Tiles is blowing up during the tiles
Thank You!
I didn't saw the Controller-Tag.
Now its running :-).
The Happy
Mark
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On Sun, 16 Jan 2005 01:02:50 +0100, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hubert Rabago wrote:
Yes. You could've been using a pre-1.1 struts.jar.
Ok, i found the old jar. My first Problem is solved ;-).
But the next Error is comming. I don't use tiles and get the following
I finally got it to display, no problem, however there is an error
when I submit:
java.lang.NullPointerException
org.apache.commons.beanutils.PropertyUtils.getIndexedProperty
Here is what I got so far.
Struts Version 1.2.4.
My FormActionForm includes an ArrayList fields of Bean Field.
Looks like you are not properly initializing your fields (ArrayList)
in FormActionForm. You should initialize it while declaring or in the
reset()
On Sat, 15 Jan 2005 17:06:33 -0800, Oleg [EMAIL PROTECTED] wrote:
I finally got it to display, no problem, however there is an error
when I
I am initializing ArrayList fields in reset(), but code is ommited.
I wish it was that easy :)
On Sat, 15 Jan 2005 19:17:09 -0600, Kishore Senji [EMAIL PROTECTED] wrote:
Looks like you are not properly initializing your fields (ArrayList)
in FormActionForm. You should initialize it while
Hi,
Strange,strange and strange.
In my another application running on the root context of tomcat's one
vhost, everything is ok...
The only difference between the two application is that the version of
tomcat. one is 5.0.19, while the other one is 5.0.28.
Yufan Shi
We are Online!
Hi,
Strange,strange and strange.
In my another application running on the root context of tomcat's one
vhost, everything is ok...
The only difference between the two application is that the version of
tomcat. one is 5.0.19, while the other one is 5.0.28.
Yufan Shi
We are Online!
Hi,
I've been strugling for a while with exception handling. I've been
trying to ensure:
1) all exceptions are displayed consistently regardless of where / how
the exception is raised.
2) the root cause exception is always displayed,
I'm not saying this is the best solution, nor even a
Hi Oleg,
Have a look here:
http://wiki.apache.org/struts/StrutsCatalogLazyList
I've found these techniques to be invaluable.
HTH,
-- Curtis
Oleg wrote:
I am initializing ArrayList fields in reset(), but code is ommited.
I wish it was that easy :)
Then perhaps the issue is the context rewriting in
the mod_jk/mod_jk2 mapping?
Regards,
David
-Original Message-
From: Yufan Shi [mailto:[EMAIL PROTECTED]
Sent: Saturday, January 15, 2005 9:54 PM
To: 'Struts Users Mailing List'
Subject: RE: Tags rewrite wrong action url
Hi,
63 matches
Mail list logo