Re: {shale] Backing bean (prerender) functionality in buttons on a tile

2006-02-10 Thread gramani
[EMAIL PROTECTED] wrote on 02/10/2006 04:54:15 PM: > [EMAIL PROTECTED] wrote on 02/10/2006 03:58:11 PM: > > > > > I would clarify this "recommended method" to have one backing bean per > > *Tile* not just for the whole page. That sounds pretty much like what > you > > did below. > > > > Ah,

Re: {shale] Backing bean (prerender) functionality in buttons on a tile

2006-02-10 Thread gramani
[EMAIL PROTECTED] wrote on 02/10/2006 03:58:11 PM: > > I would clarify this "recommended method" to have one backing bean per > *Tile* not just for the whole page. That sounds pretty much like what you > did below. > Ah, I didn't know that! Ok, so my app certainly doesn't follow this rule, b

{shale] Backing bean (prerender) functionality in buttons on a tile

2006-02-10 Thread gramani
Thanks for reading my note. I have a Shale/MyFaces/ app which i have been using with Tiles. I have pages home.jsp, search.jsp etc. And since the recommended method is to have one backing bean per jsp, I have corresponding HomeBean, SearchBean, etc. and everything works quite nicely. But now I

Re: saveErrors --- ActionErrors to ActionMessages

2006-02-06 Thread gramani
"fea jabi" <[EMAIL PROTECTED]> wrote on 02/06/2006 03:54:43 PM: > I am sorry but none of the links in it are working. > > Where else can I get more info on the same? > > Thanks. hmm.. this link *is* working for me..? http://www.niallp.pwp.blueyonder.co.uk/HelpTagsErrorsAndMessages.html Geeta

Re: saveErrors --- ActionErrors to ActionMessages

