Hi!
On Wed, 15 Oct 2014 18:51:45 -0300, Name Surname
<wintertime0...@outlook.com> wrote:
I have implemented mixin with following:
http://pastebin.com/KYWQfCHg
Please post code in the e-mail itself, so people who later stumble on this
message later can see the whole picture in a single sweep.
<t:submit class="form-control" t:isResizble="true" t:message="Do you want
to create a ticket? ${broj} ${datum}" t:mixins="jquery/Confirm">
The Submit component doesn't have a message parameter:
http://tapestry.apache.org/5.4/apidocs/org/apache/tapestry5/corelib/components/Submit.html.
Is this is a tapestry-jquery5 thing, added by a mixin which is applied to
all components? I guess so.
By the way, in t:pageTitle='${message:AddTickets}', this isn't technically
wrong, but it could and should be written as
t:pageTitle="message:AddTickets". Never, never, never ever use ${}
expansions when passing parameters. In 100% of the time, it's either
completely wrong (when the parameter type isn't String) or useless (when
it is).
And the reason why I am summoning this Q. is because whenever I press
confirm button, I get ${broj} and ${datum} values 0 and null, even
though I have denoted them with @Persist. What is causing such an action?
You haven't posted the corresponding class, and we're not psychics, so we
can't help you.
--
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