Re: Newbie (possibly RTFM) issue

2009-06-19 Thread Burton Rhodes
I think if you change your isTestBool function to getTestBool it should work. If you use a primative I think the isTestBool will work, otherwise the 'object' version of a boolean needs to be a 'get' method. On 6/17/09, chumbobumbo wrote: > > Haven't tried it (had to move on) I just reverted to pr

Re: Newbie (possibly RTFM) issue

2009-06-16 Thread chumbobumbo
Haven't tried it (had to move on) I just reverted to primitives and rely on autoboxing (i.e. not having to make end to end change all the way to the server side) when passing model to my web service. newton.dave wrote: > > chumbobumbo wrote: >> Yeah, it's called isTestBool (but I tried with ge

Re: Newbie (possibly RTFM) issue

2009-06-16 Thread Dave Newton
chumbobumbo wrote: Yeah, it's called isTestBool (but I tried with getTestBool as well) neither work, I enabled the debug console adn if I output the stack values in my browser is says that 'no read method is available, listing testBool as 'String' whereas the testbool (primitive boolean) is repor

Re: Newbie (possibly RTFM) issue

2009-06-16 Thread chumbobumbo
Yeah, it's called isTestBool (but I tried with getTestBool as well) neither work, I enabled the debug console adn if I output the stack values in my browser is says that 'no read method is available, listing testBool as 'String' whereas the testbool (primitive boolean) is reported correctly as 'tr

Re: Newbie (possibly RTFM) issue

2009-06-15 Thread Paweł Wielgus
Hi, can You verify that getter in action is called? Add sysout or debug this place, because if it's not beeing called there will be no result on the page. This would suite to nothing is rendered in s:textfield, not the s:text! Best greetings, Pawel Wielgus. 2009/6/15, chumbobumbo : > > Sorry to r

Re: Newbie (possibly RTFM) issue

2009-06-15 Thread chumbobumbo
Sorry to report but does nothing, also renders nothing in the resulting html page; now I know that testBool is 'true' because I am running it through the debugger. I am also runnning this under Java 1.6 so autoboxing should work as noted in one of the previous posts. I am completely lost f

Re: Newbie (possibly RTFM) issue

2009-06-15 Thread Musachy Barroso
On Mon, Jun 15, 2009 at 8:59 AM, Dale Newfield wrote: > But remember that jsp code needs to be understandable not only to the > compiler and tags that will implement it, but also humans that will be > maintaining this code in the future.  I'd suggest not saving any of those > "extra keypresses" and

Re: Newbie (possibly RTFM) issue

2009-06-15 Thread Dale Newfield
Jon Pearson wrote: Also, in tags, you don't need to enclose the test in %{} because it is evaluated anyway. Not that it'll change your result at all, just thought I'd save you the extra couple of keypresses. But remember that jsp code needs to be understandable not only to the compiler and ta

RE: Newbie (possibly RTFM) issue

2009-06-15 Thread Jon Pearson
t; Sent: Monday, June 15, 2009 9:01 AM > To: Struts Users Mailing List > Subject: Re: Newbie (possibly RTFM) issue > > On Mon, Jun 15, 2009 at 6:40 AM, > chumbobumbo wrote: > > > > I am using Struts 2.1.6 > > > > if I have model like this: > > >

Re: Newbie (possibly RTFM) issue

2009-06-15 Thread Wes Wannemacher
On Mon, Jun 15, 2009 at 6:40 AM, chumbobumbo wrote: > > I am using Struts 2.1.6 > > if I have model like this: > > public class model { >     private Boolean testBool; >     private boolean testbool; > >     ... >     public getters and setters for both follow >     ... > } > > I find that in my co