Re: How can one servlet (ActionServlet) effect another servlet (AxisServlet)...?

2007-06-06 Thread Craig McClanahan
On 6/6/07, Jeff Amiel <[EMAIL PROTECTED]> wrote: I'm not debating that there could be bad user code here(although I've reduced my test cases down to an empty axis service call and an nearly empty struts actionIf there IS bad code, it's probably at a low level inside axis or struts or som

Re: How can one servlet (ActionServlet) effect another servlet (AxisServlet)...?

2007-06-06 Thread Craig McClanahan
o session scoped or application scoped beans), rather than a bug in Tomcat, when you see intermittent issues like this. Craig McClanahan Probably want to follow that one up w/ the TC folks. d. Got a lit

Re: MVC1 -Frame Based JSP Application to Tiles

2007-05-24 Thread Craig McClanahan
On 5/24/07, Raghuveer <[EMAIL PROTECTED]> wrote: I Have a JSP web application using MVC1 framework. It uses Farmes(one left for navigational links and other right with tabs on top.) >From tiles documentation i understand i can use tiles with out struts ? So i was thinking the possibility and

Re: Handling requests through servlets vs struts action class ?

2007-05-19 Thread Craig McClanahan
On 5/18/07, jasdeep <[EMAIL PROTECTED]> wrote: But then i thought it may have serious performance penalty as struts action is using single thread model (AFAIK). This is not a correct assumption. In Struts 1, there is a single *instance* of each Action, but it can be processing multiple reques

Re: HELP!!

2007-04-30 Thread Craig McClanahan
On 4/30/07, nagesh.kumar <[EMAIL PROTECTED]> wrote: /WEB-INF/tlds/struts-html.tld Please remove " " blank space after .tld in the above line it should be like /WEB-INF/tlds/struts-html.tld The following advice presumes that you are using Struts 1.1 or later, on a Servlet 2.4 or later servle

Re: Struts 1.3.8: "Sidebar: Sharing JAR Files Across Web Applications"

2007-04-20 Thread Craig McClanahan
On 4/20/07, Ken Miller <[EMAIL PROTECTED]> wrote: >>> "Craig McClanahan" <[EMAIL PROTECTED]> 4/17/2007 4:33 PM >>> > > Craig McClanahan wrote: > > Yep ... it's magic :-). Ah, magic. Lots of hand waving, followed gasps and applause

Re: Struts 1.3.8: "Sidebar: Sharing JAR Files Across Web Applications"

2007-04-17 Thread Craig McClanahan
On 4/17/07, Christopher Schultz <[EMAIL PROTECTED]> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Craig, Craig McClanahan wrote: > Craig McClanahan wrote: > Yep ... it's magic :-). > > Actually, what happens is that the servlet container provides a > mechanism

Re: Struts 1.3.8: "Sidebar: Sharing JAR Files Across Web Applications"

2007-04-17 Thread Craig McClanahan
On 4/17/07, Christopher Schultz <[EMAIL PROTECTED]> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Craig, Craig McClanahan wrote: > The naive way for a library to do this is: > >String className = ...; // Calculate the name of the class you want >Class cla

Re: Struts 1.3.8: "Sidebar: Sharing JAR Files Across Web Applications"

2007-04-17 Thread Craig McClanahan
On 4/16/07, Ken Miller <[EMAIL PROTECTED]> wrote: Can someone point me (or at least give me a clue) where a potential problem may exist? I've configured my server to have a shared set of Commons and Struts jars (something I did before reading the above paragraph), and it appears to work, but I'

Re: Struts 2.0.6 != Shale?

2007-04-15 Thread Craig McClanahan
On 4/15/07, Nicolas Lanquetin <[EMAIL PROTECTED]> wrote: So, question: Are these the same frameworks? Is Shale a codename for Struts 2? No, they are not the same. No, it is not a codename. The Shale codebase started in a sandbox of the Struts project, and was proposed to the Struts committer

Re: Struts-Faces: parameter

2007-02-20 Thread Craig McClanahan
On 2/18/07, Rodrigo Pereira <[EMAIL PROTECTED]> wrote: Is there any way of passing parameters to the action instead of form fields? I mean, I have a value on a managed bean and I'd like to pass it to the action, how can I do that? If the managed bean has been created already, and you know what

Re: R: R: Error : request.getReader()

