Re: [Webwork-user] problem with running ActionSupport based classesoutside of webwork servlet container

2002-08-01 Thread Rickard
d there's a bunch of stuff there that needs to be made available to the action(if used for Portlet implementation). The user is one of those things. But this should only be done if the action is actually used as a portlet. So, the ActionContext stuff shouldn't be bloated unnecessarily.

Re: [Webwork-user] problem with running ActionSupport based classesoutside of webwork servlet container

2002-08-01 Thread Rickard
a really powerful thing, which will be great for many things (delegated searches come to mind). Add it :-) /Rickard -- Rickard Öberg Senselogic --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http:/

Re: [Webwork-user] problem with running ActionSupport based classesoutside of webwork servlet container

2002-08-01 Thread Rickard
e (instead of doing many applet/server calls). /Rickard -- Rickard Öberg Senselogic --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ Webwork-user

Re: [Webwork-devel] Re: [Webwork-user] WW integration

2002-07-17 Thread Rickard
ly more than 5 > messages a day to _both_ lists (and often cross posted!) :) > > My $0.02 - IMHO we see how it goes, and we can add another list later. I'd agree with the above. Keep it one for now, for both user and dev. /Rickard -- Rickard Öberg

Re: [Webwork-user] Why I like WebWork

2002-07-15 Thread Rickard
gt; become the defacto standard in the future. That is quite probable, sure. But I think there's enough room for more implementations than just AspectJ. /Rickard -- Rickard Öberg --- This sf.net email is sponsored by:ThinkGe

Re: [Webwork-user] Action doesn't execute every time

2002-07-14 Thread Rickard
ious data appears again (the action > doesn't executes). With only the limited info you gave above it is impossible to answer this. Your best bet is to add a lot of debug output, or use a real debugger to find out what's going on. WebWork does not cache actions, so tha

Re: [Webwork-user] OT: AOP toolkit, was Why I like WebWork

2002-07-13 Thread Rickard
vailable for purchase/demo. I'll probably also describe how we're using WebWork, as it seems we will be using it alot, both for applet/server comms and actual page rendering. /Rickard -- Rickard Öberg --- This sf.net email is sponsored

Re: [Webwork-user] OT: AOP toolkit, was Why I like WebWork

2002-07-12 Thread Rickard
mably you won't be opensourcing > this code? Nope, this is actually my first purely closed source project :-) Feels strange really. We might do a developer source license though, or at least an open API for plugins. /Rickard -- Rickard Öberg -

Re: [Webwork-user] Why I like WebWork

2002-07-12 Thread Rickard
it was possible to implement AOP using plain Java. That's about it I guess. /Rickard -- Rickard Öberg --- This sf.net email is sponsored by:ThinkGeek Gadgets, caffeine, t-shirts, fun stuff.

Re: [Webwork-user] OT: AOP toolkit, was Why I like WebWork

2002-07-12 Thread Rickard
nagement system). We'd like to test it in our own stuff first, to see if it can be used in a large system effectively. We think so, but need to try to actually know so :-) /Rickard -- Rickard Öberg ---

Re: [Webwork-user] "text" or "'text'" ?

2002-07-12 Thread Rickard
ifferent ways, etc.) > > Is there a rule? Perhaps I missed it in the documentation. 'text'="text" string. gives a constant value text=evaluate the text property This holds for all attributes except id, since that is an attribute that is gener

Re: [Webwork-user] Why I like WebWork

2002-07-10 Thread Rickard
ies. With JDK1.4 the overhead for that is so small that it's rather ok to apply it just about everywhere. And boy oh boy does it rock :-) It's so cool to have an object implement 10 interfaces but not have a single class implement more than 1... it's what code reus

Re: [Webwork-user] Why I like WebWork

2002-07-10 Thread Rickard
now (no, I'm not using AspectJ) and I never ever want to go back to plain old OOP again :-))) I just love the flexibility I get from being able to "tack on" new interfaces and call interceptors to objects without redesigning my

Re: [Webwork-user] Session (Map) contents.

2002-07-10 Thread Rickard
Toby Hede wrote: > The rules will still apply. > > I might be way off here, but it is my understanding that implementing the > SessionAware interface simply allows the ActionContext to pass in the > HTTPSession Map for access. That is precisely correct. /Rickard --

Re: [Webwork-user] Why I like WebWork

2002-07-10 Thread Rickard
one through the CD this becomes trivial to implement :-) Me like it. /Rickard ps. and instead of EJB we're using AOP which makes the app really ultracool, but that's another story.. -- Rickard Öberg --- This sf.net email is spon

