Re: Performance issue

2009-01-06 Thread stanlick
This test sounds about as straightforward as parallel parking a freight train on a one lane road.

expression type validator and getText()

2009-01-09 Thread stanlick
I need to fetch a locale specific string for an evaluation and cannot get the syntax worked out: !title.toUpperCase().equals( getText("titleMatch") ) Should this work? I also tried: !title.toUpperCase().eq

Re: Upgrading Struts from 1 to 2.0.14

2009-01-15 Thread stanlick
Wes Obama -- You will make a fine Struts Czar once your publication is released. Please consider me for a cabinet position -- Newton can be my driver. Peace, Scott Struts 1 is well-supported, and saw a new release just about a month ago. So, it is supported and maintained. Struts 2 is a rew

Re: Stuts2 field validation problems

2009-01-16 Thread stanlick
Beware that if you remove the conversionError from your stack, whatever value was typed (that could not be converted) will *not* be represented when the screen is redisplayed. Dave's right about the message, but I have overridden the default message with the one below and it is a little more mean

Re: Struts 2 session problem

2009-01-19 Thread stanlick
I think you can get the unique "handle" to either a tab or new window created with Ctrl-N via the DOM. I remember trying this back when tabs came onto the scene. With that key you could use a Map in session to correlate the conversations. Peace, Scott On Sun, Jan 18, 2009 at 11:32 PM, dusty wr

Re: [S2] s:action in value stack?

2009-01-20 Thread stanlick
I would be careful about placing action execution logic in your view. This is really not the place to be making navigation decisions. On Mon, Jan 19, 2009 at 9:05 PM, dusty wrote: > > I have not researched this butthe way I understand it the action is > executed and its result evaluated a

Re: how to redirect from prepare() method in struts 2

2009-01-24 Thread stanlick
Wes is right Dave... if the guy wants to buy a book, who are we to discourage it? Your demand will not be affected in the least! Also, I would like to give a shout out to the upcoming Struts 2 in Practice book. I have been reviewing it, and it absolutely rocks! Of course my boy Wes learned ever

Re: how to redirect from prepare() method in struts 2

2009-01-24 Thread stanlick
Can I ask a personal question Dave? Does this have anything to do with your illiteracy? :) P.S. And why are you not finishing your leather bound volume? I already said I would pay in advance! On Sat, Jan 24, 2009 at 3:28 PM, Dave Newton wrote: > The guy specifically said he wasn't psyched abo

Maven and Struts 2 Stack

2009-01-30 Thread stanlick
Greetings -- I am SO DONE with mucking around in dependencies that I am about to scream! Until recently, I thought "real developers" were in control of jars and the classpath, but as another year passes me by, I'm starting to rethink this whole deal. I installed the Maven 2 plug-in for Eclipse

Re: Maven and Struts 2 Stack

2009-01-31 Thread stanlick
2.0.6 > >>> > >>> > >>> org.apache.struts > >>>struts2-spring-plugin > >>>2.0.6 > >>> > >>> &

Re: Maven and Struts 2 Stack

2009-01-31 Thread stanlick
Thanks Dave -- I am looking for a "seed" POM like the one you describe. Does it contain gray poupon by chance? Scott On Fri, Jan 30, 2009 at 11:53 AM, Dave Newton wrote: > stanlick wrote: > >> I am SO DONE with mucking around in dependencies that I am about to >&g

2.1.6 mystery

2009-02-10 Thread stanlick
I just upgraded a website from 2.1.2 to 2.1.6. and something must have changed with respect to this style of action invocation because my site is broken! About My wild card action mapping cms-* expects to get the action name (i.e. cms-topstories) and now the followin

Re: 2.1.6 mystery

2009-02-10 Thread stanlick
Does anyone have a clue why is working differently between 2.1.2 and 2.1.6? I have looked many places and cannot see the usage pointed out anywhere. Is thisthe only hot sheet for differences? I'd rather not roll back if it's only a s

Re: 2.1.6 mystery

2009-02-10 Thread stanlick
Hey brother -- Actually, I believe the problem is with the action call itself When this action is invoked, my CmsAction identifies the appropriate action name using getContext().getActionInvocation().getInvocationContext().getName(); which is now ALWAYS returning the name that was associated

