[OT?] JSF - struts-faces-20050728.zip - integrating with Tiles

2005-08-04 Thread GRamani
Hi all: This is my first message to the list after a *very* long time so I apologize in advance if this is either considered OT (I couldn't find a JSF list??) or this topic has been recently discussed. I am trying to integrate my struts+tiles(+xdoclet) app with jsf and am having trouble with i

Re: {Spam?} help on plugin and i18n

2005-08-04 Thread GRamani
Hi Anoop: Have you looked at this page: http://www.systemmobile.com/articles/strutsMessageResources.html Regards, Geeta "peeths @struts" <[EMAIL PROTECTED]> 08/04/2005 04:08 PM Please respond to "Struts Users Mailing List" To user@struts.apache.org cc Subject {Spam?} help on plugin and

Displaying links to Actions while integrating using struts-faces

2005-08-05 Thread GRamani
Hi all: I am using struts-faces to integrate my Struts+Tiles app with faces and am following pretty much the advice in "Best of Both worlds" article here: http://www.oracle.com/technology/pub/articles/masterj2ee/j2ee_wk8.html Here's my question: My left nav bar contents is menu.jsp and has a bu

Re: {Spam?} Re: Struts documentattion

2005-08-05 Thread GRamani
Here you go: http://struts.apache.org/api/ (you could also google..:) regards, Geeta "Ayusman dikshit" <[EMAIL PROTECTED]> 08/05/2005 11:33 AM Please respond to "Struts Users Mailing List" To "Struts Users Mailing List" cc Subject {Spam?} Re: Struts documentattion Hi All, I am a

Re: {Spam?} Re: [OT] What to choose: Struts, JSF, Shale or Spring

2005-08-05 Thread GRamani
So is anybody using struts-faces and trying to integrate struts with jsf? Or is that project kind of abandoned now..? Craig McClanahan <[EMAIL PROTECTED]> 08/05/2005 12:18 PM Please respond to "Struts Users Mailing List" To Struts Users Mailing List cc Subject {Spam?} Re: [OT] What to ch

Re: {Spam?} Re: [OT] What to choose: Struts, JSF, Shale or Spring

2005-08-05 Thread GRamani
Thank you for your response, Kevin. I was starting to think that too.. However, I went back and listened again to Craig's talk in the serverside Java Symposium (and that was only in March of this year): http://www.theserverside.com/symposium/presentations.html I understood him to say that usin

Re: {Spam?} Re: help on plugin and i18n

2005-08-05 Thread GRamani
Hi Anoop, your first note says your error is: "Missing message for key "app.username". So make sure you have a property called app.username in your resources file.. Also, I believe you should put your file in WEB-INF/classes not in WEB-INF... Regards, Geeta "peeths @struts" <[EMAIL PROTECTE

Re: {Spam?} Re: java.lang.NoClassDefFoundError: org/apache/struts/action/ActionForm

2005-08-05 Thread GRamani
I agree with Laurie below that (b) is probably the culprit, except I know I have read (on struts.apache.org) that the only place your struts.jar ought to be is in WEB-INF/lib of your web application. If for example other copies are present elsewhere (other than in a web application context) I t

Re: [OT] What to choose: Struts, JSF, Shale or Spring

2005-08-05 Thread GRamani
Thank you for the detailed reply, Craig. The reason I was hesitating going whole hog into Shale was I was worried the functionality of Struts that I have gotten used to may still be in an incumbent stage in Shale. However since you state that JSF+Shale "has pretty much all the functional featur

Re: {Spam?} What is the recomended framework

2005-08-05 Thread GRamani
..and for this particular list one question that will be of interest is: "Would people who know and love Struts find Shale easier/more familiar, etc. than say MyFaces"? After all, Shale was almost chrstened Struts2.0 I know, I know, I ought to research all the possiblities, but for some rea

Re: What is the recomended framework

2005-08-05 Thread GRamani
oops sorry, I meant spring or some other framework.. [EMAIL PROTECTED] 08/05/2005 03:37 PM Please respond to "Struts Users Mailing List" To "Struts Users Mailing List" cc Struts Users Mailing List Subject {Spam?} Re: {Spam?} What is the recomended framework ..and for this particula

Re: {Spam?} Re: [OT] What to choose: Struts, JSF, Shale or Spring

2005-08-05 Thread GRamani
Fair enough.. and I'll resist the temptation to ask when you think/hope those "couple of rounds" will be done..;) Thanks again for your time! Geeta Craig McClanahan <[EMAIL PROTECTED]> 08/05/2005 03:59 PM Please respond to "Struts Users Mailing List" To Struts Users Mailing List cc Sub

Re: {Spam?} Deleting all beans

2005-08-05 Thread GRamani
Dave, You can use this: HttpSession.invalidate(); and poof! there go all your beans..;) regards, Geeta David Thielen <[EMAIL PROTECTED]> 08/05/2005 06:14 PM Please respond to "Struts Users Mailing List" To Struts Users Mailing List cc Subject {Spam?} Deleting all beans Hi; When

