Hi
I have an action class setting a session attribute ( java bean class )
forwarding to a jsp page which calls logic:iterate for that bean.
I got a Cannot find bean element in scope null error message for element.
logic:iterate id=element name=myBean property=myVectorProp
type=MyCastClass
tr
Hi Supriya,
I' see your post on the struts ml only today, sorry for the long time I
took.
I'm interested in LDAP auth with Active Directory: can you send me a link
where to see your code/experience?
TIA
Pino
- Original Message -
From: SUPRIYA MISRA [EMAIL PROTECTED]
To: [EMAIL
I'd like to have some info on this too.
Thanks!
Wellington
-Original Message-
From: Giuseppe Galli [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 04, 2001 10:53 AM
To: [EMAIL PROTECTED]
Subject: Re: LDAP Authentication To Active Directory
Hi Supriya,
I' see your post on the
put scope=request to your write tag
-Ursprüngliche Nachricht-
Von: Hamelmann Stefan [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 4. September 2001 10:30
An: '[EMAIL PROTECTED]'
Betreff: Cannot find bean element in scope null - Error in action
forwar d page - but the next page works !
It stands for RUN-TIME EXPRESSION VALUE
It is describe the type of attribute for custom action tag whether
it is evaluated at run-time or not.
BTW: In the JSP 1.1 Spec note you can do this:
mysimpleTag value=%=scripletVariable%/
But this is illegal
mysimpleTag value=anotherTag
Hello,
I've got a functionnal problem with ActionForm:
I fill a form and submit then when I re-display this
form, my old value are display on the form.
How can I initialize the ActionForm after sumit ?
Where the ActionForm is stocked (session, request, ...
) ?
Thanx.
hi all,
I have a software design problem with Struts.
I have to deal with an application where you fill a global form across
several jsp's :
I have to fill some fields in the first JSP, then press next, fill other
fields, press next(or back), fill other fields, ... In each JSP, i can
submit the
As much as I know, if you redisplay your form, and you use session for your scope,
it will show you the values.
If you need a initialized form, use request instead.
marcel
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 04, 2001 11:53 AM
Hello List,
Is it normal to get an exception when one tries to parse CDATA tags with
Digester ? (maybe related to Sax)
Like in :
..
sometag
some text ![CDATA[some HTML tag .../some HTML tag]]
/sometag
Thanks for any hint,
.B
I am using jspc to pre-compile my struts-based jsps. I can pre-compile them
just fine and they get placed in the appropriate directories. What I'm
wondering is if I can compile them (convert them to *.class files) as well -
so my appserver doesn't have to do this at runtime?
I tried using
tanx you help me a lot ...
-Original Message-
From: Wagner Correa Ramos [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 03, 2001 4:35 PM
To: [EMAIL PROTECTED]
Subject: Re: Instalation of Struts on TomCat with Apache
Luiz,
I had this problem too and the solution is...
In the
Not sure if this is the reason, but the XML you wrote below is actually
going to be parsed as two elements: one text part, then one CDATA section.
Both of them make up the body of your tag. Perhaps the digester expects only
one element inside the tag...
Try this instead:
sometag
![CDATA[some
On each request, Struts will call reset() and try to repopulate the bean
from the current request. The default reset() does nothing.
You need to be sure that your reset() method does not clear all the
fields when you are using it to collect properties this way. One
strategy is to set a flag,
Hello,
I could not find information on the following topic:
I would like to use the logic:equal tag, but instead of using just one value to
compare, I would like to use several values.
Is this possible without the if-then-else-tag or switch-tag from Niall Pemberton? Is
there an other
yes, u just nest your logic tags, this is equivalent to AND
logic...
logic...
sdsdcsdcdo somethingsdcsdc
/logic...
/logic...
this is equivalent to OR, seperate single logic tags each testing for some
value/condition
logic...
sdsdcsdcdo somethingsdcsdc
/logic...
logic...
sdsdcsdcdo
Hello
Is it possible to make a submit on a html:link tag whitout
Javascript only using struts tag ?
Thank You for answers.
Thierry
For check boxes the value has to be boolean. So you need to use multibox as
suggested below which works great.
From: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Struts handling of checkbox parameter values
Date: Sat, 1 Sep 2001 12:16:41 -0700
If you make
Are you sure you have an entry for your form bean is struts-config.xml
From: Aaron O'Hara [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: iterating woes
Date: Sun, 2 Sep 2001 19:43:20 -0700
All,
I'm pulling my hair out try to figure out iterating. The code below
Title: TEST
begin:vcard
n:;
tel;work:727-561-9500 x268
x-mozilla-html:FALSE
url:www.opennetwork.com
version:2.1
email;internet:[EMAIL PROTECTED]
title:Systems Engineer
adr;quoted-printable:;;13577 Feather Sound Dr =0D=0A;Clearwater;FL;33762;
note;quoted-printable:=0D=0A
fn:Sujata Katikala
end:vcard
Hi,
the following declaration does not compile on iPlanet 6.0 SP2:
logic:equal name=something value=
...
/logic:equal
here's a snippet of the generated java file:
((org.apache.struts.taglib.logic.EqualTag)_JSP__0).setName(sqc_submenu_
currentitem);
I have only run the struts 1.0 example, and have not yet downloaded struts
1.1(I could not find it at the Struts site). I downloaded the JAXP reference
implementation and placed jaxp.jar, crimson.jar and xalan.jar in my
classpath. After restarting Tomcat I got the same error message as before.
The workaround is to use a scriplet:
logic:equal name=something value=%=%
kinda silly - but it works!
--- Paradis,_André [EMAIL PROTECTED] wrote:
Hi,
the following declaration does not compile on iPlanet 6.0 SP2:
logic:equal name=something value=
...
/logic:equal
here's a
Thanks matt,
Is it fixed in SP3 ?
-Original Message-
From: Matt Raible [mailto:[EMAIL PROTECTED]]
Sent: September 4, 2001 10:53 AM
To: [EMAIL PROTECTED]
Subject: Re: logic tag and empty string value () problem
The workaround is to use a scriplet:
logic:equal name=something value=%=%
The one other thing to check is for something like this in your web.xml
where the Struts servlet is loaded
init-param
param-nameconfig/param-name
param-value/WEB-INF/struts-config.xml/param-value
/init-param
If your struts-config.xml is modelled after most of the examples,
Struts 1.1 is available from
http://jakarta.apache.org/builds/jakarta-struts/nightly/ .
Pick up the most recent files, usually at bottom of list.
Check if Struts1.1 example work. If not, check if you haven't multiple
instances of jaxp in your classpath. Especially, check tomcat/lib.
Hi struts-users,
I just completed the development of a website, http://www.newdawnart.com,
completely based on Struts1.0b version.
I would be happy to help (and share code) with people who might have questions
regarding the use of struts in the implementation of this site.
Working
You'd have the same problems if you used request scope. What you need to do
is reset your form after the acton has successfully processed it.
Troy
On Tuesday 04 September 2001 04:02 am, you wrote:
As much as I know, if you redisplay your form, and you use session for
your scope, it will show
That is true or false based on whether or not the attribute can accept a run
time expression. That is, in the jsp can you do the following or not:
prefix:someTag someAttribute=%= myRuntimeExpression % ... /
On Monday 03 September 2001 05:01 pm, you wrote:
In the .tld files, every attribute
I am running the latest version of Resin. I am able to precompile a page
using the /resin/bin/httpd.sh -e command but the page will not autocompile.
Has anyone encountered this problem before? I am getting the following
Servlet Exception:
java.lang.NoSuchMethodError
at
Has anyone ever used a collection within a collection???
On Monday 03 September 2001 10:59 am, Troy wrote:
Is there a convenient way to work with the iterate tag, using the indexed
attribute, and data structures that are doubly nested?
I have a search form with a dynamic set of search
I would be interested in how you are doing the Next/Previous scrolls through the
videos. Do you load all video records at once and store them in the session, or are
you somehow only retrieving the records the user is looking at?
Neat site!
Ryan
[EMAIL PROTECTED] 09/04/01 10:00AM
Hi
Hi, I'm a relative struts newbie, seeking advise.
I have a class MyForm and in the validate() method of MyForm I check for
input errors and add them to the ActionErrors object which gets returned.
Later in my MyAction action, I check for additional business logic type
input errors. If I find
Matt,
Yes, you should be able to compile them too. That is what I do. Are you using
Ant to build stuff? Am attaching my build.xml and you should be able to see
what classpath stuff I use...targets jspc and compileJSPs. The graniteClient is
our own stuff - I think you should only need
I wanted some feedback on a feature request before I submit it.
In the ActionMapping api you can only get one nameless config parameter
(public String getParameter()). I would find it useful if I could specify
any number of named parameters (public String getParameter(String key)).
The xml in
I'm not saying it's a bad idea, but be very careful what road you start
down. If you're not careful, you end up programming in xml, which can
have its down sides
- Original Message -
From: Ernest Jones [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday,
Thanks simon, robin
for all the help!!!
Venkat.
-Original Message-
From: Simon Sadedin [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 31, 2001 8:19 PM
To: [EMAIL PROTECTED]
Subject: RE: Help!!!
Hi Venkat,
I would encourage you to consider (if you haven't already) keeping your
I'm not too familiar with Kyle Browns Employeelist application but I have gotten the
missing message for key... with VAJ 3.5.3. From what I've discovered, every time
this error occurs it has to do with forgetting to update or add my resources for the
specific application. I don't work
This looks like the well known form tag problem in WebSphere 3.5.*.
WebSphere 3.5.* is not fully compliant with the Java standards.
Here is the fix. Open Java file org.apache.struts.taglib.html.FormTag, go
to method doEndTag() and replace the following two lines:
Nice Job!
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 04, 2001 6:01 AM
To: [EMAIL PROTECTED]
Subject: New Dawn Art.com is powered by Struts!
Hi struts-users, I just completed the development of a website,
http://www.newdawnart.com,
The following tag:
html:checkbox indexed=yes property=deleteCheckbox /
generates the following error message:
indexed is not a valid attribute for tag html:checkbox
I've also tried index instead of indexed and true instead of yes.
Other options (onchange, onclick, disabled) work correctly
what are different scope(s) available to define for a bean in
struts-config.xml and how do it define themany examples...please...
--Venkat.
Hi,
I have used two db utility classes from Ted Husted's fruit-glaze example
(QueryFormBean and ScrollingFormBean), that were available some time ago on the
www.husted.com site. ScrollingFormBean facilitates scrolling lists in db.
If you cannot find the fruit-glaze example, I would be
I am having a bit of trouble with struts and an EJB (entity bean). Instead
of having getters and setters for each attribute in my entity bean, I pass a
javabean that has the same attributes and the getters and setters for the
attributes. So, for example, let's say I have an entity bean with two
Hi,
I understand that the text field on the jsp if associated to a bean
should necessarily have setter/getters...first, is this correct...if yes, is
there a way by which i can tie a text field to a bean but do no have
setters/getters in the bean...
I want to be able to collect
You can pass a value to your action class using the parameter property in
your struts-config.xml file. The DispatchAction included with struts is a
pretty good example of how to do this.
http://jakarta.apache.org/struts/api/org/apache/struts/actions/DispatchActio
n.html
-mikeg
- Original
I'm trying to submit a form through a hyperlink, can anyone see what my
error is in my code?
html:link href= onClick=javascript:form[0].submit();
styleClass=vfsButtonSubmit Changes/html:link
I'm getting an error saying that my form is null or not an object.
Have a good one,
Steven
Title: A Buy Recommendation was Released on Stock Symbol AMSE
Stock Symbol AMSE has just released an announcement that the Company has
acquired new business in the already explosive mortgage industry. This follows
the previous announcement of a Buy Recommendation done by Chartered
you probably need to say document.form[0].submit()
- Original Message -
From: Steven Leija [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, September 04, 2001 2:53 PM
Subject: onClick Link Submitting
I'm trying to submit a form through a hyperlink, can anyone see what my
yes, you can do this. If you have a message in your
ApplicationResources file called my.test.error, you can add an error
like this:
errors.add(myTestField, new ActionError(my.test.error));
where the string myTestField is the field that caused the error.
Look at the constructor for
Title: Message
it
should be forms[0] (note the s).
Glenn
-Original Message-From: Steven Leija
[mailto:[EMAIL PROTECTED]]Sent: Tuesday, September 04, 2001
2:53 PMTo: 'Struts
([EMAIL PROTECTED])'Subject: onClick Link
Submitting
I'm trying to
submit a form through a
Point well taken.
The intention is not to pull programming into the configuration file, only
to facilitate code re-use. Being able to pass in multiple name value pairs
into an action mapping allows the same Action class to be used in different
situations, servlet-contexts, etc. One may want to
So far, on the DEV list, we've had three suggestions about what to do
about this:
1. Use named parameters instead of a single parameter (as just
mentioned)
2. Use parameter as the name of a property file or other resource where
the actual parameters are kept.
3. Add methods to ActionMappings to
Since this bean looks similar to an ActionForm, and we hope to use
ActionForms for data validation, and I don't want to have to move data
between similar beans, I decided that my bean could extend ActionForm.
When
I do this and invoke the getBean() method, I get a CORBA MARSHAL
exception
-
Matt Ho wrote:
Has there ever been talk of making ActionForm an interface rather than a
class? I'd much rather declare
public class PersonForm extends PersonVO
implements ActionForm
{
...
}
than what I've described above.
See
Hi,
I am
currently setting up my development environment in order to use struts.
Doesanyone have arecommendation on how I structure my code?
Obviously I am starting with the struts-blank.war file and it internal directory
structory, however I would like to use ItelliJ as my IDE and tomcat
Are there any plans for externalizing the title attribute of html:link into the
ApplicationResources.properties file?
I'd like to see something like this:
html:link forward=myForward styleClass=linkStyle titleKey=logon.link
bean:message key=logon.link /
/html:link
Are there any plans for externalizing the title attribute of html:link into the
ApplicationResources.properties file?
I'd like to see something like this:
html:link forward=myForward styleClass=linkStyle titleKey=logon.link
bean:message key=logon.link /
/html:link
Are there any plans for externalizing the title attribute of html:link into the
ApplicationResources.properties file?
I'd like to see something like this:
html:link forward=myForward styleClass=linkStyle titleKey=logon.link
bean:message key=logon.link /
/html:link
Are there any plans for externalizing the title attribute of html:link into the
ApplicationResources.properties file?
I'd like to see something like this:
html:link forward=myForward styleClass=linkStyle titleKey=logon.link
bean:message key=logon.link /
/html:link
Im trying to use the html:text field tag. In my tag I have the attribute
disabled=true. However the generated html comes out as disabled=disabled
Whilst ie 5.x can work with this, Netscape 4.x cant. Shouldn't the output be
either disabled or disabled=true?
Note the same applies to the readonly
David Corbin wrote:
I'm not saying it's a bad idea, but be very careful what road you start
down. If you're not careful, you end up programming in xml, which can
have its down sides
I think we're already doing that ;-)
What's happening now is that people are embedding a lot of
62 matches
Mail list logo