Re: 2.1.6 mystery

2009-02-10 Thread stanlick
Thanks Musachy -- I really appreciate you pointing this out. I will review the changes to see if it would be cheaper to roll back to 2.1.2. This sort of change that breaks an application is troubling. Peace, Scott On Tue, Feb 10, 2009 at 1:54 PM, Musachy Barroso wrote: > I would say that th

Re: Struts2.1.6 & Tiles 2.1

2009-02-11 Thread stanlick
Thanks Antonio -- I'll give it a spin. Peace, Scott On Wed, Feb 11, 2009 at 2:42 AM, Antonio Petrelli < antonio.petre...@gmail.com> wrote: > 2009/2/10 Jaarthy : > > > >org.apache.struts2.tiles.StrutsTilesListener > > > > Currently StrutsTilesListener does not work with T

Re: Struts2: change method to invoke on the fly??

2009-02-13 Thread stanlick
I'm not real sure what you have in mind here, but this works very nicely: ... request for www.//blah-fred fires the fred() method and request for www.//blah-barney fires the barney method Peace, Scott On Fri, Feb 13, 2009 at 10:40 AM, Daniel Ruan wrote: > Is it p

[OT] POM, licenses and dependency trees

2009-03-03 Thread stanlick
How does a company go about fleshing out the aspects of FOSS without wasting so many people's time? As FOSS gains in popularity, we are sinking in a quagmire of manual research, analysis and legal license inspections. It seems the FOSSology product will unpack compressed files and sniff around fo

Re: [OT] POM, licenses and dependency trees

2009-03-03 Thread stanlick
Well, since necessity is the mother of all invention and I have been asked for a magic bullet that poops out a stack of licenses, I am becoming more creative. Consider the following simple dependency: org.apache.struts struts2-core 2.1.6 I am running mvn depende

Re: [OT] POM, licenses and dependency trees

2009-03-03 Thread stanlick
all when I run dependency:resolve. Musachy Barroso wrote: > > well, for core, that should be it. > > On Tue, Mar 3, 2009 at 2:57 PM, stanlick wrote: >> >> Well, since necessity is the mother of all invention and I have been >> asked >> for a magic bullet tha

Re: [OT] POM, licenses and dependency trees

2009-03-03 Thread stanlick
Ideally, I will give the script the three key Maven elements and it will cache out a tree. Peace, Scott Wes Wannemacher wrote: > > On Tuesday 03 March 2009 15:40:43 stanlick wrote: >> If you look at the POM for Struts 2.1.6 there are many more dependencies >> than what show up r

Re: [OT] POM, licenses and dependency trees

2009-03-05 Thread stanlick
roduce the comprehensive tree? Peace, Scott Wes Wannemacher wrote: > > On Tue, Mar 3, 2009 at 11:20 PM, stanlick wrote: >> >> Java != C? >> >> I realize the strength and duration of dependencies varies, and I >> understand >> the issues concerning use vs. redis

Re: Required field only works with text fields?

2009-03-13 Thread stanlick
The required attribute only paints the asterisk -- it has nothing to do with actually "requiring" input. Nice huh? Peace, Scott On Fri, Mar 13, 2009 at 4:14 PM, Griffith, Michael * < michael.griff...@fda.hhs.gov> wrote: > Hi all, > > I just noticed that the only required field validations that

Jetty 6.x vs Tomcat 6.x

2009-03-18 Thread stanlick
Guys -- I have a loaded (Hibernate, Spring, Tiles) S2.1.6 application running on TC 6 and I want to speed up the development cycle. I have exhausted the trials to get TC 6.x to dynamically reload modified class changes and have reached the point where I have installed Jetty 6.x. My application

Re: Jetty 6.x vs Tomcat 6.x

2009-03-19 Thread stanlick
and it works fine, showcase at least, > > what is the problem you are having? > > > > musachy > > > > On Wed, Mar 18, 2009 at 8:00 PM, stanlick wrote: > >> > >> Guys -- > >> > >> I have a loaded (Hibernate, Spring, Tiles) S2.1.6 appl