2007-01-30 Thread Craig McClanahan
On 1/29/07, Marcello Savino <[EMAIL PROTECTED]> wrote: The reason i need the request body is that the action i should take is to analyze the html generated. (ie.: syntax checking, finding img without alt attributes, reading meta-information ...). More: this job must be done server side (no jscri

Re: [s2] Struts Dependency Injection and EJB3 - support ? or how can i Do it?

2007-01-22 Thread Craig McClanahan
On 1/22/07, Paris Apostolopoulos <[EMAIL PROTECTED]> wrote: [snip] I wonder the @EJB annotations are not going to work (I guess). I had a look @ some glassfish FAQ.. The standard annotations for Java EE 5 resource injection are indeed *not* going to work on a Struts action, because they only

Re: Web Design Tools

2007-01-09 Thread Craig McClanahan
On 1/9/07, CHARLIER Cyril <[EMAIL PROTECTED]> wrote: On 1/9/07, Robert Slama <[EMAIL PROTECTED]> wrote: > > Hi, > > Netbeans 5.5 is very well tool. > http://www.netbeans.org > Can you say more on hwo to interface netbeans with struts please :-) ? When you create a new Web Project, one of th

Re: [FRIDAY] DBCP configuration

2007-01-05 Thread Craig McClanahan
On 1/5/07, Christopher Schultz <[EMAIL PROTECTED]> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Wesley, Wesley Wannemacher wrote: > When configuring the database connections, where do you tend to put > them? Without question: have your container create the connection pool and make it

Re: Struts-Faces action

2007-01-05 Thread Craig McClanahan
On 1/5/07, Rodrigo Pereira <[EMAIL PROTECTED]> wrote: Hi, I am new to JSF and Struts-Faces integration library. I am facing a problem but I did not find any documentation about this. That's the error I am getting: SEVERE: Servlet.service() for servlet jsp threw exception java.lang.IllegalArgum

Re: [S2] Struts 2 GA Release Anytime Soon?

2006-12-21 Thread Craig McClanahan
On 12/21/06, Nagraj Rao <[EMAIL PROTECTED]> wrote: Hi Ted Are there any AJAX Tags related issues in S2.0.1?? I'm currently migrating my project to 2.0.1, so in case there are any issues i'll start backing off. I got certain postings which were discussing DOJO issues in it to which i'm not much

Re: Struts2, Shale, Seam, pure JSF - what to use?

2006-12-19 Thread Craig McClanahan
On 12/19/06, Don Brown <[EMAIL PROTECTED]> wrote: It isn't an either/or question. You can use JSF actions, components, and configuration in a Struts 2 app, using the Struts 2 JSF Plugin. If you prefer an action-centric design, but want to use JSF components, then it is worth looking into. If y

Re: Does Struts 2 solve the action chaining problem?

2006-11-28 Thread Craig McClanahan
On 11/28/06, Tarek Nabil <[EMAIL PROTECTED]> wrote: Hi, One of the problems with Struts was that if you had a page that requires some setup and this page submits to an Action, then you would not be able to set validate to true on that action because if validation problems occur then Struts will

Re: [S2] configuring Tiles with Struts 2

2006-11-28 Thread Craig McClanahan
On 11/28/06, quinmeda1 <[EMAIL PROTECTED]> wrote: A little more info The following exception is thrown when trying to start the app with the listener: 2006-11-28 10:44:15 StandardContext[/myapp]Exception sending context initialized event to listener instance of class org.apache.struts2.til

Re: Please unsubscribe me

2006-11-07 Thread Craig McClanahan
On 11/7/06, Pillay, Kiren KN <[EMAIL PROTECTED]> wrote: I've tried many times to unsubscribe myself from this list but its not working. I've asked for help but to no avail. Done. Craig

Re: get webapp root directory from action constructor

2006-11-03 Thread Craig McClanahan
On 11/3/06, Patrice Le Cozler <[EMAIL PROTECTED]> wrote: Hi, I want to load a property file at webapp start. Since that property file is located in my webapp's directory structure, I want to be able to determine its absolute name at runtime. I tried "this.getServlet().getServletContext().getReal

Re: taglib uri question

2006-10-30 Thread Craig McClanahan
On 10/30/06, Wendy Smoak <[EMAIL PROTECTED]> wrote: On 10/30/06, Rick Schumeyer <[EMAIL PROTECTED]> wrote: > In any event, the author gives one method for including taglibs in jsp. > For example, for tiles you would use: > <%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tilles" %> This work

Re: Drag-and-drop struts-aware IDE?

2006-10-20 Thread Craig McClanahan
On 10/20/06, Bruno Melloni <[EMAIL PROTECTED]> wrote: It surprises me that a drag-and-drop struts aware IDE does not exist. A Struts drag-and-drop plug-in for Eclipse would be a very compelling product - the strength of (a current version of) Struts with the easy of use of Visual Studio... Many

Re: Static objects in Struts Application ..

2006-10-14 Thread Craig McClanahan
On 10/13/06, Chris Pratt <[EMAIL PROTECTED]> wrote: Each Web Application within the container is loaded within it's own Context (and ClassLoader) which effectively keeps the static's separate. (*Chris*) That is generally true, *unless* you put your libraries in the shared classloader(s) pro

Re: Re: [Struts 2] setting spring bean from action

2006-09-11 Thread Craig McClanahan
On 9/11/06, Ted Husted <[EMAIL PROTECTED]> wrote: The Spring bean can be instantiated as a singleton, and any change made to the object via the property would be to the singleton instance, and reflected anywhere else the object is referenced, including another Action class. I believe that ther

Re: [Shale] Old form values still there after "Cancel" button.

2006-08-30 Thread Craig McClanahan
On 8/30/06, Jason Vincent <[EMAIL PROTECTED]> wrote: Hi all, For the life of me I can't get JSF to stinkn forget values that were entered on a form. The view controller is "request" scope. Are you using Shale for this? If so, you'd be best off joining the Shale user list, as Shale is now it

Re: shale: jndi lookup error

2006-08-05 Thread Craig McClanahan
On 8/5/06, vasiliy.kiryanov <[EMAIL PROTECTED]> wrote: Good afternoon. [http://shale.apache.org/features-jndi-integration.html] link says to me that I can aquire a java.sql.Connection from this data source .. but it constantly return null. from the myfaces BackBean this datasource resolves go

Re: Struts-Shale

2006-08-03 Thread Craig McClanahan
On 8/3/06, Jeevan Kumar Kade <[EMAIL PROTECTED]> wrote: Hi, Is there is major differeence between Struts-Shale framework and JSF. Please, categorize and differentiate on this. Your best bet is to ask this kind of question on the Shale user mailing list[1] since Shale is now a top level Apa

Re: [Shale] Get the application path

2006-07-28 Thread Craig McClanahan
ist ... check path for being null ... ... strinp off the last segment to get the directory path ... Craig Craig McClanahan wrote: > On 7/28/06, Marty Phee <[EMAIL PROTECTED]> wrote: >> >> How do I get the application path. >> >> I can see it in the debugger t

Re: [Shale] Get the application path

2006-07-28 Thread Craig McClanahan
On 7/28/06, Marty Phee <[EMAIL PROTECTED]> wrote: How do I get the application path. I can see it in the debugger through the ApplicationContextFacade, but not sure how to access it. I need the path of the application to pass on to a report generator. Shale has migrated to its own top level

Re: Shale - init and destroy being called twice

2006-07-14 Thread Craig McClanahan
On 7/13/06, vramineni <[EMAIL PROTECTED]> wrote: Hi, I am a newbie to web development in Java. Coming from ASP.Net background, I thought Shale framework would be easier for me to understand. Actually, I am able to progress well with Shale/Clay/MyFaces and pretty much do everything that I could

Re: URL transparency for a web application in a clustered system

2006-07-13 Thread Craig McClanahan
On 7/13/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: Say I want to redirectto to a same action that has been posted to from a browser. I don't have a hardcoded action name that I want to call. I need to obtain this name (with context and such) from the request. What do I do? I can get reque

[ANNOUNCE][SHALE] Apache Shale Top Level Project Is Now Up And Running

2006-07-08 Thread Craig McClanahan
the Shale User mailing list and root for your favorites. Craig McClanahan

Re: [Shale] Validation...

2006-07-05 Thread Craig McClanahan
On 7/5/06, Rodrigo Barreiros <[EMAIL PROTECTED]> wrote: Hi, I need use client-side validation in my application. I am using Shale Validator (shale-core-1.0.2) with Myfaces 1.1.1. The validation works fine, but messages appears encoded in wrong way. For example, for message (in portuguese): er

Re: How to add service servlet in Struts ?

2006-06-30 Thread Craig McClanahan
On 6/30/06, A. Lotfi <[EMAIL PROTECTED]> wrote: Hi, we had a client/server application : Client :Swing application Server :Servlet The client is communicating lot with the servlet. Now we are moving to Struts, how can I keep the servlet in Struts so I will use it in all my actions, I a

Re: [shale] and ejb 3.0 and hibernate working together example

2006-06-30 Thread Craig McClanahan
On 6/30/06, Adam Brod <[EMAIL PROTECTED]> wrote: I had to put my directory structure like this: [mywebapp]\WEB-INF\classes\META-INF\persistence.xml It didn't work when I put it in a top-level META-INF directory. It also works if the persistence.xml file is in the META-INF directory of a jar

Re: shale log trace

2006-06-29 Thread Craig McClanahan
On 6/29/06, Daniel del Río <[EMAIL PROTECTED]> wrote: Hi all, I have a trace in the console like "DEBUG DelegatingVariableResolver : Attempting to resolve variable 'org.apache.shale.TAG_UTILITY_BEAN" The console is full of traces like this every time a page is reload, what it means? It looks

Re: [shale] and ejb 3.0 and hibernate working together example

2006-06-29 Thread Craig McClanahan
On 6/29/06, stephan opitz <[EMAIL PROTECTED]> wrote: hello... does exist any kind of good example which include in the controller component hibernate with normal pojos or maybe already ejb 3.0??? I am almost through with a Shale+EJB3 (well, actually its Shale+JPA) example. It's the good ol'

Re: [shale]Craig McClanahan's comment on View Controllers

2006-06-29 Thread Craig McClanahan
On 6/29/06, Baker,Jonathan <[EMAIL PROTECTED]> wrote: In an earlier post, Craig responded to a question by saying "Personally, I consider putting view controllers in session scope to be a pretty bad idea, and would lean towards making this a restriction. (Putting non-view-controller backing be

Re: [shale] Problems with View controller

2006-06-19 Thread Craig McClanahan
{ getId() })); return null; } Where specifically is this code? If it's in the subview handler, that will definitely have problems with the Tiger stuff, and will need to be updated. Craig Craig McClanahan wrote: > On 6/19/06, Marty Phee <[EMAIL PROTECTED]

