help in my ServletException

2003-03-17 Thread Richard Raquepo
guys help me out what cause this error? I have all my class compiled so i don't know what to check. help me out... thanks.. [ServletException in:../tm/edit-busempinfo-body.jsp] Exception creating bean of class com.fltic.crm.form.BusEmpInfoForm: java.lang.ClassCastException'

Re: [OT] suggestion for getting properties

2003-03-17 Thread Karl Stenerud
2003 3$B7n(B 17 $B7nMKF|(B 15:23$B!"(BDan Allen $B$5$s$O=q$-$^$7$?(B: (B I have a model class for my company which has numbers. I would like (B to create a method like (B (B getNumbers() (B (B which returns all of the different phone numbers that are in the (B database as a

RE: [Q] Accessing struts-tiles attribute in a bean?

2003-03-17 Thread Hue Holleran
Ted (Husted) has created a 'tiles for Velocity'. He did qualify that by saying it was not as fully-featured as Cedric's - as I think original tiles took a good while to develop - but Ted's was designed in the shower (or bath - I don't recall) and then developed quickly afterwards. However, that

Re: Strutsaction on different WebApps

2003-03-17 Thread Kjellaug Johansen
Maybe I didn't explain my problem good enough... The name of my application is WebApp. This name is similar for both the production server and the test server. The servername (if you understand what I mean by that term) on the testserver is www.mycomp.com/test, and the servername on the

struts with weblogic

2003-03-17 Thread Rajeev Jain
Hi, Has some body tried struts 1.1 with weblogic 7.0 ? I would appreciate if you can suggest me configuration on weblogic. thanks Rajeev - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Getting the MessageResource Object in the FormBean

2003-03-17 Thread Alok Garg
Hello All, I need to read the MessageResource object in my From class. How can I do it? Alok Garg [EMAIL PROTECTED] Time is the most valuable thing a man can spend.

[Q] Scaffolding question in relation to multiple possible forwards

2003-03-17 Thread Ted Husted
There's a dispatch method on the ProcessResult that you can use for that. In this case, you would set it to age70. The ProcessAction woudl then look for an age70 ActionForward. The idea is that the concept of success, failure, age70, and any other of these tokens belongs to the business layer,

Real dynamic properties

2003-03-17 Thread Chalkidis Spyros
Hello, is there a way to configure the properties of a DynaActionForm really dynamically? I mean not to define them in the struts-config.xml but through java code? Thanks in advance, Spyros Halkidis

RE: [Q] Accessing struts-tiles attribute in a bean?

2003-03-17 Thread Kola Oyedeji
Hi I've been trying to get to grips with Tiles, can anyone point me to some resources, there seems to be a lack of information available on them. Thanks Kola -Original Message- From: Hue Holleran [mailto:[EMAIL PROTECTED] Sent: 17 March 2003 08:16 To: 'Struts Users Mailing List';

Re: [Q] Accessing struts-tiles attribute in a bean?

2003-03-17 Thread Ted Husted
Hue Holleran wrote: Ted - what's the chance of posting your views (or pointing us to a link) on how you're using Velocity with Struts. I did have another look at Velocity after your presentation but I still don't think I can do without tiles - even with the promise of 'cross platform'

Re: help in my ServletException

2003-03-17 Thread Max Cooper
That is a ClassCastException, which occurs when you try to cast a object to a class or interface that it doesn't extend or implement. We would need more details to help you determine just what cast is failing. But, I suspect that your JSP is expecting to find a BusEmpInfoForm but is finding

RE: [Q] Accessing struts-tiles attribute in a bean?

2003-03-17 Thread Hue Holleran
tiles-documentation.war http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED] he.orgmsgNo=64863 -Original Message- From: Kola Oyedeji [mailto:[EMAIL PROTECTED] Sent: 17 March 2003 09:31 To: 'Struts Users Mailing List' Subject: RE: [Q] Accessing struts-tiles attribute in a bean? Hi I've

RE: [Q] Accessing struts-tiles attribute in a bean?

2003-03-17 Thread Hue Holleran
Great links, Thanks Ted. I suppose the ultimate objective (imho) would be to extend tiles so it could utilise other views rather than just jsp. This could then leverage the great work Cedric has done on tiles wrt XML definitions and 'extends' definitions. Sorry if this seems like a really

Struts-Menu onClick forcing a submit

2003-03-17 Thread Jack Zakarian
Hi, I am using Coolmenu4 and setting location to the URL to execute e.g. location=ServiceInvoice/save.do. I found that this does not force a submit so my action form is not populated. To force a submit I tried the onClick e.g. onClick=submitSave('ServiceInvoice/save.do'). This does

Newbie....need DB examples

2003-03-17 Thread Niket Anand
Hello All, I have just started Struts in my project. I need simple DB examples in Struts that can fetch some data, update, and delete that data from database (like sqlserver). Please send link or attachment such that it would be easy to move ahead Waiting for reply Niket

Re: struts with weblogic

2003-03-17 Thread Kris Schneider
Sure, runs fine. It's no different than using Struts with any other app server. Try out the examples that ship with Struts and if you still have problems post another message with details on the specific problems you're having. Quoting Rajeev Jain [EMAIL PROTECTED]: Hi, Has some body tried

Another sslext-struts question

2003-03-17 Thread Konstantina Stamopoulou
Hello all, I'm trying to install the sslext-struts to toggle between https and http requests. I have downloaded the sslext-struts-1.1RC1 and I have copied the /web directory-which contains the demo app- into my webapps. I have enabled the SSL in Tomcat, copied the jnet.jar,jcert.jar,jsse.jar

Re: Tile variable in a custom tag

2003-03-17 Thread Cedric Dumoulin
Import the tile attribute in one of the jsp scope: tiles.importAttribute name=OBJECT_NAME / Then, you can use it in your tag as el expression. If you need to use it as java variable, use tiles:useAttribute name=.../ Check the tag syntax to know more ... Cedric Sloan Seaman wrote: Is

Html:Options usage

2003-03-17 Thread e gg
Hi, I have a bean class that returns an ArrayList of ArrayLists for my dropdowns. I am really confused on how to show this dropdowns. Here's my bean class: public class UserAccessBean implements java.io.Serializable { List deptList = new ArrayList(); List brokerList = new ArrayList(); List

Re: Another sslext-struts question

2003-03-17 Thread Jamesey
have you done the RSA certification bit?? Konstantina Stamopoulou [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello all, I'm trying to install the sslext-struts to toggle between https and http requests. I have downloaded the sslext-struts-1.1RC1 and I have copied the /web

RE: Html:Options usage

2003-03-17 Thread du Plessis, Corneil C
logic:iterate name=filters id=filter indexId=filterIndex select name='%=filter+filterIndex%'html:optionsCollection name=filter label=label value=value//select /logic:iterate -Original Message- From: e gg [mailto:[EMAIL PROTECTED] Sent: 17 March, 2003 15:16 To: [EMAIL PROTECTED]

Re: Another sslext-struts question

2003-03-17 Thread Konstantina Stamopoulou
Hello James, If you mean the RSA certification using the keytool, yes I have done it -as part of tomcat SSL configuration . Konstantina - Original Message - From: Jamesey [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 17, 2003 3:16 PM Subject: Re: Another sslext-struts

[OT] Changing a form page with minimal involvement of struts.

2003-03-17 Thread Simon Kelly
Hi all, I have labeled this OT, cause the solution may not involve struts at all. I would like to present the client with a specific type of data entry in a form page. It will be collecting a timestamp from the client, but I want to give them several different ways of giving me the data; by

javascript function call with parameter

2003-03-17 Thread Yannick Lesage
Hi, I'm trying in a JSP page to move items between 2 lists. This is done via a javascript method that call my action: function rightMove(nbForm){ document.forms[nbForm].elements['sense'].value=right; document.forms[nbForm].submit(); } This function is called on the ondblclick

RE:[OT] javascript function call with parameter

2003-03-17 Thread Jarnot Voytek Contr AU HQ/SC
Why not just do: html:select property=databaseSelectedValues size=7 style=width:100% ondblclick=javascript:rightMove(this.form) html:options property=databaseValues / /html:select no scriptlet required... -- Voytek Jarnot Quidquid latine dictum sit, altum viditur. -Original Message-

how to configure iplant web server for struts

2003-03-17 Thread Ramesh_KumarP
HI, I am facing problem in working struts in iplant webserver I am using only ActionServlet Tell me step by step procedure to execute an struts - application in iplanet web server.. Regards, P.RAMESHKUMAR, ** This

Nested tags and recursion (Arron tree example)

2003-03-17 Thread Distrox
Hello you all! I was trying to visualize/interact with a tree structure using Struts, and looking through the archives I found references to using Nested tags, which at that moment were an extension provided by Arron Bates (http://www.keyboardmonkey.com). As I believe, since Struts 1.1,

RE: validate business data

2003-03-17 Thread Henry Molina
Return Receipt Your RE: validate business data document :

RE: Nested tags and recursion (Arron tree example)

2003-03-17 Thread Sri Sankaran
I was trying to visualize/interact with a tree structure using Struts, and looking through the archives I found references to using Nested tags, which at that moment were an extension provided by Arron Bates (http://www.keyboardmonkey.com). As I believe, since Struts 1.1, Nested Tags

[OT]: Looking for a Good Web Designing Tool

2003-03-17 Thread Vinay Chandupatla
Hi everybody, Which tool is good for developing web pages. I am using struts architecture but I will be the on who will also doing web designing work and also programming. I have Dreamweaver , but it doesn't support many features like fieldset and legend Is there a very user

RE: [OT]: Looking for a Good Web Designing Tool

2003-03-17 Thread Jarnot Voytek Contr AU HQ/SC
vi is great and it supports all current and future html tags... -- Voytek Jarnot Quidquid latine dictum sit, altum viditur. -Original Message- From: Vinay Chandupatla [mailto:[EMAIL PROTECTED] Sent: Monday, March 17, 2003 8:01 AM To: [EMAIL PROTECTED] Subject: [OT]: Looking for a

How to change context path?

2003-03-17 Thread Kjellaug Johansen
I'm using weblogic server 6.1 and wonder if there are any ways I could change the context path. Could this be done in any configuration files (web.xml, weblogic.xml or config.xml)? I'll appreciate any help! Kjellaug.

Re: Looking for a Good Web Designing Tool

2003-03-17 Thread Alexandre Jaquet
read the archive - Original Message - From: Vinay Chandupatla [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 17, 2003 3:00 PM Subject: [OT]: Looking for a Good Web Designing Tool Hi everybody, Which tool is good for developing web pages. I am using struts

Re: [OT]: Looking for a Good Web Designing Tool

2003-03-17 Thread Jeff Kyser
Oh, you beat me to it :) On Monday, March 17, 2003, at 08:15 AM, Jarnot Voytek Contr AU HQ/SC wrote: vi is great and it supports all current and future html tags... -- Voytek Jarnot Quidquid latine dictum sit, altum viditur. -Original Message- From: Vinay Chandupatla [mailto:[EMAIL

RE: [OT]: Best Web designing Tool which supports HTML4.01

2003-03-17 Thread Witbeck, Shane
Dreamweaver MX supports fieldset and legend along with the Struts taglibs. Shane -Original Message- From: Vinay [mailto:[EMAIL PROTECTED] Sent: Sunday, March 16, 2003 1:00 PM To: Struts Users Mailing List Subject: [OT]: Best Web designing Tool which supports HTML4.01 Hi everybody,

validation.xml and Timestamp

2003-03-17 Thread Ferran Parra
I'm using struts validator for all dates and it works fine for simple dates. The entry in validation.xml file is like this. fieldproperty=eventDate depends=required,date arg0 key=eventForm.eventDate.displayname/ var

RE: [OT]: Best Web designing Tool which supports HTML4.01

2003-03-17 Thread Vinay Chandupatla
If it supports tag libraries also in addition to fieldset and legend tags of HTML4.01 , that should be enough for me, Thank you Vinay -- Original Message -- From: Witbeck, Shane [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED]

Re: validation.xml and Timestamp

2003-03-17 Thread Jeff Kyser
You could certainly use a depends='mask' and the appropriate regular expression. -jeff On Monday, March 17, 2003, at 08:32 AM, Ferran Parra wrote: I'm using struts validator for all dates and it works fine for simple dates. The entry in validation.xml file is like this. field

Re: how to configure iplant web server for struts

2003-03-17 Thread Guido
I have exactly your problem using iPlanet 4.1 Regards, Guido. Ramesh_KumarP wrote: HI, I am facing problem in working struts in iplant webserver I am using only ActionServlet Tell me step by step procedure to execute an struts - application in iplanet web server.. Regards, P.RAMESHKUMAR,

Struts Logging using JDK1.4

2003-03-17 Thread Navjot Singh
hi list, I am trying to initialze the LogManager with the over-riding property files. I have written a sep servlet whose only job is to initliaze the LogManager using readConfiguration(InputStream) method. I am SURE that Configuraiton is being read as Files are being created at the defined

RE: [OT] Learning Curve Management or Confusions of a Newbie

2003-03-17 Thread Hue Holleran
Hi Jeff, I read with interest your comments on the above. I think Rick Reumann has done a great example recently of a 'walkthrough' which I presume you'll have seen: Struttin' with Struts: http://www.reumann.net/do/struts/main I agree entirely with your comments - I'm

Re: How to change context path?

2003-03-17 Thread Max Cooper
Do it in weblogic's config.xml, or better yet through the WebLogic console (http://yourserver:7001/console). Be sure to design and implement your web apps so that they would work no matter what the context path is. -Max - Original Message - From: Kjellaug Johansen [EMAIL PROTECTED] To:

html:form problem

2003-03-17 Thread Noureddine Bekrar
Hello, I have a probleme with html:form when i send data with this tag html:form action=/validate method=POST enctype=multipart/form-data the server transform all caracters like éèë... to Do you have any idea about this problem? Thanks

Re: Nested tags and recursion (Arron tree example)

2003-03-17 Thread Distrox
Hello again! I was trying to visualize/interact with a tree structure using Struts, and looking through the archives I found references to using Nested tags, which at that moment were an ... However, Arron has made some updates to it and they won't be reflected in the Struts

Re: Nested tags and recursion (Arron tree example)

2003-03-17 Thread David Graham
You could also download a recent nightly Struts build that includes the same fixes contained in Arron's jar. David From: Distrox [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Nested tags and recursion (Arron tree example) Date: Mon,

RE: html:form problem

2003-03-17 Thread Witbeck, Shane
I have had a similar problem and fixed it by explicitly setting the locale. Shane -Original Message- From: Noureddine Bekrar [mailto:[EMAIL PROTECTED] Sent: Monday, March 17, 2003 9:55 AM To: Struts Users Mailing List Subject: html:form problem Hello, I have a probleme with html:form

Re: html:form problem

2003-03-17 Thread Noureddine Bekrar
Thank you for your response; do you speak about the session locale in the client side? - Original Message - From: Witbeck, Shane [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 17, 2003 4:11 PM Subject: RE: html:form problem I have had a similar problem and fixed it by

RE: Newbie....need DB examples

2003-03-17 Thread Wendy Smoak
Nicket I have just started Struts in my project. I need simple DB examples in Struts that can fetch some data, update, and delete that data from database (like sqlserver). Do you already have code that can read/write records from your database? You'll need to get that done before you can use

RE: Struts-Menu onClick forcing a submit

2003-03-17 Thread Edgar Dollin
It is puzzling why you would be using the 'menu' instead of on page links or buttons to submit the form. There is no way to do it using struts-menu selections w/o javascript as they do not render submit buttons. If your menu is within the form /form block try onclick=document.submit();

RE: html:form problem

2003-03-17 Thread Witbeck, Shane
My problem wasn't specifically with the html:form tag but with some business logic using WebSphere running on Solaris. You may want to try wrapping the html:form tag with the html:html taglib and setting locale=true. Just a guess here. Shane -Original Message- From: Noureddine Bekrar

RE: Struts-Menu onClick forcing a submit

2003-03-17 Thread Jack Zakarian
Hi Edgar, It's a user requirement to use a horizontal dropdown menu to initiate actions. For example the menu would look like: [Home] [Action] [Query] [Add][Save] [Delete] Cancel FieldQueryNew Delete ClearList All Add Detail

html-el:select

2003-03-17 Thread awc
Hi, I have a form called ContestForm. It has a Collection called categories. categories is List which holds a instances of class Category. Which has methods getId() and getCatoryName(). on hrml:el this does not work... I mean I want to populate selected property and the selection list from

RE: html-el:select

2003-03-17 Thread Karr, David
You said ContestForm has a categories property. Your reference in the JSP says that ContestForm has a map property, which has a categories property. Which is it? If the former, your reference would just be ${ContestForm.categories}. -Original Message- From: awc [mailto:[EMAIL

error deploying struts-example on tomcat 4.1.18

2003-03-17 Thread Enrico Donelli
Deploying the struts-examples.war from struts rc1 on tomcat4.1.18 (win2k, SUN j2sdk 1.4.1), I get the following error I can't not solve: 17:26:52,824 ERROR [Digester] Parse Fatal Error at line 3 column -1: External entity not found: http://jakarta.apache.org/commons/dtds/validator_1_0.dtd;.

How to workaround with the java.net.UnknownHostException: jakarta .apache.org exception (was RE: error deploying struts-example on tomcat 4 .1.18)

2003-03-17 Thread COMPAGNON GUILLAUME
There is a bug into the commons-validator bundled with Struts 1.1 RC1: the disgester instancied by the ValidatorResourcesInitializer uses the local DTD located into /org/apache/commons/resources instead of /org/apache/commons/validator/resources... so as the digester doesn't find the DTD, it makes

Re: html-el:select

2003-03-17 Thread awc
Sorry I should have added more info. ContestForm is DynaValidatorForm and has form-property name=categories type=java.util.Collection/ form-property name=categoryId type=java.lang.Integer/ if I try html-el:options collection=${ContestForm.categories} property=id labelProperty=categoryName/

RE: html-el:select

2003-03-17 Thread Karr, David
Ok, in that case your original syntax was correct. I don't know why it isn't working. I assume you mean by does not work that the variable appears to be empty, and not that you're getting exceptions. If I were you, I would be stepping through this code in your debugger. Set breakpoints on your

DTD's and TLD's in Struts.jar Why?

2003-03-17 Thread Greg Hess
Hi All, One of my co workers is optimizing the deployment of my Struts based web application. He has asked me why the Struts.jar contains DTD's and TLD's and if not used would like to remove them to improve speed of deployment. The only reason I can think of is for documentation and to provide

having a problem updating my form - starnge error with beanUtils

2003-03-17 Thread teknokrat
I have a jsp page that is being populated OK by the form bean. However - when i make changes to the fields and submit it to my action i get the following error java.lang.IllegalArgumentException: No bean specified at

Re: html-el:select

2003-03-17 Thread awc
Thanks for the reply... I started to get this message.. ServletException in:/common/bodyText/contest/winner.jsp] Cannot find bean under name [EMAIL PROTECTED], [EMAIL PROTECTED]' I guess exception lot better than no Bean found ... I am geeting closer. The struts release is --

RE: having a problem updating my form - starnge error with beanUtils

2003-03-17 Thread ALAMI Ahmed
make sure you specified a name attribute for your action element in struts-config action path=/myAction name=myActionForm type=MyActionAction scope=request input=/myAction.jsp forward name=success /action -Message d'origine- De : teknokrat

Re: Newbie....need DB examples

2003-03-17 Thread Niket Anand
Thanks Wendy for helping me... - Original Message - From: Wendy Smoak [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Monday, March 17, 2003 8:59 PM Subject: RE: Newbieneed DB examples Nicket I have just started Struts in my project. I need simple DB

Webwork vs Struts

2003-03-17 Thread Butt, Dudley
Hi all, I'm in the throws of making a decision as to wether I should go with Struts or Webwork. Has anyone had any experience comparing the 2, who would be able to provide some valuable input? It will be appreciated, thanx Here is a post i made to the webwork site, and a reply i received:

RE: Struts-Menu onClick forcing a submit

2003-03-17 Thread Edgar Dollin
I would have a hidden field which would help you decompose the action selected, since there can be only one submit target. You can use the LookupDispatchAction as a model or you can simply fill the value of the hidden field with your action code, i.e.:

Re: html-el:select

2003-03-17 Thread awc
To reply to my own question if I set -- c:set var=xontent value=${ContestForm.map.categories}/ html-el:select property=categoryId size=10 html-el:options collection=xontent property=id labelProperty=categoryName/ /html-el:select This works.. .anil awc wrote: Thanks for the reply...

RE: Webwork vs Struts

2003-03-17 Thread ALAMI Ahmed
Chck this site, it's interesting --Webwork is more flexible for building frameworks to access the model level, that can be integrated in an UI (Swing, ...) --Struts is more useful for handling web actions http://www.rollerweblogger.org/page/roller/20030113 -Message d'origine- De :

Re: having a problem updating my form - starnge error with beanUtils

2003-03-17 Thread teknokrat
ALAMI Ahmed wrote: make sure you specified a name attribute for your action element in struts-config action path=/myAction name=myActionForm type=MyActionAction scope=request input=/myAction.jsp forward name=success /action yes i have specified a name - the

Re: How to workaround with the java.net.UnknownHostException: jakarta .apache.org exception (was RE: error deploying struts-example on tomcat4 .1.18)

2003-03-17 Thread Enrico Donelli
or the second, cleaner get the last commons-validator build. the bug is corrected thanks a lot, this worked! Best regards Enrico regards Guillaume Compagnon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

ActionFormBean / FormBeanConfig

2003-03-17 Thread Mike Thompson
Greetings all. I've searched google, looked at the mailing lists and the FAQs and have not been able to come up with a satisfactory explanation of the ActionFormBean class. I would like to initialize my ActionForm class with some custom properties, so I have defined an ActionFormBean which

RE: html-el:select

2003-03-17 Thread Karr, David
Yeah, ok, now I remember. The collection attribute of the options tag is just the NAME of the bean which represents the collection. There is no way to specify an EL expression for that which represents the collection itself. This would have been a good place for Struts-EL to have a minor

Re: [OT] Simulating Concurrent Users

2003-03-17 Thread Michael Hanisch
On Wed, 2003-03-05 at 20:19, [EMAIL PROTECTED] wrote: Hi, Is there some open source tool or technique that I can use to simulate concurrent users for our application? I especially want to test our connection pooling implementation. Hi Gaurav, if you prefer an open-source solution, you

wrapping beans in a form - any ideas

2003-03-17 Thread teknokrat
Have there been any discussion on the pros/cons of having forms like class MyForm extends ActionForm { MyBean bean; public void setBean(MyBean bean) { this.bean=bean; } public MyBean getBean() { return bean; } } And then use the properties like so bean:write name=bean property=bean.name / and

Re: Validator Localization

2003-03-17 Thread Paul Hodgetts
David wrote: I don't think validator supports this but I could be wrong. I believe there's a requirement that forms be defined for the default locale and then for specific locales so that the validator can fall back to the default in case it doesn't find a locale specific formset. Thanks

New releases of sslext posted

2003-03-17 Thread Ditlinger, Steve
All: New versions of sslext, the Struts extension for http/https switching, have been posted at http://sslext.sourceforge.net. One new posting is a bug-fixed version for Struts 1.1b3. The bug that was fixed is described below in an email from last week by Dennis Muhlestein. The other new

RE: Validator Localization

2003-03-17 Thread James Turner
As I recall from the last time I messed with the code: The validator first looks for a valid locale which matches down to the variant, then it looks for one that matches to the country, than language, and then finally the base default locale. James -Original Message- From: Paul

Re: Validator Localization

2003-03-17 Thread David Graham
What I'm suggesting is that you define a default formset containing all form fields that need validation. Then define locale specific formsets as needed. If a field isn't in the locale specific formset, I believe the default validation will run. See this bug for more details:

modules, is it possible to share tiles template?

2003-03-17 Thread Mark Zeltser
Hi, Is it possible to share tiles template from submodule? I woudlike to set common look and feel for all sub apps. However, when sub module accesses common tile, all image, stylesheet, etc, referenceses are changed to include sub module as part of the URI. How can I solve this? I tried to use

Apparent bean:struts / DynaActionForm Class Incompatibility

2003-03-17 Thread darryl . staflund
Hi all, Does anyone know how to get around the following problem: 1. I am using a DynaActionForm class to mediate data exchange between my JSPs and and Action classes. 2. In one JSP, I use the bean:struts / tag to copy one DynaActionForm class to a page scoped scripting variable. 3. Once I

Re: Apparent bean:struts / DynaActionForm Class Incompatibility

2003-03-17 Thread Kris Schneider
bean:struts does *not* get you a handle to an ActionForm instance. If you use: bean:struts id=formBeanConfig formBean=theForm/ Then you get a handle to a FormBeanConfig instance that represents the info in your form-bean name=theForm ... element. Quoting [EMAIL PROTECTED]: Hi all, Does

Problem with html:message

2003-03-17 Thread Ryan Cuprak
Hello, While I have had no problems getting errors to display I am unable to get messages displayed. In my jsp page I have the following: ul html:messages id=message li:write

Re: Problem with html:message

2003-03-17 Thread David Graham
http://jakarta.apache.org/struts/userGuide/struts-html.html#messages David From: Ryan Cuprak [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Problem with html:message Date: Mon, 17 Mar 2003 15:29:58 -0500 Hello, While I have had no

RE: [FRIDAY] List of sites using Struts

2003-03-17 Thread Buchwald, Dave (PLC, IT)
Our development group has finished 3 web sites based on Struts for The Hartford (insurance company based in the Hartford, Connecticut). One of them is the auto insurance service site for AARP members. http://aarp.thehartford.com/mypolicy/ Dave -Original Message- From: Jonas Bjornerstedt

Re: Apparent bean:struts / DynaActionForm Class Incompatibility

2003-03-17 Thread darryl . staflund
Hi Kris, Thanks for your help. I think I described my problem a bit incorrectly. This is how I get an error: 1. At the top of the JSP page, I have the following: bean:struts id=theDocumentForm formBean=documentForm / 2. Later, I try writing the value of one of the properties as follows:

Nested property validation

2003-03-17 Thread Jorge Mascena
Is there a way to validate a nested property when the outter property is a collection? For example, can I have a validation (using Struts Validator) like (using the nested tag sample app with monkeys and bananas): all bananas MUST have a description? I know it would be possible to have a set of

RE: Validator Localization

2003-03-17 Thread Paul Hodgetts
James wrote: As I recall from the last time I messed with the code: The validator first looks for a valid locale which matches down to the variant, then it looks for one that matches to the country, than language, and then finally the base default locale. David wrote: What I'm suggesting

Tiles and WebSphere

2003-03-17 Thread David Graham
My Struts 1.1 app. successfully runs on Tomcat using Tiles. Now I'm trying to deploy on Websphere 5.0 and the tiles:insert tag throws a ServletException that says, response already committed. I think it has to do with the tag using the ServletResonse.include() method to insert the tile. I

Re: Apparent bean:struts / DynaActionForm Class Incompatibility

2003-03-17 Thread Kris Schneider
Darryl, As I said, you're not getting an ActionForm (or even a DynaActionForm), you're getting a FormBeanConfig. http://jakarta.apache.org/struts/api/org/apache/struts/config/FormBeanConfig.html FormBeanConfig doesn't have a description property, hence your error. Even if it did, you'd likely

RE: Validator Localization

2003-03-17 Thread David Graham
1. Validation goes through the form field by field. For each field, it looks for a validator definition, and if found runs it on that field. 2. Validation goes through the formset field by field. For each field definition, it runs the validation on the corresponding form field. I was thinking

Re: Apparent bean:struts / DynaActionForm Class Incompatibility

2003-03-17 Thread darryl . staflund
Thank you very much Kris :-) I've never worked with the FormBeanConfig class before, so I thought you were using a generic name in your last letter for the sake of example. I'll brush up on the class and make sure I familiarize myself with more of the Struts API before posting in the future.

bean:write and scriptlet write

2003-03-17 Thread Cohan, Sean
I have a bean defined on a page. I can write some of the methods using scriptlet code, but not others. However, I can write the others with bean:write. For example, the following code causes a cannot resolve symbol : method getIndexFactor () servlet exception.: %=

Re: modules, is it possible to share tiles template?

2003-03-17 Thread Mark Zeltser
Example: Global Tile: link rel=stylesheet type=text/css href=html:rewrite page='/css/onelook_ie.css'/ Regualar reference, html output: link rel=stylesheet type=text/css href=/sample/css/onelook_ie.css Reference from sub module, html output: link rel=stylesheet type=text/css

struts auto validation not displaying

2003-03-17 Thread Chen, Gin
Hi all, I have a dynaform field that is being validated but it is not displaying the error msg. I matched everything up several times to make sure everything was there but its still not showing the error messages. I know its validating though because it will return me back to my page. Even a

RE: Validator Localization

2003-03-17 Thread Paul Hodgetts
Thank you, David and James! I must be understanding things better, because my code now works, and I can make predictable changes to it. ;-) Now that I think of it, Validators work just like Tiles, as far as localization. In Tiles, I need all the puts in the default definition, and then I can

Re: Problem with html:message

2003-03-17 Thread Michael Ruppin
I believe it's the struts-bean.tld write attribute which actually does the work here, the struts-html.tld's messages attribute just iterates. Where's the prefix associated with the struts-bean.tld in your snippet, that is, one would expect to see something like: %@ taglib uri=struts-bean

Re: Tiles and WebSphere

2003-03-17 Thread Adolfo Miguelez
I did sucessfully in WAS 3.5.3. Have not tried in WAS 5.0 From: David Graham [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Tiles and WebSphere Date: Mon, 17 Mar 2003 14:03:38 -0700 My Struts 1.1 app. successfully runs on Tomcat using Tiles.

Re: bean:write and scriptlet write

2003-03-17 Thread Rick Reumann
On Mon, 17 Mar 2003 16:21:00 -0500 Cohan, Sean [EMAIL PROTECTED] wrote: Both methods return Strings. What am I missing? Send the whole JSP to [EMAIL PROTECTED] -- Rick Reumann - To unsubscribe, e-mail: [EMAIL

Re: Tiles and WebSphere

2003-03-17 Thread David Graham
It's actually a small bug in the Tiles insert tag. In tiles-defs.xml I define these definitions: definition name=tiles.leftnav path=/layout/leftnav.jsp !-- this is the optional secure part of the navigation -- put name=secureLeftNav value=/ /definition !-- defines the secure leftnav piece to

RE: Real dynamic properties

2003-03-17 Thread WILLIAMS,RAND (HP-USA,ex1)
[ Disclaimer: Others may disagree - I'm new at this ;) ] The best way is to assign one property to be a HashMap. There are limitations - but none that have really stood in my apps way... 1. See MapBackedForm example in 4.3.2 Map-backed ActionForms of

RE: [NEWBIE]A very stupid question

2003-03-17 Thread Marco Tedone
My link is created as follows: script language=JavaScript document.write(trtd height='200'p class='enterLink'Welcome to XML-OPbra href='/xml-op/Login.do' class='enterLink'Click here to log in/a/p/td/tr) /script Marco -Original Message- From: Tony Tahbaz [mailto:[EMAIL

RE: [NEWBIE]A very stupid question

2003-03-17 Thread Marco Tedone
Thank you Carl -Original Message- From: Carl Fyffe [mailto:[EMAIL PROTECTED] Sent: Monday, March 17, 2003 3:50 AM To: 'Struts Users Mailing List' Subject: RE: [NEWBIE]A very stupid question Marco, You should use the html:link tag. Use the page instead of href. Page will

  1   2   >