Re: Jetty 6.x vs Tomcat 6.x

2009-03-19 Thread stanlick
n Thu, Mar 19, 2009 at 2:11 PM, Musachy Barroso > >> wrote: > >> > I always test stuff on jetty and it works fine, showcase at least, > >> > what is the problem you are having? > >> > > >> > musachy > >> > > >> > On W

Re: Jetty 6.x vs Tomcat 6.x

2009-03-20 Thread stanlick
Yeah, as it turns out, this was the culprit. Jetty 6.x had issues with the conditionality where TC 6.x did not.

v2.1.6 -- s:url and s:param

2009-03-30 Thread stanlick
Can someone throw me a clue as to why is converting the String returned from getChd() from this ===> t:60,40 to this ===> t%3A60%2C40 I have funked around with encode on the enclosing and cannot get the literal data inserted into the URL! P.S. I'm freak'n out man Peace, Scott -- View

Re: Creating a grid component in Struts 2

2009-04-03 Thread stanlick
Take a look at the DisplayTag control. It kicks bootie. Peace, Scott On Fri, Apr 3, 2009 at 2:58 AM, Manoj Dhore wrote: > Hi, > > > > Is there anyway to create a grid control in Struts 2 or any default > implementation of grid layout. > > > > Thanks in ad

2.1.6 ActionContext change?