Re: [Webwork-user] trying to understand factory chaining

2002-07-07 Thread Rickard
define your web.xml, cause .xml requests wont > handled by webwork default web.xml. No, the URL would be something like "foo.xml.action". /Rickard -- Rickard Öberg --- This sf.net email is sponsored by:ThinkGeek

[Webwork-user] Re: [Webwork-devel] Intergrate with OpenSymphony?

2002-07-01 Thread Rickard
ring 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

Re: [Webwork-user] Changing Themes

2002-05-17 Thread Rickard
e: > > title="Style"> > title="Style"> > > Is there any way of changing the theme name centrally (i.e. > webwork.properties file) instead of having to change all of my JSP pages as > well

Re: [Webwork-user] Method not starting with get

2002-05-16 Thread Rickard
ld work fine by just using the method name as is. I.e. if your method is "foo" then use "foo" as property name. /Rickard -- Rickard Öberg ___ Have big pipes? SourceForge.net is looking for download mirrors. W

Re: [Webwork-user] Method not starting with get

2002-05-16 Thread Rickard
Vaishakhi Ajmera wrote: > hello, > I wanted to know if my view can call only those methods from my actions > that start with a 'get' or not. Have you tried? /Rickard ___ Have big pipes? SourceForge.net is l

Re: [Webwork-user] JSTL Support

2002-05-16 Thread Rickard
WW valuestack. > > It's too bad JSTL doesn't provide a way to do this internally where you > could implement your own version of PageContent.findAttribute similar to > what you did for the Velocity implementation. Yeah, but the filter thingy should do the trick though. Not

Re: [Webwork-user] JSTL Support

2002-05-14 Thread Rickard
oads request.getAttribute() and delegates to the stack before doing the normal stuff. The semantics of that may get a little iffy, but at least it would provide super-trivial access to the WW valuestack. /Rickard -- Rickard Öberg __

Re: [Webwork-user] Problems w. paths/naming/something

2002-05-05 Thread Rickard
my views.prop's is generated > that way. In that case it doesn't really matter. Also, the above action package prefix will be ignored since XDoclet generates complete class names. /Rickard -- Rickard Öberg ___ Have big

Re: [Webwork-user] Re: [Webwork-devel] DRAFT 3 - next release features/requirements

2002-04-05 Thread Rickard
Philipp Meier wrote: > I would rather suggest to make the configuration XML-agnostic. Well, it already is, since it's pluggable. I was talking about a more XML-ish default. /Rickard -- Rickard Öberg ___ Webwork-user mailing lis

[Webwork-user] Re: [Webwork-devel] DRAFT 3 - next release features/requirements

2002-04-05 Thread Rickard
od idea. Not sure though, since XML would make it much much more verbose. /Rickard -- Rickard Öberg ___ Webwork-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webwork-user

Re: [Webwork-devel] Re: [Webwork-user] revised - next release features/requirements

2002-04-04 Thread Rickard
; need some XSLT java extension for URL-escaping and so on. I don't know > if I'll have the time but I don't want to give up the XSLT thingy. So > is their anybody except me using it? Huh? It's tough at the top you know ;-) /Rickard -- Rickard Öberg ___

Re: [Webwork-user] Good Design for Utility Actions

2002-04-04 Thread Rickard
my > actions.xml and webwork:url tags to make this happen I would be > grateful. > > What do people see as the best way to approach this sort of problem ? > Are there better options I have missed ? I usually do 2 (as suggested in the docs,

Re: [Webwork-user] how to use property value in jsp code

2002-04-03 Thread Rickard
s = request.getAttribute("myProperty"); %> or simply: <% String s = (String)ValueStack.getStack(request).findValue("myProperty"); %> without the tag stuff. /Rickard -- Rickard Öberg ___ Webwork-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webwork-user

Re: [Webwork-devel] Re: [Webwork-user] revised - next release features/requirements

2002-04-03 Thread Rickard
le have been asking for, but we haven't been able to figure out a good way to describe these chains and how parameters should be transferred. /Rickard -- Rickard Öberg ___ Webwork-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webwork-user

Re: [Webwork-devel] Re: [Webwork-user] revised - next release features/requirements

2002-04-03 Thread Rickard
the box with the current ClientServletDispatcher, but that needs to be tested. /Rickard -- Rickard Öberg ___ Webwork-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webwork-user

Re: [Webwork-user] URL's

2002-04-03 Thread Rickard
Grobe, Gary wrote: > Do you mean where I currently have the following in my properties file ... > forms.InitFieldForm.done.success=overviews.jsp > > that I should use ... > forms.InitFieldForm.done.success=redirect.action?url=overviews.jsp Have you tried it? /Rickard --

[Webwork-user] Re: [Webwork-devel] CommandDriven behavior and enhancement

2002-04-03 Thread Rickard
his has to do with the more complicated problem of chaining actions, which is something that needs to be dealt with soon, agreed. /Rickard -- Rickard Öberg ___ Webwork-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webwork-user

[Webwork-user] Re: [Webwork-devel] CommandDriven behavior and enhancement

2002-04-03 Thread Rickard
uncommon). If you *need* the same form to go to different commands on submit then that can be accomplished using JavaScript to modify the value of the hidden "command" field. /Rickard -- Rickard Öberg ___ Webwork-use