Re: [shale] Problems with View controller

2006-06-19 Thread Craig McClanahan
On 6/19/06, Marty Phee <[EMAIL PROTECTED]> wrote: I'm using: shale, tiger, tiles. Nothing like trying *all* the new stuff all at once :-). How recent is the Shale build you are using? I ask because there were recent (after 1.0.2) changes in how init and destroy get called such that they sho

Re: help in maven

2006-06-19 Thread Craig McClanahan
On 6/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Dear all, I am new to Maven. Can u suggest me a good resource to learn maven. A very helpful resource is an online e-book, "Better Builds With Maven"[1]. I have exp. in ant tool. What way maven differs from ant? Help plz. regards

Re: [shale] Design question involving ViewController

2006-06-19 Thread Craig McClanahan
On 6/17/06, Gary VanMatre <[EMAIL PROTECTED]> wrote: >From: "Sean Schofield" <[EMAIL PROTECTED]> > > I am writing an application that is using MyFaces tree2 to allow the > user to navigate to a more detailed view of the item they click on. I > just wanted some feedback on the following strategy:

Re: OT: Tomcat not setting session cookies ? Please help :(

2006-06-15 Thread Craig McClanahan
lowed by a proxy somewhere. Craig --- Craig McClanahan <[EMAIL PROTECTED]> wrote: > On 6/15/06, Mon Cab <[EMAIL PROTECTED]> wrote: > > > > Hi > > > > > > All of a sudden tomcat has stopped settign session cookies. I have > > been developing on my l

Re: OT: Tomcat not setting session cookies ? Please help :(

2006-06-15 Thread Craig McClanahan
On 6/15/06, Mon Cab <[EMAIL PROTECTED]> wrote: Hi All of a sudden tomcat has stopped settign session cookies. I have been developing on my local machine for approx 1yr. Now, When I goto my webapps home page: http:/127.0.0.1:8080/webapp), tomcat is rewriting the URL as http://127.0.0.1:8080/w

Re: [shale] using the eclipse ide (maybe ith ant or maven2)

2006-06-15 Thread Craig McClanahan
On 6/15/06, Gary VanMatre <[EMAIL PROTECTED]> wrote: >From: "Wendy Smoak" <[EMAIL PROTECTED]> > > On 6/15/06, Gary VanMatre wrote: > > > My second attempt was to add the cargo.jvmarg to the /shale-apps pom.xml: > > > > >> > > ${artifactId} > > > > > > org

Re: changing scope of custom JSTL class variables

2006-06-14 Thread Craig McClanahan
On 6/14/06, Calvin G. Dodge <[EMAIL PROTECTED]> wrote: I'm maintaining and upgrading an existing Struts application (written by someone else long ago, with no chance of contacting the authors). I just discovered that our custom tag class variables have global scope - when a tag class (derived f

Re: [shale] Backing view

2006-06-14 Thread Craig McClanahan
On 6/14/06, Marty Phee <[EMAIL PROTECTED]> wrote: Removed spring and it works. Thanks for the pointer. So, if I use spring you must have managed beans for all JSP's? Not sure if I"m actually going to use spring. It appears that this is the effective state of the current implementation. But

Re: [shale] Backing view

2006-06-14 Thread Craig McClanahan
Comments interspersed below. On 6/14/06, Marty Phee <[EMAIL PROTECTED]> wrote: Here you go. Again this is Shale with Tiger. 13:27:47,796 ERROR [faces]:253 - Servlet.service() for servlet faces threw exception java.lang.IllegalStateException: No WebApplicationContext found: no ContextLoaderLis

Re: [shale] Backing view

2006-06-14 Thread Craig McClanahan
On 6/14/06, Marty Phee <[EMAIL PROTECTED]> wrote: Newbie, I'm using Shale with tiger. JSP, subscribe (example from somewhere) that does a save. All this works fine, but I made a change so that the return should send it to a "Success" page. /subscribe.jsp success /suc

Re: [shale] Example with subdialog?

2006-06-13 Thread Craig McClanahan
On 6/13/06, Adam Brod <[EMAIL PROTECTED]> wrote: Hi- I'm having trouble understanding how to use subdialogs. How do I specify the end state for a subdialog that also ends the calling dialog? You'll need to take the outcome value returned by the exit state from the subdialog, and create a tr

Re: how to interact ,servlets with JSF/Shale

2006-06-13 Thread Craig McClanahan
On 6/13/06, vivek maheshwari <[EMAIL PROTECTED]> wrote: hello friends, this is vivek maheshwari currently working on JSF /Shale, i know how presentation Layer(view part) directly interect with model via backing bean, but by doing thing ,i think it 'll break the rules of MVC, that why i

Re: Poll: What part of a Struts will be the most important to support for migration?

2006-06-12 Thread Craig McClanahan
On 6/12/06, Ted Husted <[EMAIL PROTECTED]> wrote: And, if we are creating a SAF1 emulator, why not just use SAF1? Let SAF1 handles the *.dos, and let SAF2 handle the *.actions. Having two frameworks to keep track of instead of one, each with their own idiosyncracies and release trains, is not

Re: Poll: What part of a Struts will be the most important to support for migration?

2006-06-12 Thread Craig McClanahan
On 6/12/06, Don Brown <[EMAIL PROTECTED]> wrote: On 6/12/06, Ted Husted <[EMAIL PROTECTED]> wrote: > On 6/12/06, Don Brown <[EMAIL PROTECTED]> wrote: > > Please let us know your thoughts so we can focus on developing tools > > to make migration as easy as possible. Thanks, > > My first thought

Re: [Shale] tiger - abstract base class?

2006-06-12 Thread Craig McClanahan
On 6/12/06, Adam Brod <[EMAIL PROTECTED]> wrote: Hi- I want to define a managed property in an abstract base class using shale-tiger annotations. Then the subclasses can use the same property. You're trying to use @Property on the abstract base class, right? Is this possible? So far, it d

[Shale] Nightly Builds Resumed

2006-06-12 Thread Craig McClanahan
lished as nightly builds (as well as the organization of Shale releases as well) will be changed. Watch here for an announcement of the date that this goes into effect for the nightly builds. Craig McClanahan

Re: [shale] downloads

2006-06-12 Thread Craig McClanahan
On 6/12/06, Wendy Smoak <[EMAIL PROTECTED]> wrote: On 6/12/06, Ian.Priest <[EMAIL PROTECTED]> wrote: > Has the shale download site gone down? I can't see any directories under > http://cvs.apache.org/builds/struts/nightly/struts-shale/... Sorry for the inconvenience, but we're in the process o

Re: ActionForm and EJB

2006-06-08 Thread Craig McClanahan
On 6/8/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: [snip] I'm still not sold on the whole concept of annotations myself... it seems to encourage scattering things throughout the code base that otherwise would be centralized. Always slow to get on the latest bandwagon, eh Frank :-) Ironi

Re: ActionForm and EJB

2006-06-08 Thread Craig McClanahan
On 6/8/06, Dave Newton <[EMAIL PROTECTED]> wrote: Frank W. Zammetti wrote: > On Thu, June 8, 2006 1:09 pm, Michael Jouravlev wrote: > >> On the other hand, the whole idea of Struts/Commons Validator sucks >> big time, because database already has all necessary validations, >> domains, triggers,

Re: [shale] extending clay

2006-06-07 Thread Craig McClanahan
On 6/7/06, Gary VanMatre <[EMAIL PROTECTED]> wrote: >From: "Ryan Wynn" <[EMAIL PROTECTED]> > > On 6/7/06, Gary VanMatre wrote: > > >From: > > > > > > Hi > > > > > > What would be really nice is if you would make the plugin publically > available. > > > > > I was intending to make it available. I

Re: [shale] - Dialog issues

2006-06-07 Thread Craig McClanahan
On 6/7/06, Greg Allen <[EMAIL PROTECTED]> wrote: Craig, > I was gonig to point you at the website page about Dialog, but I can see now > it's not particularly helpful :-). There's only one sentence (the very last > one) that contains the key bits. Basically, the only current way to ente

Re: [shale] - Dialog issues

2006-06-06 Thread Craig McClanahan
On 6/6/06, Greg Allen <[EMAIL PROTECTED]> wrote: > That's really odd ... the "no matching navigation cases" is coming from the > MyFaces navigation handler implementation ... but, if you are within a > dialog, Shale should never have delegated to the default one in the first > place. Ar

Re: [shale] - Dialog issues

2006-06-06 Thread Craig McClanahan
On 6/6/06, Greg Allen <[EMAIL PROTECTED]> wrote: I am having some problems with the shale dialogs. I have defined my dialogs (correctly, I believe) in the dialog-config.xml as follows: However, when I successfully authentica

Re: [shale] subviews with backing beans

2006-06-06 Thread Craig McClanahan
On 6/6/06, Bahadır Yağan <[EMAIL PROTECTED]> wrote: Hi. With shale's ViewController a managed bean named "index" is automatically associated with index.jsp. What I need is to have the same for subviews. Say, I included "loginForm.jsp" from index.jsp, is it possible to have the same association

Re: Struts Editing in IDE

2006-06-05 Thread Craig McClanahan
ion of what your page is going to look like at runtime, from within a tool, you'll likely want to take a look at tools based on JavaServer Faces (such as Sun Java Studio Creator, Oracle JDeveloper, and so on) instead, that provide this capability as a first class feature of the tool. Craig McClanahan

Re: [shale] Is there a Dialog Scope?

2006-06-05 Thread Craig McClanahan
On 6/5/06, Duong BaTien <[EMAIL PROTECTED]> wrote: Hello Craig: Could you let us know if you are a part of the proposed Web Beans that combine Shale, Oracle ADF, and Seam? It may even more useful if you can roughly lay out the direction of your vision in this area. I am indeed, in the sense

Re: [shale] Is there a Dialog Scope?

2006-06-05 Thread Craig McClanahan
On 6/5/06, Adam Brod <[EMAIL PROTECTED]> wrote: Hi- JBoss Seam provides addition Scopes beyond Request, Session, Application and None. In particular, JBoss has a Conversation Scope that stores your data for the duration of a specific conversation. This frees the developer from stuffing data i

Re: The validwhen validation's treatment of null and empty string

2006-06-02 Thread Craig McClanahan
On 6/2/06, Scott Van Wart <[EMAIL PROTECTED]> wrote: If a bean's property is the empty string "", does a test like (property == null) suffice? Or do I have to say ((property == null) or (property == ''))? You need to test for both conditions in the latter case, but the particular approach yo

Re: [Shale] How to cancel the

2006-05-23 Thread Craig McClanahan
On 5/23/06, James Reynolds <[EMAIL PROTECTED]> wrote: I'm coding a cancel button on an update form. I've set its immediate attribute to true, but that isn't skipping the client side validation. Is there a way to do this, or must I only use server validation in this case? This sounds like an

Re: [shale] shale-test compiled for compatibility?

2006-05-22 Thread Craig McClanahan
On 5/22/06, Ryan Wynn <[EMAIL PROTECTED]> wrote: I think this may have been asked before but can someone please make sure that shale-test is being compiled such that it is compatible with jdk 1.4. I am getting some major-minor version errors when trying to run my unit tests against 1.4. Here i

Re: Shale Unit Testing

2006-05-19 Thread Craig McClanahan
On 5/19/06, Robert Alexandersson <[EMAIL PROTECTED]> wrote: Hello. I will start developing a application using Shale, for personal use. This time I want to start the right way, meaning I want to build it Testdriven, or at least creating testcases for it. Are there some exampleapplications that

Re: [shale] All SHail hale

2006-05-18 Thread Craig McClanahan
On 5/18/06, Hey Nony Moose <[EMAIL PROTECTED]> wrote: ahem ... Can you guys please take it outside (i.e. offlist) and settle this among yourselves. Please? Nobody else is interested. Craig Dakota Jack wrote: > Heh Nony, you are as bright as the other trolls, like Newton, you hang > wit

Re: [shale] All Hail Shale

2006-05-17 Thread Craig McClanahan
On 5/16/06, Dakota Jack <[EMAIL PROTECTED]> wrote: Dead on, Wendy. Brett lives in Portland, as does Craig, the perpetrator of Shale. For the record, Howard Lewis Ship (original creator of Tapestry) lives in Portland too :-). Craig