2009-04-16 Thread stanlick
I just received notice that the ActionContext now throws NoSuchMethodError from this interceptor. I am advising to use HttpServletRequest request = ServletActionContext.getRequest (); however, I am surprised to learn about this break. private void dropCrumb(ActionInvocation invocation) {

Re: How share information in a struts application

2009-04-18 Thread stanlick
Hey bro -- Have you read anything about Struts 2 or are you just trying stuff? The form bean is gone and the action is now the action-model. If you have accessible setters on your action-model, OGNL will graph those data onto your action-model. I would recommend a quick Google search for tuoria

Re: How to do matematical operation in jsp.

2009-04-21 Thread stanlick
Nice reference Wes! BTW, I noticed you are not using the new cover letter for the TPS reports, so I'm going to have to go ahead and ask you to read that memo one more time. Peace, the Bob's On Tue, Apr 21, 2009 at 11:11 AM, Wes Wannemacher wrote: > [snip] > > > > OTOH, siphoning the $.

Struts 2 UI Tags and OGNL self reference

2009-05-07 Thread stanlick
Sorry about that subject line, but I couldn't think of anything simpler. Besides, this should cover about all the searches! I am looking to pass a "this" reference into an OGNL expressions as follows: Apparently this is not quite the right syntax though. I have tried a few combinations and

Re: Struts 2 UI Tags and OGNL self reference

2009-05-08 Thread stanlick
Actually, what I am trying to accomplish is to pass/receive the Component bean instance representing this tag as an argument to the OGNL expression. I am working with the component stack and would like to have this reference. Scott stanlick wrote: > > Sorry about that subject line,

Re: Struts 2 UI Tags and OGNL self reference

2009-05-08 Thread stanlick
ooking for a > reference to the tag itself? If so, why do you need it (I'm not sure > it's possible at all)? If you're just looking for the current action, > the expression 'top' might be what you're looking for. > > Nils-H > > On Thu, May 7,

Re: xml validation

2009-05-15 Thread stanlick
I use this successfully. credential.passwordRepeat.toUpperCase().equals(credential.password.toUpperCase()) On Thu, May 14, 2009 at 2:11 PM, Dave Newton wrote: > manub wrote: > >> - I'm not able to perform an equality check on two p

Re: Preload of database data?

2009-05-21 Thread stanlick
You can prepare data by implemeting Preparable in your action On Tue, May 19, 2009 at 4:48 PM, Christian Benjamin Ries < christian_benjamin.r...@fh-bielefeld.de> wrote: > Hi there, > > I have a small site with some informations which are stored in a > database. A method for administrations reason

Re: passing form parameters to a custom validator

2009-05-21 Thread stanlick
Rather than pass this, that and the other parameter(s) to your validator, why not just retrieve what you need from inside the validator? You have the ActionInvocation passed to your doIntercept(...), which contains the ValueStack containing your objects. Peace, Scott On Tue, May 19, 2009 at 7:

Re: How to get request locale in OGNL?

2009-05-21 Thread stanlick
invocation.getStack().findString(#attr.locale) On Thu, May 21, 2009 at 6:22 AM, Gordian Yuan wrote: > Hi, > > I want to know how to get request locale in OGNL? > > For now I use > value='#session.WW_TRANS_I18N_LOCALE?#session.WW_TRANS_I18N_LOCALE.toString():"zh_CN"'/> > > This must assume that

Re: Struts2, Spring & Maven

2009-05-28 Thread stanlick
Nice tip Wes... now where is that book of yours? I haven't received new chapters in quite some time. On Thu, May 28, 2009 at 7:28 AM, Wes Wannemacher wrote: > In addition to what Dave suggested, there are other maven search > tools, my new favorite is - > > http://www.jarvana.com/jarvana/ > > S

Re: Tiles 2 define many pages using same template

2009-05-28 Thread stanlick
Yes there is! I am using Tiles 2.1.1 which provides support for wildcards and substitutions. This one definition is handling all my pages! Struts displayTile-{1} Tiles

Re: [OT} Re: Iterating over a List of Lists

2009-06-02 Thread stanlick
someone stole my bike! On Tue, Jun 2, 2009 at 9:39 AM, Dave Newton wrote: > Jim Kiley wrote: > >> I had no idea I was in the presence of royalty. >> > > There's a lotta things about me you don't know anything about, Jim. Things > you wouldn't understand. Things you couldn't understand. Things yo

Re: [friday] training for Struts 2

2009-06-05 Thread stanlick
Hey Wes -- Travel and paper is so 80's bro. Have you considered an online format? I think a five day session where 2-3 are basics and the remaining 2-3 are advanced topics would be flexible. This way you could price the two separately and allow clients one or both enrollments. As far as course

Re: [S2] why is javascript executed before DOM is updated

2009-06-05 Thread stanlick
"...a previous employer that *did* have pretty specific degradation requirements." Your employer wanted it to run poorly? [?] On Fri, Jun 5, 2009 at 8:39 AM, Dave Newton wrote: > Kawczynski, David wrote: > >> I don't use a jquery plugin, I simply have a SiteMesh decorator that >> includes the j

Training

2009-06-07 Thread stanlick
Hey Wes and all -- I have thinking about the Wes training thread and would like to get your feedback. Do you guys think training can continue to cost what it has historically? The reason I ask is that I too have considered dropping down a gear and doing training for a living. However, I get the

Re: Training

2009-06-08 Thread stanlick
I suspected this sort of training dialog was just beneath the surface. The sad matter of fact is both Wes and Martin are spot on from each of their perspectives. Wes works his tail off (I know because I have been reviewing his new book) and Martin is a master technologist in business. So who mak

StrutsTestCase and Spring 2.5

2009-06-11 Thread stanlick
I am on a project with a new combination of jars and testing Struts interceptors. I have added the struts2-junit-plugin-2.1.2.jar and also spring-test.jar. When I run my subclass test of StrutsTestCase I get the following exception: SEVERE: [20:44.438] ** FATAL ERROR STARTING UP STRUT

Re: StrutsTestCase and Spring 2.5

2009-06-11 Thread stanlick
ou are using an older JDK|JUnit then > you'll have to figure out how to start Spring. > > -Wes > > On Thu, Jun 11, 2009 at 11:25 AM, stanlick wrote: > > > > I am on a project with a new combination of jars and testing Struts > > interceptors. I have added the s

Re: [OT]Moving from Struts2 to grails, your thoughts

2009-06-12 Thread stanlick
Was this a question about moving from Struts 2 to Grails or how to get the output stream? 2009/6/12 Paweł Wielgus > Hi all, > i'm active in rails and struts1 and struts2, > languages are java and ruby and javascript. > > As for rails i use jruby instead ruby. > > What framework will my next app

Re: Whats the best way to do validation messages on the same page?

2009-06-12 Thread stanlick
I would skeptical about excluding execute. As Wes points out, the framework is designed to bypass validating input initially. After all, it's kind of difficult validating a form you have not yet had the chance to ill out! On Thu, Jun 11, 2009 at 8:53 AM, Kishan G. Chellap Paandy < kishanchellapa

Re: [OT]Moving from Struts2 to grails, your thoughts

2009-06-12 Thread stanlick
Is that actually the Google source? On Fri, Jun 12, 2009 at 6:48 AM, Martin Gainty wrote: > > Scott- > i think what Pawel is suggesting is there is a 'demonstrable' need for a > Struts Grails plugin > > I have some grails code here so i might decide to tackle this myself..altho > i think > musac

Mapped back UI and #status.index driven names

2009-06-16 Thread stanlick
How is that for a subject line? I always wonder what I would search for myself :working: I had a guy tell me that a struts web tag was generating an absurd number of method calls on his action/model. After carefully considering his scenario, I was able to experiment using the files below. When

RE: Mapped back UI and #status.index driven names

2009-06-16 Thread stanlick
It's never enough FOR YOU PEOPLE!!! =^D public static Collection getThings() { ArrayList things = new ArrayList(); things.add(new Thing(1, "foo", 1.95f)); return things; } displayTile-{1} mgainty wrote: > > > code for addAll? > c

Re: Mapped back UI and #status.index driven names

2009-06-17 Thread stanlick
I agree, however, there is only a single object (Thing) in the map (Things) and only a single parameter being passed. newton.dave wrote: > > stanlick wrote: >> > > I'd assume something like getThings().put(index, name). OGNL has to get > the map in order to put so

BaseStrutsTestCase

2009-06-18 Thread stanlick
For those of you who are using thisbase class to unit test your Struts 2 apps, have you encountered this requirement? I have a web.xml listener placing an object in application scope using servletConte

Re: Documenting Applications with Apache Struts 2

2009-06-19 Thread stanlick
Dave-- Does this mean your book is about to be unpakt? If this chapter is representative of the book, this will be a real gem! Peace, Scott On Thu, Jun 18, 2009 at 11:04 PM, juded wrote: > > Every developer's favorite task is documenting their application. In this > chapter, we will look at

Struts 2 Plug-in and JSP 404

2009-07-09 Thread stanlick
I am working on a plug-in that needs to display a JSP. I have the plug-in packaged with the following struts-plugin.xml, however, rather than the /pages/config.jsp page appearing, I get a 404! The folder "pages" is in the root of my config-plugin.jar file and I have changed the result by both inc

Re: Struts 2 Plug-in and JSP 404

2009-07-09 Thread stanlick
r and then copy JSP files here... Peace, Scott DNewfield wrote: > > stanlick wrote: >> I am working on a plug-in that needs to display a JSP. > >> The folder "pages" is in the root of my config-plugin.jar > > I believe jsp files must be i

Re: Struts 2 Plug-in and JSP 404

2009-07-09 Thread stanlick
ave time this evening for that Harley ride up the river road! Peace, Scott DNewfield wrote: > > stanlick wrote: >> However, for a plug-in to be a drop-n-go deal, I sort of think the goods >> should all be in the plug-in jar itself? Make sense? > > Agreed, but I believ

Re: Struts 2 Plug-in and JSP 404

2009-07-09 Thread stanlick
e jasper to > compile the jsp to java, then use the java api compile to compile to a > class file, load it and then execute it, but yeah FreeMarker would be > easier :) > > musachy > > On Thu, Jul 9, 2009 at 1:06 PM, Dale Newfield wrote: >> stanlick wrote: >>&g

MethodFilterInterceptor

2009-07-13 Thread stanlick
Either I have been asleep at the wheel or have simply lucked into a naming scheme. It appears the MethodFilterInterceptor is performing its include/exclude logic independent of the methods' package name. Has anyone been snapped by this? Peace, Scott -- View this message in context: http://w

Re: MethodFilterInterceptor

2009-07-14 Thread stanlick
The logic considers the action name without regard to the package the action is contained within. On Mon, Jul 13, 2009 at 5:53 PM, Musachy Barroso wrote: > > independent of the methods' package name > > I am not sure what you mean by this. example? > > musachy > -- > "Hey you! Would you help me

Plug-in creation and freemarker page location

2009-07-16 Thread stanlick
I am working on a plug-in and having trouble getting the runtime to find my freemarker pages. I have a folder named pages in my plugin.jar where my freemarker pages reside. My struts-plugin.xml is referring to the pages as follows: /pages/config.ftl However, I am receiving a runtime java.io.F

Re: Plug-in creation and freemarker page location

2009-07-17 Thread stanlick
c there, remove the first "/" and give it a try. >> >> musachy >> >> On Thu, Jul 16, 2009 at 12:29 PM, stanlick wrote: >>> >>> I am working on a plug-in and having trouble getting the runtime to find >>> my >>> freemarker pa

Who moved OgnlValueStack?

2009-07-21 Thread stanlick
I am experimenting with struts 2.1.7 and apparently xwork 2.1.4 has moved OgnlValueStack from package com.opensymphony.xwork2.util to com.opensymphony.xwork2.ognl! Was this some cruel joke? Peace, Scott -- View this message in context: http://www.nabble.com/Who-moved-OgnlValueStack--tp24591681

Re: Who moved OgnlValueStack?

2009-07-21 Thread stanlick
Thanks Dale -- Now that might be the better question! It appears we have not been consistent in a few corporate plug-ins between using the VS or OVS, and those places referencing OVS stopped working in 2.1.7 when xwork relocated the OVS. Peace, Scott DNewfield wrote: > > stanlick

Re: Wildcard action/result names v. Validation

2007-10-10 Thread stanlick
I think I got a result named "*" to work like this with wildcards On 10/9/07, Dave Newton <[EMAIL PROTECTED]> wrote: > > --- Wes Wannemacher <[EMAIL PROTECTED]> wrote: > > Do you mean that you don't have a foo_input.jsp? > > No, I mean that since I have no named "input" result > that it pukes and

Struts 2 Plugin

2007-10-10 Thread stanlick
I am writing a plugin that consists of a new interceptor. I would like its struts-plugin.xml to append to the defaultStack so the interceptor works out of the box for packages leveraging the default interceptor stack. What is the ethical thing to do as it relates to a plugin modifying the defaul

Re: Struts 2 Plugin

2007-10-10 Thread stanlick
up and running, but the caveat > is that users who don't use defaultStack will have to include your > interceptor manually. Of course, you'll have all of this documented > and users in the second scenario will most likely know where to look > to get your plugin up and running.

Re: Struts 2 Plugin

2007-10-10 Thread stanlick
actions have to implement com.gmail.stanlick.Crumbable, or have to > > > annotated by @com.gmail.stanlick.Crumb), then it should have no > > > side-effects. The advantage of overriding the defaultStack is that > > > most users will have less steps to be up and running, bu

