Try
form name=TASKMANAGERform
field property=taskDefinition.domain depends=integer
arg position=0
key=TASKMANAGERform.taskDefinition.domain/
/field
/form
Hope this may help.
Halgurt Mustafa Ali wrote:
Hi
=/
/field
Truong Xuan Tinh wrote:
Hi there, here is my implementation on the client side, it's validate
time against the pattern HH:mm, you can customize against HH:mm:ss with
ease:
validator name=time
classname=MyValidatorClass
method=validateTime
:(
thanks all,
- Original Message - From: Truong Xuan Tinh
[EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Tuesday, June 20, 2006 10:23 PM
Subject: Re: [HELP] I use struts + Velocity, I couldn't submit 1 form
with unicode information! :(
Hi Tuan,
Did you set
; charset=UTF-8 but there's no
effect :(
- Original Message - From: Truong Xuan Tinh
[EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Wednesday, June 21, 2006 1:56 PM
Subject: Re: [HELP] I use struts + Velocity, I couldn't submit 1 form
with unicode
You have to write a javascript function to check in the following event:
onFocus, onChange and onKeyUp of the textarea.
Regards,
Abhimanyu Koul wrote:
how can i set the maximum number of chars in a textarea. i can only set
columns and rows.
Regards,
Abhimanyu Koul
FinEng Solutions (P)
Hi there,
You can write a custom validator in Struts to do that, it's rather easy,
both client-side and server-side. Open the jar of commons-validator to
see some script for existed validation rule should help.
Regards.
Tinh
Jeremy Nix wrote:
How can I use the Struts Validator to enforce the
Hi Tuan,
Did you set the page encoding to UTF-8? And one more thing, set the
characterEncoding of your request to UTF-8 before it hit your action
(ie, in a filter or something like that).
PS: I've found a bug in Tomcat with when encoding data to UTF-8 with the
GET method (the POST method is
Hi there, here is my implementation on the client side, it's validate
time against the pattern HH:mm, you can customize against HH:mm:ss with
ease:
validator name=time
classname=MyValidatorClass
method=validateTime
methodParams=java.lang.Object,
I dont' have such a sequence like that, but you can get the same when
you read the source code of the RequestProcessor class.
starki78 wrote:
Thanks for this great explanations
I already solved this problem
and now 'm quite close to understand it!
It would be great to have a sequence diagramm
Hi every body,
I've have a problem with the response.sendRedirect called in a jsp file,
I've used Tile in my project. I've set the autoFlush=false and set the
bufferSize to a big number (bufferSize=2048kB) in the master page (of
Tile) and in the *child* jsp file where the response.sendRedirect()
chamal desilva wrote:
Hi,
I read few articles on struts. They recommend not to
send action form class to EJBs as data holders. They
recommend we should use general classes for holding
data to decople web tier with EJBs.
That's right.
What they say must be correct but I still have few
-Original Message-
From: Truong Xuan Tinh [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 08, 2006 12:20 PM
To: Struts Users Mailing List
Subject: response.sendRedirect() doesn't work!
Hi every body,
I've have a problem with the response.sendRedirect called in a jsp file,
I've used Tile
To: Struts Users Mailing List
Subject: Re: How to terminate the uploading process of Struts?
On 6/4/06, Truong Xuan Tinh [EMAIL PROTECTED] wrote:
Hi experts,
Can we terminate the uploading process of Struts when the uploaded
data size is exceeded the max file size configured
Hi, you can use validation framework of Struts, it's a plugin of Struts,
remember to set the property stopOnFirstError to true, this make the
first error field focused.
marcus biel (innoWake gmbh) wrote:
Hi,
I've got a form, that focuses on the first
textbox when the page is loaded.
When an
Hi, AFAIK, Struts validation doesn't support this kind of behavior.
It will:
1. Display all the errors (grouped by category) and focus the last error
field.
2. Display the first error, focused on the first error field and stop
validation.
PS: You can make the error field's selected, just modify
Hi experts,
Can we terminate the uploading process of Struts when the uploaded data
size is exceeded the max file size configured in the controller of
Struts. It seems that Struts upload the file completely and then check
it file size against the maxFileSize.
Thank you very much for your reply.
16 matches
Mail list logo