webwork-user Mailing List for WebWork (Page 5)
Brought to you by:
baldree,
rickardoberg
You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(24) |
Dec
(194) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(70) |
Feb
(133) |
Mar
(193) |
Apr
(114) |
May
(141) |
Jun
(176) |
Jul
(334) |
Aug
(418) |
Sep
(329) |
Oct
(209) |
Nov
(296) |
Dec
(122) |
2002 |
Jan
(123) |
Feb
(61) |
Mar
(115) |
Apr
(149) |
May
(124) |
Jun
(69) |
Jul
(80) |
Aug
(22) |
Sep
(1) |
Oct
(4) |
Nov
(3) |
Dec
|
2003 |
Jan
|
Feb
(1) |
Mar
(5) |
Apr
|
May
(1) |
Jun
(5) |
Jul
(4) |
Aug
(3) |
Sep
|
Oct
|
Nov
|
Dec
|
From: Jason C. <jas...@no...> - 2002-07-02 14:00:12
|
+1, since it doesn't have to change anything > -----Original Message----- > From: Joe Walnes [mailto:jo...@tr...] > Sent: Tuesday, July 02, 2002 7:41 AM > To: web...@li...; > ope...@li... > Subject: [Webwork-user] Re: [Webwork-devel] Intergrate with > OpenSymphony? >=20 >=20 > As someone from the OpenSymphony camp and a very big fan of=20 > WebWork, you=20 > get my +1. >=20 > Though I would like to point out that if WW is under the same=20 > umbrella as=20 > the other OSym tools it does not mean you have to start using=20 > them (or=20 > vice-versa). >=20 > Oh yeah, please don't impose the com.opensymphony package=20 > namespace on=20 > WebWork (or in fact any rules)! >=20 > Cheers, > -Joe Walnes >=20 > On Mon, 01 July 2002, ma...@sm... wrote > > Ok. It's time to bring up a former heated subject. Back > > in March, there was a topic concerning moving WW under > > Opensymphony. The conclusion of the debate was just to > > hang out and wait. Since then, a lot has changed and I > > think it is time to bring this subject up again. I > > think WW could benefit from the exposure, common > > infrastructure, developers, etc. > > > > So, I'll start off and say +1. What do you say?=20 >=20 >=20 >=20 > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Webwork-user mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webwork-user >=20 |
From: Aapo L. <aap...@pr...> - 2002-07-02 13:59:29
|
What side effects does this integration drag in? Currently WebWork does not have many dependencies to external 3rd party components and I think it is a good keep it as separated as possible. It makes intallation easier and WebWork is easier to understand if it does not have too many dependencies. How would this integration change things? OS has FormTags and maybe WebWork should then drop it's Taglib and focus more on HMVC architecture. Also there seems to be an interesting refactoring ahead if there are any plans to use OSCore. But for me, it's ok to integrate with OS. We already have Jira, so this sounds quite logical as a next step. Kind regards, Aapo Laakkonen |
From: <fbe...@py...> - 2002-07-02 13:45:08
|
Of Course +1 ___________________________ François Beauregard, b.ing. Vice-président Recherche et développement Pyxis Technologies www.pyxis-tech.com T : (450) 681-9094, poste 102 F : (450) 681-5758 fbe...@py... -----Original Message----- From: web...@li... [mailto:web...@li...]On Behalf Of ma...@sm... Sent: July 1, 2002 5:18 PM To: web...@li...; web...@li... Subject: [Webwork-user] Intergrate with OpenSymphony? Ok. It's time to bring up a former heated subject. Back in March, there was a topic concerning moving WW under Opensymphony. The conclusion of the debate was just to hang out and wait. Since then, a lot has changed and I think it is time to bring this subject up again. I think WW could benefit from the exposure, common infrastructure, developers, etc. So, I'll start off and say +1. What do you say? -Matt ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Webwork-user mailing list Web...@li... https://lists.sourceforge.net/lists/listinfo/webwork-user |
From: <pa...@pa...> - 2002-07-02 13:39:51
|
Yeah! +1 from me too. I'm currently investigating Webwork for a new project (I used Struts before). Mathias ------------------------ Joe Walnes <jo...@tr...> wrote: ------------------------ As someone from the OpenSymphony camp and a very big fan of WebWork, you >get my +1. > >Though I would like to point out that if WW is under the same umbrella as >the other OSym tools it does not mean you have to start using them (or >vice-versa). > >Oh yeah, please don't impose the com.opensymphony package namespace on >WebWork (or in fact any rules)! > >Cheers, >-Joe Walnes > >On Mon, 01 July 2002, ma...@sm... wrote > > Ok. It's time to bring up a former heated subject. Back > > in March, there was a topic concerning moving WW under > > Opensymphony. The conclusion of the debate was just to > > hang out and wait. Since then, a lot has changed and I > > think it is time to bring this subject up again. I > > think WW could benefit from the exposure, common > > infrastructure, developers, etc. > > > > So, I'll start off and say +1. What do you say? > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Opensymphony-developers mailing list >Ope...@li... >https://lists.sourceforge.net/lists/listinfo/opensymphony-developers |
From: Jeff H. <jh...@vo...> - 2002-07-02 13:31:38
|
+1 On Mon, 01 July 2002, ma...@sm... wrote > Ok. It's time to bring up a former heated subject. Back > in March, there was a topic concerning moving WW under > Opensymphony. The conclusion of the debate was just to > hang out and wait. Since then, a lot has changed and I > think it is time to bring this subject up again. I > think WW could benefit from the exposure, common > infrastructure, developers, etc. > > So, I'll start off and say +1. What do you say? |
From: Hani S. <ha...@fo...> - 2002-07-02 13:20:42
|
Ok, THIS is what I wanted to hear! +1 from me if it doesn't impose anything on either camp, and people still have the choice of living life as it currently stands. Hani (slowly tiptoeing into the webwok world) On 7/2/02 7:41 AM, "Joe Walnes" <jo...@tr...> wrote: > As someone from the OpenSymphony camp and a very big fan of WebWork, you > get my +1. > > Though I would like to point out that if WW is under the same umbrella as > the other OSym tools it does not mean you have to start using them (or > vice-versa). > > Oh yeah, please don't impose the com.opensymphony package namespace on > WebWork (or in fact any rules)! > > Cheers, > -Joe Walnes > > On Mon, 01 July 2002, ma...@sm... wrote >> Ok. It's time to bring up a former heated subject. Back >> in March, there was a topic concerning moving WW under >> Opensymphony. The conclusion of the debate was just to >> hang out and wait. Since then, a lot has changed and I >> think it is time to bring this subject up again. I >> think WW could benefit from the exposure, common >> infrastructure, developers, etc. >> >> So, I'll start off and say +1. What do you say? > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Opensymphony-developers mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensymphony-developers |
From: Marc L. <dev...@lo...> - 2002-07-02 12:42:55
|
Hi, First i wanna introduce myself briefly. I am senior consultant for a german IT company and doing mostly projects in the java and php space. After doing 1-2 java web based projects without the usage of any pattern (no front controller, no real command dispatching...) i felt that this kind of software is a maintenance nightmare in the long run. My first impression of webwork is quite nice. After several tests with other MVC Frameworks (struts, turbine, ....) webwork seems to be the most transparent. I am going to use it with velocity, cause i used velocity before and am really confident with this template engine. I also hope that i will have the time to contribute to the project somehow. I just saw a message explaining to move to opensymphony. Would it make any difference regarding developer gain? I dont know, for me opensymphony was not one of the major open source project sites, but perhaps i just missed it... But the idea to attract more developers seems to be 1+, cause the work needed to maintain a full featured project site is (with all its services) is crazy. I maintain(ed) an oss project site for a php based groupware and there were times where i havnt time to develop for the project cause of site services maintenance. So i am excited overall and even more excited if this mail will reach the list after having bounce problems in subscribing :) [when this mail arrives... i changed the SMTP Server for my mails and created a postmaster account regarding RFC...only to communicate with you...] :) --- greetings from Marc Logemann Homebase @ www.logemann.info |
From: Joe W. <jo...@tr...> - 2002-07-02 11:42:28
|
As someone from the OpenSymphony camp and a very big fan of WebWork, you get my +1. Though I would like to point out that if WW is under the same umbrella as the other OSym tools it does not mean you have to start using them (or vice-versa). Oh yeah, please don't impose the com.opensymphony package namespace on WebWork (or in fact any rules)! Cheers, -Joe Walnes On Mon, 01 July 2002, ma...@sm... wrote > Ok. It's time to bring up a former heated subject. Back > in March, there was a topic concerning moving WW under > Opensymphony. The conclusion of the debate was just to > hang out and wait. Since then, a lot has changed and I > think it is time to bring this subject up again. I > think WW could benefit from the exposure, common > infrastructure, developers, etc. > > So, I'll start off and say +1. What do you say? |
From: Patrick L. <pli...@ho...> - 2002-07-02 08:12:17
|
+1 from me (not that I count from the WebWork side... hehe). I spent the last week learning the WebWork codebase while trying to beat Matt to the punch in getting getAsText support as well as array support. After taking a hard look at the code, I see tons of places where WW and OS could work together. One of the issues brought up last March was the perceived inactivity of OS. Well, I think that can't be an issue anymore, since we've had 3 big releases in the last few weeks and had a record month in terms of website hits and downloads. We also re-structured our website to make it very easy for the development team to post news and keep the content fresh. Overall, I think now that 1.2 is out, it's a great time to make the move. -Pat ----- Original Message ----- From: "Rickard" <ri...@dr...> To: <ma...@sm...> Cc: <web...@li...>; <web...@li...> Sent: Tuesday, July 02, 2002 6:01 AM Subject: [Webwork-user] Re: [Webwork-devel] Intergrate with OpenSymphony? > ma...@sm... wrote: > > Ok. It's time to bring up a former heated subject. Back > > in March, there was a topic concerning moving WW under > > Opensymphony. The conclusion of the debate was just to > > hang out and wait. Since then, a lot has changed and I > > think it is time to bring this subject up again. I > > think WW could benefit from the exposure, common > > infrastructure, developers, etc. > > > > So, I'll start off and say +1. What do you say? > > I'm all for it. +1. > > /Rickard > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Webwork-user mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webwork-user > |
From: Rickard <ri...@dr...> - 2002-07-02 05:04:41
|
ma...@sm... wrote: > Ok. It's time to bring up a former heated subject. Back > in March, there was a topic concerning moving WW under > Opensymphony. The conclusion of the debate was just to > hang out and wait. Since then, a lot has changed and I > think it is time to bring this subject up again. I > think WW could benefit from the exposure, common > infrastructure, developers, etc. > > So, I'll start off and say +1. What do you say? I'm all for it. +1. /Rickard |
From: <ma...@sm...> - 2002-07-01 21:26:22
|
Of course, this assuming they still want us ;-). On Mon, 01 July 2002, ma...@sm... wrote > > Ok. It's time to bring up a former heated subject. Back > in March, there was a topic concerning moving WW under > Opensymphony. The conclusion of the debate was just to > hang out and wait. Since then, a lot has changed and I > think it is time to bring this subject up again. I > think WW could benefit from the exposure, common > infrastructure, developers, etc. > > So, I'll start off and say +1. What do you say? > > -Matt > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Webwork-devel mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webwork-devel |
From: <ma...@sm...> - 2002-07-01 21:18:03
|
Ok. It's time to bring up a former heated subject. Back in March, there was a topic concerning moving WW under Opensymphony. The conclusion of the debate was just to hang out and wait. Since then, a lot has changed and I think it is time to bring this subject up again. I think WW could benefit from the exposure, common infrastructure, developers, etc. So, I'll start off and say +1. What do you say? -Matt |
From: <ma...@sm...> - 2002-07-01 21:11:13
|
Ok. I think WW is about ready for another release. This release includes the following new features/changes. Any objections? For 1.3, I think we should include dreamweaver integration and form centralized validation. Any others I'm missing? - Action Chaining - Added the ability to chain actions - XHTML tags - Renamed our standard UI tags from standard to xhtml and made them XHTML compliant - CSS tags - Removed our CSS UI tags - VXML tags - Moved our VXML UI tags directory location from standard/vxml to vxml - Modified Iterator, Subset Iterator, Sort Iterator and Generator tags do not return exceptions if values are null. It will be treated as an empty iterator set. - By default, WW will load its standard prefixes automatically. This includes webwork.action.standard and webwork.action.test. You do not have to add these if you add the webwork prefix property to add your custom prefixes. - Added the capability for you to define getAsText() in property editors that extend WW's ValidationEditorSupport. However, this will only work if you register your editor. To make WW work with property editors defined in BeanInfo, the value stack return results will need to be refactored to return the bean the value came from. But, if you to register and editor, WW will use it. This means JSP tags that try and represent a string value of your object will call getAsText() to return the appropriate l&f. By default, toString() is used unless you override it to define custom formatting. - Added primitive and object arrays support. This means you can have Action attributes that are primitive arrays or object arrays and WW will convert them for you. See BeanUtil test for more details. -Matt |
From: Peter K. <yel...@ya...> - 2002-06-29 02:52:41
|
Also see https://sourceforge.net/tracker/?func=detail&atid=376685&aid=573877&group_id=22866 as the JBoss guys seem to have an idea about what this could be. Wednesday, June 26, 2002, 1:14:18 AM, you wrote: msc> Ok. Thanks Peter. I'll look into this. msc> -Matt msc> On Tue, 25 June 2002, Peter Kelley wrote >> >> Oops, forgot to say that I opened issue >> msc> http://opensource.atlassian.com/projects/webwork/secure/ViewIssue.jspa?id=10048 >> about this problem >> >> -- >> >> regards, >> Peter Kelley >> >> MoveIt Pty Ltd >> >> "If you want to build a ship, don't drum up the men to >> gather wood, divide the work and give orders. msc> Instead, >> teach them to yearn for the vast and endless sea." >> - Saint-Exupery >> >> >> >> msc> ------------------------------------------------------- >> Sponsored by: >> ThinkGeek at http://www.ThinkGeek.com/ >> _______________________________________________ >> Webwork-user mailing list >> Web...@li... >> msc> https://lists.sourceforge.net/lists/listinfo/webwork-user msc> ------------------------------------------------------- msc> Sponsored by: msc> ThinkGeek at http://www.ThinkGeek.com/ msc> _______________________________________________ msc> Webwork-user mailing list msc> Web...@li... msc> https://lists.sourceforge.net/lists/listinfo/webwork-user -- regards, Peter Kelley mailto:ye...@ya... "If you want to build a ship, don't drum up the men to gather wood, divide the work and give orders. Instead, teach them to yearn for the vast and endless sea." - Saint-Exupery |
From: Patrick L. <pli...@ho...> - 2002-06-27 21:35:33
|
Is it possible to have a multi-select input translate that input in to setXxx(long[] ids)? -Pat |
From: Patrick L. <pli...@ho...> - 2002-06-27 17:53:55
|
Followup: Chaning line 407 in AbstractValueStack from: value = ((Map) value).get(key.toString()); to: value = ((Map) value).get(key); Fixes the problem. I'm suprised this hasn't been noticed before. I wonder if I'm doing something wrong? -Pat ----- Original Message ----- From: "Patrick Lightbody" <pli...@ci...> To: <web...@li...> Sent: Thursday, June 27, 2002 10:42 AM Subject: Getting a value from a map > My action has two methods: > > public Map availableInfoTypes(); > public long getInfoType(); > > The Map is a Long/String pair, like so: > > {0=Select an InfoType, 1=InfoType 1, 2=InfoType 2, 3=InfoType 3, 4=InfoType > 4} > > Now, if getInfoType() returns 2, I want to display the string "InfoType 2". > But the code <ww:property value="possibleInfoTypes[infoType]"/> produces > this error: > > java.lang.ClassCastException: java.lang.Long > at java.lang.String.compareTo(String.java:792) > at java.util.TreeMap.compare(TreeMap.java:1081) > > at java.util.TreeMap.getEntry(TreeMap.java:341) > at java.util.TreeMap.get(TreeMap.java:260) > at webwork.util.AbstractValueStack.findValue(AbstractValueStack.java:407) > at > webwork.view.taglib.WebWorkBodyTagSupport.findValue(WebWorkBodyTagSupport.ja > va:54) > > Any ideas? > > -Pat > > |
From: Patrick L. <pli...@ci...> - 2002-06-27 17:45:55
|
My action has two methods: public Map availableInfoTypes(); public long getInfoType(); The Map is a Long/String pair, like so: {0=Select an InfoType, 1=InfoType 1, 2=InfoType 2, 3=InfoType 3, 4=InfoType 4} Now, if getInfoType() returns 2, I want to display the string "InfoType 2". But the code <ww:property value="possibleInfoTypes[infoType]"/> produces this error: java.lang.ClassCastException: java.lang.Long at java.lang.String.compareTo(String.java:792) at java.util.TreeMap.compare(TreeMap.java:1081) at java.util.TreeMap.getEntry(TreeMap.java:341) at java.util.TreeMap.get(TreeMap.java:260) at webwork.util.AbstractValueStack.findValue(AbstractValueStack.java:407) at webwork.view.taglib.WebWorkBodyTagSupport.findValue(WebWorkBodyTagSupport.ja va:54) Any ideas? -Pat |
From: Marco P. <mp...@ci...> - 2002-06-26 08:18:11
|
Hi there, I'm working on a project using WebWork with Velocity. I'm trying to figure out which is the best way to access action methods other then get/set property from velocity templates. So, is there a way to add objects directly in Velocity context, or should be better to add a getAction() method (returning this) that can be access with $action in the template? Or is there an even better approach to the problem ? Thanks in advance Marco |
From: Peter K. <pe...@mo...> - 2002-06-26 03:22:12
|
This is a pretty basic question but I'm just trying to get my head around whether we can use webwork in a web services application. One of our customers has asked us to provide application functionality in the form of web services. Knowing not a lot about web services I notice that the Sun tutorial talks about deploying them as servlets. Having only worked with JSP's before would it be a sensible thing to do to use webwork actions as the end point of a web services invocation ? Would webwork currently support this ? -- regards, Peter Kelley MoveIt Pty Ltd "If you want to build a ship, don't drum up the men to gather wood, divide the work and give orders. Instead, teach them to yearn for the vast and endless sea." - Saint-Exupery |
From: Patrick L. <pli...@ho...> - 2002-06-25 20:44:17
|
(Sent this to Matt, but I think the whole list should see it) By the way, action chaining really is huge (finding more and more cool stuff to do with it today). Think of this, developers can start building actions that can be arbitrality chained together, creating a mini-workflow of sorts. For example: (a form submits to CreateDocumentValidate.action) CreateDocumentValidate.action=DocumentValidator CreateDocumentValidate.error=create.jsp CreateDocumentValidate.success=BeginTransaction.action BeginTransaction.action=BeginTransaction BeginTransaction.success=CreateDocument.action CreateDocument.action=CreateDocument CreateDocument.error=RollbackTransaction.action CreateDocument.success=CommitTransaction.action RollbackTransaction.action=RollbackTransaction RollbackTransaction.success=create_error.jsp CommitTransaction.action=CommitTransaction CommitTransaction.success=create_success.jsp Now this is maybe _too_ broken up, but the idea is there. I could then take the classes CommitTransaction, RollbackTransaction, BeginTransaction, and DocumentValidator and use them in a mini-workflow that assists with updating a document instead of creating it. The possibilities are really quite endless. -Pat |
From: <ma...@sm...> - 2002-06-25 15:14:30
|
Ok. Thanks Peter. I'll look into this. -Matt On Tue, 25 June 2002, Peter Kelley wrote > > Oops, forgot to say that I opened issue > http://opensource.atlassian.com/projects/webwork/secure/ViewIssue.jspa?id=10048 > about this problem > > -- > > regards, > Peter Kelley > > MoveIt Pty Ltd > > "If you want to build a ship, don't drum up the men to > gather wood, divide the work and give orders. Instead, > teach them to yearn for the vast and endless sea." > - Saint-Exupery > > > > ------------------------------------------------------- > Sponsored by: > ThinkGeek at http://www.ThinkGeek.com/ > _______________________________________________ > Webwork-user mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webwork-user |
From: <ma...@sm...> - 2002-06-25 15:08:45
|
Ok. Thanks for the debug. I'll get this fixed. -Matt On Tue, 25 June 2002, "Taavi Tiirik" wrote > > Matt, > > The only issue left with redirect action is when somebody > uses it as a result view of another action. > > I used to have in my views.properties file: > > someaction.action=SomeAction > someaction.success=redirect.action?url=anotheraction.action > > This does not work after introducing action chaining but it can > be made to work by making sure that view definition does not > end with '.action' or whatever ones "webwork.action.extension" > is set to. > > So, I have modified my success views to something like this: > > someaction.success=redirect.action?url=anotheraction.action&a > > ... and it works again. > > thanks, > > with best wishes, > Taavi > > > > > ------------------------------------------------------- > Sponsored by: > ThinkGeek at http://www.ThinkGeek.com/ > _______________________________________________ > Webwork-user mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webwork-user |
From: Joseph F. <jfi...@pr...> - 2002-06-25 10:39:30
|
On Tue, 2002-06-25 at 01:18, Peter Kelley wrote: > Since we are using JBoss 3.0 this all runs under Tomcat 4.0.3 - the > only servlet container currently integrated with JBoss out of the box. FYI: The default JBoss 3.0 package comes with Jetty embedded. Joe |
From: Taavi T. <ta...@ib...> - 2002-06-25 09:44:02
|
Matt, The only issue left with redirect action is when somebody uses it as a result view of another action. I used to have in my views.properties file: someaction.action=SomeAction someaction.success=redirect.action?url=anotheraction.action This does not work after introducing action chaining but it can be made to work by making sure that view definition does not end with '.action' or whatever ones "webwork.action.extension" is set to. So, I have modified my success views to something like this: someaction.success=redirect.action?url=anotheraction.action&a ... and it works again. thanks, with best wishes, Taavi |
From: Harvey K. <ha...@ka...> - 2002-06-25 09:24:40
|
I also have this problem. Running under JBoss 2-4-6 Tomcat 4.0.3 on Win2K. Pages with large number of items in a dropdown box take ages to display. Show stopper... "Peter Kelley" <pe...@mo...> wrote in message news:147...@mo...... > Matt, > > The problem seems to be with including selectmap.jsp when there is a > value selected that is obtained from the action. The performance > slowdown is proportional to the number of items in the select list. > > For example we have a drop down that has the possible values for days > in a month, the numbers 1 to 31. If the value of the control is set to > today's date it consistently takes 9 seconds to execute. If we take > out the code that sets the date it executes in a few milliseconds. > > By running our page in the debugger the method that seems to > be taking all the time is: > > rd.include(aContext.getRequest(), res); > > at line 54 in webwork.view.taglib.IncludeTag > > Since we are using JBoss 3.0 this all runs under Tomcat 4.0.3 - the > only servlet container currently integrated with JBoss out of the box. > We have tried Tomcat 4.0.4 integrated with JBoss with no better > performance but Tomcat 4.0.4 standalone seems to be OK. > > I have attached a test case that demonstrates the problem. To run it > unzip the files into a directory called test.war under the JBoss 3.0 > server directory of your choice and then browse to > http://localhost:8080/test and follow the link. This page is taking 14 > seconds to draw the list control on my system. > > Friday, June 21, 2002, 10:19:55 PM, you wrote: > > MB> Can you submit a simple example that illustrates the problem? > > MB> -Matt > > MB> ----- Original Message ----- > MB> From: "Peter Kelley" <pe...@mo...> > MB> To: "Chris Miller" <chr...@ho...>; > MB> <web...@li...> > MB> Sent: Friday, June 21, 2002 4:03 AM > MB> Subject: Re: [Webwork-user] Re: Performance of ParameterAware > > > >> Chris, > >> > >> I just managed to get a run in OptimizeIt and 95% of the time is being > >> spent in java.lang.reflect.Array.newInstance(). Along with the fact > >> that there are 10-20 getParameter calls for each control does this > >> suggest anything to anybody ? The pattern seems to be: > >> > >> Get the control value from the method in the action > >> Call getParameter on the action a few times very quickly > >> Do something else that we are not logging, sometimes for a second or > >> more. > >> Get the next control value > >> etc... > >> > >> Any ideas as to how we can solve this ? > >> > >> BTW, the reason we are using parameter aware is that we have input > >> controls inside an iterator tag and we need to be able to get the > >> values for each of the controls when the form is submitted (and > >> display them if the same page is re-displayed). If there is another > >> recommended way of doing this I would be interested in finding out. > >> What would be really cool is if webwork supported indexed properties > >> (a little used feature of Java beans) on actions but I can't see this > >> documented anywhere. Should this be a feature request ? > >> > >> Thursday, June 20, 2002, 10:52:24 PM, you wrote: > >> > >> CM> Have you tried with Tomcat 4.0.4 and/or 4.1.5, or even better, a > MB> different > >> CM> servlet container (Orion, Resin, ...)? There have been changes in the > MB> latest > >> CM> builds of Tomcat that can provide large performance improvements in > MB> many > >> CM> circumstances. > >> > >> CM> Also, it sounds like you've done some profiling - where is the > MB> majority of > >> CM> the time being spent? > >> > >> CM> Note that I'm not trying to discount the possibility of this being a > MB> WW > >> CM> issue, just trying to help narrow down the source of the problem. > >> > >> CM> Regards, > >> CM> Chris > >> > >> >> We have an admittedly complex JSP page that is taking between 20 and > >> >> 30 seconds to load, even after a first view. There are 3 actions on > >> >> the page in addition to the calling action but each of them is taking > >> >> 20-30 milliseconds to run. There appear to be a large number of calls > >> >> to the getParameter() method on the main action for each control on > >> >> the page. > >> >> > >> >> Any ideas ? > >> >> > >> >> Jboss 3.0 with Tomcat 4.0.3 > >> >> Webwork 1.1 > >> >> Windows 2000 Professional > >> >> > >> >> -- > -- > > regards, > Peter Kelley > > MoveIt Pty Ltd > > "If you want to build a ship, don't drum up the men to > gather wood, divide the work and give orders. Instead, > teach them to yearn for the vast and endless sea." > - Saint-Exupery |