Re: Struts 2 Plugin

2007-10-11 Thread stanlick
; annotated by @com.gmail.stanlick.Crumb), then it should have no > > > side-effects. The advantage of overriding the defaultStack is that > > > most users will have less steps to be up and running, but the caveat > > > is that users who don't use defaultStack will have to

Value Stack and Interceptors

2007-10-11 Thread stanlick
Are the interceptors pushed on the stack as the request is being processed? In my web page, I do not seem to be getting the same love from the getAbc() method of an interceptor that I do from an Action. -- Scott [EMAIL PROTECTED]

Re: [Friday] RE: Download link

2007-10-12 Thread stanlick
I figured this might turn into a sticky thread! The hive is buz'n now. On 10/12/07, Al Sutton <[EMAIL PROTECTED]> wrote: > > Coo... Can we expect double replies if the parts of the hive get > separated? > > --- [EMAIL PROTECTED] wrote: > > > P.S. Does d. ever sleep? Is he a coff

Re: Download link

2007-10-12 Thread stanlick
Thanks Wes! I sure thought the result type stream looked like overkill for this deal! No offense to my boy d.! Just wanted to see if S2 had a "neutralizer" result to handle headers and such for any browser quirks that might be lurking. I finished the breadCrumb plugin at about 3:30 this morning