2006-02-06 Thread gramani
"fea jabi" <[EMAIL PROTECTED]> wrote on 02/06/2006 03:39:55 PM: > I am having the below code now in my dispatch Action in one of the methods > in it. > > > DynaValidatorForm frm = (DynaValidatorForm)form; > > ActionErrors errors = frm.validate( mapping, request ); > if ( errors != nul

Re: displaytag

2006-01-25 Thread gramani
"fea jabi" <[EMAIL PROTECTED]> wrote on 01/25/2006 02:47:03 PM: > yes, I do. > > private String accountNum; > > public void setAccountNumber(String accountNum) { > this.accountNum = accountNum; > } > > public String getAccountNumber() { > return accountNum; >

Re: displaytag

2006-01-25 Thread gramani
"fea jabi" <[EMAIL PROTECTED]> wrote on 01/25/2006 02:36:27 PM: > Sorry, guys for posting display tag issue here. Had to do this as I was not > getting any response from it's user forum today atleast. > > > Have an object Account. Which is having attributes accountNum, > accountTypeetc. >

Re: [shale] stable?

2006-01-16 Thread gramani
Yaroslav Novytskyy <[EMAIL PROTECTED]> wrote on 01/16/2006 08:56:37 AM: > Hello! > > I wonder if Shale is stable enough in it's interfaces to start using it for > developing commercial applications. > (or is it better to use pure JSF for stability reasons?) > > Can anybody comment on this? >

Re: [OT] Getting started is confusing [was] Re: Need advice

2006-01-11 Thread gramani
news <[EMAIL PROTECTED]> wrote on 01/11/2006 11:34:12 AM: > Frank W. Zammetti wrote: > > > > String var = > > (String)FacesContext.getCurrentInstance().getExternalContext(). > getRequestParameterMap().get("variableName"); > > > A yes the lovely Request Factory->context...-> cascade > > I per

Re: Workflow Implementation

2006-01-11 Thread gramani
"Thomas Joseph" <[EMAIL PROTECTED]> wrote on 01/11/2006 05:16:16 AM: > Hi All, > > What is the best way to implement workflow for an interactive application. > Any good architecture, best practices, patterns etc. > > Please indicate if I should address this to a different mailing list. Hi Th

Struts basic info - (was RE: [EMAIL PROTECTED])

2006-01-09 Thread gramani
<[EMAIL PROTECTED]> wrote on 01/09/2006 09:59:49 AM: > > Hello > > I am new to struts. > > Can you please tell me where could I get the basic information > regarding the same. > > Some of the basic books or pdf files for the basic understanding of struts Hi, There's a lot of info out on th

Re: [OT] was Re: Advice for Struts expert ...

2006-01-08 Thread gramani
Ted Husted <[EMAIL PROTECTED]> wrote on 01/08/2006 02:00:25 PM: > How about > > [FRIDAY] You might be a Dogbert if ... > > ... you are inspired by Internet trolls. :) > > * Gentle Definition - > http://www.askdavetaylor.com/whats_a_troll_and_a_zombie.html Actually there's an even gentler defi

Re: Advice for Struts expert wanting to try Shale?

2006-01-08 Thread gramani
"Frank W. Zammetti" <[EMAIL PROTECTED]> wrote on 01/08/2006 11:29:54 AM: > Gary VanMatre wrote: > > Very interesting, and only if as much intellectual collateral was > spent addressing technical issues... > > Oh come on now Gary, that wouldn't be even HALF as entertaining;) LOL > > Frank Which

Re: [Shale] getting my first dialog to work with Shale/MyFaces

2006-01-08 Thread gramani
Rahul Akolkar <[EMAIL PROTECTED]> wrote on 01/08/2006 12:43:40 AM: > > Not really. I understand your "specs" now, whats the "nasty error" you > refer to, does that hold any clues? Ok, so after reading your post and Craig's subsequent reply, I realised that it is ok to return a "null" from the b

Re: [Shale] getting my first dialog to work with Shale/MyFaces

2006-01-07 Thread gramani
Rahul Akolkar <[EMAIL PROTECTED]> wrote on 01/06/2006 05:07:21 PM: > On 1/6/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > Actually I found that dialog-config.xml had an xml error so I guess it was > > silently not loaded. So I fixed it and now the Cancel works (yeahh!!) so I > > th

Re: [Shale] getting my first dialog to work with Shale/MyFaces

2006-01-06 Thread gramani
[EMAIL PROTECTED] wrote on 01/06/2006 04:18:43 PM: > > This particular exception means that Shale could not find a dialog named > "Search Contacts" in the set of configured dialogs. (Yes, the error message > should actually *say* that ... it will tonight :-). Thanks! :) In turn, that implies

[Shale] getting my first dialog to work with Shale/MyFaces

2006-01-06 Thread gramani
Hi all: I am back working with Shale after setting it down for a while. So anyway, I am trying to get my first dialog to work by making a trivial Search and Cancel button. Here's what i have in dialog-config.xml: My /menu.jsp (via tiles mapping) has:

Re: form submitted twice

2006-01-06 Thread gramani
"Faisal Shoukat" <[EMAIL PROTECTED]> wrote on 01/06/2006 11:46:51 AM: > Hi, > > > > I have a problem where for some unknown reason my form is submitted > twice. I have a action class which calls a delegate which calls a DAO > class. > > > > When I press submit the form is submitted. My c

RE: [FRIDAY] You might be a geek if ...