Re: [Webwork-user] webwork and jdk1.4

2002-04-03 Thread Rickard
sec) > Average time: 1,331 (0 min:1 sec) > Mean time: 1,362 (0 min:1 sec) > Fastest time: 837 (0 min:0 sec) > Slowest time: 1,886 (0 min:1 sec) Whoa, that was not very nice. And if you remove component tag uses the times drop? /Rickard -- Rickard Öberg __

Re: [Webwork-user] how to use property value in jsp code

2002-04-02 Thread Rickard
That is one way of doing it. You can do it the way I showed too. /Rickard -- Rickard Öberg ___ Webwork-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webwork-user

Re: [Webwork-user] webwork and jdk1.4

2002-04-02 Thread Rickard
27;t understand how it's possible this degradation in > speed. > > I'm missing something? It would be good if you could do a profile of where the time is actually spent. I.e. is this really a WebWork problem? /Rickard -- Rickard Öberg ___ Webwork-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webwork-user

Re: [Webwork-user] URL's

2002-04-02 Thread Rickard
G.L. Grobe wrote: > Now that I'm back on this prob, can someone clarify the below solution for > me as I don't understand it. Not sure I can be more clear... what part of it don't you understand? /Rickard > > - Original Message - > From: "Ric

Re: [Webwork-user] how to use property value in jsp code

2002-04-02 Thread Rickard
al since you're not really considering using scriptlets... are you...?? /Rickard -- Rickard Öberg ___ Webwork-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webwork-user

Re: [Webwork-user] exceptions & webwork epressions

2002-04-02 Thread Rickard
that can result in an error state, then it is advisable that you use the Model-2 approach and not Model-1. I.e. do not use the action tag, but instead do an include of the action. That way you can delegate to an error page if an exception occurs. /Rickard -- Rickard Öberg

Re: [Webwork-user] Access the ResourceBundles in ValidationEditorSupport subclasses

2002-04-02 Thread Rickard
an.PropertyEditor's. /Rickard -- Rickard Öberg ___ Webwork-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webwork-user

Re: [Webwork-user] Adding values to default context

2002-04-02 Thread Rickard
art of the webwork taglib. I think the easiest way is to create a servlet filter for .vm's that simply add whatever you want to the request. /Rickard -- Rickard Öberg ___ Webwork-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webwork-user

Re: [Webwork-user] UI tags thoughts

2002-04-02 Thread Rickard
ow i would like to be able to do this, i > haven't really thinked it over but this approach would give my designers > the flexibility they need and it would be easy to use for them. Why don't you want to use the template way? Your proposal seems to introduce a lot of extra work

Re: [Webwork-user] i18n usage question

2002-04-02 Thread Rickard
cause it to be on the stack without executing doExecute(). /Rickard -- Rickard Öberg ___ Webwork-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webwork-user

Re: [Webwork-user] Tag Reference Documentation

2002-03-23 Thread Rickard
system to include it, but since I'm on a modem and just about to leave for J1 I can't make a new binary. Matt should be able to do it though. Sorry for the screwup. There's always something like this when you think "ok, *now* we're done" :-) /Rickard -- Rickar

Re: AW: AW: [Webwork-user] CSS "style" tag support

2002-03-22 Thread Rickard
s a side effect, this would increase > the html result more than necessary (need additional divs and CSS class > definition) . Somehow in the bigger scheme of things I don't see that as a huge obstacle :-) But maybe that's just me... /Rickard -- Rickard Öberg Author of

Re: AW: [Webwork-user] CSS "style" tag support