Re: Shale startup - without Spring.

2006-05-17 Thread Craig McClanahan
Sorry for the late response ... I'm at JavaOne this week and *very* busy. One thing to ensure is that, if you remove Spring, you also remove shale-spring.jar from your webapp ... it's an optional layer, but if you add that you would also need to add Spring. Craig On 5/16/06, Jason Vincent <[EMA

Re: UML diagrams of Struts

2006-05-12 Thread Craig McClanahan
On 5/12/06, Vaneet Sharma <[EMAIL PROTECTED]> wrote: How can I get UML diagrams of Struts (specialy the class model diagram) ? There are class diagrams embedded in the "package description" javadocs for many of the packages that make up Struts ... for example see [1] for the classes in the or

Re: Shale: onclick="disabled='true';" not calling Action Method. (stopping double click)

2006-05-11 Thread Craig McClanahan
On 5/11/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: How do you know that dialog is completed? :-) By virtue of explicit transition to an end state, just like Spring WebFlow. This causes the per-dialog state information to be popped off the session-scoped statck where it is maintained, t

Re: Shale: onclick="disabled='true';" not calling Action Method. (stopping double click)

2006-05-11 Thread Craig McClanahan
On 5/11/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: On 5/11/06, Craig McClanahan <[EMAIL PROTECTED]> wrote: > On 5/11/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > > Also, is it possible to lock the server-side bean on a framework > > level, so it