Re: {Spam?} Forwarding to a global Forward

2005-08-07 Thread GRamani
Hi Daniel: Why do you even bother defining the "default" forward for your action? Why not simply (in your Action class) forward to "AddUser" - the global forward that you have defined already?.Is there something else you are trying to achieve? Regards, Geeta Daniel Schaller <[EMAIL PRO

Re: {Spam?} Struts Basic problem.

2005-08-08 Thread GRamani
here you go: http://www.geocities.com/Colosseum/Field/7217/SW/struts/errors.html Hth, Geeta "Ayusman dikshit" <[EMAIL PROTECTED]> 08/08/2005 01:27 PM Please respond to "Struts Users Mailing List" To "Struts Users Mailing List" cc Subject {Spam?} Struts Basic problem. Hi List, I a

Re: {Spam?} Re: Resin and struts

2005-08-08 Thread GRamani
Hi Simons, I think what Dave is saying is that in this case your form bean should look like this: (look at the type - it should have the fully qualified path name..) Regards, Geeta "Simons Kevin" <[EMAIL PROTECTED]> 08/08/2005 01:53 PM Please respond to "Struts Users Mailing List" To "

[OT]Terrific intro to JSF

2005-08-08 Thread GRamani
Hi all: i know it isn't Friday yet.. ;) but .. in case you have been looking for a nice and clear introduction to JSF, look no further. Here it is: http://www-128.ibm.com/developerworks/java/library/j-jsf1/ I have only just completed the first article - and can't wait to get to the next three!

Re: {Spam?} validate() not called

2005-08-08 Thread GRamani
Hi Jay, So how do you know that validate() isn't being called? Have you placed a break point in your validate and execute methods? Can you send us the snippets from struts-config.xml for both the classes and tell us which works and which doesn't? Geeta Jay Sheth <[EMAIL PROTECTED]> 08/08/

Re: {Spam?} Re: {Spam?} validate() not called

2005-08-08 Thread GRamani
Hi Jay: So the form beans you are using in both cases are different. So are you sure these two form bean names are mapped to the correct classes in your struts-config.xml? i.e. check what 08/08/2005 03:57 PM Please respond to "Struts Users Mailing List" To Struts Users Mailing List cc S

Re: {Spam?} Re: {Spam?} Re: {Spam?} validate() not called

2005-08-08 Thread GRamani
Do you use an IDE for development? Like eclipse or something? If you don't, I would suggest you do because then you could set breakpoints and debug that way.. System.out.printlns aren't the best way to debug - as you are probably finding out..:) One more thing you could do is the following: cha

Re: {Spam?} validate() not called

2005-08-09 Thread GRamani
So what is the problem you are having? I am using eclipse and tomcat 5.5.9 just fine...? Geeta Jay Sheth <[EMAIL PROTECTED]> 08/09/2005 01:10 PM Please respond to "Struts Users Mailing List" To Struts Users Mailing List cc Subject {Spam?} Re: {Spam?} Re: {Spam?} Re: {Spam?} validate() no

Re: {Spam?} Re: {Spam?} Re: {Spam?} Re: {Spam?} validate() not called

2005-08-09 Thread GRamani
Well, not only that, if you want eclipse to play nice with tomcat (and have eclipse obey break points and what not), then you in fact start tomcat from within eclipse, right? I have been doing this for a while now so I don't see what the problem could be..? Would something like this link help:

Re: {Spam?} Re: {Spam?} Re: {Spam?} Re: {Spam?} Re: {Spam?} validate() not called

2005-08-09 Thread GRamani
oh ok I see where you are coming from.. I didn't know about this remote debugging thing so it's good info..:) However, I didn't think the original poster had this situation at all.. or maybe i grossly misunderstood...(been known to happen..;)) Ed Griebel <[EMAIL PROTECTED]> 08/09/2005 01:43

Re: {Spam?} Re: [OT]Terrific intro to JSF

2005-08-09 Thread GRamani
well, yes.. I guess maybe my note seems to suggest otherwise..? well, I am right now about half way through the second one and it's still holding up to its initial promise..:) Geeta "C.F. Scheidecker Antunes" <[EMAIL PROTECTED]> 08/09/2005 02:18 PM Please respond to "Struts Users Mailing L

Re: {Spam?} Category and Subcategory logic within Struts

2005-08-09 Thread GRamani
Funny you mention this... since apparently this kind of functionality has been foreseen and built right into JSF..! I don't suppose moving over to jSF is an option for you, right? Geeta "C.F. Scheidecker Antunes" <[EMAIL PROTECTED]> 08/09/2005 02:56 PM Please respond to "Struts Users Mai

Re: Avis.com J2EE website

