RE: contextRelative in local forward

2002-10-21 Thread Taylor, Jason
I'll vouch for the fact that contextRelative works, and should work according to your included configuration-- barring some bug in a build more recent than the one I'm using (unlikely). Have you tried a different name for either the default or sub app's path? I know there have been some bugs

Re: off topic - paged lists

2002-10-21 Thread Howard Miller
Good point! Thanks for the advice! HM On 21 Oct 2002 at 12:58, Eddie Bush wrote: I haven't heard of anything. ... but I would recommend against using ResultSet. Close all your result sets/connections etc as soon as you retrieve and process. If you need to keep results in something

RE: Struts and Tiles and bean:message

2002-10-21 Thread Chen, Gin
Actually I got it partially working right now. I used the new el tag lib and looked up the value in the pageScope (thanks to Shawn Bayern for showing me how) But I'm getting a strange return value. %-- get title --% bean-el:message key='${pageScope[page.title]}'/ Returns:

Re: logic:iterate How to determine the last row in a collection

2002-10-21 Thread Adam Sherman
Just to point out the obvious, but I assume you insert the border outside the iterate? Tuan H. Le wrote: logic:present name=myCollection scoperequest logic:iterate id=data name=myCollection scope=request type=com.abc.MyCollectionVO indexId=idx length=10 offset=0 // need logic to determine

New Exception handler

2002-10-21 Thread gernot . pfingstl
If I set in the controller configuration set-property property=inputForward value=true/, so that I can put in action ... input=forward ..., where forward is a local or global forward and I does NOT define a path in my exception definition, the exception handler will NOT find the page which is

RE: Book Opinions

