Re: [OS-webwork] Long running tasks

2004-03-03 Thread Mike Cannon-Brookes
Wow - I was just playing with long running tasks yesterday for a few hours, I even built a 'LongRunningTask' interface and action :) I tried to make our implementation completely generic, so that you can make long running tasks easily for all sorts of tasks. Here's how ours works (or will

Re: [OS-webwork] velocity how to change character encoding

2004-02-24 Thread Mike Cannon-Brookes
Hi, We're using Velocity with WW2 and international characters? AFAIK the WebWorkVelocityServlet just uses the standard webwork.i18n.encoding property when encoding the templates? Cheers, Mike On 25/2/04 1:56 AM, remigijus ([EMAIL PROTECTED]) penned the words: You are right it is possible to

Re: [OS-webwork] [OS-xwork] Spring IoC integration

2003-12-12 Thread Mike Cannon-Brookes
Francois, :) As for why it's required, it makes everything more flexible - and it's not required at all. Just ignore it and it will do you no harm. Pico is good (for somethings) but personally I much prefer Spring (that's a large debate for another time - each to their own) :) - XWorks IoC

Re: [OS-webwork] WebWorks without velocity how to

2003-12-12 Thread Mike Cannon-Brookes
It's very nice to hear such answer. I'm not against velocity, I only little confused about some decisions was made for ww2. I truly believe that ww2 should be able to work even without presentation layer. But to provide full functionality it has already, it should have an additional

Re: [OS-webwork] Empty string property now instead of null?

2003-12-12 Thread Mike Cannon-Brookes
Actually, I agree with Dick here - it _SHOULD_ be an empty String, not null. The empty string indicates that the form was submitted with an empty value in the text field - which is exactly what happened. A null value indicates that the form was not submitted, or else the text field did not exist

Re: [OS-webwork] Empty string property now instead of null?

2003-12-12 Thread Mike Cannon-Brookes
_exactly_ - you put it perfectly mate. So how do you tell the difference between a parameter, and not a parameter? (ie the text field never existed on the form at all) :) Cheers, Mike On 12/12/03 8:59 PM, BOGAERT Mathias ([EMAIL PROTECTED]) penned the words: The problem here is that a HTML

Re: [OS-webwork] Empty string property now instead of null?

2003-12-12 Thread Mike Cannon-Brookes
the form field is not filled (empty). Also, if empty String resolves to , why an empty Integer to null and not new Integer(0)? Mathias -Original Message- From: Mike Cannon-Brookes [mailto:[EMAIL PROTECTED] Sent: vrijdag 12 december 2003 11:15 To: [EMAIL PROTECTED] Subject: Re

Re: [OS-webwork] [OS-xwork] Spring IoC integration

2003-12-12 Thread Mike Cannon-Brookes
-ref stuff, what do you think of Cameron's changes? It sounds like he made it more flexible and powerful to me... -Original Message- From: Mike Cannon-Brookes [mailto:[EMAIL PROTECTED] Sent: Friday, December 12, 2003 4:51 AM To: [EMAIL PROTECTED] Subject: Re: [OS-webwork] [OS-xwork

Re: [OS-webwork] More about velocity directives

2003-11-12 Thread Mike Cannon-Brookes
Drew, We've just been playing with this today and I have to say I agree that this makes things much neater - good idea! It would break existing Velocity uses though. Are you using the latest WW2 CVS with Velocity? (We're having problems upgrading to it) Cheers, Mike On 12/11/03 5:24 PM, Drew

Re: [OS-webwork] Call for help

2003-10-09 Thread Mike Cannon-Brookes
Also, if anyone has some 1.3-based applications that they can help me test backwards compatibility in the near future (after this weekend when I check in code and an upgrade doc), that would be greatly appreciated. I have a very large 1.3-based application that I'd love you to test backwards

Re: [OS-webwork] testing web applications

2003-10-07 Thread Mike Cannon-Brookes
If you're looking for acceptance testing frameworks - I suggest you look at Jameleon (http://jameleon.sourceforge.net/). It has a really, really cool OO way of looking at web acceptance testing - which looks like it is really neat for creating reusable chunks of tests. (Oh - and it uses Jelly so

Re: Re[2]: [OS-webwork] Avalon Components w/ WebWork2

2003-10-07 Thread Mike Cannon-Brookes
Well, I'm assuming it wouldn't be enforced. Really I'd like all of these 'extensions' to be bundled as separate JARs? So you want Pico? Add xwork.jar and xwork-pico.jar to your /lib directory and set some flag in webwork.properties. You want Avalon? xwork.jar and xwork-avalon.jar Etc etc? M

Re: [OS-webwork] [JIRA-OS] Created: (WW-336) Iterator tags value attribute required