2006-01-06 Thread gramani
LOL As well as a Cntrl-F when you are reading a book...!! Chris McCormack <[EMAIL PROTECTED]> wrote on 01/06/2006 11:01:18 AM: > ...after saying/handwriting the wrong thing your left hand instinctively > moves to press CTRL-Z. Yes I have done this :( >

Re: [struts-faces] forwarding managed-bean event handler

2006-01-04 Thread gramani
-David Bowers <[EMAIL PROTECTED]> wrote: - > I'm trying to figure out a good way to start migrating from struts to JSF > (w/o Shale at this point). Hi David, have you looked at the struts-faces integration library? I believe the intention for that library was to do just what you propose

Re: [solved] Revisiting nested Lists (again:) using Request scope ( also related to LazyList )

2005-12-29 Thread gramani
Priya Saloni <[EMAIL PROTECTED]> wrote on 12/29/2005 02:50:06 PM: > Sorry for the dumb question but i have to ask ..from where i can get this > class org.apache.commons.collections.list.LazyList.. > > from this url > http://jakarta.apache.org/commons/collections/apidocs- > COLLECTIONS_3_1/org/ap

Re: Noob question...

2005-12-12 Thread gramani
"Josh McDonald" <[EMAIL PROTECTED]> wrote on 12/12/2005 06:26:33 PM: > Bit of a noob to debugging struts apps, what exactly does "Failed to > obtain specified collection" mean? I can't find anything on google that > explains it. I've gone over the JSP code and various actions and forms > etc, and

Re: [OT] How to determine if a session id is still valid

2005-12-09 Thread gramani
ooper <[EMAIL PROTECTED]> wrote on 12/09/2005 05:44:59 PM: > Given a session id -- request.getSession().getId() which has been > previously saved to a db, how can I determine if it is still a > valid/active session? TIA, Brian Barnett > Hi Brian, I don't really know the direct answer to your qu

Re: Handling config files

2005-12-08 Thread gramani
Sebastian Stein <[EMAIL PROTECTED]> wrote on 12/08/2005 05:31:36 PM: > [EMAIL PROTECTED] <[EMAIL PROTECTED]> [051208 23:27]: > > String xpdlPropertiesFileName = "xpdl.properties"; //file should be in the > > class path.. > > Sorry for the stupid question, but what are possible class paths in a

Re: Handling config files

2005-12-08 Thread gramani
Hi Sebastain, There are probably many ways of doing this (I don't know of any "standard" way though). Here's some code which i use to populate a Properties object from a file: String xpdlPropertiesFileName = "xpdl.properties"; //file should be in the class path.. InputStream is = null; ClassLo

RE: Re: Session problem

2005-12-07 Thread gramani
"James Harig" <[EMAIL PROTECTED]> wrote on 12/07/2005 12:50:06 PM: > >> > >> To facilitate these items, you will need some method of informing > >> your webapplication that the server is going to be shutdown. One > >> way to do this would be to set a flag in the application context; > >> ano

RE: Re: Session problem

2005-12-07 Thread gramani
"James Harig" <[EMAIL PROTECTED]> wrote on 12/07/2005 12:50:06 PM: > >> > >> To facilitate these items, you will need some method of informing > >> your webapplication that the server is going to be shutdown. One > >> way to do this would be to set a flag in the application context; > >> ano

RE: Re: Session problem

2005-12-07 Thread gramani
"James Harig" <[EMAIL PROTECTED]> wrote on 12/07/2005 11:53:15 AM: > > To facilitate these items, you will need some method of informing > your webapplication that the server is going to be shutdown. One > way to do this would be to set a flag in the application context; > another way is to

Re: Shale documentation

2005-12-07 Thread gramani
Tremal Naik <[EMAIL PROTECTED]> wrote on 12/07/2005 04:52:36 AM: > Hi everibody, I suppose this question has already been asked, so > please apologize: Where can I find a User Guide for Shale? Are there > tutorials for Shale around? You are right, the question has been asked before: :) http://ar

Re: [FRIDAY] Struts 1.x is Struts Classic after all

2005-12-02 Thread gramani
Rick Reumann <[EMAIL PROTECTED]> wrote on 12/02/2005 03:11:48 PM: > Don Brown wrote the following on 12/2/2005 12:44 AM: > > When we started Struts Ti, it was conceived as a new > > framework that aimed to simplify the developers life requiring no > > configuration, > > What?? No configurati

Re: [Shale] Clay - Not serving .css and .png

2005-12-02 Thread gramani
<[EMAIL PROTECTED]> wrote on 12/02/2005 03:23:58 AM: > Hi > > I my continued persuit of Shale and Clay and have now started to > apply my standard style (lquid) to the template application. What I > discovered was that Clay will not serve .css files. I noticed in > Geeta's ShaleNShark1 demo th

Re: [Shale] Shale Tutorials?

2005-11-29 Thread gramani
Hi Chary, take a look at this post by none other than Craig himself..:) http://marc.theaimsgroup.com/?l=struts-user&m=113268540603507&w=2 Geeta ( - most defintely *not* a guru..) Vishwaroopa Rangamgari <[EMAIL PROTECTED]> wrote on 11/29/2005 01:58:15 PM: > Hi Gurus, >Can anyone please let