Re: [OT] - JSTL Parameter Conventions

2006-05-11 Thread Craig McClanahan
On 5/11/06, Kalcevich, Daniel <[EMAIL PROTECTED]> wrote: Well, I briefly looked at it. It might not be what I am looking for if I cannot use it within my Actions, and not just on the JSP. Like I said, I haven't look at it too much yet though. If you are using JSF 1.1 today, you can execute

Re: Shale: onclick="disabled='true';" not calling Action Method. (stopping double click)

2006-05-11 Thread Craig McClanahan
On 5/11/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: On 5/11/06, Craig McClanahan <[EMAIL PROTECTED]> wrote: > On 5/11/06, Jason Vincent <[EMAIL PROTECTED]> wrote: > According to the HTML specification, disabled input controls > are *not* included in the request

Re: Shale: onclick="disabled='true';" not calling Action Method. (stopping double click)

2006-05-11 Thread Craig McClanahan
On 5/11/06, Jason Vincent <[EMAIL PROTECTED]> wrote: Hi all, My project spec is asking me to disable form buttons once they are clicked. It seemed easy to me, just add onclick="disabled='true'" to the commandButton. But as anything I've found with JSF, it isn't that easy. When I do this, the

Re: Problems fetching struts-config DTD

2006-05-11 Thread Craig McClanahan
On 5/11/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi! I have a Struts webapp with a struts-config.xml that starts with the usual http://struts.apache.org/dtds/struts-config_1_3.dtd";> Which version of Struts are you trying to use this with? Since you are asking for version 1.3 of