2003-10-06 Thread Mike Cannon-Brookes
Sure - just create a filter which shows all issues created in the last 7 days, and then subscribe the list to it every 7 days :) M On 7/10/03 4:16 AM, Jason Carreira ([EMAIL PROTECTED]) penned the words: I don't think so -Original Message- From: Robert Douglass [mailto:[EMAIL

Re: [OS-webwork] [JIRA-OS] Created: (WW-336) Iterator tags value attribute required

2003-10-06 Thread Mike Cannon-Brookes
Of course you realise the irony here. If there were such people, they would never read your message? ;) I subscribe to both lists, so I'm really on the fence. I don't mind either way, it makes little difference! M On 7/10/03 1:39 AM, Hani Suleiman ([EMAIL PROTECTED]) penned the words: So, is

Re: [OS-webwork] Advanced URL mapping?

2003-10-02 Thread Mike Cannon-Brookes
Can I just say that all of this advanced cool URL mapping shouldn't be in WebWork core? It's an extension or addition, that should be shipped separately? (Or more likely just written up in a Wiki document for those who want to use it?) M On 3/10/03 12:22 AM, Cameron Braid ([EMAIL PROTECTED])

Re: [OS-webwork] Struts user feedbak

2003-09-27 Thread Mike Cannon-Brookes
Yes, but I'm not sure it's something that belongs in ActionSupport, as it's most custom per application. It's very easy for people to add this themselves. Error support is necessary as the UI tags need to know about it to work together nicely. Action messages are more of a custom app thing to

Re: [OS-webwork] Issue with component lifecycle dependencies

2003-09-24 Thread Mike Cannon-Brookes
Uhm - please explain how it would be done? (could be done?) App scoped component : PersistenceManager (PM) There is therefore only one PM. Request scoped component: HibernateSession (HS) Two requests come in A and B, each with a request scoped component (HS A and HS B) A calls

Re: [OS-webwork] Issue with component lifecycle dependencies

2003-09-24 Thread Mike Cannon-Brookes
object). - Original Message - From: Mike Cannon-Brookes [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 8:34 AM Subject: Re: [OS-webwork] Issue with component lifecycle dependencies Uhm - please explain how it would be done? (could be done?) App

Re: [OS-webwork] How does one change the contentType in the response?

2003-09-24 Thread Mike Cannon-Brookes
Title: Re: [OS-webwork] How does one change the contentType in the response? You can still do that if you want ActionContext.getResponse().setContentType() should work AFAIK. Cheers, Mike On 24/9/03 11:50 PM, Thompson, Kris ([EMAIL PROTECTED]) penned the words: I need change the MIME type

Re: [OS-webwork] Struts user feedbak

2003-09-24 Thread Mike Cannon-Brookes
3/ Dont you think the struts concept of ActionMessage is a good idea, a low-cost dev effort to store easyly a message (possibly localized) at the end of a action to inform the user in the view (creation successful ,...). This sort of thing is most easily added yourself in a base class. Indeed,

Re: [OS-webwork] JSP tag for viewing Session attributes?

2003-09-24 Thread Mike Cannon-Brookes
Title: Re: [OS-webwork] JSP tag for viewing Session attributes? Kris, What you should do here is provide a getter method in your action, eg: public User getUser() { return ActionContext.getSession().get(user.key); } And then in your views you can do user.firstName and it will use getUser()

Re: [OS-webwork] WebWork vs. Struts

2003-09-20 Thread Mike Cannon-Brookes
A good presentation - a lot of familiar content :) but some good new things too. I like the DBInterceptor (bad pattern, but good example ;)). I've added this any the link to my old presentation to the WW2 page under Misc: http://wiki.opensymphony.com/space/WebWork2 Cheers, Mike On 21/9/03

Re: [OS-webwork] New version of XWork editor posted

2003-09-09 Thread Mike Cannon-Brookes
Title: Re: [OS-webwork] New version of XWork editor posted Jon, The view backwards references do sound useful (what action+result combinations point to this view) - .vm or .jsp :) Another thing that might be useful is preview XML which shows you the actual XML that will be generated? People

Re: [OS-webwork] Seraph, OSAccess and OSUser

2003-09-01 Thread Mike Cannon-Brookes
I¹m not sure how this is related to WW, but I¹ll attack it anyway ;) Seraph is not a replacement for OSUser or OSAccess. OSUser provides a server-agnostic user management API, OSAccess provides (afaik ­ I don¹t use it) a method level security framework and Seraph is a web application security

Re: [OS-webwork] Re: [Opensymphony-developers] A Proposal:Opensymphony Conductor

2003-08-19 Thread Mike Cannon-Brookes
. Did I mention I was open sourcing anything else at TSS? :) M On 14/8/03 1:39 PM, Jason Carreira ([EMAIL PROTECTED]) penned the words: Oh... and what's the status of the Atlassian packages you were talking about making opensource? -Original Message- From: Mike Cannon-Brookes