2002-10-21 Thread Chappell, Simon P
For those with a reasonable level of experience with servlets and web applications in general, the book by Sue Spielman is very worthwhile looking at. (Disclaimer: I was a paid technical reviewer, so I am biased, although there was no payment for the endorsement that I offered ... that was

RE: Submit button look

2002-10-21 Thread Heligon Sandra
This required to add an ActionForm to the page and define a property login. but what is the type of this property ? Is it true ? -Original Message- From: James Mitchell [mailto:jmitchtx;telocity.com] Sent: 21 October 2002 17:58 To: Struts Users Mailing List Subject: RE: Submit button look

Re: Last for words with forwarding can someone please help me out here

2002-10-21 Thread Brian Hickey
Much information missing here. Which version of Struts? What does the code look like? Scoping manipulates what the page sees, not what the form bean contains. That makes it interesting that you can change form bean contents by managing scope. If you have time, please give more info. Thanks. B

RE: ChoiceFormat for message formatting?

2002-10-21 Thread Andy Kriger
I'm getting 'java.lang.IllegalArgumentException: Cannot format given Object as a Number' when I use the message format below. I tried simplifying to just {1} characters instead of {1,number,integer} but no luck -Original Message- From: Karr, David [mailto:david.karr;attws.com] Sent:

RE: Submit button look

2002-10-21 Thread James Mitchell
I don't understand your question. Can you restate it? James Mitchell Software Engineer/Struts Evangelist http://www.open-tools.org -Original Message- From: Heligon Sandra [mailto:sandra.heligon;nextream.fr] Sent: Monday, October 21, 2002 12:06 PM To: 'Struts Users Mailing List'

Re: Weblogic6.1 + struts1.0 NoClassDefFoundError org.apache.strut s.action.Action

2002-10-21 Thread Daniel Jaffa
I have also deployed weblogic 6.1 sp2 with struts 1.0 Make sure that you web app is working correctly. Try removing struts, put a jar file in /web-inf/lib and see if you can call a class from your jsp page. If you can you should be able to weblogic to work. Also make sure that struts.jar is

Re: Struts Tags inside a Tag????

2002-10-21 Thread Cedric Dumoulin
Where do you put your nested tags ? Remember that you can nest a tag only inside of the body of another tag (if the surrounding tag tld accept it): aTag aNestedTag/ /aTag You CAN'T put a tag as the value of another tag's attribute: aForbidenTag anAttribute=aNestedTag/ / These are

RE: ChoiceFormat for message formatting?

2002-10-21 Thread Karr, David
So you get that exception with {1,number,integer}, but you get the SAME exception when you just use {1}? This is about the time that I set up my debugger so I can see the actual call to the format method. -Original Message- From: Andy Kriger [mailto:akriger;greaterthanone.com] Sent:

{Validator] Required Fields

2002-10-21 Thread Jerry Jalenak
Has Validator changed in its use of 'required'? I pulled down the 20021008 build a couple of weeks ago, and found that Validator is now 'requiring' all of my form fields even when I don't specify the required parameter. I did a quick check in the archives but didn't see anything immediately.

Re: How to add a pre-action

2002-10-21 Thread Dave Derry
In addition to Phil's advice, if I understand you correctly you are asking how you can differentiate two different behaviors in the same action class. When action is /mainscreen then ReportParameterAction should do one thing (or nothing) but when action is /report then ReportParameterAction should

Weblogic6.1 + struts1.0 NoClassDefFoundError org.apache.struts.action.Action

2002-10-21 Thread Yao Rong
I got a strange problem: I develop a web application on Weblogic 6.1 SP2 and I use apache struts 1.0. But when myJsp.jsp request myAction.class, NoClassDefFoundError occurs: org.apache.struts.action.Action is not found. FYI, I have struts.jar in mywebapp/WEB-INF/lib and my application works well

Error while initializing ActionServlet

2002-10-21 Thread Vikas Malla
I was able to run the MockStrutTestCase example. I was trying to run my application using CactusStrutTestCase but this is the error I am getting: [junit] Testcase: testSuccessfulLogin took 0.611 sec [junit] FAILED [junit] Error while initializing ActionServlet: Parsing error

OT: Presentaiton layer

2002-10-21 Thread V. Cekvenich
One day W3.org will release xforms tag to replace the forms tag. Here me now, listen to me later. Here is a plug in for IE: http://www.FormsPlayer.com With great links. Exciting. Also http://jxforms.cybernd.at/ is also ok. .V -- To unsubscribe, e-mail:

RE: Accessing a collection in a Form bean with html:options

2002-10-21 Thread Itagaki, Masaki
David (B (BI think your "bean:define" element needs to reference the bean created in (Byour loop. Try the following: (B (Bbean:define id="telephones" name="ad" property="phones" scope="request"/ (B (BThank you for your suggestion. Actually I've thught the same thing and have (Btried that,

Re: struts Newbie - login screen

2002-10-21 Thread Howard Miller
Someone correct me if I am wrong, but nothing can help you. The browser will recover the page out of its cache and you'll get whatever you saw last. If you are writing a server-side application, I would stop and think very carefully before using Javascript - on principal if nothing else!!

Re: contextRelative in local forward

2002-10-21 Thread Eddie Bush
There should no longer be issues surrounding path matching in modules. That was my very first commit. The scenario that that commit fixed would be like: /moduleA.do --- an action that starts with /module -- a different module's name was causing control to be shifted to the other

Re: nested:iterate building columns

2002-10-21 Thread Adam Sherman
Still doesn't work as I think it should. The following JSP: nested:root name=currentSchedule nested:iterate property=holding nested:write property=date/ blockquote nested:iterate property=informationsessionsiterator nested:write property=location.city/br /nested:iterate

Re: How to add a pre-action

2002-10-21 Thread Phil Steitz
Mohan Radhakrishnan wrote: Hi, Flow : login.jsp - mainscreen.jsp[ jsp:includes a left panel showing report parameters] The parameters are chosen by the user. Forward to the same mainscreen.jsp which is shown again with the left panel hidden (uses layers) and the report shown in

Re: Struts and client side features

2002-10-21 Thread V. Cekvenich
A good practices is to write a JSP tag that emits JavaScript. The JavaScript can contain an array list that comes from a bean. Commonly used on dependent options Collections tag. .V Heligon Sandra wrote: In a Struts application, is it possible to modify a JSP page without call the server. My

RE: i18n

2002-10-21 Thread Jeff Born
I have three ApplicationResources.properties files. ApplicationResources.properties ApplicationResources_es.properties ApplicationResources_ru.properties and the following line in the struts-config.xml file: !-- == Message Resources Definitions === --

RE: nested:iterate building columns

2002-10-21 Thread Sri Sankaran
The value of the property attribute must be (in v1.1) something that implements the Map or List interface. I see that your getInformationSessionsIterator() method returns an Iterator. Also, the method corresponding to a property of 'informationsessionsiterator' *must* be

Re: Error while initializing ActionServlet

2002-10-21 Thread Howard Miller
Errr it means what is says... there is an error in your struts-config.xml file. The best advice I can give is to get hold of Struts Console at... http://www.jamesholmes.com/struts/console/ This should sort you out! Howard Miller On 21 Oct 2002 at 20:51, Vikas Malla wrote: I was able

contextRelative in local forward

2002-10-21 Thread Armin_Sproll
Hello all, I try to change our struts configuration to use sub-applications. The forward from the default application to the sub-application seems to be working fine. However, I can't seem to be able to get to a jsp file outside the sub-application action. I am always getting an error from Tomcat

Re: Struts and client side features

2002-10-21 Thread V. Cekvenich
Code you want to emit would be something like: %FormBean fb = (FormBean)session.getAttribute(FormBean); AnotherBean p = fb.getAnotherBean(); Hashtable h = p.getAllPropSubtypes(); Enumeration e = h.keys(); for(; e.hasMoreElements(); ) { String s = (String)e.nextElement(); out.println(a+s+ = new

RE: Struts and Tiles and bean:message

2002-10-21 Thread Chen, Gin
Hi David, That was the intended use of page.title. But I wanted to try to keep within the struts standards and define all msgs within my application resource file. Are you saying that there is no way to do an indirect mapping? I mean cant I pull out the value of page.title

Re: Book Opinions

2002-10-21 Thread Vincent Stoessel
I highly recomend Mastering Jakarta Struts by James Goodwill. It breaks all the struts components and proceeds to build a sample application for you step by step. The last chapers deal with the jakarta tag libraries in detail with an example for each tag. That alone made it worth it for me.

Re: logic:iterate How to determine the last row in a collection

2002-10-21 Thread Adam Sherman
Tuan H. Le wrote: if it's the last row dispay td align=center style=border-right bean:write ./td else display td align=centerbean:write .../td Do you have some HTML to illustrate this? Might be possible to work around the issue. A. -- Adam Sherman Software Developer Teach and

Accessing a collection in a Form bean with html:options

2002-10-21 Thread Itagaki, Masaki
I have a problem in accessing a collection (String array) that is in a form (Bbean when is use html:options tag. Say, I have AddressForm, which has (B"name" (String) and "address" (String) as members. After my action servlet (Bputs an array of the AddressForm in a request object (named as

validator questions

2002-10-21 Thread Andy Kriger
1) Is it possible to override the validator error message when a field fails validation? For example, I have a required field that is missing. I display the default error message at the top of the page. I would also like to change the color of the form field label red. Can I do something like

ChoiceFormat for message formatting?

2002-10-21 Thread Andy Kriger
Can ChoiceFormat be used to format messages in the app properties file? For example, the validator error.maxlength is {0} can not be greater than {1} characters. This will produce 'field can not be greater than 1 characters' I am trying to use the ChoiceFormat to work so this can be

RE: struts Newbie - login screen

2002-10-21 Thread Sri Sankaran
What's wrong if the user navigates back and views the login screen? Your application can just discard the earlier session and re-initialize. Don't try to circumvent standard browser behavior. Sri -Original Message- From: deepank [mailto:deepank;sasken.com] Sent: Monday, October 21,

RE: logic:iterate How to determine the last row in a collection

2002-10-21 Thread Taylor, Jason
you can use the bean:size tag to get the size of your collection, then do a logic:equals comparing the indexId of each row with the page scope variable obtained from the bean:size tag via scriplet reference (kind of a hack, probably a better way using JSTL)... -Original Message- From:

RE: Accessing a collection in a Form bean with html:options

2002-10-21 Thread Karr, David
-Original Message- (B From: Itagaki, Masaki [mailto:[EMAIL PROTECTED]] (B Sent: Monday, October 21, 2002 11:45 AM (B (B This is just fine. Now, I have another AddressForm member of (B a string array (B for multiple phone numbers, as "phones" (String[]) and need (B to display as a

Re: Struts and Tiles and bean:message

2002-10-21 Thread Cedric Dumoulin
This question has already been asked. It should be in the struts archives ;-) Here is a solution: * Specify the resource key in your put This will create a tile's attribute. * Retrieve the tiles attribute value, and use it. o Tiles attribute are stored in the tile

off topic - paged lists

2002-10-21 Thread Howard Miller
Sorry this is a bit off topic, but if anybody knows etc. Has anybody come across a taglib like the Display: taglib for showing paginated lists. BUT, I need it to display the output of arbitrary sql queries. That is where the column headings are not known at run-time? It would probably

Re: off topic - paged lists

2002-10-21 Thread Eddie Bush
I haven't heard of anything. ... but I would recommend against using ResultSet. Close all your result sets/connections etc as soon as you retrieve and process. If you need to keep results in something like ResultSet and do so between actions, you may search for CachedRowSet. It will not

RE: logic:iterate How to determine the last row in a collection

2002-10-21 Thread Tuan H. Le
Adam, Thanks for your quick response! In my case, I'm not sure your suggestion would work. Here's the logic that I'd like to implement within logic:iterate if it's the last row dispay td align=center style=border-right bean:write ./td else display td align=centerbean:write .../td

Re: nested:iterate building columns

2002-10-21 Thread Adam Sherman
Sri Sankaran wrote: The value of the property attribute must be (in v1.1) something that implements the Map or List interface. I see that your getInformationSessionsIterator() method returns an Iterator. I had tried it with a getInformationSessionArray(), which didn't work either. See below.

RE: Best Practice for optaining GLOBAL_ERRORS

2002-10-21 Thread James Higginbotham
Hey Dennis, long time no talk! Well, not sure if there is a better way, but here is what we do: html:errors property=org.apache.struts.action.GLOBAL_ERROR/ (removes the import).. I guess you could write a custom tag to create one of the html:errors tag instances, set the property name to the

RE: How to add a pre-action

2002-10-21 Thread Jeff_Mychasiw
We use pre-actions for all of our pages. I too would like more examples of this type of thing. I can't say if this is the best way or not, but we are in mid construction of out first Struts app and have have found that certain situations keep appearing. Most of our pages look like the Master-

struts Newbie - login screen

2002-10-21 Thread deepank
Hi, This question is not exclusive to Struts but i am hopeful Stuts must be having a solution for this. Once i authenticate a user and store his user information in session, i dont want that the login screen should appear again, unless ofcourse the user logs out or the session expires. As of

off topic - paged lists

2002-10-21 Thread Howard Miller
Sorry this is a bit off topic, but if anybody knows etc. Has anybody come across a taglib like the Display: taglib for showing paginated lists. BUT, I need it to display the output of arbitrary sql queries. That is where the column headings are not known at run-time? It would probably

Re: Best Practice for optaining GLOBAL_ERRORS

2002-10-21 Thread Vincent Stoessel
Hi, Doesn't just using html:errors / automatically pull all the ActionErrors out for you? Dennis Muhlestein wrote: I want to display errors with By the input field for the property. That is fine and works ok. At the top of my form, I'd like to display any Global Errors. I've added That

ApplicationResources and 1.1b2

2002-10-21 Thread ajTreece
Morning folks... I have recently upgraded from 1.1b1 to 1.1b2 and ran into a couple of problems. The first was logging, but I found the solution in the archives which was to use the newly released Commons Logging jar. The problem I'm having now is with messages via

RE: Submit button look

2002-10-21 Thread Heligon Sandra
I am not sure but I believe that I must replace the line html:submitLogin/html:submit by something like that: html:image pageKey=resources.images.login property=login/ and in the ActionForm that is associated to that page, protected boolean m_loginPressed = false; public int

Réf. : Re: ActionForm and ArrayList

2002-10-21 Thread Arnaud . PASQUIERS
Thanks for your help. But I have the same problem with a String[]... When I retrieve my array, after submitting my form, its size is 0. Do you know where I can find a real example? (My purpose is to update an array of object (not Java objet but custom object) via a html:form and ActionForm)

Re: nested:iterate building columns

2002-10-21 Thread Adam Sherman
Arron Bates wrote: The object I've put in the request is a List, therefore I'm iterating over it, and not one of its properties. Should I wrap it in a Bean? Yup. In theory only you could use this/ as the property for the list, but BeanUtils will throw a fit when the property [5].sublist[2] is

Re: [ANNOUNCE] SVT 0.5.0-beta released

2002-10-21 Thread Dave Derry
- Original Message - From: Shinya Kasatani [EMAIL PROTECTED] Hello, I am pleased to announce that I have released a first version of SVT (Struts Validation Toolkit). SVT is a form validation framework for Struts. You can write a simple validating code in Java, rather than writing

Re: Error while initializing ActionServlet

2002-10-21 Thread Vikas Malla
It gives me no errors. The console validates my xml without any problems. What else can be the reason? Howard Miller [EMAIL PROTECTED] wrote:Errr it means what is says... there is an error in your struts-config.xml file. The best advice I can give is to get hold of Struts Console at...

RE: ChoiceFormat for message formatting?

2002-10-21 Thread Karr, David
-Original Message- From: Andy Kriger [mailto:akriger;greaterthanone.com] Sent: Monday, October 21, 2002 9:21 AM Can ChoiceFormat be used to format messages in the app properties file? For example, the validator error.maxlength is {0} can not be greater than {1} characters.

Re: JDK 1.4 and struts

2002-10-21 Thread Umberto Nicoletti
On Sun, 2002-10-20 at 05:21, email wrote: There were a couple of messages the other day concerning Struts failing to work correctly under the 1.4 JDK. I'd like to add some evidence to that. Sun's 1.4 JDK (at least the Linux version) seems to have serious problems w/ the classpath. After

Re: How to add a pre-action

2002-10-21 Thread Phil Steitz
Mohan Radhakrishnan wrote: Hi, I am doing something similar but I have a doubt. I show selection parameters with the following action mapping. The html:form action for that is mainscreen.action. actionpath=/mainscreen type=com.hcl.smartmanage.web.action.ReportParameterAction

RE: Error while initializing ActionServlet

2002-10-21 Thread James Mitchell
What version of Ant are you using? James Mitchell Software Engineer/Struts Evangelist http://www.open-tools.org -Original Message- From: Vikas Malla [mailto:malla6um;yahoo.co.in] Sent: Monday, October 21, 2002 5:11 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject:

Re: Delete/remove jsessionId

2002-10-21 Thread Viktors Stepanovs
Hi Sandra What Do you meen initialise again the environment ? if you meen that you need reinit stuts-config.xml you can useorg.apache.struts.tiles.actions.ReloadDefinitionsAction if you need new HttpSession request.getSession(true) and you have new session. if need that URL didn't contain

Submit button look

2002-10-21 Thread Heligon Sandra
How is it possible to modify the look of a submit button ? There is no image property associated to the html:submit tag. html:submitLogin/html:submit Sandra -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands,

Re: Error while initializing ActionServlet

2002-10-21 Thread Howard Miller
Your not using some ancient version of struts are you? I'm thinking it could be something to do with DTD versions. Just guessing though Have you checked the container logs to see if there is anything strange? HM On 21 Oct 2002 at 22:11, Vikas Malla wrote: It gives me no errors. The

RE: Form submission

2002-10-21 Thread James Mitchell
Better question. What are you trying to do? (e.g. prevent the form from submitting when a user hits the enter/return key???) James Mitchell Software Engineer/Struts Evangelist http://www.open-tools.org -Original Message- From: Kyrre Lugg [mailto:kyrre.lugg;tomra.no] Sent:

RE: Submit button look

2002-10-21 Thread James Mitchell
You will need to use html:image for submitting via input type=image James Mitchell Software Engineer/Struts Evangelist http://www.open-tools.org -Original Message- From: Heligon Sandra [mailto:sandra.heligon;nextream.fr] Sent: Monday, October 21, 2002 11:57 AM To: '[EMAIL

RE: Form submission

2002-10-21 Thread Brandon Goodin
Yes, if you have a query string appended to a url that points to an action (i.e. *.do) the request parameters will be mapped to the associated action's form bean. Brandon Goodin -Original Message- From: Kyrre Lugg [mailto:kyrre.lugg;tomra.no] Sent: Monday, October 21, 2002 5:13 PM To:

RE: Form submission

2002-10-21 Thread Brandon Goodin
I should be a bit clearer. Basically what i am saying is that as long as you have request parameters and you are pointing at an action who's form bean has getter/setter properties that match the request parameters you can always capture the form data. Brandon Goodin -Original Message-

Delete/remove jsessionId

2002-10-21 Thread Heligon Sandra
I would like to test my application but I don't know how to initialise again the environment. When I start my application, the URL contains a jsessionid (jsessionid=CD334A6F202487AE30A9E72EFFA17FE1). How is it possible to start with no session ? Do I

RE: How to add a pre-action

2002-10-21 Thread Mohan Radhakrishnan
Hi, input=/a/bookSearch.jsp Could you explain what this parameter means ? We have a similar requirement. bye, Mohan Here is a simple example showing one way to deal with this type of thing. There are no doubt lots of other ways to handle this. Use case: library search. User page

Form submission

2002-10-21 Thread Kyrre Lugg
Excuse me if I'm off topic here: Can one capture form data even if the request is not caused by a form submit button? Kyrre Lugg -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org

Struts Features

2002-10-21 Thread Podhigai Thendral
Can anyone send me a link to the list of features provided by Struts framework ? I have searched for it in the apache site but could not find one. -Thendral -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail:

RE: How to add a pre-action

2002-10-21 Thread Mohan Radhakrishnan
Hi, I am doing just that. Hope it works. Thanks. bye, Mohan -Original Message- From: Dave Derry [mailto:dderry;acm.org] Sent: Monday, October 21, 2002 4:52 PM To: Struts Users Mailing List Subject: Re: How to add a pre-action In addition to Phil's advice, if I understand you

RE: off topic - paged lists

2002-10-21 Thread Shekhar Jain
Try the dotj grid from www.dotjonline.com It has soom good basic functionality SHekhar -Original Message- From: Howard Miller [mailto:me;howardmiller.co.uk] Sent: Monday, October 21, 2002 11:14 AM To: Struts Users Mailing List Subject: Re: off topic - paged lists Good point! Thanks

Last for words with forwarding can someone please help me out here

2002-10-21 Thread Smith, Johnathan M.
I have a action that changes some values in the form bean and then forwards to a action. 1) If my first action is set to request scope and my 2nd action is also set to request scope the 2nd action does not see the form bean changes 2) If my first action is set to session scope and my 2nd action

RE: Error while initializing ActionServlet

2002-10-21 Thread Vikas Malla
ant-1.5. James Mitchell [EMAIL PROTECTED] wrote:What version of Ant are you using? James Mitchell Software Engineer/Struts Evangelist http://www.open-tools.org -Original Message- From: Vikas Malla [mailto:malla6um;yahoo.co.in] Sent: Monday, October 21, 2002 5:11 PM To: Struts

RE: How to add a pre-action

2002-10-21 Thread Howard Miller
I'd just like to thank everybody who replied to this one. I have got a lot of information, and have successfully sorted out what I want to do. And it feels right!!! Thanks very much everybody!! Howard Miller On 21 Oct 2002 at 10:25, [EMAIL PROTECTED] wrote: We use pre-actions for all of

RE: Delete/remove jsessionId

2002-10-21 Thread Heligon Sandra
The jsessionId is saved in a file on my computer, I would like to make as if it were the first time that I launched the application on my machine and no cookie exist on my machine. I use Tomcat as web server, I would like to be a new user without session created. I do not want to make

[OT] Working with File System

2002-10-21 Thread Jacob Hookom
Hey All, If we are storing large amounts of files on the server, is it acceptable (performance wise) to be querying directories straight from the file system? I realize Tomcat does this for directory browsing, but I don't know if it will scale well enough that I would need to cache the results?

RE: Error while initializing ActionServlet

2002-10-21 Thread Kevin . Bedell
This is a common error. When using StrutsTestCase you need to have the path: ' /WEB-INF/struts-config.xml' on your class path. That is, it looks literally for the directory /WEB-INF on the classpath. Modify your class path to add the directory directly above 'WEB-INF' to your classpath and it

Sub-App navigation confusion

2002-10-21 Thread Peterkofsky, Don
We have what should be a fairly common situation: several sub-applications corresponding to different business unit functions, and a global navigation header that navigates among these different sub-applications (Unit1, Unit2, etc.). The navigation header is defined in a global template, and so

Re: Error while initializing ActionServlet

2002-10-21 Thread Vikas Malla
Looking at this snippet, is my version of httpclient.jar old? i dont know why would the test examples work and not my application though. 2002-10-21 17:51:24,486 [main] INFO httpclient.wire - webresultexception classname=junit.framework.AssertionFailedErrormessage![CDATA[Error while

RE: Error while initializing ActionServlet

2002-10-21 Thread Vikas Malla
In the snippet below, app.home = my folder which has the WEB-INF directory, one level up from WEB-INF, Thanks. target name=test junit printsummary=yes haltonfailure=yes haltonerror=yes fork=true classpath pathelement location=${my.classes}/ pathelement

RE: Error while initializing ActionServlet

2002-10-21 Thread Kevin . Bedell
http://strutstestcase.sourceforge.net/faq.htm You know, it's possible I spoke too soon. The error I was thinking of was the first on in the faq ( http://strutstestcase.sourceforge.net/faq.htm ) which is actually: Missing configuration resource for path /WEB-INF/struts-config.xml?

Re: nested:iterate building columns

2002-10-21 Thread Adam Sherman
Arron Bates wrote: What about a Set? List and Map implementations only. Only because the properties for getting at an item in a collection needs a key. int's for lists and arrays, and objects (strings) for the mapped collections. Set is just a bunch, and there's no way in an iteration for the

Re: nested:iterate building columns

2002-10-21 Thread Adam Sherman
Arron Bates wrote: What about a Set? List and Map implementations only. Only because the properties for getting at an item in a collection needs a key. int's for lists and arrays, and objects (strings) for the mapped collections. Set is just a bunch, and there's no way in an iteration for the

RE: Error while initializing ActionServlet

2002-10-21 Thread Vikas Malla
I am using tomcat 4.0.3 and ant 1.5 with struts 1.1b2. What should be the right combination? Any ideas? Thanks. [EMAIL PROTECTED] wrote: http://strutstestcase.sourceforge.net/faq.htm You know, it's possible I spoke too soon. The error I was thinking of was the first on in the faq (

RE: Error while initializing ActionServlet

2002-10-21 Thread James Mitchell
I just ran the test suite for 3.2, 4.0 and 4.1 and only experienced failure for 3.2. (but then my 4.0 was 4.0.6) Can you retry your test with ant's -debug switch? May are may not provide further detail. James Mitchell Software Engineer/Struts Evangelist http://www.open-tools.org

Re: nested:iterate building columns

2002-10-21 Thread Adam Sherman
Arron Bates wrote: nested:root is not mandatory, but if one is not used, a nested:form or an html:form is required. At least one of them has to be there. Why?... because the following nested tags look up to these tags to get the reference to the bean that you're nesting against. The *:form

Using Struts with XML-RPC (or JAXB?)

2002-10-21 Thread Karen Choi
I am stuck on a rather vexing Struts problem... It sounds simple enough. I need to read some values from a form bean, then parse those values into a valid xml document (must conform to schema I've been provided with) then send that document to a defined service endpoint (another servlet). I

Re: Using Struts with XML-RPC (or JAXB?) [Scanned for known viruses]

2002-10-21 Thread Kevin . Bedell
Karen - Following is a re-post from a similar thread about a week ago where I laid out one potential solution for this problem - assuming I understand your issue correctly. Following is a description and some code I used for setting up communications between Struts and Axis for SOAP

Re: Sub-App navigation confusion

2002-10-21 Thread Eddie Bush
You'll have to define them in each app for now :-( I have this exact same situation. 1.1 final will be all about seperatism of modules (each module will behave like it's own independent application). The idea is that, this being the first release with modules, we should first learn how to

RE: Error while initializing ActionServlet

2002-10-21 Thread Kevin . Bedell
This is a lttle bit funky. Assuming you are using 1.1beta2, it turns out that the particular ServletException is thrown in the ActionServlet in only 1 place - which is in this method: protected ApplicationConfig initApplicationConfig (String prefix, String path) throws

re. i18n

2002-10-21 Thread Vernon Wu
I saw the following statement in today mail archive. Also keep in mind that the locality is stored in session. This means you cannot switch languages while using the same session. The best way to test is by setting your language, close and reopen your browser. This

javascript with a href

2002-10-21 Thread Michael Burke
When I click on the edit, delete bid or Accept Bid links in the logic tags below nothing happens. Any suggestions why? % taglib uri=/bean prefix=bean % % taglib uri=/html prefix=html % % taglib uri=/logic prefix=logic % % taglib uri=/template prefix=template % br/ html:errors/ br/ script

Re: Book Opinions

2002-10-21 Thread Peter A. J. Pilgrim
Vincent Stoessel wrote: I highly recomend Mastering Jakarta Struts by James Goodwill. It breaks all the struts components and proceeds to build a sample application for you step by step. The last chapers deal with the jakarta tag libraries in detail with an example for each tag. That alone made

Re: [ANNOUNCE] SVT 0.5.0-beta released

2002-10-21 Thread Shinya Kasatani
I don't understand why you think this is better. With validation.xml, all my validation requirements are in one place; I don't have to look a number of java form files to find out what they are. And if any of them change I only have to edit one file, and restart struts; without needing to

[Tiles]New tiles user with questions..

2002-10-21 Thread Jeff_Mychasiw
Greetings: I am in the early stages of converting some of my page to use tiles framework. I am hoping that the conversion will go smooth as many of my pages are build with reusable includes, however I have the several jsp:include files that depend on an input parameter. I

RE: Weblogic6.1 + struts1.0 NoClassDefFoundError org.apache.strut s.ac tion.Action

2002-10-21 Thread Yao Rong
Thanks! I download struts-example.war. It can be deloyed and works without any problem on Weblogic Server 6.1 SP2. But my problem still exists. I checked startweblogic.cmd and struts-config.xml and found nothing wrong. Any ideas? -Original Message- From: Daniel Jaffa

Re: {Validator] Required Fields

2002-10-21 Thread Rob Leland
Jerry Jalenak wrote: Has Validator changed in its use of 'required'? I pulled down the 20021008 build a couple of weeks ago, and found that Validator is now 'requiring' all of my form fields even when I don't specify the required parameter. I did a quick check in the archives but didn't see

Re: {Validator] Required Fields

2002-10-21 Thread Rob Leland
Rob Leland wrote: Jerry Jalenak wrote: Has Validator changed in its use of 'required'? I pulled down the 20021008 build a couple of weeks ago, and found that Validator is now 'requiring' all of my form fields even when I don't specify the required parameter. Looking a little further at the

attribute vs name on action in struts-config

2002-10-21 Thread Tony Baity
hi, I did a little cut and paste with the example struts-config and came up with the following. !-- First Test-- actionpath=/test/firstTest type=mil.army.mtmc.tops.twc.business.test.FirstTestAction attribute=firstTestForm scope=request

RE: attribute vs name on action in struts-config

2002-10-21 Thread James Mitchell
If I remember correctly, Craig answered this about 2 days ago. Although it may have been buried under an unrelated thread. I always use name=, so I've never hit this problem. Unless I'm mistaken, the attribute is YOU telling struts what name of the ActionForm is stored under in some scope, and

  1   2   >