Re: [Shale] Dialog statemachine and errorconditions

2006-05-09 Thread Craig McClanahan
On 5/9/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi Having been fiddling around with the Shale dialogs, there is one thing that I feel could be improved on. The way it is now, if there is an error situation or if the user navigates away from a dialog and later on navigates to say the sta

Re: Shale's dialog manager is driving me nuts!

2006-05-06 Thread Craig McClanahan
On 5/6/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi, I'm a software architect and we have a major project coming where I thought our dev team should try new things. So I decided to replace Struts (default option :P) with JSF and Shale. I thought that it would be good when I personally kn

Re: [Shale-Clay] Offline dtds

2006-05-05 Thread Craig McClanahan
On 5/5/06, Ryan <[EMAIL PROTECTED]> wrote: I love the response time on this list. :) Thanks for the tip Craig. I had an old version of the public id "-//Apache Software Foundation//DTD Shale Clay View//EN" Is there a wiki I can post this info on for others? That would be very helpful. W

Re: [Shale-Clay] Offline dtds

2006-05-05 Thread Craig McClanahan
On 5/5/06, Ryan <[EMAIL PROTECTED]> wrote: I seem to have a problem with running Shale-Clay offline because there seems to be a few dtds that need to be downloaded for validation purposes I assume. I was just wondering if there are plans for an Entity resolver to help with the resolution of the

