Cannot find bean element in scope null - Error in action forward page - but the next page works !

2001-09-04 Thread Hamelmann Stefan
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

Re: LDAP Authentication To Active Directory

2001-09-04 Thread Giuseppe Galli
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

RE: LDAP Authentication To Active Directory

2001-09-04 Thread Lacerda, Wellington (AFIS)
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

AW: Cannot find bean element in scope null - Error in action forwar d page - but the next page works !

2001-09-04 Thread juraj Lenharcik
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 !

Re: rtexprvalue - what is it?

2001-09-04 Thread Peter Pilgrim
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

ActionForm question ?

2001-09-04 Thread emmanuel.boudrant
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.

One ActionForm One Action for Multiple different JSP

2001-09-04 Thread Xavier Brunel
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

RE: ActionForm question ?

2001-09-04 Thread Marcel Andres
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

CDATA with Digester

2001-09-04 Thread Bernard Genin
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

tomcat's jasper compiler and jspc

2001-09-04 Thread Matt Raible
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

RE: Instalation of Struts on TomCat with Apache

2001-09-04 Thread Maxime Saby
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

RE: CDATA with Digester

2001-09-04 Thread Rey Francois
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

Re: One ActionForm One Action for Multiple different JSP

2001-09-04 Thread Ted Husted
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,

logic:equal tag with more than one value?

2001-09-04 Thread Marcel Andres
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

RE: logic:equal tag with more than one value?

2001-09-04 Thread Dudley [EMAIL PROTECTED]
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

Submit and html:link tag

2001-09-04 Thread Thierry Lempereur
Hello Is it possible to make a submit on a html:link tag whitout Javascript only using struts tag ? Thank You for answers. Thierry

Re: Struts handling of checkbox parameter values

2001-09-04 Thread SUPRIYA MISRA
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

Re: iterating woes

2001-09-04 Thread SUPRIYA MISRA
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

TEST

2001-09-04 Thread Jake Schleich
Title: TEST

test

2001-09-04 Thread Sujata Katikala
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

logic tag and empty string value () problem

2001-09-04 Thread Paradis, André
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);

RE: dynamic template tag parameter values

2001-09-04 Thread David Boardman
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.

Re: logic tag and empty string value () problem

2001-09-04 Thread Matt Raible
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

RE: logic tag and empty string value () problem

2001-09-04 Thread Paradis, André
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=%=%

Re: Confused about everything ...

2001-09-04 Thread Ted Husted
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,

Re: dynamic template tag parameter values

2001-09-04 Thread Cedric Dumoulin
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.

New Dawn Art.com is powered by Struts!

2001-09-04 Thread pranav
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

Re: ActionForm question ?

2001-09-04 Thread Troy Hart
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

Re: rtexprvalue - what is it?

2001-09-04 Thread Troy Hart
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

Compiliation issues

2001-09-04 Thread McClung, Brian
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

Re: doubly nested data structures and iterate

2001-09-04 Thread Troy Hart
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

Re: New Dawn Art.com is powered by Struts!

2001-09-04 Thread Ryan Cornia
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

display error messages for errors found in an Action

2001-09-04 Thread Brian K. Buckley
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

Re: tomcat's jasper compiler and jspc

2001-09-04 Thread dhay
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

ActionMapping parameter

2001-09-04 Thread Ernest Jones
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

Re: ActionMapping parameter

2001-09-04 Thread David Corbin
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,

RE: Help!!!

2001-09-04 Thread Venkat Jonnalagadda
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

Re: Employeelist example in VAJ 3.5.3

2001-09-04 Thread Daniel Jimenez
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

RE: Websphere deployment problem

2001-09-04 Thread Esterkin, Alex
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:

RE: New Dawn Art.com is powered by Struts!

2001-09-04 Thread Kurt Olsen
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,

indexed option does not work with html:checkbox

2001-09-04 Thread Campesato, Oswald
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

2001-09-04 Thread Venkat Jonnalagadda
what are different scope(s) available to define for a bean in struts-config.xml and how do it define themany examples...please... --Venkat.

Re: New Dawn Art.com is powered by Struts!

2001-09-04 Thread pranav
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

problem with struts and EJB

2001-09-04 Thread Fletcher, Ken
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

Text tag issue!!!

2001-09-04 Thread Venkat Jonnalagadda
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

Re: Action arguments

2001-09-04 Thread Grassotti, Michael
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

onClick Link Submitting

2001-09-04 Thread Steven Leija
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

Stock AMSE…1000% Growth…Buy Recommendation nmju

2001-09-04 Thread dinozine
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

Re: onClick Link Submitting

2001-09-04 Thread Erik Hatcher
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

Re: display error messages for errors found in an Action

2001-09-04 Thread Brian K. Buckley
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

RE: onClick Link Submitting

2001-09-04 Thread Glenn Kidd
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

Re: ActionMapping parameter

2001-09-04 Thread Ernest Jones
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

Re: ActionMapping parameter

2001-09-04 Thread Ted Husted
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

RE: problem with struts and EJB

2001-09-04 Thread Matt Ho
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 -

Re: problem with struts and EJB

2001-09-04 Thread Ted Husted
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

Hello all

2001-09-04 Thread Shea Kelly
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

html link and title attribute

2001-09-04 Thread Matt Raible
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

html link and title attribute

2001-09-04 Thread Matt Raible
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

html link and title attribute

2001-09-04 Thread Matt Raible
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

html link and title attribute

2001-09-04 Thread Matt Raible
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

Bug in html:text field using disabled attribute

2001-09-04 Thread Robert Parker
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

Re: ActionMapping parameter

2001-09-04 Thread Ted Husted
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