Another problem about unicode in struts

2002-11-12 Thread Huynh Ngoc Huy
Hi all, I can't display the unicode-string correctly in tag. In the tag, if I didn't set filter to false, it was also been in the same problem. But the has no filter property, so what should I do to solve this problem? Any solution, please! Thanks in advanced Huy

Re: How to to a OR with logic tags

2002-11-12 Thread Richard Yee
Charles, I'd suggest checking out the conditional tags in the JSTL to do the OR operation rather than using the Struts logic tag. You will find that the JSTL expression capability and if, choose, when, and otherwise tags make it easier to do complex logic than the struts conditional tags do. Re

RE: How to find whether the file dowload is successful?

2002-11-12 Thread Xu Haojun-a18535
Hello, I figure out the reason: the servlet does not return actually, but blocks there! When the browser side ((IE) cancels the download, it doesnt close the TCP connection. Because the servletoutputstream.write is done by socket.getOutputStream().write(), so for some reason(probably so

Upload more than one file in a form

2002-11-12 Thread Alireza Fattahi
Hi, There is a form which has more than one file for upload. We have a Form bean associated with the html form. It has : protected FormFile tenderFile[]; public void setTenderFile(FormFile[] tenderFile) { this.tenderFile = tenderFile; } But we get the error from BeanUtil

RE: jsp:setProperty

2002-11-12 Thread Wendy Cameron
Yes this is better, I was looking at much older JSP docs. I think the functionality differences between ServletRequest.getParameterMap and RequestUtils.populate could be multipart form content and file updloading. I had a look at the source and it seemed to handle multipart requests as well as s

Re: How do I split struts-config.xml without using subapps

2002-11-12 Thread Christopher Cheng
Thanks, let me try it out. - Original Message - From: "Derek Lin" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>; "Christopher Cheng" <[EMAIL PROTECTED]> Sent: Wednesday, November 13, 2002 3:35 AM Subject: Re: How do I split struts-config.xml without using subapps

Re: How do I split struts-config.xml without using subapps

2002-11-12 Thread Christopher Cheng
Hopefully 1.1 release or 1.2 would have it - Original Message - From: "Eddie Bush" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, November 13, 2002 4:51 AM Subject: Re: How do I split struts-config.xml without using subapps > There was some d

Re: How do I split struts-config.xml without using subapps

2002-11-12 Thread Christopher Cheng
I am already using Struts Console from James Holmes. Still, I think it is painful to manage a xml file of 3000 lines long. - Original Message - From: "Karr, David" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, November 13, 2002 3:36 AM Subject: RE

Re: jsp:setProperty

2002-11-12 Thread Kris Schneider
Good call - but perhaps javax.servlet.ServletRequest.getParameterMap would be better? HttpUtils is deprecated in Servlet 2.3. I'm not really sure what the functionality differences are betweem using ServletRequest.getParameterMap and RequestUtils.populate... Wendy Cameron wrote: Isnt the conver

Change the validation in the action bean

2002-11-12 Thread Alireza Fattahi
Hi, We use the validation frame work and set all form validations in validation.xml. We want to know if we can change the "depends" value in the action form. Here is validation.xml: pattern /MM/dd We want to change the "depends" value from "DateValidat

Re: special character

2002-11-12 Thread Amit Badheka
Thank u all for reply. It works fine. - Original Message - From: "Xavier Combelle" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, November 12, 2002 6:30 PM Subject: RE: special character > just set the filter atttribute of bean:write tag at false >

RE: jsp:setProperty

2002-11-12 Thread Wendy Cameron
Isnt the conversion a simple matter of HashTable tbl = javax.servlet.http.HttpUtils.parsePostData(int len, ServletInputStream in) Map map = new HashMap(tbl); Only thin i am unsure about is the length parameter. Regards Wendy > -Original Message- > From: Kris Schneider [mailto:kris@;do

Re: jsp:setProperty

2002-11-12 Thread Kris Schneider
commons-beanutils.jar is part of the Struts 1.1 distribution. It's also an entirely independent Jakarta Commons component. I still think you should really check out the org.apache.struts.util.RequestUtils.populate method. Otherwise, you'll have to do the work of converting the request params in

How to to a OR with logic tags

2002-11-12 Thread Charles
Hi I'm still quite new with Struts. I want to do a OR comparison using the tags. Does anyone has any idea how this can be done? -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: jsp:setProperty

2002-11-12 Thread Wendy Cameron
Sorry but just let me get this clear in my head. There are BeanUtils class in commons.beanutils package. This is not part of the struts distribution? Separate package? So is it part of the latest tomcat distribution? (I think I recall seeing a commons jar file in the tomcat area) Regards Wendy >

Re: jsp:setProperty

2002-11-12 Thread Craig R. McClanahan
On Wed, 13 Nov 2002, Wendy Cameron wrote: > Date: Wed, 13 Nov 2002 12:09:01 +1000 > From: Wendy Cameron <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: "Struts Users Mailing List (E-mail)" <[EMAIL PROTECTED]> > Subject: jsp:setProperty > > Hello All, > > This

Re: jsp:setProperty

2002-11-12 Thread Kris Schneider
RequestUtils.populate(Object bean, HttpServletRequest request) Wendy Cameron wrote: Hello All, This is probably not the best forum, but I was wondering if anyone new how to, do the equivalent of jsp:setProperty "*" in a servlet Or is this not possible? Regards Wendy -- To unsubscribe, e-mail:

jsp:setProperty

2002-11-12 Thread Wendy Cameron
Hello All, This is probably not the best forum, but I was wondering if anyone new how to, do the equivalent of jsp:setProperty "*" in a servlet Or is this not possible? Regards Wendy -- To unsubscribe, e-mail: For additional commands, e-ma

Re: Validator and nightly build

2002-11-12 Thread Martin Cooper
On Tue, 12 Nov 2002, Fabrice BLANQUART wrote: > Hi , > > I try to work with the last nightly build (2002) and validator. > > Having some problems getting the dtd from the web I try to get it locally. > > Then I discover a strange thing. > > In the commons-validator.jar , the dtd "validator_1

Re: example of dyna.....

2002-11-12 Thread Huynh Ngoc Huy
You can find it at: "http://www.scioworks.com/camino_doc/manual/Tutorial/HoroscopeIIExample/index.html"; Bye, Huy --- Sarath Chandra M <[EMAIL PROTECTED]> wrote: > Dear group, > Is there any good resource or site etc., where I can > find atleast > 1 proper complete example of the usage of > D

RE: ClientSide Validation Javascript Password field

2002-11-12 Thread Chen, Gin
Following this.. then your validation shouldnt even have a max length. You should allow unlimited length (albeit unpractical) and require: min length > 3 at least 1 number/special char case sensitivity. or better yet.. dont add password validation and post what you just wrote on the help. ;) -Tim

Stopping an action

2002-11-12 Thread Alex_Kotchnev
This is not necessarily a Struts problem, but since I am using Struts for this.. I was wondering if anyone could give me a hand.. How would I stop an action that has already started executing ? In other words, say the user started an action, which is fairly long and processor intensive. In ord

Re: ClientSide Validation Javascript Password field

2002-11-12 Thread Mark Ayad
However if you have a min of 10 and a max of 15 then you ensure a key of length 10-15, Thinking about it, unless you script alerts the hacker that the password lenght min is 3 and max is 5 then there not much you can do. Its better to put the limits higher such a min of 10 and a max of 15, and enf

Re: ClientSide Validation Javascript Password field

2002-11-12 Thread Mark Ayad
Ahh but all it takes is for a crafty hacker to creating their record you're just going to give him the min-max here. So infact you can't keep this a secret so whats the point then ? The problem is just a moving target is it not ? Mark - Original Message - From: "Karr, David" <[EMAIL PROT

Re: File Upload : Progress Bar

2002-11-12 Thread John Jones
You might just want to use a small applet(I believe the graphics code is already out there somewhere) and set up a servlet or jsp to check the file size against the Content-Length of the multipart POST (this may be a little off) and return the percentage to the applet so it can move the progress ba

DBCP borrowObject failed

2002-11-12 Thread Axel Stahlhut
Hi. I'm having a problem with the Commons-Pool. Using Struts NightlyBuild from 2002-11-11, I have a DataSource configured in my struts-config: I am able to access 3 times, update a result set. After that I get the following exception: java.lang.NullPointerExc

RE: ClientSide Validation Javascript Password field

2002-11-12 Thread Karr, David
You don't do any formatting validation when they are attempting to authenticate, only when they are creating their record. It's at that point that you enforce password constraints, and you should do that on the server side. > -Original Message- > From: Mark Ayad [mailto:mark@;javamark.c

Re: ClientSide Validation Javascript Password field

2002-11-12 Thread Mark Ayad
Martin That being said then the serverside validation shows you what the clientside doesn't But now there is a problem, if you're not validate on min / max length for a password field at all how are we going to enforce strong passwords ? Surely you have to define the keyspace somehow to enforce

Re: ClientSide Validation Javascript Password field

2002-11-12 Thread Mark Ayad
Oh I didn't see that far down - Yep I see the reason for this. Crystal Clear. It's 1:45 am in Paris. Thanks Martin I'll un-patch my file now. Still at least I could follow the logic of the javascript. - Original Message - From: "Martin Cooper" <[EMAIL PROTECTED]> To: "Struts Users Maili

Re: ClientSide Validation Javascript Password field

2002-11-12 Thread Martin Cooper
On Wed, 13 Nov 2002, Mark Ayad wrote: > Well is that expected behaviour is logical ?? Yes. Did you read the explanation in the bug report I referenced? -- Martin Cooper > > Enforcing length of a password field ? > > Or is it that this is best left to be serverside validation ? > > Mark > > -

Re: ClientSide Validation Javascript Password field

2002-11-12 Thread Mark Ayad
Well is that expected behaviour is logical ?? Enforcing length of a password field ? Or is it that this is best left to be serverside validation ? Mark - Original Message - From: "Martin Cooper" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, Nov

Re: ClientSide Validation Javascript Password field

2002-11-12 Thread Martin Cooper
On Wed, 13 Nov 2002, Mark Ayad wrote: > I've noticed that the alertbox for clientside validation of a simple usename / >password **never** shows alers for the password field. > > Is this a known issue, or expected behaviour ? It's expected behaviour. See: http://issues.apache.org/bugzilla/sho

RE: ClientSide Validation Javascript Password field

2002-11-12 Thread Karr, David
I suggest you submit a bug report for this, and attach your patch to the report. > -Original Message- > From: Mark Ayad [mailto:mark@;javamark.com] > Sent: Tuesday, November 12, 2002 4:08 PM > To: Struts Users Mailing List > Subject: Re: ClientSide Validation Javascript Password field > >

Re: ClientSide Validation Javascript Password field

2002-11-12 Thread Mark Ayad
Solved by adding two lines to the validator-rules.xml () from the struts-20021112 nightly build. Added the following line to function validateMinLength form[oMinLength[x][0]].type == 'password' || and also Added the following line to function validateMaxLength form[oMaxLength[x

Empty Form Beans and Actions

2002-11-12 Thread Max Kremer
Hi, How can you tell if an action is called with an empty form bean? For instance, if the action is called by entering the URL directly instead of submitting a form then the associated form bean should be empty... I think the form bean should even be null because it need not be instantiated

Re: ClientSide Validation Javascript Password field

2002-11-12 Thread Mark Ayad
If you turn:  password into a normal text field then you get a clientside Javascript Alert, otherwise for the password type no alert is shown.  password Ideas ? - Original Message - From: "Mark Ayad" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesda

ClientSide Validation Javascript Password field

2002-11-12 Thread Mark Ayad
I've noticed that the alertbox for clientside validation of a simple usename / password **never** shows alers for the password field. Is this a known issue, or expected behaviour ? Mark

Re: [OT] posting via news.basebean.com

2002-11-12 Thread Dan Tran
My guess here is news.basebean.com does not forward the news posting to this mailing list. It only retreived the list for readonly purpose. So inorder to to do any posting, I have to subscribe to this list again -Dan -- To unsubscribe, e-mail:

Re: [OT] posting via news.basebean.com

2002-11-12 Thread V. Cekvenich
It should work 2 ways and it has been. It is R/W! But now and then I have technical issues, so now I will check. .V Eddie Bush wrote: Is that forum read/write or read-only? There is no Struts newsgroup, so I'd imagine that's some convenience that Vic has setup for folks. My guess is that the

[ANNOUNCEMENT] Easy Struts 0.6.1 Eclipse plugin

2002-11-12 Thread Emmanuel Boudrant
Hi, Easy Struts 0.6.1 was just released, all the wizard was refactored, a Struts view was added and Struts 1.1 modules are supported. Easy Struts Features : - Easy Struts plugin can be used with most popular J2EE plugin like Sysdeo TomcatResin, Lomboz... (or simply a Java project). - Provide

Re: control over the

2002-11-12 Thread Mark Ayad
Logic Development boys I was right ! and I didn't even need to RTFM. Mark - Original Message - From: "Mark Ayad" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, November 13, 2002 12:00 AM Subject: control over the In stead of using as a bulk ta

control over the

2002-11-12 Thread Mark Ayad
In stead of using as a bulk tag is it possible to 'place' individual error messages relating to the property. ? Just a though while I search the tag sytax docs Mark

RE: 2D Collection and nested:iterate

2002-11-12 Thread Louis Leung
Thanks for the reply, appreciate it. From what I understand, I have to do something like : firstList --eachElementIs--> simpleBean --contains--> secondList In other words, wrap the 2nd list inside a bean. However, if that's the cast, I would imagine it will drag down the performance of our

Re: Need scriptlet to substitute bean:message result to a custom tag param value

2002-11-12 Thread Dan Tran
Hi Karr, It works!!! Thanks -Dan - Original Message - From: "Karr, David" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, November 12, 2002 1:47 PM Subject: RE: Need scriptlet to substitute bean:message result to a custom tag param value Blank? I'

Session scope and multiple windows

2002-11-12 Thread Christoph Kulla
Hi, what happens when the users starts a workflow multiple times in different browser windows? For example starting a search process multiple times (choosing "Open link in new window"). When you save worklfow data in the session the requests will overwrite the data from each other. How do you

Re: Struts Installation

2002-11-12 Thread Eric Gignac
Thanks. It will help me ! - Original Message - From: "Ian Vellosa" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, November 12, 2002 4:59 PM Subject: RE: Struts Installation > Hmmm lets see, would this be of any use? > > http://jakarta.apache.org/s

Re: nested:hidden body to set value?

2002-11-12 Thread Arron Bates
This is one of those fun times where I get to say "it's not in the original tag, therefore it's not in the nested one"... :) "should the tag body be the value?... yes, probably. But I doubt such additions will be made to the tags before the next Struts release. El nested tags... apparently it's

Re: StrutsTestCase and sessions

2002-11-12 Thread Chris Winters
On Tue, 2002-11-12 at 16:44, [EMAIL PROTECTED] wrote: > Gee. I thought I was s smart. Looks like I read it wrong. I read it that way the first time too, but a little frustrating experience mixed in with lots trial-and-error goes a long way :-) > Looking things over, I'm sure that the docs ar

RE: Struts Installation

2002-11-12 Thread Ian Vellosa
Hmmm lets see, would this be of any use? http://jakarta.apache.org/struts/resources/tutorials.html theserverside.com have just put up an artice too entitled "Fast Track to Struts" at: http://www2.theserverside.com/resources/article.jsp?l=StrutsFastTrack Have fun boys and girls! IV -Orig

Re: 2D Collection and nested:iterate

2002-11-12 Thread Arron Bates
The problem is the use of "this/" as the property of the second iterate. Basically, it's basically saying "don't append anything more to the property reference, my parent's reference will do". ie: you're probably after "myProperty[5][6]" but the "this/" is telling it to leave it at "myProperty[5]"

RE: Struts Installation

2002-11-12 Thread Karr, David
You don't "install" Struts (except for storing the binary distribution on disk), you install a web application that uses Struts. Using Struts in your web application is reasonably well-defined in the Struts online documentation. "Using" it mostly consists of putting the "struts.jar" file in th

RE: Need scriptlet to substitute bean:message result to a custom tag param value

2002-11-12 Thread Karr, David
Blank? I'm surprised it got that far. You might try something like this (untested): > -Original Message- > From: Dan Tran [mailto:danttran@;hotmail.com] > > Hi I try to substitute a result of a bean:message value to > a tag's param value, but have no luck > > Here is

Re: [OT] posting via news.basebean.com

2002-11-12 Thread Eddie Bush
Is that forum read/write or read-only? There is no Struts newsgroup, so I'd imagine that's some convenience that Vic has setup for folks. My guess is that the newsgroup is read-only. Dan Tran wrote: Hi, I posted some struts questions using usenet forum with basebean.com and have no reply fro

Re: StrutsTestCase and sessions

2002-11-12 Thread Kevin . Bedell
> > - You call them one after another and need to maintain session state > > between tests > No, multiple methods in the same test class. I totally agree with you > that different test *classes* can't rely on state being set by another > class. But AFAICT I should be able to set state within

Struts Installation

2002-11-12 Thread Eric Gignac
Hi I'm looking for a good tutorial for the installation of Struts. Any links ? Thanks

Need scriptlet to substitute bean:message result to a custom tag param value

2002-11-12 Thread Dan Tran
Hi I try to substitute a result of a bean:message value to a tag's param value, but have no luck Here is the snippet " /> < this returns blank, how do I correct this? Any help is greatly appreciated -Dan -- To unsubscribe, e-mail:

[OT] posting via news.basebean.com

2002-11-12 Thread Dan Tran
Hi, I posted some struts questions using usenet forum with basebean.com and have no reply from any expert ( and I cant find my question in the archive either) is basebean.com posting working? -Dan -- To unsubscribe, e-mail: For additional c

2D Collection and nested:iterate

2002-11-12 Thread Louis Leung
Hi all, In my action form there is a 2D collection, both used ArrayList. (i.e. An ArrayList whose elements are ArrayList also) I want to retrieve data (which are all String) from the 2nd layer of the 2D collection using tag so that it can populate the value back automatically. However, it i

Re: StrutsTestCase and sessions

2002-11-12 Thread Chris Winters
On Tue, 2002-11-12 at 15:53, [EMAIL PROTECTED] wrote: > So, if I understand what you are doing: > > - You've got multiple test classes Yes > - You call them one after another and need to maintain session state > between tests No, multiple methods in the same test class. I totally agree with

[FYI] Visual Struts development

2002-11-12 Thread Sri Sankaran
Disclaimer: I have nothing to do with or gain from the following, heck it isn't even a plug. Caveat emptor. I am simply forwarding information that came my way. Thought you might be interested. ObjectAssembler (http://www.objectventure.com/objectassembler.html) provides the most comprehensi

html:text indexed="true" inside logic:iterate help!

2002-11-12 Thread Leonardo Maciel
Hi all, I search the list and found some good samples, but I'm still unable to execute the following code. The newEntryContinue.do action shows the correct name and description values with the When I submit I get: javax.servlet.ServletException: BeanUtils.populate ... root cause: java.lang.ref

Encapsulating complete form in Action definition

2002-11-12 Thread Adam Sherman
Would be possible to achieve this? I want the first hit on the "do" URI to generate the "input" JSP with no errors. This way I can encpsulate all the needed information in the Struts config file for handling user input. Does this make sense to anyone? Thanks, A. -- Adam Sherman Tritus CG Inc.

Re: StrutsTestCase and sessions

2002-11-12 Thread Kevin . Bedell
So, if I understand what you are doing: - You've got multiple test classes - You call them one after another and need to maintain session state between tests Here's my initial take on this: I believe that it may be better to consolidate all your tests as individal tests in a single TestSuit

RE: Simulating Client field prompting

2002-11-12 Thread Susan Bradeen
Thank you, Edgar. This sounds promising! Susan On 11/12/2002 03:48:01 PM "edgar" wrote: > I have a solution with a small amount of optional javascript. > > You have a 'recalculation' action which does all the lookups and > populates either ActionErrors for invalid selections or puts in related

Re: html:select and collections

2002-11-12 Thread Susan Bradeen
Gus, I don't think you need the "name" attribute in the tag. Susan Bradeen On 11/12/2002 03:06:47 PM Gus Delgado wrote: > I declare a tag in my jsp like this > > labelProperty="label"/> > > > and my action for pre population goes something like this > > Collection productTypes = getProdu

RE: Simulating Client field prompting

2002-11-12 Thread edgar
I have a solution with a small amount of optional javascript. You have a 'recalculation' action which does all the lookups and populates either ActionErrors for invalid selections or puts in related information if a correct entry was made. It should return you to the same jsp. You can stick the

html:select and collections

2002-11-12 Thread Gus Delgado
I declare a tag in my jsp like this and my action for pre population goes something like this Collection productTypes = getProductTypes(results); session.setAttribute("productTypes", productTypes); I'm getting an error saying that the productTypes bean does not exist? any ideas

RE: [SIDEBAR] Form population (Was RE: request.setAttribute() for m confusion)

2002-11-12 Thread Sri Sankaran
> ... you've got two of these back-to-back: > > MstrLdActn -> MstrJsp -> MstrSbmtActn - - > DtlLdActn -> DtlJsp -> > DtlSbmtActn > a redirect passing mastid=54 ^ Ah! Action chaining -- I realize that is an option. Just don't let Craig see you doing this... ;) > > > > --

RE: From old JSP and Servlets to STRUTS

2002-11-12 Thread David Graham
I think all that code would be called from an Action. I didn't see anything that tied it to presentation. David From: "Fernando Hernandez" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: RE: From old

Re: How do I split struts-config.xml without using subapps

2002-11-12 Thread Eddie Bush
There was some discussion about possibly implementing this so that all configs worked the same (you can do this for tiles/validator). Nothing has been implemented yet though (that I am aware of). ... and they are called modules :-) We sent many emails over the dev list to standardize on that

Re: [SIDEBAR] Form population (Was RE: request.setAttribute() for mconfusion)

2002-11-12 Thread Eddie Bush
Martin Cooper wrote: Ahhh! The murky waters finally clear, and I understand where all the confusion is coming from. Sri and I are talking about one Action handling the request. Yes - but I've said before that if you had multiple forms involved you would have to make yourself responsible fo

nested:hidden body to set value?

2002-11-12 Thread Phase Web and Multimedia
I just recently tried to set up a nested:hidden form element (as an experiment) to use its body to specify the value of the form element. Of course it failed, i assume because this is not possible. Here is an example code: tag sample: It would be cool if this would be the form value output sample

RE: [SIDEBAR] Form population (Was RE: request.setAttribute()for m confusion)

2002-11-12 Thread Martin Cooper
Comments in here somewhere... > -Original Message- > From: Eddie Bush [mailto:ekbush@;swbell.net] > Sent: Tuesday, November 12, 2002 12:22 PM > To: Struts Users Mailing List > Subject: Re: [SIDEBAR] Form population (Was RE: request.setAttribute() > for m confusion) > > > (waaay d

RE: How do I split struts-config.xml without using subapps

2002-11-12 Thread Karr, David
I don't believe so. One approach that might help is to use the Struts Console application, which lets you get the "big picture" without having to see the entire file at once. > -Original Message- > From: Christopher Cheng [mailto:mailing-list@;chrisshare.net] > > My struts-config.xml i

Re: How do I split struts-config.xml without using subapps

2002-11-12 Thread Derek Lin
I am doing exactly that: http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd";[ ]> &datasources; The key is to use the tag. "" Hope this helps. -- Derek - Original Message - From: "Christopher Cheng" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, Novemb

RE: From old JSP and Servlets to STRUTS

2002-11-12 Thread Fernando Hernandez
Thanks for your interest in this... Here is one the cases(The problem line have a comment with asterisks): BeanMetacontent currentRes = session.getAttribute("currentRes"); try { /*/BeanMetaContent currentContent = currentRes.getMetaContentByLanguage(currBeanLang.ge

How do I split struts-config.xml without using subapps

2002-11-12 Thread Christopher Cheng
My struts-config.xml is getting very long. Is it possible to split that into multiple files without using subapps?

Simulating Client field prompting

2002-11-12 Thread Susan Bradeen
I have a few fields in some JSPs that will need to provide "client/server type field prompting" (user double-clicks on a field to open a selection window). In reviewing the Struts docs and archives, it appears that there is no "Struts-specific" functionality for this, and I noticed that other p

Re: File Upload : Progress Bar

2002-11-12 Thread Mark Ayad
I have the code for this someplace, but It would take me an age to find it. Mark - Original Message - From: "micael" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, November 12, 2002 7:20 PM Subject: Re: File Upload : Progress Bar > Keep us posted.

Re: [SIDEBAR] Form population (Was RE: request.setAttribute() for mconfusion)

2002-11-12 Thread Eddie Bush
(waaay down there ...) Sri Sankaran wrote: Intermixed response... -Original Message- From: Eddie Bush [mailto:ekbush@;swbell.net] Subject: Re: [SIDEBAR] Form population (Was RE: request.setAttribute() for m confusion) Sri Sankaran wrote: No sweat. The reason this discussio

StrutsTestCase and sessions

2002-11-12 Thread Chris Winters
Working with StrutsTestCase 1.9 I found what seems like a discrepancy between the docs and implementation. In HttpSessionSimulator the class docs say: This class simulates an HttpSession object. You can actually work with sessions. The simulation is done using a static session object inside

RE: [SIDEBAR] Form population (Was RE: request.setAttribute() for m confusion)

2002-11-12 Thread Sri Sankaran
Intermixed response... > -Original Message- > From: Craig R. McClanahan [mailto:craigmcc@;apache.org] > Sent: Tuesday, November 12, 2002 1:54 PM > To: Struts Users Mailing List > Subject: RE: [SIDEBAR] Form population (Was RE: > request.setAttribute() for m confusion) > > > See intermi

RE: Multiple struct-config.xml files

2002-11-12 Thread James Mitchell
Well that's an interesting case for creating a new feature that let's you have as many struts-config files as you want. Perhaps you could divide your application and it's resources into Modules. That way you could develop the Modules in teams. I have some good new for you. That's exactly what th

Re: about html:error ( error handling )

2002-11-12 Thread wolfgang
Hi there, Finally, I figured it out. Actually the way is just not to use struts tag libraries. ;( Get the ActionErrors and search the key. if there's an object corresponding to the key, write FF if no, write FF thank you. wolfgang -- wolfgang <[EMAIL PROTECTED]> -- To unsubscribe, e-m

RE: [SIDEBAR] Form population (Was RE: request.setAttribute() for m confusion)

2002-11-12 Thread Sri Sankaran
Intermixed response... > -Original Message- > From: Eddie Bush [mailto:ekbush@;swbell.net] > Sent: Tuesday, November 12, 2002 2:34 PM > To: Struts Users Mailing List > Subject: Re: [SIDEBAR] Form population (Was RE: > request.setAttribute() for m confusion) > > > Sri Sankaran wrote: >

RE: Tiles Redirect Question

2002-11-12 Thread David Graham
You can't redirect to a tiles def because the browser has no idea what it means. You can only forward to tiles. David From: "Jeff Born" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: RE: Tiles Redir

RE: [SIDEBAR] Form population (Was RE: request.setAttribute() form confusion)

2002-11-12 Thread Craig R. McClanahan
See intermixed. On Tue, 12 Nov 2002, Martin Cooper wrote: > Date: Tue, 12 Nov 2002 08:36:13 -0800 > From: Martin Cooper <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: 'Struts Users Mailing List' <[EMAIL PROTECTED]> > Subject: RE: [SIDEBAR] Form population (Was

RE: Tiles Redirect Question

2002-11-12 Thread Jeff Born
Could someone explain how to do this. I have tried many different options and none work. Is it just not recommended? If so what should I do instead. I have tried the following with no luck: index.jsp: <%@ page language="java" %> <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"

Re: confirmation page best practice

2002-11-12 Thread David Graham
Why is it bad for the result page to know about the form bean? Seems fine to me. Instead of using a result bean you could just put each piece of data into the request (depending on how much data you need to display). Or, you could have your result bean wrap the form bean so the result page on

Re: [SIDEBAR] Form population (Was RE: request.setAttribute() for mconfusion)

2002-11-12 Thread Eddie Bush
Sri Sankaran wrote: No sweat. The reason this discussion got so off whack was because I tried to slam a square peg in a round hole by continuing with Kris' example (Edit & Save actions) to make my point -- bad idea. So what *is* my scenario? Consider for example, a master-detail pair of

confirmation page best practice

2002-11-12 Thread Donald Dwoske
I have been wondering how people present action results to users upon success. I'm sure this has been asked before, but I scanned the archive and didn't find a consensus. In some cases I use specialized result beans like so: // In action after processing ResultBean result = new ResultBe

Tiles/Digster classloading issue - was: Re: has anyone gotten struts 1.1b2to work on Jboss 3.0.3/tomcat 4.1.12 ?

2002-11-12 Thread Kevin . Bedell
I've used tomcat 4.1.12 with JBoss 3.0.3 and had things working fine - though it looks like there may be some tiles-specific issues that are causing problems. I believe that changing the JDK, etc may not fix this particualr problem. There's a continuing thread happening currently in the jbos

RE: Redux: Actions and business logic, or Using Struts with the Rational Unified Process

2002-11-12 Thread John Bigboote
Robert, Thanks for butting in! ;-) I mispoke when I said FormBeans. My inexperience with Struts reared ugly at that point. Now that I have a (somewhat) better handle on the design, I realize that FormBeans are clearly in the presentation layer and not in the problem domain. John --- Robert Ta

Re: File Upload : Progress Bar

2002-11-12 Thread micael
Keep us posted. If you run into some difficulties, I would be willing to jump in with some assistance, if I have some. You can contact me at [EMAIL PROTECTED] At 02:45 PM 11/12/2002 +0100, you wrote: I've seen it done too, but not in JSP/Servlets (in my asp days... brrr) Going to try it... -

RE: From old JSP and Servlets to STRUTS

2002-11-12 Thread Karr, David
Show us some examples of why you think you can't remove the scriptlets. Some of those cases are probably easily fixable. However, you should probably first understand the model and framework before trying to fix your JSP pages. This is because you'll find that anything resembling "business lo

Re: about html:error ( error handling )

2002-11-12 Thread wolfgang
Hi Mouratidis, Thank you for replying me. but unfortunately that's not what I wanted to know. I wasn't asking how to just handle errors. thank you. wolfgang -- wolfgang <[EMAIL PROTECTED]> -- To unsubscribe, e-mail: For additional comm

[ANNOUNCE] display tag- added columns functionality

2002-11-12 Thread Rick Reumann
In recent weeks I've noticed several people inquire about Ed Hill's awesome display tag http://edhill.its.uiowa.edu/display-0.8/ and the ability to only display certain columns. I modified the jar and tld so that you can now provide a "columnsToDisplay" attribute in the display:table tag. columnsT

Re: Logging change between Struts 1.1B1 and 1.1B2? - FIXED!

2002-11-12 Thread Ryan Cornia
Never mind. I missed the instructions about updating commons-logging to 1.0.1. Once I did that, everything seems OK. Thanks, Ryan Ryan Cornia IT Programmer Analyst / eSolutions Team Leader Department of Community and Economic Development State of Utah >>> [EMAIL PROTECTED] 11/12/02 10:16AM >>>

Re: Map iterate problem Application Scope

2002-11-12 Thread Mark Ayad
One of thoes afternoons it all works now, I've attatche all the code urgh ? - Original Message - From: "Vinh Tran" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, November 12, 2002 6:15 PM Subject: RE: Map iterate problem > Mark: > > Please includ

Display tag with Tiles

2002-11-12 Thread Zeltser, Mark
Hi, I am using Ed's display tag version 0.8. Did anyone succeeded to get export function( export data to csv, excel, xml) to work with tiles? In my case data is displayed directly in the browser, however exporting works with provided example. Thanks. Mark. --

  1   2   >