In my page .java : @InitialValue("ognl:new net.sf.financial.pages.creditDer.NToDefaultBean()") public abstract NToDefaultBean getNToDefaultBean()
I have also tried, without success, @Bean(NToDefaultBean.class) public abstract NToDefaultBean getNToDefaultBean(); Shing --- Jesse Kuhnert <[EMAIL PROTECTED]> wrote: > How is your nToDefaultBean defined on the page? Is > it within a <bean> > spec or @Bean annotation? > > On 3/25/07, Shing Hing Man <[EMAIL PROTECTED]> wrote: > > Sorry to be a pain. > > > > mvn -U eclipse:eclipse > > does not download the latest ognl 2.7 snapshot for > me. > > > > I manually downloaded > > ognl-2.7-20070325.025541-16.jar > > > > from > > > http://howardlewisship.com/repository/ognl/ognl/2.7-SNAPSHOT/ > > > > and installed it as ognl 2.7-SNAPSHOT in my local > > maven 2 repository. > > But I still get the same exception. > > > > Shing > > > > > > --- Jesse Kuhnert <[EMAIL PROTECTED]> wrote: > > > > > Try mvn -U <whatever> . > > > > > > On 3/25/07, Shing Hing Man <[EMAIL PROTECTED]> > wrote: > > > > I still have the same exception after doing > > > > > mvn clean > > > > > mvn eclipse:eclipse > > > > > > > > The above 'mvn eclipse:eclipse' has not > downloaded > > > > an updated version of ognl 2.7 snapshot. > > > > My current ognl 2.7 snapshot in the maven2 > > > repository > > > > is ognl-2.7-20070323.194356-14.jar > > > > > > > > Shing > > > > > > > > --- Jesse Kuhnert <[EMAIL PROTECTED]> wrote: > > > > > > > > > It probably works now. > > > > > > > > > > On 3/24/07, Shing Hing Man > <[EMAIL PROTECTED]> > > > wrote: > > > > > > > > > > > > I am using the latest Tap 4.1.2 snapshot. > > > > > > The following ognl expression used to > worked > > > with > > > > > ognl > > > > > > 2.6. > > > > > > > > > > > > <binding name="source" value="ognl:new > > > > > > int[nToDefaultBean.basketSize]"/> > > > > > > > > > > > > But I have the following exception when I > used > > > > > ognl > > > > > > 2.7. > > > > > > Unable to parse OGNL expression 'new > > > > > > int[nToDefaultBean.basketSize]': Error > > > compiling > > > > > > expression on object > > > > > > > [EMAIL PROTECTED]/creditDer/NToDefault] > > > > > with > > > > > > expression node new int[] > > > > > nToDefaultBean.basketSize > > > > > > getter body: { return ($w) (new > > > > > > > int[.getNToDefaultBean().getBasketSize()]);} > > > > > setter > > > > > > body: null > > > > > > > > > > > > Has anyone enountered the same problem ? > > > > > > > > > > > > Shing > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Home page : > > > > > > > http://uk.geocities.com/matmsh/index.html > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ___________________________________________________________ > > > > > > Inbox full of unwanted email? Get leading > > > > > protection and 1GB storage with All New > Yahoo! > > > Mail. > > > > > http://uk.docs.yahoo.com/nowyoucan.html > > > > > > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > > To unsubscribe, e-mail: > > > > > [EMAIL PROTECTED] > > > > > > For additional commands, e-mail: > > > > > [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > Jesse Kuhnert > > > > > Tapestry/Dojo team member/developer > > > > > > > > > > Open source based consulting work centered > > > around > > > > > dojo/tapestry/tacos/hivemind. > > > > > http://blog.opencomponentry.com > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > To unsubscribe, e-mail: > > > > > [EMAIL PROTECTED] > > > > > For additional commands, e-mail: > > > > > [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > > Home page : > > > > http://uk.geocities.com/matmsh/index.html > > > > > > > > > > > > > > > > > > > > > > ___________________________________________________________ > > > > All New Yahoo! Mail Tired of unwanted email > > > come-ons? Let our SpamGuard protect you. > > > http://uk.docs.yahoo.com/nowyoucan.html > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: > > > [EMAIL PROTECTED] > > > > For additional commands, e-mail: > > > [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > -- > > > Jesse Kuhnert > > > Tapestry/Dojo team member/developer > > > > > > Open source based consulting work centered > around > > > dojo/tapestry/tacos/hivemind. > > > http://blog.opencomponentry.com > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: > > > [EMAIL PROTECTED] > > > For additional commands, e-mail: > > > [EMAIL PROTECTED] > > > > > > > > > > > > Home page : > > http://uk.geocities.com/matmsh/index.html > > > > > > > > > ___________________________________________________________ > > What kind of emailer are you? Find out today - get > a free analysis of your email personality. Take the > quiz at the Yahoo! Mail Championship. > > > http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk > > > > > --------------------------------------------------------------------- > === message truncated === Home page : http://uk.geocities.com/matmsh/index.html ___________________________________________________________ The all-new Yahoo! Mail goes wherever you go - free your email address from your Internet provider. http://uk.docs.yahoo.com/nowyoucan.html --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]