Yes, please paste your code in the email as it's much easier to read
inline.

As Thiago has already indicated, you are setting datum to null in setup
render and you are never setting broj to anything, hence your values null
and 0.

You need to somehow set your variables before the page renders, otherwise
you'll continue to see null and 0 and @Persist will be of no use. Take a
look the tapestry life cycle.

http://jumpstart.doublenegative.com.au/jumpstart7/examples/navigation/whatiscalledandwhen




On Wed, Oct 15, 2014 at 7:55 PM, Name Surname <wintertime0...@outlook.com>
wrote:

> Hi Thiago! :)
> Aha, I understand now request concept. However, how can I make this work?
> Can you give me some directions?
>
> > To: users@tapestry.apache.org
> > Subject: Re: Calling property in t:message
> > Date: Wed, 15 Oct 2014 20:29:48 -0300
> > From: thiag...@gmail.com
> >
> > On Wed, 15 Oct 2014 20:00:20 -0300, Name Surname
> > <wintertime0...@outlook.com> wrote:
> >
> > > Hey Thiago! :)
> >
> > Hi!
> >
> > > No, I posted it here too, just couldn't make it via email, but had to
> > > login here to do so. Same applies to html code. :)
> >
> > This is a mailing list, not a forum, so I have no idea what you're
> talking
> > about. Just paste the code inside the e-mail text, as everyone does here.
> >
> > > I get final outcome just fine in DB( so it works ), so it's something
> > > wrong in passing param between request? @Persist property should be
> able
> > > to deal with it, however in this case it doesn't do so.
> >
> > I'm sorry, but you're completely wrong in the paragraph above. I've
> > already explained what's wrong with your code. In addition, there's no
> > passing of *parameters* between requests in Tapestry. You can pass
> context
> > to a page render or an event request, but they're not component
> parameters.
> >
> > --
> > Thiago H. de Paula Figueiredo
> > Tapestry, Java and Hibernate consultant and developer
> > http://machina.com.br
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> > For additional commands, e-mail: users-h...@tapestry.apache.org
> >
>
>



-- 
George Christman
www.CarDaddy.com
P.O. Box 735
Johnstown, New York

Reply via email to