hi venkatesh
You are saying that using lower frame
so see which to which form this page belongs to and put that form name in the
validate.xml
then it will display easily
i am think this is the problem of placing the form name correctly
suresh
-Original Message-
From: VENKATESH
Hi Guys
Can anybody help how to work with StrutsTestCase i am using Eclipse
suresh
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
I couldn't get the following to work: (though trying as per the Struts API reference).
--- Doesn't work
html:messages id=message property=specific
li
font color=red bean:write name=message/ /font
/li
/html:messages
-Doesn't work
I
Hi,
I couldn't get the following to work: (though trying as per the Struts API reference).
--- Doesn't work
html:messages id=message property=specific
li
font color=red bean:write name=message/ /font
/li
/html:messages
-Doesn't work
I
Hi,
I couldn't get the following to work: (though trying as per the Struts API reference).
--- Doesn't work
html:messages id=message property=specific
li
font color=red bean:write name=message/ /font
/li
/html:messages
-Doesn't work
I
to remain in some way?
Thanks,
Suresh
**Disclaimer
Information contained in this E-MAIL being proprietary to Wipro Limited is
'privileged' and 'confidential' and intended for use only by the individual
or entity to which
Hi,
Is it possible to create a String variable out of a message resource
defined in the resources files?
bean:message doesn't seem to help.
Thanks,
Suresh
**Disclaimer
Information contained in this E-MAIL being proprietary to Wipro
names and values. More over, I need to
access as well as *change* the data of this form bean in these views :(
Please suggest me a way to solve this problem. Is there anyway I can
pass my form to other JSPs and still be able to modify the form
elements??
Thanks,
Suresh
, please let me know.
Thanks,
Suresh
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 14, 2003 10:21 AM
To: Struts Users Mailing List
Subject: Re: Code of a method longer than 65535 bytes
On Wed, 13 Aug 2003, David Thielen wrote
You can use this code in your Action class after declaring a form
element of type FormFile.
FormFile file = (FormFile) theForm.get(theFile) ;
String fileName = file.getFileName() ;
int fileSize = file.getFileSize() ;
if ( (fileName != null)
;
for example, a code attribute of an element may be such that it is not
unique when a DB insertion is attempted.
Is this possible to implement with DOM? Or do I need to switch to SAX
and use the Locator handler to get the line number information?
Thanks,
Suresh
this is removed, the page works just fine.
Why is this???
Please advice.
Thanks in advance,
Suresh
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
In your reset() try to initialize the string to null. (Not )
Hope this helps.
--
From: Anurag Garg[SMTP:[EMAIL PROTECTED]
Reply To: Struts Users Mailing List
Sent: Thursday, June 12, 2003 11:46 AM
To: Struts Users Mailing List
Subject: html:hidden and
Hi Rajat,
Check out this link.
http://www.novell.com/documentation/lg/workbench4/docs/help/books/tutwarTOC.
html
Hope it helps.
Regards,
Suresh
--
From: Rajat Nayer[SMTP:[EMAIL PROTECTED]
Reply To: Struts Users Mailing List
Sent: Wednesday, June 11, 2003 5:41
Try this
arg1
name=requiredif
key=A name is
resource=false
/
--
From: Brian McSweeney[SMTP:[EMAIL PROTECTED]
Reply To: Struts Users Mailing List
Sent: Wednesday, June 11, 2003
Yeah Netscape 4.7 does not support the property of Disabled is TRUE.If you want to
achieve this put this String onFocus=blur().
thanks
Suresh A
/
/field
Thanks,
Suresh
**Disclaimer**
Information contained in this E-MAIL being proprietary to Wipro Limited is
'privileged'
and 'confidential' and intended for use only by the individual or entity to which
.
Thanks,
Suresh
**Disclaimer**
Information contained in this E-MAIL being proprietary to Wipro Limited is
'privileged'
and 'confidential' and intended for use only by the individual or entity to which
Check if you have month day properties defined in your form bean.
Suresh
-Original Message-
From: Scott Seong [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 24, 2003 11:32 AM
To: Struts Users Mailing List
Subject: Need help with html:select and html:options
Hello,
I'm having
,
pageContext.APPLICATION_SCOPE) ; %
html:image property=submit src=%= image %/
Thanks,
Suresh
**Disclaimer
Information contained in this E-MAIL being proprietary to Wipro Limited is
'privileged' and 'confidential' and intended for use only
specifying the
dateFormat/dateFormatStrict in validator-rules.xml since I want to
use the default locale's SHORT form.
Thanks,
Suresh
**Disclaimer**
Information contained in this E-MAIL being proprietary to Wipro Limited
be able to login?? Or am I missing
something?
Any other approach, please let me know.
Thanks,
Suresh
**Disclaimer**
Information contained in this E-MAIL being proprietary to Wipro Limited is
'privileged
Hi,
Are you talking about CheckLoginTag.java in struts-example.war?
This implements the check using a custom tag. But I need to forward to
login page even before I forward my request to the JSP, in my controller
itself.
Suresh
-Original Message-
From: julian green [mailto:[EMAIL
Hi,
Does Struts provide any tag to access attributes set in a
ServletContext?
Thanks,
Suresh
**Disclaimer
Information contained in this E-MAIL being proprietary to Wipro Limited is
'privileged' and 'confidential' and intended
depends="required"
arg0
key="text.servicesets.servicesetname.defaultlang"/
/field
/form /formset
JSP
_javascript_:
html:form action="" onsubmit="return
validateServiceSetsForm(this)"
html:_javascript_ formName="serviceSetsForm"/
Thanks,
Sur
' ||
form[oRequired[x][0]].type == 'password')
(form[oRequired[x][0]].value == '')) {
Please let me know if anyone knows how to fix this problem.
Thanks,
Suresh
**Disclaimer**
Information contained
message, I should display the submitted
values so that the user can correct them and re-submit. But now, my
whole form is not getting displayed because I am not getting the form
bean back. Any thing I am missing? **Must the form bean be in session
scope if I want this functionality?**
Thanks,
Suresh
Hi,
Thanks for the suggestion. Can someone outline the procedure for storing
ServletContext attributes through a strust plug-in? I really couldn't
find much help on the web to start working on the plug-in related
things.
Thanks,
Suresh
-Original Message-
From: Craig R. McClanahan
and not
SimpleDateFormat.
Suresh
-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 17, 2003 9:11 AM
To: Struts Users Mailing List
Subject: RE: [OT] Date format
Your best bet is to use the static factory methods in the
DateFormat class.
ie:
Locale
message, I should display the submitted
values so that the user can correct them and re-submit. But now, my
whole form is not getting displayed because I am not getting the form
bean back. Any thing I am missing? **Must the form bean be in session
scope if I want this functionality?**
Thanks,
Suresh
' ||
form[oRequired[x][0]].type == 'password')
(form[oRequired[x][0]].value == '')) {
Please let me know if anyone knows how to fix this problem.
Thanks,
Suresh
**Disclaimer**
Information contained
=Success path=/services.jsp /
/action
Thanks,
Suresh
-Original Message-
From: Rick Reumann [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 17, 2003 8:44 PM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: Re: Validator and Form Bean
On Friday, January 17, 2003, 8
a
But what I want is *only* the date part, excluding the time part of it.
Thanks,
Suresh
**Disclaimer**
Information contained in this E-MAIL being proprietary to Wipro Limited is
'privileged'
and 'confidential
the values) or does the framework provide some built-in
support?
Thanks,
Suresh
**Disclaimer**
Information contained in this E-MAIL being proprietary to Wipro Limited is
'privileged'
and 'confidential' and intended for use
idea why the first syntax wouldn't work? I am using Tomcat 4.1.12 on
Win2K.
Thanks,
Suresh
**Disclaimer**
Information contained in this E-MAIL being proprietary to Wipro Limited is
'privileged'
and 'confidential
the following exceptin declared in struts-config.xml:
exception type=ss.prwp.service.InvalidLoginException
key=error.invalid.login path=login.jsp /
Thanks,
Suresh
-Original Message-
From: Manomohan K Kalathil [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 11, 2003 2:17 PM
To: Struts
)
at
org.apache.jasper.compiler.ParserController.parse(ParserController.java:
153)
at
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:219)
Thanks,
Suresh
-Original Message-
From: David M. Karr [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 13, 2003 12:11 AM
To: [EMAIL PROTECTED]
Subject: Re
Thanks David. It worked this way:
logic:messagesPresent
html:messages id=error
bean:write name=%= Action.EXCEPTION_KEY % property=message/
/html:messages
/logic:messagesPresent
Suresh
-Original Message-
From: David M. Karr [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 13, 2003 12:15
Title: Message
Hi,
If I
am using Declarative exception handling, is it possible to extract some
information from the exception object and display the same on the browser? Or is
it that I need to use programmatic exception handling if I have such
requirements?
Thanks,
Suresh
roperty="name"/
Retrieving the code and name attributes of
the bean
/html:select/logic:iterate
Do I anywhere need to mention the type of objects contained in the
Vector?
Thanks,
Suresh
**Disclaimer
Information c
e
org.apache.struts.taglib.html.BEAN at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:248) at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289) at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
Thanks,
Suresh
**Disclaimer
Title: Message
Hi,
I need
to validate that the user does not enter only spaces in a particular text field.
Validator framework doesn't seem to providing any validation directly to achieve
this. Do I need to write custom _javascript_, or is something already
available?
Thanks,
Suresh
s' of type
'java.util.Vector'
Any
help is greatly appreciated.
Thanks,
Suresh
**Disclaimer
Information contained in this E-MAIL being proprietary to Wipro Limited is
'privileged' and 'confidential' and intended for use only by the
with searchServicesForm (again a DynaActionForm with two
String varaiables for holding the selections from two combo boxes).
Thanks,
Suresh
-Original Message-
From: Iris [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 08, 2003 2:07 PM
To: Struts Users Mailing List
Subject: Re: Problem with form submission
on knowing more about this? Any
examples would be highly useful.
Also, is there any sample application I can download and which can be
used as sort of a reference for common tasks required for struts
programming?
Thanks,
Suresh
**Disclaimer
services of
type Vector. The services property contains a list of objects for whom
get/set methods are defined on code and name properties again.
Suresh
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 08, 2003 5:25 PM
To: [EMAIL PROTECTED]
Subject
Hi,
IE 5.0 seems to be treating document.forms[0].action as an Object,
where as, earlier I used it directly set an URL string many times. Any
ideas?
Suresh
-Original Message-
From: Siggelkow, Bill [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 08, 2003 9:54 PM
To: 'Struts Users
? What's the best way to do
this?
Thanks,
Suresh
**Disclaimer
Information contained in this E-MAIL being proprietary to Wipro Limited is
'privileged' and 'confidential' and intended for use only by the individual
or entity to which
same bean name more than once in
a single page.
See the Bean Developer's Guide section on bean
creation for more information about these differences, as well as
alternative approaches to introducing beans into a JSP page.
Thanks,
Suresh
**Disclaimer**
properly, but when I click on the OK button, I want the form to remain
unsubmitted.
I am using
onsubmit="validateLoginForm(this) in html:form tag and am
including
html:_javascript_
formName="loginForm"/
before closing the
body tag.
Thanks,
Suresh
*
in advance,
Suresh
**Disclaimer
Information contained in this E-MAIL being proprietary to Wipro Limited is
'privileged' and 'confidential' and intended for use only by the individual
or entity to which it is addressed. You are notified
"Failure")
; }
How
should I access these errors in my JSP to show the errors?
Thanks,
Suresh
**Disclaimer**
Information contained in this E-MAIL being proprietary to Wipro Limited is
'privileged'
and
writing a cryptic looking scriptlet?
Thanks,
Suresh
**Disclaimer**
Information contained in this E-MAIL being proprietary to Wipro Limited is
'privileged'
and 'confidential' and intended for use only
Well, as you guessed, I do have scriptlets. Now my effort is to minimize
or remove them completely.
And I tried to use logic with local variables, it worked. Thanks for
that. And still, logic:equal offers only if..then; is there any way to
simulate if..then..else?
Thanks,
Suresh
-Original
Sorry for the haste..
Logic:equal doesn't seem to be working with local variables...
Suresh
-Original Message-
From: Suresh Addagalla [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 06, 2003 7:49 PM
To: 'Struts Users Mailing List'
Subject: RE: Struts equivalent of if...else (newbie
/logic:equal
logic:notEqual parameter=curr value=Tracking
No
/logic:notEqual
Thanks,
Suresh
-Original Message-
From: David M. Karr [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 06, 2003 9:23 PM
To: [EMAIL PROTECTED]
Subject: Re: Struts equivalent
=org.apache.struts.validator.ValidatorPlugIn
set-property
property=pathnames
value=/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml/
/plug-in
/struts-config
Thanks,
Suresh
**Disclaimer
Information contained in this E
Thanks, that helps.
Suresh
-Original Message-
From: David M. Karr [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 07, 2003 1:01 PM
To: [EMAIL PROTECTED]
Subject: Re: Struts equivalent of if...else (newbie)
Suresh == Suresh Addagalla [EMAIL PROTECTED] writes:
Suresh Hi
,
Suresh
**Disclaimer
Information contained in this E-MAIL being proprietary to Wipro Limited is
'privileged' and 'confidential' and intended for use only by the individual
or entity to which it is addressed. You are notified that any
?
Thanks,
Suresh
**Disclaimer
Information contained in this E-MAIL being proprietary to Wipro Limited is
'privileged' and 'confidential' and intended for use only by the individual
or entity to which it is addressed. You are notified
that using the form bean is the best idea. In the
scenario which I described, what can be the alternative and best
practise?
Thanks,
Suresh
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 18, 2002 4:37 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED
do I see the same values when it
is displayed again with some errors?
Thanks
for your time.
Suresh
**Disclaimer**
Information contained in this E-MAIL being proprietary to Wipro Limited is
'privileged'
and 'confident
?
Thanks for your time.
Suresh
**Disclaimer**
Information contained in this E-MAIL being proprietary to Wipro Limited is
'privileged'
and 'confidential' and intended for use only by the individual or entity to which
() or what exactly is needed?
Thanks,
Suresh
**Disclaimer**
Information contained in this E-MAIL being proprietary to Wipro Limited is
'privileged'
and 'confidential' and intended for use only by the individual or entity
Thanks Iris.
Could you recommend a good book (or online tutorial) for me to learn
Struts? I am going through a lot of material on the web, but more often
I am getting confused than learning something new.
Suresh
-Original Message-
From: Iris [mailto:[EMAIL PROTECTED]]
Sent: Tuesday
into the Commons
Validator
package, you can remove this last piece of code and get rid of the form
bean.
Are we sure that we do need to define the form bean (which extends
ValidatorForm) if we use Struts Validator?
Thanks,
Suresh
-Original Message-
From: Iris [mailto:[EMAIL PROTECTED]]
Sent: Tuesday
)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
at java.lang.Thread.run(Thread.java:484)
Thanks,
Suresh
Topaz Development Team, QuadraMed
Phone - (W) x6107, Direct 510-337-6107
(H) 510-440-9088
e-mail : [EMAIL PROTECTED]
Hi Senthil,
Sorry for answering a question with a question. How do you redirect errors
from perform to the input page without ActionErrors?
Best regards
Suresh
g and gives a nullPointerException.
Would appreciate some inputs to solve the problem. Also would appreciate
code snippets used to connect to datasources (example Oracle).
Best regards
Suresh
69 matches
Mail list logo