Hi Ken,
> @InitialValue("ognl:new java.lang.Ingeter('2').intValue()") A couple of things jump out at me. You misspelled Integer, there is no constructor for Integer that takes a character, and why are you passing a char/String to the Integer constructor when you can just pass the int? Actually, why aren't you just using the number 2 directly? It's been a while since I did anything with T4, but doesn't this work? @InitialValue("2") Josh On Nov 29, 2007 9:37 AM, Ken in nashua <[EMAIL PROTECTED]> wrote: > > Ok, I changed my property method signatures to int > > Everything else shold pan into this as it is all configured in the java as > opposed to jwc file. > > @Persist("session") > @InitialValue("ognl:new java.lang.Ingeter('2').intValue()") > public abstract int getTableSize(); > public abstract void setTableSize(int tableSize); > But this yeilds error on boot > > [ +/- ] Exception: Unable to parse OGNL expression 'new > java.lang.Ingeter('5').intValue()': > Method "new" failed for object java.lang.Ingeter > > I tried specifying > @InitialValue("ognl:new java.lang.Ingeter('2')") > and receive same error > > I completely removed the initialization of the property via annotation and > got it to boot. (how do I initialize?) > > In any event... I navigated to the select and selected a selection several > indices from within... post occurs... re-render... then value on select gets > punched back to original value. The binding continues to fail. The > Gallery.script is ommited and turned off. I am just trying to get the > standard tapestry binding to work. > > I guess I will try the method parameter annotation binding? Or the > property binding from within the jwc file? But I already tried those and it > doesn't even work for a string. I do not understand your theory by immutable > for a string... even though I plug a numeric character representing a number > into the property... it hsold be treated as a string anyway and be updatable > anyway. > > I am ready to try anything you might suggest at this point. > > If we can determine if we have a bug here that would help > > Thanks for your patience. > Best regards Ken in nashua > > _________________________________________________________________ > Your smile counts. The more smiles you share, the more we donate. Join in. > www.windowslive.com/smile?ocid=TXT_TAGLM_Wave2_oprsmilewlhmtagline > -- -- TheDailyTube.com. Sign up and get the best new videos on the internet delivered fresh to your inbox.