You still have not described the flow (of interaction with the user), so please 
answer the following questions.

I'm guessing that after choosing Confirm (possibly a button labeled "OK"), you 
want to display the entry page again, with the entered values, overlayed by a 
alert that says the thing has been created. Is that right?

If no, then please describe what you want instead.
If yes, would the entry page now be in "update" mode or still in "create" mode? 
Do you want the previously entered fields to be editable or disabled? This next 
question is less important but it might help: what is the "thing" that you're 
creating?

What about the exception flow, eg. if the create fails, what should happen? For 
example, should an error be displayed in the dialog, or should the dialog 
disappear and the error be shown in the entry page? If it's the entry page, 
should it still be in "create" mode with the same fields editable?

Please answer each question individually. Don't skip any.

On 18 Oct 2014, at 12:52 pm, Name Surname <wintertime0...@outlook.com> wrote:

> Hey Geoff!
> Yes, data flow is just OK. However only trouble with this is that I can't see 
> ${broj} and ${datum} values as taken from input fields on Confirm dialog. 
> Instead of their real values I see only 0 and null, because I initialized 
> them as such( well, only datum parameter ) ( this behavior is because I set 
> them only after I press OK on Confirm dialog ).
> 
>> Subject: Re: Calling property in t:message
>> From: geoff.callender.jumpst...@gmail.com
>> Date: Sat, 18 Oct 2014 12:45:12 +1100
>> To: users@tapestry.apache.org
>> 
>> The flow gets up to displaying a dialog. Should the dialog show any data 
>> values? Which ones? What is the intended flow after choosing Confirm? What 
>> is the intended flow after choosing Not Confirm (ok, this one's not hard to 
>> guess).
>> 
>> On 18 Oct 2014, at 12:40 pm, Name Surname <wintertime0...@outlook.com> wrote:
>> 
>>> Hi, Geoff! :)
>>> 
>>> Normal flow would be that user submits a form, and Confirm dialog 
>>> appears in which he can then confirm or not confirm. It's working just 
>>> fine, however I can't see ${broj} and ${datum} with real values as they 
>>> are but 0 and null, since calling of a function onSubmit( which sets up 
>>> our broj and datum fields ) is only processed after I click OK on cofirm
>>> ( however in order for me to see what value I want to create, I would 
>>> need ${broj} to be set ( taken from input ) on Confirm dialog.
>>> 
>>> P.S. Check your message.
>>> 
>>>> Subject: Re: Calling property in t:message
>>>> From: geoff.callender.jumpst...@gmail.com
>>>> Date: Sat, 18 Oct 2014 11:51:47 +1100
>>>> To: users@tapestry.apache.org
>>>> 
>>>> Hey Name Surname, we see your code but can only guess at the behaviour you 
>>>> want it to exhibit. Perhaps you could describe the intended "normal flow", 
>>>> and then describe the intended "exception flows".
>>>> 
>>>> On 18 Oct 2014, at 3:45 am, Name Surname <wintertime0...@outlook.com> 
>>>> wrote:
>>>> 
>>>>> Hey Lance. I have just seen this example. It's looking great, however how 
>>>>> can I make it operable on my example?
>>>>> operable on my example?
>>>>> 
>>>>>> Date: Fri, 17 Oct 2014 15:34:40 +0100
>>>>>> Subject: RE: Calling property in t:message
>>>>>> From: lance.j...@googlemail.com
>>>>>> To: users@tapestry.apache.org
>>>>>> 
>>>>>> If you want to pass clientside values in an event, the observe mixin can
>>>>>> help
>>>>>> http://tapestry-stitch.uklance.cloudbees.net/observedemo
>>>>>> 
>>>>>> Note: This has prototype specific code that needs to be translated to 
>>>>>> jquery
>>>>>> On 17 Oct 2014 04:57, "Name Surname" <wintertime0...@outlook.com> wrote:
>>>>>> 
>>>>>>> Hey Thiago! :)
>>>>>>> 
>>>>>>> Well the reason why I can't set the freaking fields is because it's only
>>>>>>> input on clients side, and onSuccess function is called only after I 
>>>>>>> press
>>>>>>> Confirm from JQuery/Confirm mixin. So I have very odd situation here, 
>>>>>>> can't
>>>>>>> back, can't ahead...
>>>>>>> 
>>>>>>> I press Confirm and I get opened Confirm dialog. But because values here
>>>>>>> aren't yet set( they are waiting for Submit from the Confirm dialog) I 
>>>>>>> get
>>>>>>> those values as null and 0. Can you propose me how to get rid of this
>>>>>>> situation.
>>>>>>> 
>>>>>>>> To: users@tapestry.apache.org
>>>>>>>> Subject: Re: Calling property in t:message
>>>>>>>> Date: Thu, 16 Oct 2014 09:17:18 -0300
>>>>>>>> From: thiag...@gmail.com
>>>>>>>> 
>>>>>>>> On Wed, 15 Oct 2014 20:55:40 -0300, 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?
>>>>>>>> 
>>>>>>>> Besides "set the freaking fields! :D", I have nothing else to offer,
>>>>>>>> because I don't know what logic you want to implement. Anyway, that's 
>>>>>>>> up
>>>>>>>> to you. @Persist persists field values between requests, but *you* need
>>>>>>> to
>>>>>>>> set these values first. So far, for one field, you never give it a 
>>>>>>>> value.
>>>>>>>> For the other, you always set it to null. Tapestry is doing exactly 
>>>>>>>> what
>>>>>>>> you're asking it to do.
>>>>>>>> 
>>>>>>>> --
>>>>>>>> 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
>>>>>>>> 
>>>>>>> 
>>>>>                                     
>>>> 
>>>> 
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>>>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>>> 
>>>                                       
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>> 
>                                         


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to