Re: [Shale] Using standalone tiles?

2005-11-28 Thread gramani
Greg Reddin <[EMAIL PROTECTED]> wrote on 11/28/2005 11:15:29 AM: > > On Nov 28, 2005, at 10:08 AM, [EMAIL PROTECTED] wrote: > > >> Those public identifiers (the part that starts with "--/Apache...") > >> are registered to copies of the DTD inside the tiles-core.jar file, > >> you can see them in

Re: [Shale] Using standalone tiles?

2005-11-28 Thread gramani
Actually I changed my wrote on 11/28/2005 11:03:23 AM: > Well, that's the one I am using and it is not working when the > apache site is down! > > BTJ >

Re: [Shale] Using standalone tiles?

2005-11-28 Thread gramani
Wendy Smoak <[EMAIL PROTECTED]> wrote on 11/28/2005 10:55:29 AM: > > Those public identifiers (the part that starts with "--/Apache...") > are registered to copies of the DTD inside the tiles-core.jar file, > you can see them in there under /org/apache/tiles/resources. Wendy, I remember you sayi

Re: [Shale] Using standalone tiles?

2005-11-28 Thread gramani
Bjørn T Johansen <[EMAIL PROTECTED]> wrote on 11/28/2005 10:04:38 AM: > Yes, I think you are right... But I think it's kind of stupid that > my webapplication is dependent on an > external site to be up and running for my webapplication to work! > > Or is there a workaround that I don't know abo

Re: Shale prerender() problem (sometimes!)

2005-11-22 Thread gramani
[EMAIL PROTECTED] wrote on 11/22/2005 06:13:01 PM: > On 11/22/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > Hi all: > > > > I have a situation where Page1 (/worklist.jsp) has a link which when > > clicked is forwarded to Page2 (/worklist/nextAssignments.jsp). Since I > > have to do some

Re: Shale prerender() problem (sometimes!)

2005-11-22 Thread gramani
..never mind about my question. Just realised I was being really stupid. Sorry to waste your time, Geeta

Shale prerender() problem (sometimes!)

2005-11-22 Thread gramani
Hi all: I have a situation where Page1 (/worklist.jsp) has a link which when clicked is forwarded to Page2 (/worklist/nextAssignments.jsp). Since I have to do some "prerender" work to display my Page2, I have code in my backing Bean1's prerender() method. However, my breakpoint in Bean1's prer

Re: [shale] Advantages of Shale over JSF alone

2005-11-08 Thread gramani
Greg Reddin <[EMAIL PROTECTED]> wrote on 11/08/2005 10:19:17 AM: > > On Nov 8, 2005, at 9:00 AM, Garner, Shawn wrote: > > > I don't immediately see the benefits to using Shale over JSF alone. > > I'm sort of a JSF newbie and I've had a hard time seeing the > advantages as well. But I think th

Re: struts-action-intermediate page

2005-11-03 Thread gramani
sudip shrestha <[EMAIL PROTECTED]> wrote on 11/03/2005 09:49:18 AM: > Is it possible to display an intermediate page while struts action is doing > work...e.g. uploading a large file to a ftp serverand at the end of the > action will show the verfication/success page as usual. > > -- Here

Re: shale setup docs, links, and/or examples?

2005-11-02 Thread gramani
"Garner, Shawn" <[EMAIL PROTECTED]> wrote on 11/02/2005 10:41:24 AM: > I've used struts for a couple years. > > I'm interested in using shale instead of struts on a new project. > > I downloaded the shales binary and looked at the war and example projects > but they were too complex for me to

Re: Question on http://displaytag.sourceforge.net/