2005-08-09 Thread GRamani
These usually involve JavaScript. Here's a link: http://www.mattkruse.com/javascript/calendarpopup/ Regards, Geeta "C.F. Scheidecker Antunes" <[EMAIL PROTECTED]> 08/09/2005 07:25 PM Please respond to "Struts Users Mailing List" To Struts Users Mailing List cc Subject {Spam?} Avis.com J2

Re: {Spam?} RE: [OT]Terrific intro to JSF

2005-08-10 Thread GRamani
Daniel: "Daniel Perry" <[EMAIL PROTECTED]> wrote on 08/10/2005 05:39:49 AM: > My reasoning behind all this stuff, is i HATE all these xml config files. > Or more accurately, I like xml config files, but I hate moving between X > different xml files. It might suit IDEs, but it aint right for hu

Re: {Spam?} RE: [OT]Terrific intro to JSF

2005-08-10 Thread GRamani
"Pilgrim, Peter" <[EMAIL PROTECTED]> wrote on 08/10/2005 08:19:39 AM: > I was trying to print out the above documents so I could read > them on the train last night. I cant believe that IBM Developer > does not have a "Printer Friendly" link for its online stuff. > I could be wrong! Exactly!! The

RE: [OT]Terrific intro to JSF

2005-08-10 Thread GRamani
Sorry this is the link I meant to send: http://www.mail-archive.com/user@xdoclet.codehaus.org/msg00029.html Geeta > > Daniel: > > > > "Daniel Perry" <[EMAIL PROTECTED]> wrote on 08/10/2005 05:39:49 AM: > > > > > My reasoning behind all this stuff, is i HATE all these xml config files. > > > Or

Re: {Spam?} Re: [OT]Terrific intro to JSF

2005-08-10 Thread GRamani
That's how I tried to print and I got yukky results... (But I'm using Firefox maybe I gotta use IE or something..?) Geeta "Wendy Smoak" <[EMAIL PROTECTED]> wrote on 08/10/2005 09:23:29 AM: > From: "Pilgrim, Peter" <[EMAIL PROTECTED]> > > >> http://www-128.ibm.com/developerworks/views/java/l

Re: [OT]Terrific intro to JSF

2005-08-10 Thread GRamani
Damn. Wish *I* had thought of saying "just bloody awful infuriating nonsense" in some of the project meetings I've sat in in the past..;)) Geeta "Pilgrim, Peter" <[EMAIL PROTECTED]> wrote on 08/10/2005 09:42:05 AM: > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PRO

Re: {Spam?} Re: validate() not called haunts

