Struts 1.1 migration

2003-07-25 Thread Vinit Sharma
Hello I'm migrating from Struts 1.0 to Struts 1.1. My old struts-config.xml file does not work properly here. I've defined a form bean as follows: form-bean name=user type=com.temp.user set-property property=name value=test /

logic:iterate

2003-07-25 Thread Prashant Samant
Hello group, I have a problem in using logic:iterate. I have a following class public class DataWrapper implements Serializable { private int iID; private String strDescription; public int getID() { return iID; } // DataWrapper : getID

Re: logic:iterate

2003-07-25 Thread Vinit Sharma
Watch out your method public int getID() It should be public int getiID() instead. This should work. Regards Prashant Samant [EMAIL PROTECTED] wrote: Hello group, I have a problem in using logic:iterate. I have a following class public class DataWrapper implements Serializable { private int iID;

RE: logic:iterate

2003-07-25 Thread Prashant Samant
Thanx for the response. I tried both public int getiID() as well as public int getIID() . But still the error persist. Any clue?. Prashant S. -Original Message- From: Vinit Sharma [mailto:[EMAIL PROTECTED] Sent: Friday, July 25, 2003 12:02 PM To: Struts Users Mailing List Subject: Re:

Re: Struts 1.1 migration

2003-07-25 Thread Siva
Dea rVinit, Please use the propert dtd version corresponds to 1.1 (you can specify the dtd available in SUN site.) I feel the peoblem is because of improper dtd reference.. Siva Vinit Sharma wrote: Hello I'm migrating from Struts 1.0 to Struts 1.1. My old struts-config.xml file does not

Re: Struts 1.1 migration

2003-07-25 Thread Vinit Sharma
Hello I'm using the DTD version as provided by Struts site for Struts 1.1. It is as follows: !DOCTYPE struts-config PUBLIC -//Apache Software Foundation//DTD Struts Configuration 1.1//EN http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd; Is there anything wrong with that??

Re: Struts 1.1 migration

2003-07-25 Thread Siva
Dear Vinit, I feel the set-property should be used with DynaActionForm. and the set property will be meaningless with your own action form. please make sure why you are using this set-property here. Siva Vinit Sharma wrote: Hello I'm using the DTD version as provided by Struts site for

[OT] Line numbers while parsing XML

2003-07-25 Thread Suresh Addagalla
Hi, I am using struts-upload to upload an XML file and Xerces API to parse the same. I need to compile the XML file in the sense that I need to report any errors back to the user along with the line numbers, like compilation errors. These are not XML parsing errors, but application level

Re: Struts 1.1 migration

2003-07-25 Thread Vinit Sharma
Hello Siva We can use set-property as a nested element to form-bean. This was working fine with Struts 1.0.2. The problem arised while I'm migrating to Struts 1.1 What I dont know is that whether we can use such a nested element with Struts 1.1 ?? You have any such info. Vinit Siva [EMAIL

RE: logic:iterate

2003-07-25 Thread DE BACKER Sam
It's all about case (upper/lower) property=iId -- calls getIId() property=iID -- calls getIID() ... The underlying BeanUtils will capitalize first letter of property and prepend get/set... -Original Message- From: Prashant Samant [mailto:[EMAIL PROTECTED] Sent: vrijdag 25 juli 2003

validate = false does not work

2003-07-25 Thread Michael Olszynski
Hi, Validate=false in my struts-config.xml does not work. The validate Method is called alway. Can anybody help me? See: actionpath=/proposalAdd type=epool.controller.proposal.AddAction name=requestForm scope=request

RE: validate = false does not work

2003-07-25 Thread Nagaraj_K
I dont see any error in what is mentioned out here. Only doubt for me is that if u have changed the XML file in the middle and have not restarted the webserver... try restarting web server once... -Original Message- From: Michael Olszynski [mailto:[EMAIL PROTECTED] Sent: Friday, July 25,

Indexed Property!

2003-07-25 Thread manglu
Hi, I am unable to get a good handle of Indexed Property(ies) This is what i want to achieve. The users need to specify their interests when they register and their options are provided via checkboxes - say Sports, Politics and Computers I presume the attribute in the form object should be a

AW: [newbie] Problem with Action Mapping

2003-07-25 Thread sem . Gottofrey
You have to add '.do' to the action property of your form tag, like this: html:form action=/Login.do HTH Robert -Ursprüngliche Nachricht- Von: struts user [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 24. Juli 2003 15:33 An: [EMAIL PROTECTED] Betreff: Re: [newbie] Problem with

Re: Partial form validation...

2003-07-25 Thread manglu
Keith, I am not too sure what Partial Form Validation is I am playing with multi-page Validation at the moment so i can share some of the stuff that i understand so far. (i) Turn off the validation in the Struts-Config and invoke the Validation via the validate method in action Object (Not

DynaAF in session scope checkboxes

2003-07-25 Thread Mike Whittaker
Has anyone had this combination to work? I either lose session persistence or (classically) can't clear all checkboxes. I've tried overiding reset() in numerous ways. Help! TIA -- Mike W - To unsubscribe, e-mail: [EMAIL

Re: validate = false does not work

2003-07-25 Thread Michael Olszynski
No, I have restarted everything. I´ve got an older version of struts. Was there a problem once? I can´t switch to a newer version, because of the spec. - Original Message - From: Nagaraj_K [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, July 25, 2003 10:48

Re[2]: validate = false does not work

2003-07-25 Thread Dirk Markert
Hello Michael, there is/was no problem with validation. Perhaps another action mapping is calling your validate action? *** MO No, I have restarted everything. I´ve got an older version of struts. Was MO there a problem once? I can´t

Re[3]: validate = false does not work

2003-07-25 Thread Dirk Markert
Hello Michael, may be your /proposalEdit.action?? *** DM Hello Michael, DM there is/was no problem with validation. Perhaps another action DM mapping is calling your validate action? DM

RE: Testing Struts-Config

2003-07-25 Thread Edgar Dollin
An additional useful test would be whether all the referenced classes actually exist in your webapp (form beans, actions, ...). Of course, that probably ought to be a configurable startup feature for Struts itself. This would be perfect...if you need any help let me know. -James

Re: Radio active? :-) or a working example of nested radio buttons

2003-07-25 Thread Adam Hardy
And that html:radio is able to reference the current iteration of the nested:iterate loop, and give the radio html the correctly nested name? If so it's seems to be encroaching on the nested taglibs behaviour. It's good. Adam ScottC wrote: Adam, The final code came down to this:

RE: Re[3]: validate = false does not work

2003-07-25 Thread Nagaraj_K
The action that you are mentioning comes into picture only when the forward is success... and if the validate attribute is true for that action then, validate method for that particualr formBean will be called. But I think Michel is mentioning about the validate method being called in the action

Re: Re[3]: validate = false does not work

2003-07-25 Thread Michael Olszynski
no there is no validate call in the whole project. i searched for references und declarations. what does init-param param-namevalidate/param-name param-valuetrue/param-value /init-param in the web.xml mean? perhaps is there anything wrong? - Original Message - From: Dirk

Re: [FRIDAY] Funny legal signatures [WAS: RE: Struts in Action]

2003-07-25 Thread Adam Hardy
No, it's real. You see it all the time on ezines and quasi-spam newsletters. I never realised how ridiculous it was before - bit like Amazon, where it says Welcome Adam Hardy! If you are not Adam Hardy, please click here! Andrew Hill wrote: Hehe. Tongue in cheek surely? :-) -Original

newbie question: how to get context path?

2003-07-25 Thread Daniel Joshua
Sorry for the newbie question... my brain not responding... Using mapping.findForward(xxx).getPath(), I am able to to get the the context-relative path. But how do I get the full path, eg. http://localhost:8080/myApp/xxx.do ? Regards, Daniel

Fwd: model - controller interface

2003-07-25 Thread Jens v . P .
Hello, there were many answers here about J2EE patterns and things like OJB. A nice demonstration of these things can be found in Chuck Cavaness book Programming Jakarta Struts - there's an example using these pattern with OJB and Struts (chapter 6: Struts Model Components). Jens

RE: newbie question: how to get context path?

2003-07-25 Thread Mike Whittaker
-Original Message- From: Daniel Joshua [mailto:[EMAIL PROTECTED] Sent: 25 July 2003 10:48 To: 'Struts Users Mailing List' Subject: newbie question: how to get context path? Sorry for the newbie question... my brain not responding... Using mapping.findForward(xxx).getPath(), I am able to

Re: Re[5]: validate = false does not work

2003-07-25 Thread Michael Olszynski
Hi Dirk, thanks for your help. I don´t think that the validate get´s called elsewhere. See... config. always forward success is called. it crashes from end of proposalAdd to proposalEdit. actionpath=/requestSave type=epool.controller.request.SaveAction

RE: newbie question: how to get context path?

2003-07-25 Thread Daniel Joshua
Oooops... thanks! Regards, Daniel -Original Message- From: Mike Whittaker [mailto:[EMAIL PROTECTED] Sent: Friday, 25 July, 2003 5:54 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: newbie question: how to get context path? -Original Message- From: Daniel

Struts euivalent tag for JSP expression tag

2003-07-25 Thread guruprasad jakka
hi struts users, Presently i am doing a small project of converting a web application module written in JSP's to struts framework. These JSP's have tons of business logic in their pages. The data is taken from a backend server using the jsp expression tag. eg. input type=password name=%=

Re: Fwd: model - controller interface

2003-07-25 Thread Adam Hardy
Hi, after checking out those patterns and examples on the sun website, I decided beans were the best way to transfer data across the model-controller interface. I just have to convert my DVform beans into my own value beans using BeanUtils and it's done. I was just worried it would impact

Re[7]: validate = false does not work

2003-07-25 Thread Dirk Markert
Hello Michael, what is the action you are starting with, proposalAdd or requestSave? Which version of Struts are you using? The sources of ActionServlet (version 1.02) only have 1795 lines. Your stack trace says line 1955 in ActionServlet.

Re: Re[7]: validate = false does not work

2003-07-25 Thread Michael Olszynski
Hi Dirk, I´m using version 1.0. I´m starting with requestSave. I don´t get it, why Struts is calling the validate method of my proposalForm. Thanks Michael - Original Message - From: Dirk Markert [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, July 25,

Nested bean : No getter method

2003-07-25 Thread Jean Bernard DUGIED
Hi I am trying to reuse a class generated by some tool. Class look like this : /*** * Module: T_ADreglev2.java ***/ package org.oie.model; import

sslext

2003-07-25 Thread Nagendra Kumar O V S
hi, i am using struts1.1 with sslext . everything seems to be working fine , but one problem i observe is that, when the url is redirected , all the request parameters show up in the query string. how can i avoid it TAI --nagi

RE[Enlightenment]: DynaAF in session scope checkboxes

2003-07-25 Thread Mike Whittaker
Has anyone had this combination to work? I either lose session persistence or (classically) can't clear all checkboxes. I've tried overiding reset() in numerous ways. I think I have found a solution. I hope this will be of interest. Any comments appreciated. We are told to overide reset() in

Re: sslext

2003-07-25 Thread Aleksandar Matijaca
Do you have a session established before you do this? Try doing your request.getSession(true); before executing the sslext pages... a.m. Nagendra Kumar O V S wrote: hi, i am using struts1.1 with sslext . everything seems to be working fine , but one problem i observe is that, when the

Re: sslext

2003-07-25 Thread Nagendra Kumar O V S
hi, session is well established while login and i am using SSL for the creditcard page i forgot to mention, it appends along with jsessionid(obviously).. i feel i am missing something here in the configuration when i submit from the

RE: How to add action errors from action class's execute method

2003-07-25 Thread Anurag Garg
Hi, U can create the ActionError object and add them in the ActionErrors class in the action class. Now to forward the request to some resource add the actionerrors object method in the sendError(). Use saveErrors(request,errors) in the action class. where errors

Re: sslext

2003-07-25 Thread Aleksandar Matijaca
My page is not SSL, but my form does a https submit, and then it forwards on to itself - after submitting, the page IS https - and then I get only jsessionid in the line. I have a sslext:pageScheme secure=false / In my page right above the sslext:form This drove me nuts... Regards,

Re: sslext

2003-07-25 Thread Nagendra Kumar O V S
hi thnx for the input. i did try with the pageScheme tag.. it did't make any diff then next trial was to direct to https from creditcard page rather than http.. i observe that the paramerters are't anymore on the querystring.(strange) so to say, can't

Re[9]: validate = false does not work

2003-07-25 Thread Dirk Markert
Hello Michael, even in version 1.0 there is no line 1955 in ActionServlet!? Has anyone changed the sources? Can you send your complete stack trace? It might help. *** MO Hi Dirk, MO I´m using version 1.0. MO I´m starting with

RE: ServletException Response has already been committed'

2003-07-25 Thread Sashi Ravipati
This is for the first JSP action path=/updateprovider type=gov.mi.mdch.pe.strutsactions.UpdateProviderAction forward name=success path=/WEB-INF/jsp/UpdProvDetailInfo.jsp/ /action I want to include another JSP in the above jsp using jsp:include page=selectedproviderinfo.do

How can I get a value and a name that is different on a html:options collection?

2003-07-25 Thread Bard A. Evjen
I have a Form class: public Collection getMyMonthList() { myMonthList = new Vector(); Calendar cal = Calendar.getInstance(); cal.setTime(new Date(01012003)); for (int i = 1; i 13; i++) { String label = monthListFormat.format(zeroTime(cal.getTime(), Calendar.MONTH, i)); LabelValueBean

Re: Pre-Setting DynaValidatorForm attributes (solution/conclusion)

2003-07-25 Thread José Fortunato H. Tomás
Hi! Just for close this post I want to say this: - I had a bug for something stupid I made and I didn't realise what was referred by the exception. The code that I presented here is the correct one. Since we are in a Action or JSP nested to an Action Form, a bean exists in the correct scope

RE: How can I get a value and a name that is different on a html:options collection?

2003-07-25 Thread Robert Taylor
LabelValueBean labelBean = new LabelValueBean(i, label); Change to LabelValueBean labelBean = new LabelValueBean(String.valueOf(i), label); robert -Original Message- From: Bard A. Evjen [mailto:[EMAIL PROTECTED] Sent: Friday, July 25, 2003 8:49 AM To: [EMAIL PROTECTED]

RE: How can I get a value and a name that is different on a html:options collection?

2003-07-25 Thread Nagaraj_K
I think you need to used nested iterate to get the desired result.Since you are storing objects in the Collection,each value that is returned by labelProperty is just object.toString(); -Original Message- From: Bard A. Evjen [mailto:[EMAIL PROTECTED] Sent: Friday, July 25, 2003 6:19 PM

html:base/ in Tiles pages question

2003-07-25 Thread Erez Efrati
I am using Tiles, now, where am I supposed to put the html:base / tag. I would assume inside the mainLayout.jsp, but wouldn't it cause any problems in other tile pages located in different directories? Thanks, Erez - To

Re: sslext

2003-07-25 Thread Aleksander . Matijara
I think it should work - another thing to try would be to use maybe sslext:rewrite for the actual action inside of a plain html form. I have not tried this approach yet, but i will tonight... The behaviour you are showing (no parameters in the https page) is exactly what I was getting also. Do

Re: Re[9]: validate = false does not work

2003-07-25 Thread Michael Olszynski
I had a look in the sources, indeed sb. changed them. I talked with my collegues, we changed to struts version 1.1, now everything works fine. Thanks a lot for your help. I really appreciate this! - Original Message - From: Dirk Markert [EMAIL PROTECTED] To: Struts Users Mailing List

Re: More validation woes

2003-07-25 Thread Cyber.Zombie
In both cases, you're returning an ActionForward that has no idea of the environment in which it was created. So, why not forward to another page (like error.jsp)? Yansheng Lin wrote: That's what return (new ActionForward(mapping.getInput()); returns. An ActionForward to the jsp that

RE: OT Posts on this List almost [FRIDAY]

2003-07-25 Thread Mark Galbreath
Oh man! That's harsh! But very funny that you fell for that for second time! :-) mARK -Original Message- From: Erik Price [mailto:[EMAIL PROTECTED] Sent: Thursday, July 24, 2003 7:15 PM To: Struts Users Mailing List Subject: Re: OT Posts on this List almost [FRIDAY] Yansheng Lin

[FRIDAY] It's an IRC day!

2003-07-25 Thread Mark Galbreath
#struts_users at irc.darkmyst.org 6667 mARK - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Accessing an ID property of a bean using EL

2003-07-25 Thread José Ventura
Then again, I was having the same problem under Websphere 4.0.4, using precisely this sintax: public String getId(); public void setId( String s ); I was using just an ordinary bean:write name=mybean property=id/ and it just wouln't find the property no matter how nicely I asked it :) I had to

RE: Validator range server-side check assumes Integer?

2003-07-25 Thread Yansheng Lin
Then use doubleRange:). -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Brian Chaplin Sent: July 24, 2003 4:56 PM To: [EMAIL PROTECTED] Subject: Re: Validator range server-side check assumes Integer? I want to check that it's within range and also a double. With

ActionForm as a view bean

2003-07-25 Thread george . baxter
Hello, From a 'error handling' point of view, ensuring that the jsp (or whatever your view is) does not make any back end calls is important. You don't want half your jsp to be rendered and sent down to the client only to run into a back end network error... too late to direct to an error page.

Validation and Multi-Page Forms

2003-07-25 Thread Norr, Peter
I have one form bean in session scope, where the values get populated over time through a series of pages, like a wizard. My question is how do I validate on a page by page basis? I am using the Validator Framework. Thanks, Peter

RE: Testing Struts-Config

2003-07-25 Thread Kamholz, Keith (corp-staff) USX
IBM's Websphere Studio Application Developer, version 5, has a good struts UI. It does quite a bit of validation, a lot of what is being mentioned here. My one complaint though is that I get a warning for every time I use a tiles definition though. It doesn't hurt anything, it's just so ugly...

Re: DispatchAction descendant and Struts Validator problems

2003-07-25 Thread Tony Pinter
Just FYI, I found a post in the newsgroup archives that solved my problems. The author's name eludes me, but he's certainly sharp. All one must do is set validate to false for the action mapping in the struts-config.xml and then, in the methods in which one wishes to validate, call something

RE: Validation and Multi-Page Forms

2003-07-25 Thread Erez Efrati
Peter, You should take a look at the example bundled with Struts - struts-validator it shows exactly how to validate by page basis. For example (taken from my configuration): !-- username -- field property=username)

Re: Using an extension of ModuleConfigImpl

2003-07-25 Thread Rob Leland
Rob Leland wrote: Karachiwala, Aslam wrote: I do use extensions of ActionConfig ForwardConfig. What I've done is implement a layer of extensions of Struts classes, in which I've added custom fields and methods that I need. I'd like to do the same for ModuleConfig. Is that even possible without

how to do this?? [Tag inside a tag]

2003-07-25 Thread Sashi Ravipati
jsp:param name=Name value=bean:write name=showvalue property=providerName / / I get the following errors Error(32): Attribute: showvalue is not a valid attribute name Error(32): Attribute: property is not a valid attribute name Error(33): Not expecting text inside this tag Can I give the tag

Re: how to do this?? [Tag inside a tag]

2003-07-25 Thread Michael Ruppin
You can't do that. See here for more: http://marc.theaimsgroup.com/?l=struts-userm=105771765327337w=2 HTH m --- Sashi Ravipati [EMAIL PROTECTED] wrote: jsp:param name=Name value=bean:write name=showvalue property=providerName / / I get the following errors Error(32): Attribute:

Re: how to do this?? [Tag inside a tag]

2003-07-25 Thread Sashi Ravipati
so how can I set the value in the jsp:param tag which is available in bean:write. Please bear with me as I am learning.. Thanks [EMAIL PROTECTED] 07/25/03 10:43AM You can't do that. See here for more: http://marc.theaimsgroup.com/?l=struts-userm=105771765327337w=2 HTH m --- Sashi

logic to rememeber where the request came and where to submit

2003-07-25 Thread Ashish Kulkarni
Hi, I am building a web application using struts1.1, and this is my requirement, There is a jsp where in user will enter data in text field, and then press enter, this will submit to a Action class, this action class must decide wether a relogin page has to be displayed or not, and if yes then

Re: Validation and Multi-Page Forms

2003-07-25 Thread Gregory F. March
On Jul 25, 2003, Erez Efrati [EMAIL PROTECTED] wrote: |You should take a look at the example bundled with Struts - |struts-validator it shows exactly how to validate by page basis. Right, but I thought that it will validate all fields that are = current page? As opposed to fields that are

newbie question: Java array to JavaScript Array

2003-07-25 Thread Rick Col
Hi, I did not put my question in a nice method previously. I am trying to retrieve data from database and pass data into a JavaScript function as an Array and display it on my JSP page. If I have to write a Scriptlet inside JavaScript code to get data from db, what kind of Java data form

Re: how to do this?? [Tag inside a tag]

2003-07-25 Thread Michael Ruppin
The third example in Kris' post, would do. For your JSP, that would translate to: jsp:param name=Name value=%=foo / Where does foo come from, you ask? I believe this whould be one of a few possible answers: % String foo = showvalue.getProviderName(); % m --- Sashi Ravipati [EMAIL PROTECTED]

RE: how to do this?? [Tag inside a tag]

2003-07-25 Thread Hookom, Jacob
Switch to an EL implementation, either Struts-EL or JSTL, which would allow you to leverage bean properties as attributes of their tags -Original Message- From: Michael Ruppin [mailto:[EMAIL PROTECTED] Sent: Friday, July 25, 2003 9:59 AM To: Struts Users Mailing List Subject: Re: how to

Validating an integer and a double problem

2003-07-25 Thread Thiago Tonelli Bartolomei
Hi, I'm trying to use the validator on two fields of my form. One field is an integer and the other is a double. They are both required. The problem is that only the integer and required validations are working. The double validation is not called from the generated dynamicJavascript. The

Re: ActionForm as a view bean

2003-07-25 Thread george . baxter
Hello again, Actually, as it turns out, the ActionForm is NOT a good idea for a view bean. The ActionForm is not created until the html.FormTag.doStartTag() runs, and again, if the initialization from the back end fails, it's too late to do anything about it. What do you all do? The problem is

RE: newbie question: Java array to JavaScript Array

2003-07-25 Thread James Childers
You'll need to do a couple of things: 1) (Assuming you're using Struts, of course.) Create your Java array/collection/whatever in the Action that gets hit before your JSP page: List myList = new ArrayList(); // populate the list, la la la

RE: newbie question: Java array to JavaScript Array

2003-07-25 Thread Rick Col
James: Thanks for your nice presentation. I will try it out right away. regards, rick --- James Childers [EMAIL PROTECTED] wrote: You'll need to do a couple of things: 1) (Assuming you're using Struts, of course.) Create your Java array/collection/whatever in the Action that gets hit

ActionForm in session scope

2003-07-25 Thread Sashi Ravipati
I am trying to have my Form in session and I have set the scope=session in my action mapping. If I try to access this form in other JSP page it is returing Null. Am I missing something?? action path=/updateprovider type=gov.mi.mdch.pe.strutsactions.UpdateProviderAction

[ANN] brief example using iBATIS from Struts

2003-07-25 Thread Rick Reumann
There are often newbie requests asking how to deal with a database layer from Struts. Since there are so many ways this can be done, 'simple' examples of how this can be done seem hard to come by. Since I currently use iBATIS as my persistence mechanism of choice, I created a simple Struts

How does Tiles effect filters and URL mapping?

2003-07-25 Thread Bailey, Shane C.
I am wondering if I have a filter set up and I map *.jsp for it to do something will using Tiles cause the mapping not to do that something with my JSP pages? I mean, once my JSPs are all combined into a page is that page no longer a JSP (as far as the filter is concerned)?

Re: How does Tiles effect filters and URL mapping?

2003-07-25 Thread Craig R. McClanahan
On Fri, 25 Jul 2003, Bailey, Shane C. wrote: Date: Fri, 25 Jul 2003 11:42:58 -0400 From: Bailey, Shane C. [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: How does Tiles effect filters and URL mapping? I

RE: Validation and Multi-Page Forms

2003-07-25 Thread Erez Efrati
Yes it's exactly how it is. -Original Message- From: Gregory F. March [mailto:[EMAIL PROTECTED] Sent: Friday, July 25, 2003 4:55 PM To: Struts Users Mailing List Subject: Re: Validation and Multi-Page Forms On Jul 25, 2003, Erez Efrati [EMAIL PROTECTED] wrote: |You should take a

RE: How does Tiles effect filters and URL mapping?

2003-07-25 Thread Bailey, Shane C.
OK. So some things make sense and some things don't know about a problem I am having. I am trying to go from the main home page to the User Management (UM) home page with a link. And the main home page is in my main module and my UM home page is in my usermgmt module. So I do this in my main

How to create action error with two keys?

2003-07-25 Thread White, Joshua A (HTSC, CASD)
Say I have the following items in my message properties file. label.name=Your Name errors.required=li{0} is required./li What is the simplest way for me to end up with Your Name is required. The constructor takes a key and a value. What if you have two keys? ActionError(java.lang.String

Help referencing collections for HTML taglib

2003-07-25 Thread C F
Hello, I figure examples are worth a thousand words. So I'll try to keep this simple... can anyone show me (if possible) how to accomplish the same thing as in the examples but using just html-el:select and html-el:options tags without c:set?? I'm using Struts 1.1. Example 1

RE: ActionForm as a view bean

2003-07-25 Thread Giampiero De Ciantis
George, I am not sure if I understand what you are trying to achieve. If you are attempting to retrieve data from a datasource and display it, the way that I think is most natural in struts is to create an action that does this and then have the Action populate an ActionForm and then forward to a

Re: How to create action error with two keys?

2003-07-25 Thread Michael Ruppin
I look up the second key in the MessageResources. This can be a hassle, especially in JSPs. If there's a better alternative, I'm unaware. m --- White, Joshua A (HTSC, CASD) [EMAIL PROTECTED] wrote: Say I have the following items in my message properties file. label.name=Your Name

RE: newbie question: Java array to JavaScript Array

2003-07-25 Thread Rick Col
More questions about the following: 1) It says in logic tags reference: id: The name of a page scope JSP bean that will contain the current element of the collection on each iteration, if it is not null. So, it means myList ArrayList should conform to JavaBean routines, is that right? For

RE: How does Tiles effect filters and URL mapping?

2003-07-25 Thread Craig R. McClanahan
On Fri, 25 Jul 2003, Bailey, Shane C. wrote: Date: Fri, 25 Jul 2003 12:19:54 -0400 From: Bailey, Shane C. [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: How does Tiles effect filters and URL mapping?

Re: JSR-198 : (A little history between IBM and Sun's fight)

2003-07-25 Thread Laura Werner
Andrew Hill wrote: http://www.javalobby.com/threadMode_printfriendly.jsp?forum=61thread=7034 Interesting thread. Amy and the IBM guy both have valid points. I was peripherally involved in some of the Swing stuff when I worked at IBM at the time. A few of us reviewed Swing for IBM at round the

Newbie Question: Dyanamic JavaScript Array - Form Bean]

2003-07-25 Thread skhealy
Hey everyone, I'm new to Struts and was wondering if anyone has ever attempted to create a dynamic HTML table (using JavaScript) that gets and sets values contained in a form bean from a JavaScript array when rows in the table are being added or deleted and upon the form being submitted.

Struts and Japplets(what's applet good for?)

2003-07-25 Thread Yansheng Lin
I wonder if we could integrate Struts and Applet to do some server-client communication where clients get more control over the UI. Basically what we could do now is limited by what html(form) allows us to do. Often people want to do more on the web than filling out form(like playing games).

RE: Validation and Multi-Page Forms

2003-07-25 Thread Norr, Peter
Thanks, this helped. One more problem, the errors are being created but html:errors property=myfiled/ is not displaying them.. Any ideas? Peter -Original Message- From: Erez Efrati [mailto:[EMAIL PROTECTED] Sent: Friday, July 25, 2003 11:16 AM To: 'Struts Users Mailing List' Subject:

Using Actions with specific paths

2003-07-25 Thread David Erickson
Hi I have been having a very difficult time implementing this, basically what I'd like to do is have Struts match some actions based on the path they are executed from, but I am not sure how to setup the web.xml for that nor the struts-config.xml. Example I'd like: /mywebapp/navigate.do runs a

Re: Using XMLForms in Struts

2003-07-25 Thread Travis Stevens
This is something that I could use too. I can see an XMLActionForm class as well as an XMLDynaActionForm class. Both of these would create org.w3c.doc.Document objects based on the input form. I work with metadata, specifically FGDC metadata. There is an XML representation of FGDC. For

[OT] WebObjects vs. Struts

2003-07-25 Thread Hunter Hillegas
Anyone here ever used Apple's WebObjects? How does it compare to Struts/J2EE in your opinion? Cheers, Hunter - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Memory consumption 1.1 b3 vs. 1.1 final

2003-07-25 Thread Maya Retzlaff
Hi, Me and my colleagues are developing a web application in an environment of very strict memory limitations, for instance the session size per user is limited to 15k. If we go over the limit the application fails. Its out of our control unfortunately. We are subclassing the DynaActionForm

RE: Validation and Multi-Page Forms

2003-07-25 Thread Erez Efrati
Peter, It's hard to tell from so little information, try to specify more. In general it does work. Sorry I couldn't be of more help.. Erez -Original Message- From: Norr, Peter [mailto:[EMAIL PROTECTED] Sent: Friday, July 25, 2003 7:27 PM To: 'Struts Users Mailing List' Subject: RE:

Working with Struts + Dreamweaver

2003-07-25 Thread Erez Efrati
I have a JBoss/Tomcat/Struts project in which till now I have written all the pages manually with a simple editor. I have recently downloaded Dreamweaver by Macromedia and started playing with it to see what it is capable of doing. Being far from expert in HTML page design my questions are: 1. Is

RE: How does Tiles effect filters and URL mapping?

2003-07-25 Thread Bailey, Shane C.
Thanks for your help Craig. I am close to solving my problem but after trying to use a simple example (a regular action, then mapping.findForward to a tile with no redirect attribute specified so I assume redirect is false by default) to test my filter / request and a strange thing is

RE: Working with Struts + Dreamweaver

2003-07-25 Thread Mike Jasnowski
1. Is it really necessary to work with such a product? It's really up to you, whatever makes you most productive. Have you looked at using utilities like XDoclet to generate some of your code as well? 2. Is it possible to work with Struts and Dreamweaver together? What does it take to do in

Re: Using Actions with specific paths

2003-07-25 Thread ian_d_stewart
How about: servlet servlet-nameaction/servlet-name servlet-classorg.apache.struts.action.ActionServlet/servlet-class init-param param-nameconfig/param-name param-valueWEB-INF/struts-config.xml/param-value /init-param /servlet servlet

Re: Using Actions with specific paths

2003-07-25 Thread David Erickson
Ahhh now that I definitly like, thanks for the tip. -David - Original Message - From: [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, July 25, 2003 12:32 PM Subject: Re: Using Actions with specific paths How about: servlet

RE: Working with Struts + Dreamweaver

2003-07-25 Thread Erez Efrati
Thank for answer, So what do you usually use? And if the project also uses Tiles? Any help here is blessed.. :) Erez -Original Message- From: Mike Jasnowski [mailto:[EMAIL PROTECTED] Sent: Friday, July 25, 2003 8:30 PM To: Struts Users Mailing List Subject: RE: Working with Struts +

  1   2   >