Re: [OS-webwork] WW2 property file

2003-08-18 Thread Mike Cannon-Brookes
Rainer, What were these used for? Loading global i18n properties files, or loading other WW properties? If it's the first I'm definitely for re-adding it - I've been looking for this feature. M On 18/8/03 6:04 PM, Rainer Hermanns ([EMAIL PROTECTED]) penned the words: With webwork1.x you

Re: [OS-webwork] add a count attribute to iterator jsp tag

2003-08-18 Thread Mike Cannon-Brookes
Francisco, Take a look at the Counter utility bean, this is what it's for. Look at the expressions.jsp (or used to be called that) in the examples. Cheers, Mike On 18/8/03 9:37 PM, Francisco Hernandez ([EMAIL PROTECTED]) penned the words: anyone else think it would be useful to add a count

Re: [OS-webwork] XW/WW2 press release text for review

2003-08-18 Thread Mike Cannon-Brookes
I agree with Hani's points - but must add that on the whole this is awesome! Very solid, lots of text, good points made throughout. I know Hani meant to commend you on the overall quality, but forgot (or he hadn't taken his bile hat off ;)). M On 19/8/03 11:29 AM, Hani Suleiman ([EMAIL

Re: [OS-webwork] Simplicity of WW2 - Practical ideas

2003-08-17 Thread Mike Cannon-Brookes
Anders, I have to say that this is a _bad_ idea. You can already test actions to setup xwork.xml - just instantiate the object, call your setter methods and run! People doing J2EE understand XML, they have to. All descriptors are XML. Xwork.xml is not _that_ complex for a hello world example,

Re: [OS-webwork] Simplicity of WW2 - Practical ideas

2003-08-17 Thread Mike Cannon-Brookes
, sitemesh, and oscache is not a particularly J2EE app. All it uses is jdbc (now part of the core JDK) and servlets. On Sunday, August 17, 2003, at 06:24 PM, Mike Cannon-Brookes wrote: Anders, I have to say that this is a _bad_ idea. You can already test actions to setup xwork.xml - just

Re: [OS-webwork] Jira alerts

2003-08-14 Thread Mike Cannon-Brookes
Don't they already go to the CVS list? That's where all 'automated' notifications should go. People can then use that as the basis for their filters to extract only the notifications for modules they want? M On 12/8/03 1:26 AM, Pat Lightbody ([EMAIL PROTECTED]) penned the words: Ee I

Re: [OS-webwork] Velocity helper missing from ww2

2003-08-14 Thread Mike Cannon-Brookes
Drew, I think most of these just haven't been ported - but they sound very useful. I never used Velocity with WW1, but I'm using it with WW2 and have added a few 'useful' things (like $tools for URL/HTML encoding etc). Is there a list of all the old WW1 directives? I'd like to port them to WW2.

Re: [OS-webwork] Re: [Opensymphony-developers] A Proposal: Opensymphony Conductor

2003-08-14 Thread Mike Cannon-Brookes
Joseph - where is the code? No code, no idea - sorry. Jason - sounds like an interesting idea, but could we focus on getting WW2 / XW finished and released first? :) Also the goals of the framework (?) sound too broad. It looks like a collection of Open Source tools to me, albeit a good one -

Re: [OS-webwork] Doing a for-loop using webwork.util.Counter...

2003-08-02 Thread Mike Cannon-Brookes
James, The reason you're having problems is you can't put a tag within the attribute of another tag - that's just illegal. What you want is an expression. webwork:if test=../page == . or something. Cheers, Mike On 2/8/03 4:11 AM, James Pan ([EMAIL PROTECTED]) penned the words: Hello again,

RE: [OS-webwork] Re: WW1.3 and Sitemesh

2003-07-29 Thread Mike Cannon-Brookes
? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Mike Cannon-Brookes Sent: Monday, July 28, 2003 9:15 PM To: [EMAIL PROTECTED] Subject: Re: [OS-webwork] Re: WW1.3 and Sitemesh Shouldn't be - it's all in the WebWork module? Just deploy the filter

Re: [OS-webwork] WW1.3 and WW2

2003-07-28 Thread Mike Cannon-Brookes
Dudley, I think this depends on your level of comfort. Personally I wouldn't start a new application with WW 1.3 at the moment, as your development cycle is likely longer than the time until WW2 is released. Also using a framework during it's development is the perfect way to get your bugs fixed

Re: [OS-webwork] Re: WW1.3 and Sitemesh

2003-07-28 Thread Mike Cannon-Brookes
]) penned the words: What does the filter do in this case? Does it become the whole dispatcher? I thought you had a heated discussion with someone about why that was a bad idea :-) -Original Message- From: Mike Cannon-Brookes [mailto:[EMAIL PROTECTED] Sent: Monday, July 28, 2003 10:14 AM

Re: [OS-webwork] webwork2 tags not working in sitemeshed pages

2003-07-22 Thread Mike Cannon-Brookes
The problem is that (and I've tried this) the WW servlet cleans up the context and the value stack at the end of it's execution. The only way I can see to do this reliably (and I'm on a bus at the moment, so thinking clearly is not the easiest) is to write a WWFilter to replace the WWServlet?

Re: [OS-webwork] BeforeAfterInterceptor

2003-07-16 Thread Mike Cannon-Brookes
Using AOP like language - isn't this really an 'AroundInterceptor'? M On 17/7/03 12:32 PM, Cameron Braid ([EMAIL PROTECTED]) penned the words: I would think that only 1 abstract interceptor is required, though the one that is provided doesn't allow the after method to respond if there is an

Re: [OS-webwork] additional attributes for the tags

2003-07-03 Thread Mike Cannon-Brookes
Why not just do what WW1 had and create a base class for each tag, something like HTMLComponentTag that has all the HTML attributes in it? (onchange, onmouseup, class, style, id etc) M On 3/7/03 6:24 PM, Matt Ho ([EMAIL PROTECTED]) penned the words: Ara brought up a really good point about the

Re: [OS-webwork] WebWork2, here I come!

2003-07-02 Thread Mike Cannon-Brookes
Did we lose ActionContext.getApplication() in favour of the ServletActionContext one? I thought the intent of that was a generic 'application scope' map that you could get / set things into. For a servlet app, that maps (no pun intended) back to the servlet context. Mike On 2/7/03 6:52 AM,

Re: [OS-webwork] WebWork2, here I come!

2003-07-02 Thread Mike Cannon-Brookes
Matt, Xdoclet generation is an evil of struts - because you need to write so much crap just to fulfil it's contracts. See http://blogs.atlassian.com/rebelutionary/archives/000176.html For unit testing, screw Cactus! (sorry Vincent - it is really cool, but too slow for any unit testing) Cactus

Re: [OS-webwork] application scope

2003-07-02 Thread Mike Cannon-Brookes
Erik, That's exactly how it should work - the beauty of IoC! :) Do you have the IoC filters / listeners installed? You need these to be plugged in for the IoC system to work. http://wiki.opensymphony.com/space/WebWork+2+Components But what you're doing is how it should be done! M On 2/7/03

Re: [OS-webwork] WebWork2, here I come!

2003-07-02 Thread Mike Cannon-Brookes
Haha! This must be from that new mail client - BileMail! :) On 3/7/03 4:39 AM, Hani Suleiman ([EMAIL PROTECTED]) penned the words: This cannot be the Pat I've grown to distrust and have no faith in, but I must say I really really like this new guy who has hijacked his email account and is

Re: [OS-webwork] Default workflow

2003-07-02 Thread Mike Cannon-Brookes
OK - I'll say again - it IS optional AND explicit :) (One way to make it more explicit is make execute() final in AS?) If you don't want 3 phase action support (for want of a better name) - use BaseActionSupport - which provides error messages and i18n. If you DO want it, use ActionSupport -

Re: [OS-webwork] Default workflow

2003-07-02 Thread Mike Cannon-Brookes
Bruce, Does the BaseAS / AS separation not do this for you? Mike On 3/7/03 7:05 AM, Bruce Ritchie ([EMAIL PROTECTED]) penned the words: Jason Carreira wrote: snip I would like to undo this, pull the implementation stuff up into ActionSupport, get rid of the workflow and BaseActionSupport,

Re: [OS-webwork] WW2 migration

2003-07-02 Thread Mike Cannon-Brookes
Anders, Well - those are interesting points. A) a list of docs that we need to help migration would be _fantastic_. Perhaps create a skeleton on the Wiki with the points you had trouble with? I'd be more than happy to fill out the content. B) The *Aware interfaces are interesting - they have

Re: [OS-webwork] Default workflow

2003-07-02 Thread Mike Cannon-Brookes
this in front of the Workflow Interceptor. I'm for decoupled pieces you can put together to get the behavior you want. Jason -Original Message- From: Mike Cannon-Brookes [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 5:10 PM To: [EMAIL PROTECTED] Subject: Re: [OS

Re: [OS-webwork] WebWork2, here I come!

2003-07-02 Thread Mike Cannon-Brookes
wrote: Amen brother! -Original Message- From: Mike Cannon-Brookes [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 5:17 PM To: [EMAIL PROTECTED] Subject: Re: [OS-webwork] WebWork2, here I come! IMHO this is just over complicating things. Regardless of the _removal_

Re: [OS-webwork] WebWork2, here I come!

2003-07-02 Thread Mike Cannon-Brookes
of multiple entry points. Certainly the workflow we've been talking about is one example, but I'd like to understand what some others are. M Jason Carreira wrote: Amen brother! -Original Message- From: Mike Cannon-Brookes [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 5:17

Re: [OS-webwork] WebWork2, here I come!

2003-07-02 Thread Mike Cannon-Brookes
Apologies for my Australian-ism - but your subclass structure is bullshit :) Why do that? It's far too complex. Just have doCreate(), doRead() etc and use the code as is. This is exactly what it was designed for? And as for your analysis of AS - exactly correct, except for the interceptor bit.

Re: [OS-webwork] Default workflow

2003-07-02 Thread Mike Cannon-Brookes
From what I've seen of WW2 so far and comparing how I'd apply it against our current Struts app, I'd still use Action/execute, perhaps with my own base class to provide a thin layer of control. I'd use a validating interceptor that kicked back INPUT without calling execute, and I'd be able

Re: [OS-webwork] WebWork2, here I come!

2003-07-02 Thread Mike Cannon-Brookes
names. Jason -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 9:04 PM To: [EMAIL PROTECTED] Subject: Re: [OS-webwork] WebWork2, here I come! On Wednesday, July 2, 2003, at 06:56 PM, Mike Cannon-Brookes wrote: Well, there are tonnes

Re: [OS-webwork] Re: Application

2003-06-29 Thread Mike Cannon-Brookes
Yup - especially amusing as I am at TSS Symposium this weekend, hence have had no email for days, and yet I'm sending out spam :) M On 27/6/03 6:17 PM, Rene Gielen ([EMAIL PROTECTED]) penned the words: So are you and Mike ... Rainer got this mail with sender faked to your adress, I got it

Re: [OS-webwork] Displaying a progress page

2003-06-25 Thread Mike Cannon-Brookes
Uhm, well why not just make your task runnable and run it in a new thread? :) Or you could use a util.Timer. Another (nicest IMHO) alternative is to make it a scheduled task and use something like Quartz to kick it off. M On 26/6/03 6:05 AM, Jason Carreira ([EMAIL PROTECTED]) penned the words:

Re: [OS-webwork] Displaying a progress page

2003-06-25 Thread Mike Cannon-Brookes
it will work and is likely better than the server side solutions. Is there something I'm missing?? BTW, I think this is how expedia used to do it. LES -Original Message- From: Mike Cannon-Brookes [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 7:01 PM To: [EMAIL PROTECTED

Re: [OS-webwork] Re: [picocontainer-dev]Picocontainer/Nanocontainer

2003-06-24 Thread Mike Cannon-Brookes
Guys, Please sort this one way or the other so I don't look like a total joker at TSS describing our IoC architecture, then we flip around and use Pico :) j/k I've only looked at Pico briefly from Paul Hammant, and it does look good. I kinda like the enabler interfaces personally though,

Re: [OS-webwork] WW2: Is there an elegant way to operate withMaps html forms / form processing actions?

2003-06-17 Thread Mike Cannon-Brookes
Rene, You can do this (I think) like any other model driven action. GenericValue getObject() { // lookup the object and return it } Then in your JSPs, the fields are just named object/string(foo) Haven't tested this - but I think it should work. Cheers, Mike On 18/6/03 9:37 AM, Rene Gielen

Re: [OS-webwork] WW2: Is there an elegant way to operate withMaps html forms / form processing actions?

2003-06-17 Thread Mike Cannon-Brookes
(and cannot be done in Struts I don't think!), but the second is 'safer' if your model might change etc. Cheers, Mike On 18/6/03 10:58 AM, Rene Gielen ([EMAIL PROTECTED]) penned the words: Mike, thanks for the quick reply. On Wednesday 18 June 2003 02:10, Mike Cannon-Brookes wrote: Rene, You

Re: [OS-webwork] XW: Ognl Docs

2003-06-17 Thread Mike Cannon-Brookes
Where is it? :) On 18/6/03 11:34 AM, Pat Lightbody ([EMAIL PROTECTED]) penned the words: Hey all, just letting you know that I'm back in action and have finished a first pass at an Ognl EL reference that explains the additional stuff on top of OGNL that XW supports, as well as the differences

Re: [OS-webwork] XW: Ognl Docs

2003-06-17 Thread Mike Cannon-Brookes
URL? (for mailing list posterity) On 18/6/03 1:49 PM, Pat Lightbody ([EMAIL PROTECTED]) penned the words: On the Wiki of course! - Original Message - From: Mike Cannon-Brookes [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 17, 2003 8:31 PM Subject: Re: [OS-webwork

Re: [OS-webwork] Expression Validation

2003-06-16 Thread Mike Cannon-Brookes
and CreateBlogAction-valdiation.xml files. CreateBlogAction being the action I am validating. I have tried just about every variations of expression I could think of. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Cannon-Brookes Sent: Tuesday

Re: [OS-webwork] Hiding/delecting navigation link for current page

2003-06-12 Thread Mike Cannon-Brookes
, 2003 at 10:48:24PM -0400, Ken Yee wrote: Mike Cannon-Brookes wrote: Well, I use JSP conditional tags in my SiteMesh decorators to do this personally? :) I didn't see any special WW:ui tag that would make it obvious to use WW either :-P Could you post an example of what you do w/ JSP

Re: [OS-webwork] JSP 2.0 tag files.

2003-06-11 Thread Mike Cannon-Brookes
Title: Re: [OS-webwork] JSP 2.0 tag files. Cameron, While this would be lovely, 99% of servlet engines dont support JSP 2.0 (most are only just up to 1.2) so I wouldnt like to see this added to WW. Might work as an add-on though. Mike On 11/6/03 8:40 PM, Cameron Braid ([EMAIL PROTECTED])

Re: [OS-webwork] Request to core developers

2003-06-06 Thread Mike Cannon-Brookes
Erik, OK - good idea. Any particular issues you want to point us at? M On 6/6/03 10:21 PM, Erik Beeson ([EMAIL PROTECTED]) penned the words: It would be nice if the core developers could make comments on JIRA issues as they come in. I'm fairly familiar with the codebase as I've been

Re: [OS-webwork] Suggestion for a change in UI Component Tag

2003-05-30 Thread Mike Cannon-Brookes
Title: Re: [OS-webwork] Suggestion for a change in UI Component Tag Why would you want to do that? All WW tags should be AbstractWrappingTags (as they are now) - because they can all take parameters via the param tag? Mike On 29/5/03 7:28 PM, Cameron Braid ([EMAIL PROTECTED]) penned the

Re: [OS-webwork] More docs

2003-02-18 Thread Mike Cannon-Brookes
Jason, Before I step onto a plane I just have to say - awesome start! :) I can only implore others to step in and help out where they can, even if it's just as small as reading the docs over quickly and providing 2 or 3 suggestions to Jason and Patrick? M On 18/2/03 5:17 PM, Jason Carreira

Re: [OS-webwork] Webwork 2.0

2003-02-12 Thread Mike Cannon-Brookes
Low, I don't know about anyone else's dates, but I'm giving a presentation on WebWork 2 at The Server Side's Symposium in mid June, so it will be stable, tested and released by then ;) And as for WW + Velocity + Hibernate + SiteMesh, yes that is a killer combination of tools. Cheers, Mike On

FW: [OS-webwork] Commons Jelly

2003-02-08 Thread Mike Cannon-Brookes
2003 15:38:43 - To: Mike Cannon-Brookes [EMAIL PROTECTED] Subject: Re: [OS-webwork] Commons Jelly From: Mike Cannon-Brookes [EMAIL PROTECTED] Some not so positive jelly reviews :) Well I guess no software can please everyone. From: Hani Suleiman [EMAIL PROTECTED] Reply-To: [EMAIL

FW: [OS-webwork] Commons Jelly

2003-02-08 Thread Mike Cannon-Brookes
Another view option with our existing EL then :) -- Forwarded Message From: James Strachan [EMAIL PROTECTED] Date: Sat, 8 Feb 2003 15:30:30 - To: Mike Cannon-Brookes [EMAIL PROTECTED] Subject: Re: [OS-webwork] Commons Jelly FWIW, you could drop in OGNL (or indeed any expression language

Re: [OS-webwork] where might info on this be?

2003-02-03 Thread Mike Cannon-Brookes
Andre, I'll let others tackle the other parts, but for 1) there are no implicit properties for a view. They ALL come from the action that has been run. The reason you probably can't find getErrorMessages() or getErrors() in your action, is that they are in ActionSupport. But they are still

Re: [OS-webwork] where might info on this be?

2003-02-03 Thread Mike Cannon-Brookes
Almost, but not quite. :) RULES OF THE STACK: 1) The stack is just a stack of objects. 2) Initially the stack contains the Action executed (this is why as you say value=foo calls action.getFoo()) 3) New objects are placed onto the stack during the body of various tags (like ww:iterator or

Re: [OS-webwork] Using the WiKi

2003-01-28 Thread Mike Cannon-Brookes
Wiki's operate on the paradigm that a page is useless without any links to it - therefore you create the link first. Makes some sense :) -mike On 28/1/03 2:59 PM, Jason Carreira ([EMAIL PROTECTED]) penned the words: Cool. Got it. It sure wasn't obvious though! Maybe my wiki paradigm has

Re: [OS-webwork] Xwork 1.0 and Webwork 2.0 Mission Statements

2003-01-22 Thread Mike Cannon-Brookes
Jason, Awesome - these fit the bill perfectly! -mike On 23/1/03 2:19 PM, Jason Carreira ([EMAIL PROTECTED]) penned the words: Here's a first pass at mission statements for Xwork 1.0 and Webwork 2.0. Hopefully this will help clear up what Xwork is, what Webwork is, and what is and is not in

Re: [OS-webwork] Xwork 1.0 and Webwork 2.0 Mission Statements

2003-01-22 Thread Mike Cannon-Brookes
Let's get these up on the Wiki so everyone is 'on the same page' so to speak ;) -mike On 23/1/03 2:43 PM, Patrick Lightbody ([EMAIL PROTECTED]) penned the words: +1 :) - Original Message - From: Jason Carreira [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 22,

Re: [OS-webwork] Performance

2003-01-22 Thread Mike Cannon-Brookes
I couldn't be more +1 on this! Using velocity for templates would be awesome. Much better performance. -mike On 23/1/03 6:15 PM, Rickard Öberg ([EMAIL PROTECTED]) penned the words: Patrick Lightbody wrote: I believe that rewriting it to work for Lists would be just fine. The main thing it is

Re: [OS-webwork] RC2?

2003-01-19 Thread Mike Cannon-Brookes
I vote for all features going into RC2. That's kinda the point of an RC rather than a final release - so people can test the new features? :) -mike On 20/1/03 1:50 PM, Jason Carreira ([EMAIL PROTECTED]) penned the words: I'd vote for new features (small, well tested ones) going into RC2...

Re: [OS-webwork] RC2?

2003-01-19 Thread Mike Cannon-Brookes
to release 1.3? I don't think we want to add EVERYTHING, or we'll never get 1.3 out the door :-) -Original Message- From: Mike Cannon-Brookes [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 19, 2003 10:12 PM To: [EMAIL PROTECTED] Subject: Re: [OS-webwork] RC2? I vote for all features

Re: [OS-webwork] Hidden token

2003-01-15 Thread Mike Cannon-Brookes
Peter, Excellent work mate - the Wiki is definitely the best place to record tips, tricks and roadmap items for discussion. -mike On 16/1/03 1:15 PM, Peter Kelley ([EMAIL PROTECTED]) penned the words: There's an area on wiki for discussing enhancements here:

Re: [OS-webwork] Scope for 1.4

2003-01-14 Thread Mike Cannon-Brookes
for the performance challenged ? On Tue, 2003-01-14 at 16:00, Mike Cannon-Brookes wrote: Kirk, As a guide, we've been shipping code based on 1.3 for a few months now. And yes, we use millions of UI tags ;) I agree with you in general though - talk of 1.4 is silly when 1.3 isn't out yet! Cheers

Re: [OS-webwork] Scope for 1.4

2003-01-14 Thread Mike Cannon-Brookes
anyone profiled webwork with JProbe or similar tools to look for hot spots that could be optimized? -Original Message- From: Mike Cannon-Brookes [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 14, 2003 5:56 PM To: [EMAIL PROTECTED] Subject: Re: [OS-webwork] Scope for 1.4 Kirk

Re: [OS-webwork] Interceptor abuse

2003-01-13 Thread Mike Cannon-Brookes
Hani, Do you mean servlet filters? In which case - surely they don't work at all outside a web environment? And the other problem is that servlet filters are not applied directly to a specific action / group of actions, they are URL pattern based? (which is a royal pain in the ass to define!)

Re: [OS-webwork] Scope for 1.4

2003-01-13 Thread Mike Cannon-Brookes
Kirk, As a guide, we've been shipping code based on 1.3 for a few months now. And yes, we use millions of UI tags ;) I agree with you in general though - talk of 1.4 is silly when 1.3 isn't out yet! Cheers, Mike ATLASSIAN - http://www.atlassian.com Expert J2EE Software, Services and Support

Re: [OS-webwork] Re: Action invocation

2003-01-04 Thread Mike Cannon-Brookes
On 3/1/03 7:25 PM, Rickard Öberg ([EMAIL PROTECTED]) penned the words: Mike Cannon-Brookes wrote: Hrm - no, this is thinking the wrong way mate :) If webwork defined paths, security would work perfectly right? So why not have webwork only 'work' if the path is correct (and defined)? Ie

Re: [OS-webwork] So long

2003-01-04 Thread Mike Cannon-Brookes
I would have to say +1 to this - Hani has summarised it exactly. There are many fools on IRC, and as they say a lot - very little of it is useful, most of it is utter crap. Ignore them. I for one don't see why we can't all work together to build a better framework, rather than splintering all

Re: [OS-webwork] Rethink

2003-01-02 Thread Mike Cannon-Brookes
Yep - +1 from me, but I think Patrick should also have a major role in contributing, he has done a lot of the initial Xwork thinking and I think his knowledge of OGNL etc would be valuable. -mike On 2/1/03 9:06 PM, Rickard Öberg ([EMAIL PROTECTED]) penned the words: matt baldree wrote:

Re: [OS-webwork] Action configuration XML

2003-01-02 Thread Mike Cannon-Brookes
Copmments: - interceptor-ref name= is ugly XML! Why not just interceptor ref= / ? It's obvious that the name= attribute refers to the name of an interceptor from the tag name - is there a global package? - how are parameterised actions handled? (one of the other main xwork goals?) Looks good

Re: [OS-webwork] Action invocation

2003-01-02 Thread Mike Cannon-Brookes
Ditto - we do this a lot. Ie on JavaBlogs, the 'blog entry display' is all a single JSP file, with many different ways to use it as a view (ie ViewPopularBlogs.jspa and ViewDaysBlogs.jspa both have the same JSP view file) I don't see why this is bad? (In fact - it's good - it makes the URLs

Re: [OS-webwork] Action configuration XML [Commands]

2003-01-02 Thread Mike Cannon-Brookes
If you read the whole email you'd know why. Let me quote: But it's a dangerous option, since it may not be apparent that this slowdown will occur. If possible, configuration of actions should not occur this way. Given the huge amount of reflection in webwork anyway, is a little more going to

Re: [OS-webwork] Action invocation

2003-01-02 Thread Mike Cannon-Brookes
For one thing, they perform better. Another reason is that I have the same situation as Pat, the same jsp is the success page for multiple actions. One final reason is that the migration path from ww to xw for applications now requires filters to handle the (automatic) migration from the old

Re: [OS-webwork] Re: Action invocation

2003-01-02 Thread Mike Cannon-Brookes
Hrm - no, this is thinking the wrong way mate :) If webwork defined paths, security would work perfectly right? So why not have webwork only 'work' if the path is correct (and defined)? Ie /admin/foo.action would execute foo, but /bar/admin/foo.action would execute nothing. That way you keep