Re: Two mysteries: ;jsessionid and bad img tag

2006-05-04 Thread Craig McClanahan
On 5/4/06, Bryce Nesbitt <[EMAIL PROTECTED]> wrote: I've just been gifted with a struts application to maintain. Things are pretty good, but here are two little mysteries I need a little help on. The struts jsp looks like: And the resulting HTML is like this: Why the ";" in the jessionid,

Re: How long does it take the message to appear on the list.

2006-05-04 Thread Craig McClanahan
On 5/4/06, Vikas Phonsa <[EMAIL PROTECTED]> wrote: Hi Everybody, How long does it take the message to appear on the list? I posted a message about 2 hrs ago but haven't seen it yet on the list. One possible explanation for this behavior would be if you posted the message from an email addre

Re: Where dose JSP works in JSF request lifecycle?

2006-05-03 Thread Craig McClanahan
On 5/3/06, 王曾wang_zeng <[EMAIL PROTECTED]> wrote: But the prerender() is called before the tag being processed. when the prerender() is called, the reference is still null if this is an initial request. Tree hasn't been constructed, when the prerender() is called. I guess maybe if I want to s

Re: Where dose JSP works in JSF request lifecycle?

2006-05-03 Thread Craig McClanahan
On 5/3/06, 王曾wang_zeng <[EMAIL PROTECTED]> wrote: Oh,yeah,I see, that's why you use "new" keyword in the code above. >private HtmlOutputText dynamicText = new HtmlOutputText(); Then,I have a pretty weird idea. If you dosen't new a HtmlOutputText,will there be a NullpointerException popped up i