Download link

2007-10-12 Thread stanlick
What is the preferred technique for adding a file download link to an S2 web page? I looked for a special result type but came up empty handed! I could defer back to the bogus MIME type approach, but would rather do this according to the framework. I searched the Webwork in Action book but got

Re: Download link

2007-10-12 Thread stanlick
Looks promising honeycomb. However, is there a simpler way than to write an action class with an inputstream for a file that is already sitting in a web server folder? On 10/12/07, Dave Newton <[EMAIL PROTECTED]> wrote: > > --- [EMAIL PROTECTED] wrote: > > I looked for a special result type but c

Looping problem

2007-10-12 Thread stanlick
I seem to to experiencing a new phenomenon! At times my sever console begins emitting this series of log statements in a never ending loop! I have to kill the pid and restart to recover. Has anyone seen this one? SEVERE: Exception invoking periodic operation: java.lang.NoClassDefFoundError: o

Strange scenario

2007-10-12 Thread stanlick
I have a S2 application deployed to an ISP and once in a while I receive this exception and the server has to be restarted to recover. I have tested the stuffing out of the application and cannot get it to fail on the desktop. It appears to be rooted in OGNL. Scott DEBUG TP-Processor3 com.str

Re: Strange scenario

2007-10-12 Thread stanlick
I can add another bit of info. This action employs the execAndWait interceptor. On 10/12/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I have a S2 application deployed to an ISP and once in a while I receive > this exception and the server has to be restarted to recover. I have tested > t

