Well. My first lesson was banging a problem 12hrs straight is as Stupid as 
saving a pasword on ur desktop in a file password.txt ....lol
but my stupidity has taught me a few lessons which i will like to share.(I even 
read most of the src....lol).

1.A good sleep is good

2. Getting a property in a <stripes:text name="result" 
value="${actionBean.result}"/> never returned a value. when i used 
${actionBean.result} in the html 
mark up directly as in the Calculator xample i goty values. why?

3. For some reason, UserBean user = (UserBean) 
getContext().getRequest().getSession().getAttribute("userBean"); doesnt work 
all the time although i dont know under which conditions it works

4. Is there a way to make a stipes-component not rendered. like in jsf you can 
make render=false; if not why not?

5. There is currently no framework that allows using a CachedRowSet straight in 
the front end even if you have all the data available. stripes makes it easy by 
providing the
<stripes:Select /> which takes a list. But you still have to pass ur Crs to a 
list. Can CachedRowset be allowed as well since a lot of data is in tabular 
format and CRs dont require connection after its populated.

My views

> Date: Mon, 7 Apr 2008 17:33:04 -0400
> From: [EMAIL PROTECTED]
> To: stripes-users@lists.sourceforge.net
> Subject: Re: [Stripes-users] Accessing HttpSession stripes(method attached)
> 
> Somethings are bothering me..
> 
> 1) Are you going directly to the URL "/Converter.action?" 
> 
> 2) Where is this "usr" in your jsp's "{$usr.names}" being defined?  
> Obviously the "${usr...}" you are referencing is in one of the scopes 
> (page,request,session,application) but where is it being defined since 
> you use that as a "I can get attributes" reference point.
> 
> 3) You do not include the code for the BaseProcessor class.  Why do I 
> ask for this?  Because your calls to getUserBean in your 
> Calculator.Action's extending BaseAction class keep calling 
> this.baseProcessor.getUserBean() so is the code in the BaseProcessor's 
> constructor or getter method?
> 
> 4) I saw the email of your web.xml so can we safely assume every debug 
> line in your FrontSessionListener.sessionCreated() method is logging 
> properly including you seeing the line "LoginBean added to Session" in 
> your log for every time you go to the url /Calculator.action on your 
> test site?  Just checking on this point. And no startup errors in your 
> web server log file for this webapp, correct?
> 
> I'll be back in a few hours and I'll check email unless someone has 
> already solved it by then.
> 
> Regards,
> David
> 
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
> Register now and save $200. Hurry, offer ends at 11:59 p.m., 
> Monday, April 7! Use priority code J8TLD2. 
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users

_________________________________________________________________
Win 100’s of Virgin Experience days with BigSnapSearch.com
http://www.bigsnapsearch.com
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to