2005-08-10 Thread GRamani
Gareth Evans <[EMAIL PROTECTED]> wrote on 08/10/2005 10:28:31 AM: > You could manually set the errors in the page within your action > with the method > > addErrors( request , form.update(mapping,request) ); > > the addErrors method is already defined in the class Action. It is saveErrors(requ

Re: Java code generator including Struts 1.2

2005-08-10 Thread GRamani
But I (and you too!) can already get the source for struts for free..:)) Geeta Jinpeng Xie <[EMAIL PROTECTED]> wrote on 08/10/2005 11:54:53 AM: > > > Dear struts users, > > I purchased Dreamsource- a Java code generator from Leeonsoft company ( > http://www.leeonsoft.com) last week. It is so p

Re: {Spam?} RE: validate() not called haunts

2005-08-10 Thread GRamani
That's right!!! I mean about the method signature!! I meant to write that to you and then something else intervened and i forgot.. Yes, so do that and let us know..:) Geeta "Duane Rosengartner" <[EMAIL PROTECTED]> wrote on 08/10/2005 02:51:42 PM: > >> p. Now i have got the debugging working.

Re: Re: Re: validate() not called haunts

2005-08-10 Thread GRamani
That was a good link - thanks! Re. the "Spam" thing, i really do apologize. I totally understand because it probably bugs me more than it bugs anybody else. We are supposed to use Lotus notes for mail in our company and I absolutely *hate* it. This "spam" thing is just one more annoying "featu

[OT?] JSF issue: Second link in JSP gives Duplicate component ID error

2005-08-11 Thread GRamani
Hi all: Am working through the second of the JSF for nonbelievers article and have found a weird error while constructing one of my jsps. I have two links for sorting by descending and ascending items in a table. It seems like the first link works great, but the second link always gives me a

Re: [OT?] JSF issue: Second link in JSP gives Duplicate component ID error

2005-08-11 Thread GRamani
Here's the code for the jsp in a more readable format:    

Re: How JSESSIONID is passes

2005-08-16 Thread GRamani
Hi Senthilrajan: As Hermod mentioned in his note, your session problems are caused because you have (from your previous note): HttpSession Session=request.getSession(true); The "true" means create a new session. So instead use: HttpSession Session=request.getSession(false); or just: HttpSession

Re: [OT] Re: How JSESSIONID is passes

2005-08-16 Thread GRamani
You are quite right; I was being sloppy.. Should have added the "if there's no current session" bit.. thanks for the catch.. Geeta Dave Newton <[EMAIL PROTECTED]> wrote on 08/16/2005 10:54:39 AM: > [EMAIL PROTECTED] wrote: > > >HttpSession Session=request.getSession(true); > > > >The "true" mea

Re: [OT] Re: How JSESSIONID is passes

2005-08-16 Thread GRamani
I was thinking of that too.. He did say in his initail post: "I'm keep on calling this action for different condition".. so the clue maybe hidden in that.. But then again, having been up since 3am, I perhaps shouldn't be posting to any lists..;) Geeta Dave Newton <[EMAIL PROTECTED]> wrote on

Re: [OT] Find properties file in classpath

2005-08-17 Thread GRamani
Hi Ashish, Seems ok except maybe you forgot to set url to ClassLoader.getSystemResource("approval.properties"). Also, googling gave me this link which you may find useful: http://java.sun.com/j2se/1.4.2/docs/guide/resources/resources.html Regards, Geeta Ashish Kulkarni <[EMAIL PROTECTED]> wr

Re: multiple file upload iteration

2005-08-17 Thread GRamani
I think maybe you are executing "en.nextElement()" twice..? Once for your logging and once inside your try block..? Gordon Hu <[EMAIL PROTECTED]> wrote on 08/17/2005 10:54:22 AM: > for (Enumeration en = fileCounter.elements(); en.hasMoreElements(); ) { > System.out.println("In action " + en.next

Re: Clarification Reg bean:include

2005-08-17 Thread GRamani
Dave Newton <[EMAIL PROTECTED]> wrote on 08/17/2005 02:33:03 PM: > Laurie Harper wrote: > > > sajith kumar wrote: > > > >> In our proj we were using bean:include to include alternative jsp's > >> based on some conditions thru action class > > I would also ask how was replaced by > and sinc

[Shale/JSF] Extending AbstractViewController doesn't automagically give me access to init() etc.

2005-08-23 Thread gramani
Hi all: I have been struggling all day to understand the features provided by Shale. Here's what i have so far: I have a new skeletal project with just the jars in usecases.war in my WEB-INF/lib and 2 trivial jsps. index.jsp which forwards to logon.faces. logon.jsp is a usual logon page with u

Re: [Shale/JSF] Extending AbstractViewController doesn't automagically give me access to init() etc.

2005-08-23 Thread gramani
[EMAIL PROTECTED] wrote on 08/23/2005 03:10:38 PM: > > I have a LogonAction class (using org.apache.shale.usecases.profile > .LogonActions) which extends AbstractViewController. From the API docs for > ViewController: I mean: I have a LogonAction class (using org.apache.shale.usecases.profile

Re: [Shale/JSF] Extending AbstractViewController doesn't automagically give me access to init() etc.

2005-08-23 Thread gramani
Larry Meadors <[EMAIL PROTECTED]> wrote on 08/23/2005 03:59:50 PM: > On 8/23/05, Craig McClanahan <[EMAIL PROTECTED]> wrote: > > > > Hmm ... sounds like a "shale-blank" app (corresponding to > > struts-blank) might be a good idea ... > > +1! > > :-D > +..like.. a gazillion..? ;)

Re: [Shale/JSF] Extending AbstractViewController doesn't automagically give me access to init() etc.

2005-08-23 Thread gramani
Craig McClanahan <[EMAIL PROTECTED]> wrote on 08/23/2005 03:27:18 PM: > Change this to "logon" and update any value binding expressions that > use it as well. > Craig, as ever many thanks for your detailed reply! ok, so I changed my faces.config.xml and now my manged bean looks like this:

Re: [Shale/JSF] Extending AbstractViewController doesn't automagically give me access to init() etc.

2005-08-23 Thread gramani
uh, ohsorry!! Was being a dufus again... Please ignore my earlier note. Had another profile$logon stuck in the username and pw fields in my jsp.. Sorry! Everything's working just fine now..:) Thanks a lot for the help, Craig! (and especially the explanation..:) Geeta [EMAIL PROTECTED] wro

Re: [Shale/JSF] Extending AbstractViewController doesn't automagically give me access to init() etc.

2005-08-23 Thread gramani
Rick Reumann <[EMAIL PROTECTED]> wrote on 08/23/2005 04:31:41 PM: > Craig McClanahan wrote the following on 8/23/2005 4:10 PM: > > > The important principle is really pretty easy to articulate: > > > > IF you want your backing bean to implement ViewController > > and get its event method

Re: [Shale/JSF] Extending AbstractViewController doesn't automagically give me access to init() etc.

2005-08-23 Thread gramani
Craig McClanahan <[EMAIL PROTECTED]> wrote on 08/23/2005 04:38:23 PM: > Yep :-). > > > Well, not exactly. Now my logon method isn't getting hit..(:(. > > Instead I have nasty errors like this: > > > > javax.servlet.ServletException: Error testing property 'username' in bean > > of type null >

Re: [Shale/JSF] Extending AbstractViewController doesn't automagically give me access to init() etc.

2005-08-23 Thread gramani
Rick Reumann <[EMAIL PROTECTED]> wrote on 08/23/2005 04:53:35 PM: > If that's the case, though, I'd find that as a severe limitation of JSF. > In Struts my DispatchActions can be called from anywhere and there isn't > really a need for a tight coupling. "getEmployee" returns "success" and >

Re: [Shale/JSF] Extending AbstractViewController doesn't automagically give me access to init() etc.

2005-08-23 Thread gramani
Craig McClanahan <[EMAIL PROTECTED]> wrote on 08/23/2005 06:33:35 PM: > > But, I would caution you to avoid a mistake that lots of Struts users > make as well -- think of an outcome (JSF) or an ActionForward (Struts) > as a description that says "this is what happened", not "this is where > to g

Shale and Tiles integration - where oh where is shale-tiles.jar?

2005-08-24 Thread gramani
Hi again, So now that I have a trivial login page working, I want to integrate tiles in..:) I found this link: http://jroller.com/page/dgeary?entry=shale_adds_tiles_integration which seems pretty promising. But there's mention of a shale-tiles.jar but no word about where to download it..? Goog

Re: Tiles standalone implementation

2005-08-24 Thread gramani
Ah I think I actually found this .. Here it is: http://cvs.apache.org/builds/jakarta-struts/nightly/sandbox/tiles-core/ Regards, Geeta "Walton, Kaleb \(ISS Southfield\)" <[EMAIL PROTECTED]> wrote on 08/24/2005 10:02:10 AM: > I'm in the process of building the Shale trunk and have one depende

Re: Shale and Tiles integration - where oh where is shale-tiles.jar?

2005-08-24 Thread gramani
oops, sorry, please ignore this note.. My bad.. The jar is bundled right into the struts-shale core library in the latest build..). Sorry for wasting your time. Geeta [EMAIL PROTECTED] wrote on 08/24/2005 10:04:06 AM: > Hi again, > > So now that I have a trivial login page working, I want to