The breadcrumbs have been served!

2007-10-13 Thread stanlick
Greetings -- I finished the S2 breadcrumb plug-in and you are welcome to it and the source code at www.strutsschool.com. I plan to cover the plug-in process in a chapter of the Struts 2 in Action book which is soon to be released. Until then, a few folks have as

Re: The breadcrumbs have been served!

2007-10-14 Thread stanlick
Did the site also cause your CPU to spike? The SS site was built by a couple of us who wanted to see how different S2 was from S1. I pushed it to the other side of the DMZ and thought I'd tidy it up later. Later becomes around the clock work on this Struts 2 book and reading your emails at all h

Re: The breadcrumbs have been served!

2007-10-14 Thread stanlick
So is it Struts or Struts 1? And what if I am using Struts 1.3 :) And if I am using Strus 1 with Spring, is this Spruts or String? Scott On 10/14/07, Wendy Smoak <[EMAIL PROTECTED]> wrote: > > On 10/13/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Greetings -- > > > > I finished the S2 b

Re: The breadcrumbs have been served!

2007-10-15 Thread stanlick
You are a kind man Wes. I have enjoyed Tiles because of its support for JIT data fetches and panel inheritance. However, with Tiles 2 not "playing well" with Struts 2/Spring integration, it is looking less glamorous. I wrote a DelegatingTilesController that will get a configured Spring Bean acco

Re: The breadcrumbs have been served!

2007-10-15 Thread stanlick
Great ideas Mark! Does this mean I now owe you ca$h? I didn't consider the permutation where you would discuss improvements without actually requesting them! You are a thinking man aren't you? I'll work the RESTful style of request METHOD into the configuration after studying that plugin first.

Conversion error messing up validation messages

2007-10-15 Thread stanlick
The ActionContext class contains a Map of field/value pairs for invalid conversions. The messages are mucking up the HTML validation messages and when I clear them to solve that problem it blows away the entered value "as invalid as it might be" so it's not restored when the web page is represente

validator shortcuts idea

2007-10-16 Thread stanlick
I am discovering that duplicate field validators in S2 are a royal pain in the tucas! Remember the good old days when we could say age field depends="required,int" Now we need to specify two entirely separate field validators! I realize a field input may not *necessarily* be required, but once

struts2-spring-plugin-2.0.9.jar

2007-10-25 Thread stanlick
Is there a logical explanation for this struts-plugin.xml file to declare the stand alone interceptors autowiring and sessionAutowiring which are already declared identically in struts-default.xml? I am either missing something fundamental here or 19 hours is too long to work without ceasing. Sc

OGNL Viewer

2007-10-26 Thread stanlick
Is there a command to show the value stack as a graphical tree? I would pay a couple large for that picture this morning. -- Scott [EMAIL PROTECTED]

