format string with bean:write

2004-07-26 Thread Isaac Mosquera
I'm trying to only print the first TWELVE characters in a string with the 
tag , but i don't want to format the value inside the string, 
just the output,  how do i format the string to only show 12 characters 
using the tag?
-isaac 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


form display

2004-07-20 Thread Isaac Mosquera
In my form i have an integer, which cannot be initialized to null, however, 
it shows up in the html:text box as a "0", and i would prefer that it shows 
up blank when a user FIRST reaches the page.  After that, i would like the 
variable to retain the value which the user has entered.
-isaac 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: RE [OT]: onsubmit form ERROR

2004-07-14 Thread Isaac Mosquera
thanks so much, it worked
-isaac
At 01:26 PM 7/14/2004 -0700, you wrote:
Also be sure you don't have another object named "submit" in your form.
It's common to see .  Change its 
name to something else.

This will kill any form of document.{form}.submit();
-Original Message-
From: Barnett, Brian W. [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 14, 2004 1:08 PM
To: 'Struts Users Mailing List'
Subject: RE [OT]: onsubmit form ERROR
Hmm. I've never seen that syntax, but that doesn't mean much. Here are the
syntaxes I've seen:
document.MonitorForm.submit()
document.forms[0].submit()
document.forms["MonitorForm"].submit()
I've seen something as simple as a semi-colon at the end of javascript work
wonders too :)

-Original Message-
From: Isaac Mosquera [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 14, 2004 2:01 PM
To: Struts Users Mailing List
Subject: RE: onsubmit form ERROR
thanks, but that didn't work, it seems as though i'm getting a valid form
object because if use:
  alert( document.forms.MonitorForm.name ) and alert(
document.forms.MonitorForm.action )
they both return the right output, however its just the submit() function
which gives me errors.
-isaac
At 12:45 PM 7/14/2004 -0700, you wrote:
>Try document.MonitorForm.submit()
>
>-Original Message-
>From: Isaac Mosquera [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, July 14, 2004 1:47 PM
>To: [EMAIL PROTECTED]
>Subject: onsubmit form ERROR
>
>i have the following piece of HTML/JavaScript and this problem happens
>quite frequently but i dont know how to fix it.
>
>  onchange="document.forms.MonitorForm.submit()">
>
>although there is a valid form with the name "MonitorForm" in the html page
>i get this error:
>
>"object doesn't support this property or method"
>
>-isaac
>
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
===
This email message is for the sole use of the intended recipient(s) and 
may contain confidential and privileged information. Any unauthorized 
review, use, disclosure or distribution is prohibited. If you are not the 
intended recipient, please contact the sender by reply email and destroy 
all copies of the original message. If you are the intended recipient, 
please be advised that the content of this message is subject to access, 
review and disclosure by the sender's Email System Administrator.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: onsubmit form ERROR

2004-07-14 Thread Isaac Mosquera
thanks, but that didn't work, it seems as though i'm getting a valid form 
object because if use:
 alert( document.forms.MonitorForm.name ) and alert( 
document.forms.MonitorForm.action )
they both return the right output, however its just the submit() function 
which gives me errors.
-isaac
At 12:45 PM 7/14/2004 -0700, you wrote:
Try document.MonitorForm.submit()
-Original Message-----
From: Isaac Mosquera [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 14, 2004 1:47 PM
To: [EMAIL PROTECTED]
Subject: onsubmit form ERROR
i have the following piece of HTML/JavaScript and this problem happens
quite frequently but i dont know how to fix it.
 
although there is a valid form with the name "MonitorForm" in the html page
i get this error:
"object doesn't support this property or method"
-isaac

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


onsubmit form ERROR

2004-07-14 Thread Isaac Mosquera
i have the following piece of HTML/JavaScript and this problem happens 
quite frequently but i dont know how to fix it.



although there is a valid form with the name "MonitorForm" in the html page 
i get this error:

"object doesn't support this property or method"
-isaac

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]