Re: Shale and Tiles integration - where oh where is shale-tiles.jar?

2005-08-24 Thread gramani
Hi Martin, that's just the tiles.jar, right? I needed the shale-tiles.jar.. which I found within struts-shale-core-library/lib in the latest cvs download.. (I'm not being ambitious just yet - so I'm not building from source, just trying to use the jar files will do for now..;)) Btw, in case an

Re: Shale and Tiles integration - where oh where is shale-tiles.jar?

2005-08-24 Thread gramani
Rick Reumann <[EMAIL PROTECTED]> wrote on 08/24/2005 11:30:55 AM: > [EMAIL PROTECTED] wrote the following on 8/24/2005 10:45 AM: > > > Btw, if anyone has successfully got tiles to work with shale, could you > > please share your code? If I manage to do this I shall write this up so it > > may

Re: Shale and Tiles integration - where oh where is shale-tiles.jar?

2005-08-24 Thread gramani
Greg Reddin <[EMAIL PROTECTED]> wrote on 08/24/2005 11:36:39 AM: > Probably not :-) I think the main problem is that shale and standalone > tiles are both still evolving. I downloaded a build of shale about a > month ago and it's so out of date I'm not even trying to use it anymore. Yeah. I

Re: Shale and Tiles integration - where oh where is shale-tiles.jar?

2005-08-24 Thread gramani
Greg Reddin <[EMAIL PROTECTED]> wrote on 08/24/2005 12:01:06 PM: > > The internals of Tiles have been dramatically changed in the last week > and just yesterday David was working on changes to the Shale > integration. I'm not sure if those changes are complete and checked in > yet. So if you

Re: Shale and Tiles integration - where oh where is shale-tiles.jar?

2005-08-24 Thread gramani
Craig McClanahan <[EMAIL PROTECTED]> wrote on 08/24/2005 12:55:18 PM: > > Besides being bundled inside the example webapp, nightly builds of > standalone tiles are available too: > > http://cvs.apache.org/builds/struts/nightly/sandbox/tiles-core/ > Yes, thank you Craig, I did manage to find

Re: Shale and Tiles integration - where oh where is shale-tiles.jar?

2005-08-24 Thread gramani
Wendy Smoak <[EMAIL PROTECTED]> wrote on 08/24/2005 01:35:38 PM: > From: <[EMAIL PROTECTED]> > > > test.jsp has this: > > <%@ taglib uri="http://jakarta.apache.org/tiles"; prefix="tiles" %> > > Geeta, that caught my eye because it's not the right uri for Standalone > Tiles. It looks like there

Re: Shale and Tiles integration - where oh where is shale-tiles.jar?

2005-08-24 Thread gramani
Greg Reddin <[EMAIL PROTECTED]> wrote on 08/24/2005 01:50:23 PM: > [EMAIL PROTECTED] wrote: > > now after a bit of fumbling, I get the following error: > > > > javax.servlet.ServletException: Can't get definitions factory from > > context. > > Do you have TilesServlet configured in your web.xml