Re: [OS-webwork] Action invocation

2003-01-02 Thread Mike Cannon-Brookes
Yes :) On 3/1/03 7:38 AM, Rickard Öberg ([EMAIL PROTECTED]) penned the words: Jason Carreira wrote: I dunno. I would argue that if they can't be run by the same role, then they don't belong together. So if you've made this cool weblog thingy (as an example) where half of the actions goes

Re: [OS-webwork] Talk vs Do

2003-01-02 Thread Mike Cannon-Brookes
Also, PLEASE USE THE WIKI SO WE CAN STORE IDEAS GENERATED! Apologies for the caps - some people don't get it :) http://www.opensymphony.com:8668/space/WebWork and even http://www.opensymphony.com:8668/space/XWork+Roadmap If we put all the generated ideas on the Wiki (don't worry - add a new

Re: [OS-webwork] Rethink

2002-12-30 Thread Mike Cannon-Brookes
My favourite usecase is the show-edit-update-show usecase. Which means having the need to pass the primary key of the object updated to the action show which is the view of the Update action. Views.proptiers whould look like that: Show.success=show.xslt Update.success=Show.action I

Re: [OS-webwork] doValidation()

2002-12-15 Thread Mike Cannon-Brookes
Blake, No. doValidation should only be executed when not using any commands at all, before doExecute(). If you want to do validation on your commands, you will have to subclass ActionSupport (overriding execute()) or else build it into each command yourself. Cheers, Mike On 16/12/02 6:07 AM,

