Arron,
We also discovered that it works for the attributes
without _(underscore) in them. With attribute name
with an underscore it fails.
we are using struts 1.1 beta dt. 30 May 2002.
-Sanjay
--- Arron Bates [EMAIL PROTECTED] wrote:
it's looking for ...
public String getLast_name()
Hi guys,
I am trying to use commons logging in my project.
It works perfectly fine until FormAction subclasses.
When I try to use a Business delegate class from
FormAction class and use commons logging in it, I get
a classcast exception.
I have tried making my Log log variable protected and
I need some help / advice on using commong logging.
I am successfully able to use it in plug in and
subclasses of FormAction class. But when I call a
Business Delegate class from FormAction class and
tries to create Log instance using the LogFactory I
get a class cast exception for SimpleLog
Hi guys,
I am problem with calling the FormAction when I submit
my form.
When I run my application it works fine but on submit
it doesnot call the formAction class.
Any help is appreciated.
I have the following configuration in my tilesconfig
file
definition name=fda.masterPage
Hi Guys,
Does anybody has any experience or willing to share
there code to build up menus in struts using Roles.
Any help or pointers will be appreciated.
Thanks,
Sanjay
__
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
try this
nested:iterate name=courseForm property=topics
nested:write name=Name of the nested object in
courseForm Bean property=Property of the nested
Object you wish to display
/nested:iterate
Hope this helps, if not let me know and I will send
you a detail worked out solution.
-Sanjay
---
is that the
nested tags are laid up fine, and will be working
off the bean named in
the struts-config.xml
Arron.
Sanjay Choudhary wrote:
Hi Friends,
I have a FormBean AccountForm and javabean Account
public class AccountForm{
private Account account;
// setter and getter method
Hi guys,
I wish to define a bean:id as
bean:define id=entitybean name=RegionForm
property=regions[%= elementNo%].region_ent
type=java.util.ArrayList scope=session/
I tried giving %= elementNo%
bean:write
but it didn't work.
Is there a way to do this?
FYI,
where
it needs to be
able to resolve the
location of the object it's going to create the bean
from at compile time.
Not sure to be honest -
Check the DefineTag source code to be sure. It's in
the source tree at:
org\apache\struts\taglib\bean\DefineTag.java
FWIW -
Kevin
Sanjay
Hi Friends,
I have a FormBean AccountForm and javabean Account
public class AccountForm{
private Account account;
// setter and getter method for account
}
public class Account{
private String account_no;
// setter and getter for account_no
}
Then I have the following test.jsp
Hi guys,
Need help with select option
I have a formBean called RegionForm
RegionForm contain attribute selectedregion:String and
regions:ArrayList.
regions:ArrayList is collection of object of class
Region.
Region class has attributes id and String.
I wish to display on the form select
__
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Any further news on this. At java one in SF I met the
editor and he said there shouldn't be a problem in
putting this on Web.
There is another book Mastering Struts by James
Goodwil from Wiley publications, due to release in
May.
Does anybody knows if contents if this book were
published on the
Hi Brendan,
I was also facing the same problem while forwarding.
Strange thing is that it didn't give me any exception
nor did it forward the page.
After putting the controller line in Struts-config.xml
its running fine.
Thanks for your suggestion. How the hell did you
figure it out?
-Sanja
Hi,
I have ActionForm bean - A which contains another
javabean B.
public class A extends ActionForm
//Attribute
B b = new B();
public class B
String name;
In the jsp we use
html:text size=15 property=b.name/
In Class A we also override the valdiate method
ActionErrors errors
if
Hi,
I have ActionForm bean - A which contains another
javabean B.
public class A extends ActionForm
//Attribute
B b = new B();
public class B
String name;
In the jsp we use
html:text size=15 property=b.name/
In Class A we also override the valdiate method
I debugged the application and found that this
attribute was missing in struts_config.xml and then I
got your mail.
Thanks for your help.
-Sanjay
--- Slava_L [EMAIL PROTECTED] wrote:
But, have u specified such attrib. like input =
page.jsp
- Original Message -
From: Sanjay
Hi,
I am getting the following error
ServletException in:/delegateIds1.jsp] Cannot find
message resources under key
org.apache.struts.action.MESSAGE'
I tried looking at the archive but none of the
solution mentioned in there resolved it.
I am using nightly build from 03/27. I am also using
Is there a way to configure so that if we make any
change in application defination files for Tiles, it
can get automatically be reloaded. Right now I have to
reboot the web server every time I make changes to it
and at times its really frustrating.
-Sanjay
Yes, I am using xerces.jar
-Sanjay
--- srinivas [EMAIL PROTECTED] wrote:
do u have the XML parsers in your class path.
-Original Message-
From: Sanjay Choudhary [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 29, 2002 10:50 PM
To: Struts Users Mailing List
Subject: Cannot find
Bhaskar,
Try looking at
http://www.husted.com/struts/resources.htm#taglibs
from Amarda.
-Sanjay
--- Bhaskar Gopalan [EMAIL PROTECTED] wrote:
Hi,
is there anyway to set the color of a row from the
bean being iterated?
My code is given below:
logic:iterate id=loan name=loans
Hi Gurus,
Help me out with this one pls.
-Sanjay
--- Sanjay Choudhary [EMAIL PROTECTED] wrote:
Yes, I am using xerces.jar
-Sanjay
--- srinivas [EMAIL PROTECTED] wrote:
do u have the XML parsers in your class path.
-Original Message-
From: Sanjay Choudhary [mailto:[EMAIL
Hi guys,
I have the following code
nested:iterate property=accountCode
TR
TDnested:checkbox property=toDelete//TD
TD width=186 colspan=3
nested:text property=region//TD
/TR
/nested:iterate
To odd rows I wish to apply different style sheet and
to even a different.
In our application, we are showing a list of records
using nested tag. In front of each record we have a
select/check box mapped to a property in a bean.
We wish to provide a functionality to users by placing
a checkbox at the top row (this is not mapped to any
property in bean) and on click of
Goodman
has the answer :)
Arron.
Sanjay Choudhary wrote:
Thanks Michael,
It worked but it couldn't use
document.localForm.selectAll.checked;
instead I used document.forms[0].selectAll.checked;
1. Is there a way to assign a form name with tag
html:form of struts?
2. I
Hi guys,
To use nested tags I downloaded Struts version 1-1-b1.
When I try to bring up my server I get the following
error :-
Can someone tell me what stable version of Struts with
nested tag lib can I use to avoid this problem.
[3/18/02 10:34:39:392 PST] 55ef58b5 WebGroup I
SRVE0091I:
Hi,
I am very new to Struts, jsp and html programming.
I kind of figured out how the nested tags works.
In my application, I have Bean A which contains Array
list of type Bean B. Bean B has attributes B1 and B2.
We show user on the web page details of A and under
that all the elements of
no simple mouse-over. :)
The monkey example uses the server-side management
simply because a lot
of puritans out there simply refuse to regard
anything with client-side
logic. And it's also 100% easier to do and manage.
Arron
(MonkeyBanana Author :)
Sanjay Choudhary wrote:
Hi
Dear Friends,
I have a jsp in where we have columns as follows
Add no. of rows you wish to add - go
AB CD E
save
1. Using java scripts we allow user to add rows
dynamically on the page.
2. How may I achieve this functionality of dynamically
adding rows using struts? how
Hi,
I have successfully installed and run couple of
examples, including example from struts on WSAD 4.0.
Tell me how may I help you.
-Sanjay
--- [EMAIL PROTECTED] wrote:
I haven't actually done it but I remember seeing a
post to the WSAD
newsgroup saying that you had to use the struts
Hi Steve,
Is it possible for us to get a soft copy of chapter 21
of your book to start with. I will also purchase the
book over the weekend. Can't wait anymore to get into
it.
-Sanjay
--- STEVE WILKINSON [EMAIL PROTECTED] wrote:
Chris,
Thanks for the feedback on my chapter in
thanks ted,
Where can I get info. on tiles?
Sanjay
--- Ted Husted [EMAIL PROTECTED] wrote:
What Steve said, and
Sanjay Choudhary wrote:
2. Except for a HTML designer, most of the
programmers
are involved with backend programming. They have
done
very little HTML work. I
Hi Friends,
I am very new to Struts. All I have done is worked out
couple of examples from web to understand the
Architecture. We are in a process of designing a
Product and plan to use Struts Framework with EJB's.
In my team
1. No one has any knowledge about Struts but they are
very good with
Hi,
I am trying to run latest version of struts on Tomcat 3.2.3 (standalone)
mode and getting the following error when I try to startup the Tomcat.
I downloaded latest version of Xerces parser and Jaxp-1.1 but it doesn't
work with anyone of these. (I copied the parser jar files in my
--- Sanjay Choudhary [EMAIL PROTECTED]
wrote:
Hi,
I am trying to run latest version of struts on
Tomcat 3.2.3 (standalone)
mode and getting the following error when I try to
startup the Tomcat.
I downloaded latest version of Xerces parser and
Jaxp-1.1 but it doesn't
work with anyone
david,
Struts 1.0.
jakarta-tomcat-3.2.3
-Sanjay
Original Message Follows
From: David Winterfeldt [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Validator::validate() reflection - null
Date: Fri, 17 Aug 2001 08:16:19 -0700 (PDT)
What version of
36 matches
Mail list logo