Re: Shale and Tiles integration - where oh where is shale-tiles.jar?

2005-08-24 Thread gramani
Wendy Smoak <[EMAIL PROTECTED]> wrote on 08/24/2005 02:20:50 PM: > From: <[EMAIL PROTECTED]> > > > It seems like Maven's dependency management would be pretty useful for > > this project. > > Every time I see "where is the xxx.jar", I think Maven. Thoughts? > > For Geeta's project? That's up

Building shale from SVN trunk-ShaleWebContext.getChain() not found

2005-08-24 Thread gramani
I downloaded Shale from SVN here: http://struts.apache.org/shale/index.html#download and after creating the proper build.properties for my system (just curious: how come there isn't a "sample" build.properties included in the download..?) anyways, I got past every error but one: Seems like on

Re: Shale/JSF/Java posts

2005-08-24 Thread gramani
Sorry, guilty as charged.. Won't happen again. Sorry again, Geeta Dave Newton <[EMAIL PROTECTED]> wrote on 08/24/2005 04:28:35 PM: > Hi, > > > PLEASE put [SHALE], [JSF], or [OFF-TOPIC GENERAL JAVA QUESTION I SHOULD > ASK ELSEWHERE] in the subjects of your posts relating to these topics! > > A

[Shale] Re: Building shale from SVN trunk-ShaleWebContext.getChain() not found

2005-08-24 Thread gramani
Craig McClanahan <[EMAIL PROTECTED]> wrote on 08/24/2005 04:30:11 PM: > It sounds like you re-downloaded the source distro into a directory > that had an old copy. That means you won't have reflected the fact > that InvokeCommand was deleted yesterday. (If you'd been using the > SVN repository d

Re: Shale/JSF/Java posts

2005-08-25 Thread gramani
Rick Reumann <[EMAIL PROTECTED]> wrote on 08/25/2005 01:55:04 PM: > Craig McClanahan wrote the following on 8/25/2005 12:47 PM: > > > Communities of interest don't always follow neat engineering > > architectural diagrams. The community of interest here (and the one > > that led to the Struts PM

Re: CSS not working with JSF

2005-08-25 Thread gramani
Hi Bob, I think I solved my style sheet problem something like 2 minutes ago.. :) So assuming yours is the same problem.. Here's how I declared my stylesheet up top of my layout.jsp: " /> (I changed my style sheet name from .css to .html because of (I think) new access rules with my new Tomc

Re: CSS not working with JSF

2005-08-25 Thread gramani
<[EMAIL PROTECTED]> wrote on 08/25/2005 03:19:07 PM: > Here is my include: > > > media="screen"> > How does the source for the stuff look like? As Rick says it is possible your stylesheet isn't being found.. Geeta

Re: CSS not working with JSF

2005-08-25 Thread gramani
Neil Erdwien <[EMAIL PROTECTED]> wrote on 08/25/2005 03:22:23 PM: > Beware that some browsers won't use stylesheets if they aren't sent by > the server as "text/css". I don't know authoritatively which ones, but > I think Firefox and IE *in strict mode*, require text/css. > Thanks for the war

Re: CSS not working with JSF

2005-08-25 Thread gramani
<[EMAIL PROTECTED]> wrote on 08/25/2005 03:29:57 PM: > here is my html source: > > > > media="screen"> > Test JSF and Shale > > > jsf link test: click me > > > > I know that this is wrong. It should be id="linkMe">click me and I do not know how to make jsf to do it

Re: CSS not working with JSF

2005-08-25 Thread gramani
Rick Reumann <[EMAIL PROTECTED]> wrote on 08/25/2005 03:35:06 PM: > > Care to email me the app zipped up so I can learn from it:) (rick at > reumann.net preferably). > Absolutely!.. But I do have to clean out all the test1.jsp, test2.jsp,...test567.jsp... first..;) Plus do a *final* check and

Re: [Shale] org.apache.tiles unresolved

2005-08-26 Thread gramani
Edwin Mercado <[EMAIL PROTECTED]> wrote on 08/26/2005 09:43:23 AM: > Hi! > I just started playing around with Shale, but I just can't seem to > find a tiles.jar (org.apache.tiles) library file. From where can I > download it? > Here you go http://cvs.apache.org/builds/jakarta-struts/nightly/sand

[Shale] Shale with Tiles web app example - was CSS not working with JSF

2005-08-26 Thread gramani
Hi Rick, bjester, anyone else who's interested: As promised, I have uploaded a very trivial app which integrates Shale and Tiles using the new code which David Geary committed a couple of days back (btw, I built the jars here using the source from a couple of days back.. so am not sure if they

Re: [Shale] Shale with Tiles web app example - was CSS not working with JSF