Re: Where dose JSP works in JSF request lifecycle?

2006-05-02 Thread Craig McClanahan
On 5/2/06, 王曾wang_zeng <[EMAIL PROTECTED]> wrote: Graig, that's very kind of you. Are these aproachs feasible,when the page is requested by an inital request? When an inital request arrives, the view restoring phase is skipped and JSF goes to the response rendering phase directly. Then there sho

Re: Where dose JSP works in JSF request lifecycle?

2006-05-01 Thread Craig McClanahan
On 5/1/06, 王曾wang_zeng <[EMAIL PROTECTED]> wrote: 2006/4/28, Craig McClanahan <[EMAIL PROTECTED]>: > > You are correct. There is special handling defined in the Restore View > phase. If that phase discovers that there is no state to be restored > , then JSF will immed

Re: Where dose JSP works in JSF request lifecycle?

2006-04-28 Thread Craig McClanahan
On 4/28/06, 王曾wang_zeng <[EMAIL PROTECTED]> wrote: 2006/4/29, Craig McClanahan <[EMAIL PROTECTED]>: > > You also have to remember that your listener is going to receive > beforePhase() calls for *all* simultaneously active requests, not just the > one page you migh

Re: Where dose JSP works in JSF request lifecycle?

2006-04-28 Thread Craig McClanahan
On 4/28/06, Hubert Rabago <[EMAIL PROTECTED]> wrote: On 4/28/06, Craig McClanahan <[EMAIL PROTECTED]> wrote: > > Yes. The way to do this would be to define a phase listener for Render > Response phase, and do your data collection in the beforePhase event > handler. Y

Re: Where dose JSP works in JSF request lifecycle?

2006-04-28 Thread Craig McClanahan
On 4/28/06, Bernhard Slominski <[EMAIL PROTECTED]> wrote: > So, how do you make sure that the right dynamic data gets > loaded so that the > page displays the right stuff? That's where Shale comes in > handy. If your > backing bean implements the ViewController interface, then > prerender() wi

Re: Where dose JSP works in JSF request lifecycle?

2006-04-28 Thread Craig McClanahan
On 4/27/06, 王曾wang_zeng <[EMAIL PROTECTED]> wrote: Thank you,Craig. What do you mean by setup action? Is that the kind of action which grabs some data, do some encapsilation work, and stuff them into JSP scopes. Yes, that's what I meant. You say we can archive the goal with shale as well a

Re: Where dose JSP works in JSF request lifecycle?

2006-04-27 Thread Craig McClanahan
On 4/27/06, 王曾wang_zeng <[EMAIL PROTECTED]> wrote: > > In JSF, when a request arrives, it should go through 6 phases to process > the > request. The first stage is called Restore the View , and the last stage > is > called Render the Response. I wonder where JSP works in these 6 > phases. If > JSP

Re: [shale] any public binary release available?

2006-04-26 Thread Craig McClanahan
On 4/26/06, Ryan Wynn <[EMAIL PROTECTED]> wrote: > > Just wondering if there is anywhere I can get a binary release of > shale. I looked at the release plans on the wiki for 1.0 and 1.0.1 > and didn't see any checkmarks under GA. The current release was graded "alpha" because of a dependence on

Re: Tiles vs. + XHTML/CSS

2006-04-25 Thread Craig McClanahan
On 4/25/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > > On 4/25/06, Craig McClanahan <[EMAIL PROTECTED]> wrote: > > According to the APIs, it is actually one Controller per Tile, not one > > Controller per page ... doesn't that give you (Michael) the hook y

Re: Tiles vs. + XHTML/CSS

2006-04-25 Thread Craig McClanahan
On 4/25/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > > On 4/25/06, Greg Reddin <[EMAIL PROTECTED]> wrote: > > > if I have a > > > composite page out of three JSP files, how would I run their > > > corresponding setup actions before the page is composed? > > > > > > Instead of including JSP pa

  1   2   3   4   5   6   7   8   9   10   >