Re: [FRIDAY] OGNL Viewer

2007-10-26 Thread stanlick
But I wanted it in 3D! Musachy Barroso wrote: > > "I would pay a couple large" > > btw where is my cash? :) > > musachy > > On 10/26/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: >> in 2.1, add debug=browser to your url (and make sure that you have the >> dojo plugin installed). By default

Re: The breadcrumbs have been served!

2007-11-09 Thread stanlick
Hey Emi Lu -- The breadcrumb plug-in keeps a trail of crumbs up to the max you specify. If you want to clear it (or manipulate it in some way) at particular points in your workflow, you can do that by requesting it from the session and doing whatever you like. The documentation reveals how it is

Re: is there any book on struts 2 in the market.................

2007-11-23 Thread stanlick
http://www.manning.com/dbrown/ On Nov 22, 2007 5:07 AM, wicketshafi <[EMAIL PROTECTED]> wrote: > > Hello,, > > is there any book on struts2 in the market... > > if it is there please send a message. > > regards > -Shafi > -- > View this message in context: > http://www.nabble.com/is-there

Ajax effective with 2.1

2007-11-30 Thread stanlick
What is the disposition of dojo going forward with S2? I thought I heard a rumor awhile back where Ajax support was being moved into the plug-in architecture. We have a discussion in our shop concerning a few different libraries and I would like to offer meaningful advice. Peace, Scott [EMAIL P

Struts 2 Dependencies

2007-12-03 Thread stanlick
I have been reviewing the Reactor Dependency Convergence document, and would like to know if there is a companion document that identifies required vs. optional products. It appears that anything "touched" by Struts 2 is considered a depend

StrutsObjectFactory

2007-12-26 Thread stanlick
I have a baby web application *not* using Spring for DI and I'm having a problem where StrutsObjectFactory is running through its buildAction() routine. It seems to defer to its parent class ObjectFactory to have the action instance created, and this behavior is *not* injecting the bean into the

Re: OGNL and action property

2007-12-29 Thread stanlick
I think this is a cleaner way to do this. Scott Stanlick

Re: [S2] Adding a new interceptor to every package.

2008-01-05 Thread stanlick
Hey GF -- Your package declaration can extend multiple packages by using the comma! Scott On Jan 4, 2008 10:36 AM, GF <[EMAIL PROTECTED]> wrote: > Hi everyone. > I have many packages that extends extends="tiles-default". > I would like to add an interceptor to all of them. > > Now I'm doing t

Re: Struts training...

2008-01-07 Thread stanlick
Struts 1.x or Struts 2? I might be able to help you out. On Jan 7, 2008 8:18 PM, Narayan Mandaleeka <[EMAIL PROTECTED]> wrote: > Can some suggest a good training class for Struts around the Bay Area - > CA? > Thanks! > -Narayan > -- Scott [EMAIL PROTECTED]

Re: Who can show me some sites(Web2.0 or not) based on Struts2?

2008-01-13 Thread stanlick
It's sort of tricky to learn about a technology by simply looking at a site. If what you are looking for is a site to learn more about Struts 2, I would suggest starting here: http://struts.apache.org/2.x/ On Jan 13, 2008 11:40 AM, Gaurav Arora <[EMAIL PROTECTED]> wrote: > I believe http://www

Re: [S2] Best approach to separate look & feel with same backend code

2008-01-14 Thread stanlick
Then I would suggest Tiles. This would be as easy as getting wet in a pond. Scott On Jan 13, 2008 9:01 PM, Neil Aggarwal <[EMAIL PROTECTED]> wrote: > Rod: > > The functionality will be exactly the same for > each site. > > How do I tell struts to load a given set of > tiles based on the domain

Re: struts.objectTypeDeterminer

2008-01-27 Thread stanlick
Sounds like you might not have all the jars necessary. Verify against the required minimums. On Jan 27, 2008 4:42 PM, bjousse <[EMAIL PROTECTED]> wrote: > > Hi, > > I am working with Eclipse 3.3, tomcat 6 and a freshly downloaded Struts > 2.0.11 > > i set up my project (almost nothing in), and

  1   2   3   4   5   6   >