2002-03-22 Thread Rickard
m, and without having to change anything in WebWork. Good enough? /Rickard -- Rickard Öberg Author of "Mastering RMI" Chief Architect, TheServerSide.com The Middleware Company - We Build Experts! ___ Webwork-user mailing list [E

Re: [Webwork-user] CSS "style" tag support

2002-03-22 Thread Rickard
m.. the labels use specific CSS classes that you can use. Is that what you're after? /Rickard -- Rickard Öberg Author of "Mastering RMI" Chief Architect, TheServerSide.com The Middleware Company - We Build Experts! ___ Webwork

Re: [Webwork-user] 1.0 release contains source but no build files

2002-03-22 Thread Rickard
Taavi Tiirik wrote: > I am afraid this is cvs faq... but can you please tell me how to get > webwork 1.0 from cvs. I do not want to get any modifications > that are added after release of 1.0. I just added a CVS tag "release_1_0" which you can specify when checking o

Re: [Webwork-user] hi

2002-03-22 Thread Rickard
There's an index.html file that you should point your browser to. If there's not then you might want to download the latest version, since 1.0 was released just now. /Rickard -- Rickard Öberg Author of "Mastering RMI" Chief Architect,

Re: [Webwork-user] Using Value Objects with WebWork

2002-03-22 Thread Rickard
me class there's not an explosion of classes, which is a common risk with using the command pattern. That's the gist of it anyway. /Rickard -- Rickard Öberg Author of "Mastering RMI" Chief Architect, TheServerSide.com The Middleware Company - We Build Exper

Re: [Webwork-user] 1.0 released!

2002-03-21 Thread Rickard
Matt Baldree wrote: > Well, WW 1.0 is out the door. Many thanks go out to everyone involved > especially Rickard and Maurice. The only thing left now is for Rickard to > announce WW to the world. You bet. So, what's the laundry list? I can think of: * TSS * JavaLobby * EJB-

Re: [Webwork-user] tag enchantment

2002-03-21 Thread Rickard
Matt Baldree wrote: > Rickard, are you going to release? Sure, I can do that almost now. Unfortunately I'm in the middle of a massive CVS update on another project and since I'm currently a modem looser it takes awhile... as soon as it's done I'll commit my very las

Re: [Webwork-user] tag enchantment

2002-03-21 Thread Rickard
deal with myself (but need to). Are there any occasions where it is *not* necessary to escape the output? I.e. should we always do it? /Rickard -- Rickard Öberg Author of "Mastering RMI" Chief Architect, TheServerSide.com The Middleware Company - We Build Experts! _

Re: [Webwork-user] webwork && sitemesh: help with valuestack needed

2002-03-18 Thread Rickard
can do is to (in your page) bind it to a request attribute: and then access that in your decorator: ... /Rickard ps. Yes, WW+SiteMesh kicks some serious a** :-))) -- Rickard Öberg Author of "Mastering RMI" Chief Architect, TheServerSide.com The Middleware Company

Re: [Webwork-user] Using Value Objects with WebWork

2002-03-18 Thread Rickard
ons on how to best design our app. We're > calling the Business Layer through a Session Facade, which returns us > Value Objects. Well, the above should work just fine. I'm using it with great success, although (as noted) I use the command pattern instead of session facade/value ob

Re: [Webwork-user] global views in views.properties

2002-03-15 Thread Rickard
ommonview.jsp > > action2=Action2 > action2.success=action2.jsp > action2.commonview=commonview.jsp > > I am sure there is a trivial way of doing it without having to define common > view for every action. Add this: commonview=commonview.jsp /Rickard _

Re: AW: [Webwork-user] ActionContext refactoring

2002-03-12 Thread Rickard
d().getContextClassLoader() as the "switch" (but of course at some point the underlying implementation of currentThread() using something like a "threadlocal"). regards, Rickard ps. A little confession: those with good memory will remember my fierce opposition to the "jav

Re: AW: [Webwork-user] ActionContext refactoring

2002-03-12 Thread Rickard
of the static method access by introducing the "java:comp/env" namespace in JNDI (which effectively is the same as a static method). It worked there, so why not here? /Rickard -- Rickard Öberg Author of "Mastering RMI" Chief Architect, TheServerSide.com The Middleware Company -

Re: [Webwork-user] ActionContext refactoring

2002-03-12 Thread Rickard
ake sure we don't oversee the > arguments you had before. Hm.. I wonder what they were... if I can't remember, maybe they weren't that good 8-) Unfortunately the mailing list archives aren't searchable, and I don't have the old emails anymore. If anyone can dig

[Webwork-user] ActionContext refactoring

2002-03-12 Thread Rickard
faces they implement). /Rickard -- Rickard Öberg Author of "Mastering RMI" Chief Architect, TheServerSide.com The Middleware Company - We Build Experts! ___ Webwork-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webwork-user