2005-11-01 Thread gramani
<[EMAIL PROTECTED]> wrote on 11/01/2005 03:17:20 PM: > > Has anyone used the display tag library at http://displaytag.sourceforge.net/ > in a Struts application? > > If so what did you think of it? I used in an old Struts app I worked on. It is really fantastic, has great docs, plus is *so* e

Re: SV: SV: SV: [Shale] JspTilesViewHandlerImpl and Shale

2005-10-19 Thread gramani
<[EMAIL PROTECTED]> wrote on 10/19/2005 09:53:55 AM: > Hi > > Weird. I just took one of my working MyFaces/Tiles projects, and > introduced Shale/Clay/Spring configuration to it along with the > approprate .jar files. After that the tiles definitions stopped working. > > I'll try to make mysel

Re: SV: SV: [Shale] JspTilesViewHandlerImpl and Shale

2005-10-19 Thread gramani
[EMAIL PROTECTED] wrote on 10/19/2005 09:49:09 AM: > <[EMAIL PROTECTED]> wrote on 10/19/2005 09:45:17 AM: > > > Hi > > > > Are you using the TilesViewHandler from shale-tiles or > > JspTilesViewHandlerImpl from Tomahawk ? > > > > I am using Shale's org.apache.shale.tiles.TilesViewHandler. But

Re: SV: SV: [Shale] JspTilesViewHandlerImpl and Shale

2005-10-19 Thread gramani
<[EMAIL PROTECTED]> wrote on 10/19/2005 09:45:17 AM: > Hi > > Are you using the TilesViewHandler from shale-tiles or > JspTilesViewHandlerImpl from Tomahawk ? > I am using Shale's org.apache.shale.tiles.TilesViewHandler. But I am also using tomahawk and am (so far!) having no trouble.. Geeta

Re: SV: [Shale] JspTilesViewHandlerImpl and Shale

2005-10-19 Thread gramani
<[EMAIL PROTECTED]> wrote on 10/19/2005 09:24:01 AM: > Hi Ronald > > Can you access pages as tiles-definitions? I mean not just using jsp > pages with tiles:insert? > > Hermod > ..Jumping in.. Ronald, I can access my pages as tiles defintions. What kind of problem are you running into? Geeta

Re: [Shale] Help - wonky prerender() call! - SOLVED :)

2005-10-18 Thread gramani
Since I always seem to be asking questions and receiving help, I thought I would let you know how I finally solved this problem. What was wrong was in the naming of my jsps (the view-ids). I changed my faces-config.xml from: loggedOff /failure.jsp to loggedOff

Re: [Shale] Help - wonky prerender() call!

2005-10-14 Thread gramani
[EMAIL PROTECTED] wrote on 10/14/2005 02:51:05 PM: > On 10/14/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > 3. Next I click on logoff and this is where stuff gets goofy. > > Logoff link points to "logon.logoff". LogActions.logoff() does some stuff > > and then returns "unauthenticated"

Re: [Shale] Help - wonky prerender() call!

2005-10-14 Thread gramani
Wendy Smoak <[EMAIL PROTECTED]> wrote on 10/14/2005 03:27:30 PM: > From: <[EMAIL PROTECTED]> > > > Wendy, I am currently using eclipse's built-in debugger to step into the > > code. Would you recommend something else? > > No... your original message sounded like you were just looking at the lo

Re: [Shale] Help - wonky prerender() call!

2005-10-14 Thread gramani
Wendy Smoak <[EMAIL PROTECTED]> wrote on 10/14/2005 03:12:36 PM: > From: <[EMAIL PROTECTED]> > > >I have been trying all day to understand exactly where and when Shale > > injects into the JSF life cycle and I think i'm almost there..:) > > By looking at the log files? Have you stepped through

Re: [Shale] Help - wonky prerender() call!

2005-10-14 Thread gramani
[EMAIL PROTECTED] wrote on 10/14/2005 02:58:10 PM: > On 10/14/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > "David G. Friedman" <[EMAIL PROTECTED]> wrote on 10/14/2005 02:51:13 > > PM: > > > > > If you are doing a logout, wouldn't it be quicker to do an > > immediate="true" > > > along

