I thought I'd throw in my 2 cents worth on this workflow issue in relation
to Maverick. I have developed a fairly large application under Maverick
and have found the maverick.xml file to have grow somewhat unwieldy. I
think that with some sort of abstractions added to the maverick.xml
featur
ssing one. I'm
just suggesting that each controller has n different exit paths, and
ensuring a one-to-one mapping is error-prone.
I'll look forward to your workflow system,
Dan
At 01:41 PM 7/22/02 -0400, you wrote:
>From: "Dan Finkelstein" <[EMAIL PROTECTED]>
> &g
Aapo,
Thanks for this fix to discard(). I'm the developer that originally
encouraged Jeff to add in this feature. I'm really glad you found this
leak -- The fix has also proved really important in the application I'm
working on to "clean up" -- I was also running out of resources without this
Hi --
I'm interested in being able to specify a maverick.xml file that is located
outside the war file. Right now, it is pulled from within the war and I
want to specify a different one "on-the-fly" so to speak. For example, is
there a call that I could make, like
Maverick.iniitalize(maveric
gt; I'm really not entirely certain what you can get away with - try putting
> <file://path/to/wherever.xml> in there.
>
> If that doesn't work, perhaps we should add code to fallback to
> Class.getResource() if ServletContext.getResource() fails? Dan, if you
> want t
t; <file://path/to/wherever.xml> in there.
>
> If that doesn't work, perhaps we should add code to fallback to
> Class.getResource() if ServletContext.getResource() fails? Dan, if you
> want to test this out, Dispatcher.loadConfigDocument() is trivial to
> modify. I
se treat it as something to look up using getResource().
That seems to cover the two requirements. Is there a better way to identify absolute URLs than checking for a :?
Jeff
-Original Message-
From: Dan Finkelstein [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 04, 2003
anything about it until Monday, but I'll get this into CVS soon.
Jeff
-Original Message-
From: Dan Finkelstein [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 05, 2003 4:23 PM
To: [EMAIL PROTECTED]
Subject: RE: [Mav-user] Specifying external maverick.xml
Hi Jeff,
Correct -- tho
I'll second that (or third it!).
Maverick is an elegant piece of work and it is a pleasure to be associated
with -- you've created a great system and put in a great effort for all of
us which is most appreciated.
Dan
At 12:18 AM 2/14/2003 +0100, you wrote:
Ya man, now worries!
If you'd only k
Jeff,
The new feature of specifying an external-to-war mav.xml file works
great. My dream of separation of engine (war) and content is one step
closer to reality!! The strength of a war is that everything can be
bundled together, but in an application where you want to have one engine
with m
Hi --
I know this is a really dumb question, esp considering that I've been using
and relying on Maverick for over 1 1/2 years, but here goes anyway...
Maverick transforms my Velocity templates (the .vm files) and these are
displayed without any problem. What I want to do is, in one particular
SVG content was coming instead of html.
> Below
> is the first line of my velocity template:
>
> $response.setContentType("image/svg+xml")
> the rest of my SVG document...
>
> /johan
> - Original Message -
> From: "Dan Finkelstein" <[E
Hi --
I think upgrading the jdom library is a good idea -- keeping up-to-date
with libraries is a worthy goal. Velocity 1.4 has a dependency on the
older jdom as well. This means that us Mav/Velocity users must
simultaneously upgrade Velocity to an as of yet unreleased Velocity 1.5.
-- Dan
At
Hi --
I am just trying to add some internalization support to my Maverick
application, which has been running flawlessly for years (!), and I ran
into a problem. What seems to happen is that the page that is to be
inserted into $wrapper goes through some undesired transformation.
I have configu
here's what I use... I hope this helps,
Dan
/**
* retrieve the maverick command
*/
public String getCommand()
{
// - this technique was taken from Maverick's
Dispatcher.extractCommandName()
HttpServletRequest req = getCtx().getRequest();
String pa
Hi Peter,
I had the same problem last summer and made two modifications to
Maverick. My app must be able to adjust to any charset based on
locale. I'm pasting in the changes I made below. If someone can
commit them to the maverick source that would be even
better!! Anyway, let me know how
is is because we're lazy
(and by "we" I mean "I"), and partly this is an experiment in
applying limited wiki concepts to source code.
Dan, want access?
Jeff
Dan Finkelstein wrote:
Hi Peter,
I had the same problem last summer and made two modifications to
Maverick.
Hi --
I'm using 2.0 beta 1. When you're writing the doc for 2.0, the problems
I've been having might be useful to document.
1. On loading, I get errors that log4j isn't properly configured. I added
a log4j initialization call in Dispatcher.init() and that seemed to do the
trick. (I greppe
uff like this. Of
course, then the question is how does the app find maverick.properties -- I
suppose JNDI might have to be used and then the property is set in the
servlet.xml file.
If you'd like any help proof-reading the manual, shoot me a copy. :)
Thanks a lot,
Dan
At 05:12 AM
be to have a skins folder inside the web app where you could
>drop additional skins.
>
>- Original Message -
>From: "Dan Finkelstein" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Wednesday, February 06, 2002 5:02 PM
>Subject: [Mav-user] 2.0 I
Gosh... I didn't realize I was so unclear. I'm sorry. Let me try
again. Also, with some of Jim's comments, I think I now understand _my_
problem more clearly.
My problem is really a packaging issue, that is, in what form do I supply
the underlying technology to a customer. I will be sellin
Hi --
I have a number of "admin-type" screens that I'm putting together which
first display a page with a form to specify what to display. Then the
results are displayed on the next page.
My question is: what's the "recommended" way to do this with
Maverick? I've been scratching my head on
gt;the admin screen would be able to accept everything.
>
>What templating technology are you using? This is quite easy in XSL and
>Velocity, considerably less so in JSP without the proper tag libraries.
>
>Jeff
>
> > -Original Message-
> > From: Dan Finkelstein [ma
I like your idea -- using Mav to process the correct html page: query or
report. I changed my code to that way and it's much cleaner. Thanks!
Dan
At 10:23 PM 2/12/02 -0800, you wrote:
> > From: Dan Finkelstein [mailto:[EMAIL PROTECTED]]
> >
> > Thanks for your app
Hi --
I'm trying to see why my velocity logs aren't showing up where I expect
them to. I have a velocity.properties file, which I have located in the
WEB-INF directory. Also, in web.xml, I have the init lines for the dispatcher:
velocityProperties
WEB
ative" Velocity views. It's just convenient to
>piggyback on the Struts integration effort and use our "document" view
>and transform types.
>
>Jeff Schnitzer
>[EMAIL PROTECTED]
>
> > -Original Message-
> > From: Dan Finkelstein [mailto:[EMA
e
and now with velocity initialization.
Take care,
Dan
At 11:54 AM 2/14/02 -0800, Jeff Schnitzer wrote:
> > From: Dan Finkelstein [mailto:[EMAIL PROTECTED]]
> >
> > Hi -- this really helped. Ok, now I understand how the Velocity
> > initialization occurs. It appears
Just a little feedback... I'm now on 2.0rc and am not having any
problems Great work!!
One question though: In my controller objects, I would like to be notified
when an instance is about to be deleted. I'd like to use this opportunity
to "clean-up", in this case closing a database conne
nd the old is being
>discarded?
>
>Jeff Schnitzer
>[EMAIL PROTECTED]
>
> > -Original Message-
> > From: Dan Finkelstein [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, March 14, 2002 9:35 PM
> > To: [EMAIL PROTECTED]
> > Subject: [Mav-user] 2.0rc works
Sound good?
>
>BTW, if I'm slow to respond to mail, it's because I just started a short
>contract at Maxis doing WebLogic development and they're keeping me
>occupied. That, and I'm still couch-surfing, so I'm either busy or
>don't have a stable net conn
retty neat. It's way more fun than the Yet Another Business
>Application companies I have worked for in the past, but I get the
>feeling that it's been "corporatized" quite a bit in the last few years.
>Oh well :-) Hey, whatever happened to Berkeley Systems?
>
>
I notice that there are a few methods in Maverick for attaching error
messages to fields, such as addError(). These are certainly very useful,
_although_ I am now realizing why you have (wisely) chosen to not include
them in the core distribution of maverick. It must be because the messages
Hi --
I'm trying to integrate the dvsl feature into my existing maverick
app. I'm able to get it to build and process with out errors, but oddly
enough, I see the output page in either of two ways:
1. It might have, as
text, the correctly processed output. Also, the text doesn't include the
supported for the most "natural
transformations", it would just fit into the current design. If it seems
easy, can you point me to where in the source to focus for modifying?
Anyway, thanks again, I really am having a good time with Maverick.
Dan
At 10:37 PM 4/8/02 -0700, Jeff Schnitzer
I used Torque on a project last year, and wouldn't select it
again. Although it basically solved the problems I had, it didn't have an
API that was intuitive, it was fairly complex and hard to master. Of
course, as with many OS projects, on-line help was wonderful. Also, it
doesn't free you
I've been struggling with the tag. It seems that no matter what I
do, I don't see any effect on my pages.
I put something like
or Hi
and then
$which or $model.which
on my page.
I've tried making a child of any tag that's there, including
, and , but to no avail. I see
t;Maverick will look for a corresponding setter for the
>param just like it would for a URL or POST parameter.
>If you provide the getter for it (as above), you can
>access it from your JSP's just like you want
>($model.which).
>
>HTH,
>Ryan
>
>--- Dan Finkelstein &
Hi --
I would like to design the UI of an input process, so that the user is
presented with two screens (instead of just one), each which would ask for
some of the necessary parameters.
What I would really like to be able to write the code is such a way that
only the view has to be modified,
the advantages of transforms, shunting,
>etc.
>
>Jeff Schnitzer
>[EMAIL PROTECTED]
>
> > -Original Message-
> > From: Dan Finkelstein [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, April 15, 2002 2:00 PM
> > To: maverick
> > Subject: [Mav-user] Can
ly needs to be documented before that happens, but it is pretty good.
Dan
At 05:03 PM 3/29/02 -0800, Dan Finkelstein wrote:
>I notice that there are a few methods in Maverick for attaching error
>messages to fields, such as addError(). These are certainly very useful,
>_although_ I am
Regarding the concern for too many changes or compatibility issues, I have
two comments:
1. The install base of Mav users seems small at this time which talks to
the size of the impact.
2. All you're suggesting is a slightly revised mav.xml file -- All this
means to me is a few minutes typi
would not be secure? Usually I find it a lot
>more
> > >convenient to have a ControllerProtected base class which secures
> > >things, and a different base class which does not. It doesn't seem
>like
> > >the kind of thing that changes so often that it needs to be
>
I'm not sure this is of particular interest, but since Resin was mentioned,
I thought I'd speak up. I just ported our app from Tomcat to Resin. There
were very few issues, and of those few, none were related to Maverick. It
was all fairly straightforward. It basically works the same as befo
43 matches
Mail list logo