Re: [OS-webwork] Documentation

2002-12-12 Thread Mike Cannon-Brookes
Ken, You bring up a lot of interesting things here, I¹ll try to reply below (note: I¹m far from a documentation expert). Well, I've been looking at a bunch of technologies that we can use to build the documentation, but I'm not convinced that Maven will help us. Maven is an interesting

Re: [OS-webwork] Documentation

2002-12-12 Thread Mike Cannon-Brookes
my comments for what they are; a heartfelt plea from the webwork user/occasional contributor gallery. On Thursday, December 12, 2002, at 06:03 AM, Mike Cannon-Brookes wrote: Ken, You bring up a lot of interesting things here, I¹ll try to reply below (note: I¹m far from a documentation

Re: [OS-webwork] Documentation

2002-12-12 Thread Mike Cannon-Brookes
Ken, Just to clarify: 1) xdoc is good - it's simple and easy to use. 2) Adding 'bulk' to the build is fine, as long as it's still _simple_ to build (ie downloading a JAR from CVS that's just 'used to build docs' is no problem) 3) SiteMesh is used for the website presentation, not for the docs.

Re: [OS-webwork] Documentation

2002-12-10 Thread Mike Cannon-Brookes
make this work effectively. I look forward to spearheading these plans and I know they would help WebWork in many ways. Regards, Ken Egervari - Original Message - From: Mike Cannon-Brookes [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 09, 2002 11:34 PM Subject

Re: [OS-webwork] Documentation

2002-12-10 Thread Mike Cannon-Brookes
to these strengths as they have shown to be true time and again and this will be a key factor in helping WebWork create more success. Regards, Ken Egervari - Original Message - From: Mike Cannon-Brookes [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Sent: Tuesday, December 10

  1   2   >