Re: [Shale] Help - wonky prerender() call!

2005-10-14 Thread gramani
[EMAIL PROTECTED] wrote on 10/14/2005 02:51:05 PM: > > > > The implication of this sequence of events is that the navigation requested > by "unauthenticated" did not actually happen, so it's redisplaying the same > page again. Are you sure you've got the navigation rules set up correctly, > so

RE: [Shale] Help - wonky prerender() call!

2005-10-14 Thread gramani
"David G. Friedman" <[EMAIL PROTECTED]> wrote on 10/14/2005 02:51:13 PM: > If you are doing a logout, wouldn't it be quicker to do an immediate="true" > along with your action invocation? Then you could skip the other phases. > It is in your logout/logoff after all, right? Oh, I guess that is

[Shale] Help - wonky prerender() call!

2005-10-14 Thread gramani
I have been trying all day to understand exactly where and when Shale injects into the JSF life cycle and I think i'm almost there..:) But I do have one question which reads rather long, so please bear with me. Here's what I do with my Tiles+Shale webapp: 1. Acces it via: http://www.myContext/

Re: [Shale] Changing String type to HtmlInputText in Backingbean gives No Propertyeditor error

2005-10-13 Thread gramani
Rahul Akolkar <[EMAIL PROTECTED]> wrote on 10/13/2005 07:40:06 PM: > > I was tempted to change the prefix to JSF, but didn't want to break > the email thread. Much to my surprise I actually know why you say this - my "progress" with JSf/Shale has been so halting that most times i don't know if I

Re: [Shale] Changing String type to HtmlInputText in Backingbean gives No Propertyeditor error

2005-10-13 Thread gramani
Wendy Smoak <[EMAIL PROTECTED]> wrote on 10/13/2005 05:57:58 PM: > From: <[EMAIL PROTECTED]> > > > So my jsp has this: > > >value="#{registration.userName}" /> > > .. > > >binding="#{registration.password}" /> > > > > My backingbe

[Shale] Changing String type to HtmlInputText in Backingbean gives No Propertyeditor error

2005-10-13 Thread gramani
I *finally* had time to download and build Shale from source and I did notice that error(UICompnenet, String) is indeed fixed (thank you again, Ronald Holshausen:)).. So anyway i decided to make parallel changes to another of my backing bean's attributes. So my jsp has this: .. My backingbea

Re: findforward w/session objects

2005-10-12 Thread gramani
Chris Pat <[EMAIL PROTECTED]> wrote on 10/12/2005 11:29:41 AM: > Hi Geeta, et. al > I typed too soon. I am still getting a servlet error What error are you getting? That String file below is null? Maybe the error is differnet from what you think it is..? If not, this is strange. I have set cou

Re: findforward w/session objects

2005-10-12 Thread gramani
Chris Pat <[EMAIL PROTECTED]> wrote on 10/11/2005 05:31:03 PM: > Hello > When I use the code below the Action "playThis" claims > the file attribute is null. It is not unless I am > loosing the session on the findforward. How can I > store a value in the session and forward to an Action? > The

[OT] Re: [Shale] getClientIdsWithMessages in FacesContext doesn't seem to work..?

2005-10-07 Thread gramani
Ronald Holshausen <[EMAIL PROTECTED]> wrote on 10/07/2005 11:57:00 AM: > If you get a later version of shale, you can then use the message > functions :-) They just do what your code does anyway. > so guess what i am doing *right* now..? :)

Re: [Shale] getClientIdsWithMessages in FacesContext doesn't seem to work..?

2005-10-07 Thread gramani
Ronald Holshausen <[EMAIL PROTECTED]> wrote on 10/07/2005 11:30:21 AM: > aah! There is a bug with the AbstractFacesBean message functions. They > do not set the client id when adding the messages. It was fixed in > nightly build 20050921, but I don't think it has been tested yet. > > I never used

Re: [Shale] getClientIdsWithMessages in FacesContext doesn't seem to work..?

