Try
Hope this may help.
Halgurt Mustafa Ali wrote:
> Hi all,
>
> I have a form called TASKMANAGERform and in this form I have a field called
> taskDefinition of type TaskDefinition. TaskDefinition has a f
our code but its not working. Can you please tell me
> what do I need to write in validation.xml.
>
> I am writing this:
> depends="time">
>
>
>
> Truong Xuan Tinh wrote:
>> Hi there, here is my i
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 abov
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)
; yes, I had set contentType="text/html; charset=UTF-8" but there's no
> effect :(
>
> - Original Message - From: "Truong Xuan Tinh"
> <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List"
> Sent: Wednesday, June 21, 2006 1
#x27;s still ISO-8859-1.
>
> if you must change encoding for every string ... hiz, that's a heavy
> work ... is there's any solution :(
>
> thanks all,
> - Original Message - From: "Truong Xuan Tinh"
> <[EMAIL PROTECTED]>
> To: "
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 OK)
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:
Here is the Server side: this method is in the MyValidatorClass
public static boolean validateTim
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 diagra
; in the
> action an its outcome.
>
> Regards,
> David
>
> -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!
>
>
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
That's what you have to do, as Adam said, the browser won't send the
value of unselected checkboxes. The sequence for create your form bean
are : Create, Reset, Populate, and Validate. You should override the
Reset method of the ActionForm to make sure that your form bean accept
new value from t
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
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 the
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
: Tuesday, June 06, 2006 10:29 AM
> 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 Strut
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.
17 matches
Mail list logo