Hello,
i'm new to Struts and started my first application. When displaying a form
which extends ValidatorForm , i'll get the following message:
javax.servlet.ServletException: Cannot find bean
org.apache.struts.taglib.html.BEAN in any scope
at
After tracking the STRUTS code i found out that it happens when the form tag
is processed:
org.apache.struts.taglib.html.HiddenTag contains a property name with value
'org.apache.struts.taglib.html.BEAN'
BaseFieldTag.jave
...
results.append( value=\);
if (value != null) {
Hello,
in the meantime if have found the error:
html:form action=pricelistReport/ -- mistakenly closed the tag
table
.
/table
/html:form
Sorry for the trouble
Reto
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Custom tags are cached in most containers (tag pooling). If the parameters
to a tag are the same the same instance of a tag object is used. It is up
to the container when to discard / garbage collect the tag instances.
I don't know if this is the problem / issue here but hope it helps.
Edgar
Hi, is now the future of Struts the integration with JSF and JSTL? Does it
mean that Struts will be only a background framework leaving the
presentation (HTML, JSP) to JSF and JSTL? Is Sun going to open a new project
to build a background framework (a sort of Sun-Struts)?
In this case I wouldn't
http://www.wewantyoursoul.com/index.php
muhahahaha!
Mark
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
£20510 eh?
Tempting... but I think my current employee contract already covers the
rights to it :-(
-Original Message-
From: Mark Galbreath [mailto:[EMAIL PROTECTED]
Sent: Sunday, 21 September 2003 20:56
To: Struts Users Mailing List
Subject: [FRIDAY] So...you think M$ is evil?
See the Struts Roadmap for plans that have been discussed on the Struts
DEV list.
http://jakarta.apache.org/struts/status.html
It's important to note that the tags have always been a extension of the
core framework. The framework originally shipped with a custom tag
library, because that's
But I understand you can get a second mortgageif you have any equity
left.
-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]
Sent: Sunday, September 21, 2003 9:13 AM
To: Struts Users Mailing List
Subject: RE: [FRIDAY] So...you think M$ is evil?
£20510 eh?
Tempting...
I read the HowTo write a wizard on the Struts web-site but I wasn't
really happy with the solution, and I am looking for a better one. I
came up with another way and I would appreciate your comments.
The design consists of:
- The 'form' is a session scope form
- WizardAction class (a
I would say the solution depends on the process.
If the process of going from pageA to pageB to ... pageN, is
a wizard style process then you might think of placing all
your data in the same form and putting the form in session scope.
If you don't want to put your form in session scope AND the
To prevent repopulation of an ActionForm's properties, you just need to
provide a property that observes that status of another property that
indicates whether the form is readonly or not. So, instead of just doing
this.property = property
you have
if (mutable) this.property = property
Or do
I got £57000 or so -
You obviously answered the question about autoerotic sex wrongly!
On 09/21/2003 03:12 PM Andrew Hill wrote:
£20510 eh?
Tempting... but I think my current employee contract already covers the
rights to it :-(
-Original Message-
From: Mark Galbreath [mailto:[EMAIL
doh! I thought it read, autorobotic! (no batteries included)
-Original Message-
From: Adam Hardy [mailto:[EMAIL PROTECTED]
Sent: Sunday, September 21, 2003 11:07 AM
To: Struts Users Mailing List
Subject: Re: [FRIDAY] So...you think M$ is evil?
I got £57000 or so -
You obviously
David:
The main reason I'm not ready to use displaytag is because I need to
generate reports for more than just HTML output; my users will have
the choice to get a delimited file as well, or instead of HTML, and
they'll have the option to get the report mailed to them as well as
generated
Thanks Robert!
I agree on letting struts do it's job where available, that's why I
thought my code snippet below was a little goofy. My only question
about your suggestions is in solution 2 you mention having a second
action. You're not suggesting action chaining are you? If not, how do
Ted,
From reading your WizardAction code it seems that in a way it maintains
an internal mechanism of redirection between the submitting of the
current step and preparation of the next step sub-actions, while keeping
Struts out of it. So in the end - not exposing the internal redirection
avoids
About your suggestion of avoiding repopulating... I guess this cannot be
done using DynaActionForms, or am missing something?
I agree that the step code should be part of the logic but still the
action should activate it somehow, by calling it.
I can't see how chaining actions has to be an
As mentioned, start with the WebServices tutorial (I *so* wish we had
this four years ago). This will ground you on the Java spin on all the
underlying technologies. (Most of which you may already know.) There is
also a nice roundup at the beginning of the Struts User Guide
H. Well, yes, you could call this chaining to some degree.
But I think its necessary chaining or even (dare I say it?) good chaining :)
IMHO the following is a good design pattern:
SetupPageAAction == PageA == ProcessPageAAction == SetupPageBAction ==
PageB == ProcessPageBAction
The only
I've hit a stumbling block and I'm not quite sure how to work around
it. I've written struts apps in the past and I've taken the approach of
putting everything in the ActionForm so that the jsp has a one stop shop
for all it's display needs. So where I've hit an issue is when say I
have jsp
I'm having a bit of trouble trying to login to a Database Realm that I
have setup with JBoss. What I would like to do is to be able to login
to the JAAS SecurityManager using a LoginAction. How is the best way to
go about this. I have tried just doing it by calling the LoginContext
login method
hello,
how do i change this scriptlet logic into struts tag,
%
ArrayList al = (ArrayList) request.getAttribute(al);
if (al != null) {
for (int i=0;ial.size()/2;i++) {
SystemProfileData spd = (SystemProfileData) al.get(i);
All,
I am having a problem using the optionsCollection tag.
I get this error:
javax.servlet.jsp.JspException: No getter method for property
reasonsForTicketIssueOptions of bean org.apache.struts.taglib.html.BEAN
at
org.apache.struts.util.RequestUtils.lookup(RequestUtils.java:968)
PLEASE IGNORE THIS PROBLEM. NOW RESOLVED.
The optionsCollection tag does work properly. I was using it properly.
Just had a build issue that caused the strange behaviour.
Thanks and sorry
James
From: James JKE95 Kerridge [EMAIL PROTECTED] on 22/09/2003
14:38
Please respond to Struts
On Sat, 20 Sep 2003, Richard Mixon (qwest) wrote:
Date: Sat, 20 Sep 2003 21:34:45 -0700
From: Richard Mixon (qwest) [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: [OT] STL startup times - is caching going on?
hi,
I could not understand the use of base tag from the example. Can any one
explain ?
Regds
Ashwani Kalra
http://www.geocities.com/ashwani_kalra
http://www.geocities.com/ashwani_kalra
This message contains information that may be
27 matches
Mail list logo