2005-10-07 Thread gramani
Ronald Holshausen <[EMAIL PROTECTED]> wrote on 10/07/2005 05:03:23 AM: > Hmm, I have used the 1.1_01 and the messages definitly work. Does your > bean extend the abstract one from shale (AbstractFacesBean)? Or is the > error method one you wrote? > Thanks for your note Ronald. My bean extends Ab

Re: [Shale] getClientIdsWithMessages in FacesContext doesn't seem to work..?

2005-10-06 Thread gramani
Ronald Holshausen <[EMAIL PROTECTED]> wrote on 10/06/2005 11:53:08 AM: > Hi Geeta, > > Which JSF implementation are you using? And are you running it in a > servlet or portlet enviroment? > Hi Ronald, I had been using Sun's implementation (version 1.1) but after I got your note, I downloaded t

[Shale] getClientIdsWithMessages in FacesContext doesn't seem to work..?

2005-10-06 Thread gramani
I know I should set this problem with error messages down and move on, but.. it's got me intrigued.. So, since I couldn't get Craig's cool idea to work, I decided to probe a bit. Here's what I have in my RegistrationBean (backing bean): private HtmlInputSecret password = null; (with usual gett

Re: Struts JSF integration

2005-10-05 Thread gramani
struts lover <[EMAIL PROTECTED]> wrote on 10/05/2005 06:38:07 PM: > Hello Everyone, > > I just downloaded the struts-faces nightly build and > tried to integrate in my existing struts application. > > I get the following error. > > /virtual/addMember.jsp(10): Error in using tag library > uri='

Re: [Shale] error display - aka(?) How to get UIComponents within backing bean methods

2005-10-05 Thread gramani
[EMAIL PROTECTED] wrote on 10/05/2005 10:13:23 PM: > > Do you have the corresponding public getter and setter methods? (At least > getPassword() and setPassword())? Otherwise, this instance variable will > never be initialized. Yes I do: public HtmlInputSecret getPassword() { ret

Re: [Shale] error display - aka(?) How to get UIComponents within backing bean methods

2005-10-05 Thread gramani
[EMAIL PROTECTED] wrote on 10/05/2005 05:48:57 PM: > > Right strategy ... but one wrong detail. The search expression for > findComponent() is the *client id* of the component in question, not the > *id* property value. In turn, the client id will be affected by the id of > naming containers (su

[Shale] error display - aka(?) How to get UIComponents within backing bean methods

2005-10-05 Thread gramani
My registrationBean (extends AbstractViewController) has a "password" attribute as well as a save() method which has this code: if (passwords_dont_match) { error(messages.getMessage("password.mismatch")); etc. } My jsp has this code: in the "" right next to where the password field is.

[OT] Re: [Shale] What is the Shale equivalent of the Struts plugin?

2005-10-05 Thread gramani
Hubert Rabago <[EMAIL PROTECTED]> wrote on 10/05/2005 03:48:06 PM: > On 10/5/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Thank you Craig. Every time I read one of your notes it hits me how much I > > should know that i don't (:( > > Geeta > > Don't feel too bad, Geeta. That's Craig

Re: [Shale] What is the Shale equivalent of the Struts plugin?

2005-10-05 Thread gramani
Thank you Craig. Every time I read one of your notes it hits me how much I should know that i don't (:( Geeta [EMAIL PROTECTED] wrote on 10/05/2005 03:01:01 PM: > On 10/5/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > Hubert Rabago <[EMAIL PROTECTED]> wrote on 10/05/2005 02:27:59 P

Re: [Shale] What is the Shale equivalent of the Struts plugin?

2005-10-05 Thread gramani
Hubert Rabago <[EMAIL PROTECTED]> wrote on 10/05/2005 02:35:53 PM: > On 10/5/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > oh ok I actually know how to do that..;)) Btw, is there some secret reason > > why a listener is better than a plugin..? :) > > Yes, and this situation illustrate

Re: [Shale] What is the Shale equivalent of the Struts plugin?