2005-08-26 Thread gramani
Sure thing. I would love to work with you and come up with something useful. I too am currently working on a web app which would demo Shark (the open source workflow engine). I already had written it using Struts, but now am attempting to rewrite that using Shale. Not sure how much success I w

RE: [Shale] Shale with Tiles web app example - was CSS not working with JSF

2005-08-26 Thread gramani
"Walton, Kaleb \(ISS Southfield\)" <[EMAIL PROTECTED]> wrote on 08/26/2005 12:48:16 PM: > Geeta, > > I'd like to get your app up and running, although, I'm having trouble. I > keep getting "Assertion Failed" errors when trying to get to index.faces > or index.jsp. Any ideas? :) > Could you pos

RE: [Shale] Shale with Tiles web app example - was CSS not working with JSF

2005-08-26 Thread gramani
"Walton, Kaleb \(ISS Southfield\)" <[EMAIL PROTECTED]> wrote on 08/26/2005 12:54:19 PM: > javax.faces.FacesException: Assertion Failed >at com.sun.faces.util.Util.doAssert(Util.java:1302) >at > com.sun.faces.taglib.jsf_core.ViewTag.getComponentType(ViewTag.java:241) >at > javax.faces.

Re: about create myself ActionForward

2005-09-06 Thread gramani
fenris <[EMAIL PROTECTED]> wrote on 09/06/2005 02:13:44 AM: > In my sub class for the action.java , I want to return a ActionForward > created by myself (use new ActionForward(path)) in the function execute. > (because I want forward a URL which is not declared in the > struts-config.xml. can I

Re: Specifying action window.open

2005-09-06 Thread gramani
"Anuradha S.Athreya" <[EMAIL PROTECTED]> wrote on 09/06/2005 07:56:19 AM: > I have a link in a JSP : > > > >Click here > > > > On Clicking this link, an action is performed and another JSP (forwarded by > the Action) opens up. > > Instead of opening the whole JSP , I want

[Shale/JSF] Method of backing bean not being called..?

2005-09-06 Thread gramani
Hi all: I thought I was finally getting the hang of Shale/JSF/tiles/ till now, when it seems like something which *ought* to work, isn't. I have a "commandLink" in my jsp page and clicking on it does not go to the the showSurvey method of my backing bean "worklist" - instead I return to an

Re: [Shale/JSF] Method of backing bean not being called..?

2005-09-06 Thread gramani
[EMAIL PROTECTED] (Gary VanMatre) wrote on 09/06/2005 01:16:00 PM: > >I thought I was finally getting the hang of Shale/JSF/tiles/ till now, > >when it seems like something which *ought* to work, isn't. I have a > >"commandLink" in my jsp page and clicking on it does not go to the the > >

Re: Exception trying to read tiles definition file in JSF..

2005-09-06 Thread gramani
Wendy Smoak <[EMAIL PROTECTED]> wrote on 09/06/2005 03:02:32 PM: > From: "Greg Reddin" <[EMAIL PROTECTED]> > > >> org.apache.struts.tiles.TilesServlet > > > The above is correct except that it appeared from your original post that > > you are using Standalone Tiles. So remove "struts" from the

Re: [Shale/JSF] Method of backing bean not being called..?

2005-09-06 Thread gramani
Rick Reumann <[EMAIL PROTECTED]> wrote on 09/06/2005 03:49:25 PM: > Do you have: > > I pared my jsf down to bare bones to debug this so I don't have any need for messages. But after googling I found this link: http://forum.java.sun.com/thread.jspa?threadID=549675&messageID=2794166 wherein it

Re: [Shale/JSF] Method of backing bean not being called..?

2005-09-06 Thread gramani
Here's more on the problem from the myfaces user list - and these are dated just last month (:( http://www.mail-archive.com/users@myfaces.apache.org/msg07151.html Briefly, here's what is the "solution": If I have a commandLink inside of a dataTable tag then the only way I can make the link wor

Re: Exception trying to read tiles definition file in JSF..

2005-09-06 Thread gramani
Bjørn T Johansen <[EMAIL PROTECTED]> wrote on 09/06/2005 04:33:40 PM: > Nope, I access the internet without any problems, so that is not the > case here... > > BTJ Not sure if this will help, but I have a trivial tiles/jsf war here which you could download and see if it works for you: http://w

Re: Exception trying to read tiles definition file in JSF..

2005-09-06 Thread gramani
..and here's a good explanation of the problem, why it occurs and why setting scope=session works: http://www.groundside.com/blog/content/DuncanMills/?month=6&day=7&year=2005 Geeta

Re: Exception trying to read tiles definition file in JSF..

2005-09-06 Thread gramani
*Sorry!! I wrote on the wrong thread... need a break... Bjørn T Johansen <[EMAIL PROTECTED]> wrote on 09/06/2005 05:25:22 PM: > I am not sure of the relevance to my question but > > BTJ > > [EMAIL PROTECTED] wrote: > > ..and here's a good explanation of the problem, why it occurs and why >

Re: [Shale] prerender - I'm thinking its not as powerful as I once thought

2005-09-06 Thread gramani
Rick Reumann <[EMAIL PROTECTED]> wrote on 09/06/2005 09:25:02 PM: > 3) Lastly I'm not so sure I always want the prerender method being > called. For example if I'm using the same backingBean for genearating a > list of employees and for setting up an edit page, what would the > prerender actual