[Webwork-user] New standard action

2002-03-11 Thread Rickard
invoked the action. Hence, one can now simply set "referer.action" as result of actions who modify the state of a page and does not have result data that should be shown (other than showing the initial page, but with updated contents). /Rickard -- Rickard Öberg Author of "Maste

Re: [Webwork-user] URL's

2002-03-09 Thread Rickard
etUrl(), execute(). Probably easiest. /Rickard -- Rickard Öberg Author of "Mastering RMI" Chief Architect, TheServerSide.com The Middleware Company - We Build Experts! ___ Webwork-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webwork-user

Re: [Webwork-user] URL's

2002-03-07 Thread Rickard
ge refreshes, it's not only refreshed > itself, but it's still execing the URL also. > > Anyone know how to handle this? Can you do a redirect to the view? I.e. set "redirect.action?url=..." as view. That's what I do when I want to allow users to do refresh in br

Re: [Webwork-user] redirect view at runtime

2002-03-05 Thread Rickard
Taavi Tiirik wrote: >>It is possible to do this without using the session, and also by only >>using the standard redirect action as the result of your Login code >>(which you can also do as an action). >> >> >>I've done this in TSS and it works very we

Re: [Webwork-user] is this coming from the ServletDispatcher

2002-03-04 Thread Rickard
y, then the following gets > dumped. Why do you think this has to do with the SD? The trace implies that it's a JSP bean tag use that crashes. My guess would be that you forgot to add '' around the param name, so it tries to resolve it as a property name which yields n

Re: [Webwork-user] redirect view at runtime

2002-03-04 Thread Rickard
t > begin with > '/' when forwarding to another page. It is possible to do this without using the session, and also by only using the standard redirect action as the result of your Login code (which you can also do as an action). I've done this in TSS and it works very

Re: [Webwork-user] redirect view at runtime

2002-03-04 Thread Rickard
issue since a user can tweak the URI to get to data which should usually not be possible. Not good. /Rickard -- Rickard Öberg Chief Architect, TheServerSide.com The Middleware Company ___ Webwork-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webwork-user

Re: [Webwork-user] redirect view at runtime

2002-03-04 Thread Rickard
thin > the Action API? I do exactly this by using the standard Redirect action, in combination with a servlet filter that does the login check and shows the login form. Works very well. /Rickard -- Rickard Öberg Chief Architect, TheServerS

Re: [Webwork-user] CVS

2002-03-04 Thread Rickard
Matt Baldree wrote: > The latest code in CVS is up and running and all tests should work. Please > feel free to check it out and test it. I believe the only thing left before > 1.0 release is a couple of sections (HVAC and Action) in the docs and > Rickard to push the button. If

Re: [Webwork-user] Memory issues

2002-02-01 Thread Rickard
actions, since that should not be needed with modern VM's. Can you create a minimal test-case? Can you avoid other possible causes (e.g. incorrectly used JDBC connections etc.)? /Rickard -- Rickard Öberg Author of "Mastering RMI" Chief Architect, TheServerSide.com The

Re: [Webwork-user] command driven actions

2002-02-01 Thread Rickard
ve no use for this or > find that reinventing the wheel is much better, that's ok :) It sounds very interesting. Go ahead and add it to WW CVS under webwork.formproc package. /Rickard -- Rickard Öberg Author of "Mastering RMI" Chief

Re: [Webwork-user] command driven actions

2002-01-31 Thread Rickard
setA(b); action1.execute(); Action2 action2 = (Action2)ActionFactory.getAction(Action2.class); action2.setFoo(bar); action2.execute(); ... That's the code manifestation of the above statement :-) You'll probably want to do different things depending on the result of the execute()s thou

Re: [Webwork-user] command driven actions

2002-01-31 Thread Rickard
to retirve >>> parameters manually and calling doValidate from my doXxx command >>> implementation. > > I have recently done integration with formproc. Amazingly it's just one > class and requires no changes to WW. I'll commit tonight if you guys > like t

Re: [Webwork-user] command driven actions

2002-01-31 Thread Rickard
ow have "isCommand()" it should be possible to do validation selectively. So, no, not that I can think of. /Rickard ___ Webwork-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webwork-user

Re: [Webwork-user] command driven actions

2002-01-31 Thread Rickard
aving each action delegate explicitly to the next action. I would prefer the second option if possible. /Rickard -- Rickard Öberg Author of "Mastering RMI" Chief Architect, TheServerSide.com The Middleware Company - We Build Experts! __