2005-10-05 Thread gramani
Hubert Rabago <[EMAIL PROTECTED]> wrote on 10/05/2005 02:27:59 PM: > For your case, initializing an app-wide collection, consider using a > ServletContextListener. Even in Struts, this would be recommended for > containers that support it. oh ok I actually know how to do that..;)) Btw, is there

[Shale] What is the Shale equivalent of the Struts plugin?

2005-10-05 Thread gramani
Sorry if this is a repeat question - I think it has been asked and answered, but I'm drawing a blank with google and the archives In my Struts apps, if I needed to initialise say an application-wide static collection or something I used to implement org.apache.struts.action.Plugin. I'd lik

Re: [Shale]Newbie question

2005-10-04 Thread gramani
[EMAIL PROTECTED] wrote on 10/04/2005 06:19:29 PM: > > Does "some work" include asking for volunteers? :-) absolutely... and I hope you included it in your status report..:) That is about as far as > I've gone related to Shale-Mailreader. > > However, one possible starting point would be the

Re: [Shale]Newbie question

2005-10-04 Thread gramani
"Frank W. Zammetti" <[EMAIL PROTECTED]> wrote on 10/04/2005 10:51:00 AM: > I didn't get far enough to have any actual code... I'm a JSF/Shale newbie, > but I offered to do the mailreader since it's not a complicated app and I > thought it would make a good learning experience for me, as well as

Re: [Shale]Newbie question

2005-10-04 Thread gramani
Greg Reddin <[EMAIL PROTECTED]> wrote on 10/04/2005 10:45:14 AM: > > Please don't let that stop you from sharing. In the world of open > source we all learn from each other. I'm sure the "experts" will be > happy to point out worst practices and the rest of us will be happy > to learn :-) >

Re: [Shale]Newbie question

2005-10-04 Thread gramani
Leon Rosenberg <[EMAIL PROTECTED]> wrote on 10/04/2005 10:24:58 AM: > ok, asking the other way around, does someone have anything that could > serve an example application for Shale and he or she is ready to > share? I think the problem is that even though people probably do have example apps w

Re: RequestProcessor problem?

2005-09-29 Thread gramani
Sławek Tuleja <[EMAIL PROTECTED]> wrote on 09/29/2005 06:22:45 AM: > Problem: I got this error: > > SEVERE: Servlet /RekrutApplication threw load() exception > javax.servlet.UnavailableException: TilesPlugin : Specified > RequestProcessor not compatible with TilesRequestProcessor Here's the sol

Re: How to just get mails ONLY abt Shale?

2005-09-20 Thread gramani
Siva Jagadeesan <[EMAIL PROTECTED]> wrote on 09/20/2005 04:21:06 PM: > Does Shale has its own mailing list? > Nope, at least not yet... This is it..:) There is a convention to add a "[Shale]" in the subject line... which most of us remember most times to follow ;) Geeta

Re: Orbitz-style processing page with Struts

2005-09-16 Thread gramani
Hey Randy, take a look at this: http://wiki.apache.org/struts/StrutsPleaseWait i haven't read it or implemented it myself, but looks promising..:) Geeta Randy Shepherd <[EMAIL PROTECTED]> wrote on 09/16/2005 02:40:11 PM: > Hey Guys.. > > Pretty basic question here. I am looking for suggestions

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

2005-09-15 Thread gramani
[EMAIL PROTECTED] (Gary VanMatre) wrote on 09/15/2005 02:35:47 PM: > A commandLink with a target attribute would work if you didn't need > to control the window size and jazz. Gary, thanks for your response... Nope, they want the jazz, so i guess I'm stuck with javascript..(:( > > >2. I have

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

2005-09-15 Thread gramani
[EMAIL PROTECTED] wrote on 09/15/2005 11:32:03 AM: > > Also in AssessmentBean.prerender(), I have code to initialise my > AssessmentBean so that /assessment.jsp can render nicely. oops, sorry, I meant in *WorkListBean*.prerender()" I have code etc... Thanks, Geeta

[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

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

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

[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]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

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: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
[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

[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: 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

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: [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: [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: 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: 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
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: [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

  1   2   >