Re: [Shale/JSF] Method of backing bean not being called..?

2005-09-07 Thread gramani
Rick Reumann <[EMAIL PROTECTED]> wrote on 09/07/2005 10:10:44 AM: > [EMAIL PROTECTED] wrote the following on 9/6/2005 4:36 PM: > > Here's more on the problem from the myfaces user list - and these are > > dated just last month (:( > > > > http://www.mail-archive.com/users@myfaces.apache.org/msg0

Re: NoClassDefFoundError: org/apache/taglibs/standard/lang/support/ExpressionEvaluatorManager

2005-09-07 Thread gramani
Randy Shepherd <[EMAIL PROTECTED]> wrote on 09/07/2005 05:07:12 PM: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hey Guys, > > I am trying to migrate a small app from 1.1 to 1.2.7 and I experiencing > this exception on JSP that previously worked just fine. I have the > standard.jar in

Re: JSF -> Shale transition

2005-09-08 Thread gramani
Dakota Jack <[EMAIL PROTECTED]> wrote on 09/08/2005 04:18:46 PM: > Well, have you considered classic struts? Shale is really meant for > people who are trying to change an application from JSF to Struts, --do you really mean this?.. Even if you actually instead meant to say "from Struts to JSF

[Shale]Best practice to add common code for all command actions for all backing beans

2005-09-09 Thread gramani
Hi all: I am making small and halting progress with my Shale application and have this pretty fundamental question. Suppose my backing bean has this code: public String getWorkList() { String username = (String) FacesContext.getCurrentInstance() .getExternalContext().getSessionMap()

Re: [Shale]Best practice to add common code for all command actions for all backing beans

2005-09-09 Thread gramani
[EMAIL PROTECTED] (Gary VanMatre) wrote on 09/09/2005 11:49:12 AM: > There are several ways to handle this, maybe too many options: > > From a view controller: > >String userName = getBean("sessionScope.userName"); Thanks for your response Gary. Maybe I misunderstand your suggestion, but I

Re: [Shale]Best practice to add common code for all command actions for all backing beans

2005-09-09 Thread gramani
Rick Reumann <[EMAIL PROTECTED]> wrote on 09/09/2005 12:01:48 PM: > > I would think JSF could use regular servlet filters? If so, that's where > I'd do stuff that you want checked on almost every request. Even in > Struts, I wouldn't touch the RequestProcessor. Use a ServletFilter. oh yes, c

Re: [Shale]Best practice to add common code for all command actions for all backing beans

2005-09-09 Thread gramani
Gary, Rick, Craig: thanks very much! Geeta

Re: [Shale]Best practice to add common code for all command actions for all backing beans

2005-09-09 Thread gramani
Rick Reumann <[EMAIL PROTECTED]> wrote on 09/09/2005 12:36:39 PM: > Craig McClanahan wrote the following on 9/9/2005 12:18 PM: > > > For Shale in particular, the "application controller" part of Shale is > > implemented as a Commons Chain chain (similar in spirit to what's going on > > with S

[Shale] First shot at writing a "Shale filter"

2005-09-09 Thread gramani
So. I am trying to write a Shale filter. This is how my chain.config.xml looks like: My PreprocessFilter extends ContextRelativePathFilter and has the foll. accept method: public void accept(ShaleWebContext context) throws Exception { ShaleWeb

Re: [Shale] First shot at writing a "Shale filter"

2005-09-09 Thread gramani
Craig McClanahan <[EMAIL PROTECTED]> wrote on 09/09/2005 05:08:47 PM: > > > > > First, you put your exclude patterns for /index.jsp and /logon.faces on the > *second* command rather than the first, so they weren't rejected by the > initial filter. > > Second, not rejecting those patterns in

Re: Error message not very helpful

2005-09-15 Thread gramani
"Murray Collingwood" <[EMAIL PROTECTED]> wrote on 09/15/2005 09:18:32 AM: > org.apache.jasper.JasperException: Attempted a bean operation on a > null object. > > org.apache.jasper.runtime.JspRuntimeLibrary. > handleGetProperty(JspRuntimeLibrary.ja > va:601) > Hi Murray, take a look at line 18

[Shale]managed beans in request vs. session scope and how to clean up

2005-09-15 Thread gramani
First off, my Shale work seems to be moving along nicely, so I want to thank everyone who has helped me get to this point..:) I have a link in a "parent window" pointing to WorkListBean.startAssessment(). In WorkList.startAssessment(), I return an outcome of "showAssessment", which in faces-co

  1   2   >