I haven't tracked it down yet, but I think it is in the type
converters. Are you using dates or decimal values on your forms?
Zach Calvert wrote:
Has anyone figured out why Validation randomly fails???
On 4/14/07, Adam Ruggles <[EMAIL PROTECTED]> wrote:
I'm having a similar problem. I'm ext
Based on your posts I get the idea you don't understand how the MVC
pattern works. I'll try to describe what should be happening.
On the browser a user submits the data he/she wishes to update. That
information is then passed to the action, I prefer to do this with an
object. So in your act
Has anyone figured out why Validation randomly fails???
On 4/14/07, Adam Ruggles <[EMAIL PROTECTED]> wrote:
I'm having a similar problem. I'm extending the ActionSupport object
and I have no validation specified and I'm experiencing the same issue.
I did enable validation and the results didn't
Adam Ruggles wrote:
Then why don't you simply pass the id of the account you want to
update and the fields you want to update to the action.
Then create an update SQL statement like "update account set
field1='data_from_form', field2='data2_from_form' where
id='id_from_form';"
This is a way,
Hmm, I've never actually used the html:javascript tag, so I'm not sure
what its intended purpose is, or how it works... seems like the docs is
talking about validation, so yeah, maybe it's not applicable...
although, one thing I notice here... let's assume it DOES work just like
a plain old ta
Then why don't you simply pass the id of the account you want to update
and the fields you want to update to the action.
Then create an update SQL statement like "update account set
field1='data_from_form', field2='data2_from_form' where id='id_from_form';"
Why do you need to reload the accou
I am accessing the DB using JDBC.
Adam Ruggles wrote:
How are you accessing the database? JDBC, Hibernate, Another ORM
solution?
Mansour wrote:
Ok Dave:
you are really helping me a lot. I think I'll have to explain to you
exactly what I am doing, and you give me an advice about how to do
i
How are you accessing the database? JDBC, Hibernate, Another ORM solution?
Mansour wrote:
Ok Dave:
you are really helping me a lot. I think I'll have to explain to you
exactly what I am doing, and you give me an advice about how to do it.
Okay?
I 've been trying to learn struts 2 for a week
Ok Dave:
you are really helping me a lot. I think I'll have to explain to you
exactly what I am doing, and you give me an advice about how to do it. Okay?
I 've been trying to learn struts 2 for a week but not doing any
significant progress. I need an program that stores accounts and
services
--- Mansour <[EMAIL PROTECTED]> wrote:
> I thought there's a way like .net of jsf to store
the
> object in the session and retrieve when needed.
Of course you can store an object in the session. You
didn't say you wanted to.
As I said, without any information about what you're
attempting to do o
Dave Newton wrote:
--- Mansour <[EMAIL PROTECTED]> wrote:
I didn't know that I can use hidden fields to pass
objects back.
You can't. All you can get back from an HTML form is a
string. That's just the way HTML works.
In other words, you mean what ever goes in the
constructor of t
--- Mansour <[EMAIL PROTECTED]> wrote:
> I didn't know that I can use hidden fields to pass
> objects back.
You can't. All you can get back from an HTML form is a
string. That's just the way HTML works.
> In other words, you mean what ever goes in the
> constructor of the action, goes into the P
Hi Joe,
Thanks for the tip, this definately works. Looking at the way the request
processor functions, I don't think there is a situation where it will cause a
problem that a true is ignored. The reason for this is that all the conditions
which result in a failure situation will throw an except
Thank you Dave:
Dave Newton wrote:
--- Mansour <[EMAIL PROTECTED]> wrote:
I don't understand this part. Is this list only for
advanced users? No wonder Struts 2 has a small
community and poor documentation.
Dude. It's Saturday. Some of us do other things
besides read the Struts maili
--- Mansour <[EMAIL PROTECTED]> wrote:
> I don't understand this part. Is this list only for
> advanced users? No wonder Struts 2 has a small
> community and poor documentation.
Dude. It's Saturday. Some of us do other things
besides read the Struts mailing list on Saturday.
AFAICT you posted t
Frank/Musachy,
tks for your help, after i change OnSubmit to lower case, it works. But when
i try to test html:javascript, give me more erros, is html:javascript only used
for validor only, and can not used as regular javascript for include?
tks in advance
john
The error m
I don't understand this part. Is this list only for advanced users?
No wonder Struts 2 has a small community and poor documentation.
Mansour wrote:
I am trying to perform some operation on an object, Therefore I need
to pass to the action the object id and the parameters to add for the
operati
onsubmit needs to be all lower-case, you have it written OnSubmit. Any
time you get an exception saying an attribute is invalid for a tag, the
TLD is the first thing you should look at, make sure the attribute is
specified for the tag and that you wrote it exactly as it appears there,
case and
The attributes are case sensitive, so you have to used them as they are
specified in the docs, try "onsubmit" instead.
regards
musachy
On 4/14/07, john lee <[EMAIL PROTECTED]> wrote:
I am new to struts, how can I use client javascipt inside html:form ?
when i run my test.jsp with html:form
I am new to struts, how can I use client javascipt inside html:form ?
when i run my test.jsp with html:form and javascript, and get following
error, what is that mean ?
tks everyone's help in advance.
john
org.apache.jasper.JasperException:
Attribute OnSubmit invalid for tag fo
Cannot get my deployed struts app to work.
I have tripled-checked that the right libraries are in place:
antlr
commons-beanutils
commons-digester
commons-logging
jstl
log4j
struts
...and pre-installed jars are listed here -
http://helpdesk.serverconfig.com/tomcat55_jars.html
The following tom
I am trying to perform some operation on an object, Therefore I need to
pass to the action the object id and the parameters to add for the
operation. I need to set these values before the request reaches the
action class. Do I do this in the interceptor, or just implement
Preperable and Servle
Slattery, Tim - BLS wrote:
I found this to be a great tutorial
http://www.exadel.com/tutorial/struts/5.2/guess/strutstutorial.html
Create your formbean with public Accessors/Mutators for each
private attribute and also create methods for reset method
validateMethod and of course public no arg
Hi everyone,
I have the following configuration for a java.util.Date field:
01/01/1990
01/01/2000
But, when running it I got the following exception:
14/Abr/2007 17:42:50 com.opensymphony.xwork2.util.OgnlUtil
internalSetProperty
WARNING: Caugh
I used the Maven Archetype to create a new web application for Struts 2,
as described here: http://struts.apache.org/2.x/docs/ready-set-go.html
I ran:
mvn archetype:create -DgroupId=tutorial \
-DartifactId=tutorial \
-DarchetypeGroupId=org.apache.st
Hi!
Question: how can I realize Master Details in struts (struts 2.0.6)?
Thanks.
--
View this message in context:
http://www.nabble.com/Master-Details-in-struts-tf3576346.html#a9993518
Sent from the Struts - User mailing list archive at Nabble.com.
--
26 matches
Mail list logo