Hello,
as said in title I have a loop on a list of objects (with his encoder) :
t:Form t:id=formUpdateType
t:Errors /
table
tr
th${message:typeName}/th
th${message:remarks}/th
th/th
/tr
t:Loop t:source=typeClientDtoList t:value=typeClientDtoLoop
t:encoder=typeClientDtoEncoder
tr
td
t:TextField
These may help:
T5.4:
http://jumpstart.doublenegative.com.au/jumpstart7/examples/tables/editableloop1
T5.3:
http://jumpstart.doublenegative.com.au/jumpstart/examples/tables/editableloop1
Geoff
On 22 Jul 2014, at 7:14 pm, squallmat . squall...@gmail.com wrote:
Hello,
as
Thanks, I had actually solved by using Element.text() that creates a Text node,
which matches your suggestion. I don't have the problem anymore, and thanks for
the assistance, despite me not doing a good job in explaining myself.
Just for clarity, my concern was only that I'm now replacing the
problem solved, i missed t:formstate=ITERATION
But another little problem, In my page I have two t:Form with each one
having his t:errors, still, what could be the form submitted the error
displaying always happen on the same one, the second one in my page. Why ?
2014-07-22 12:33 GMT+02:00
It's hard to answer without knowing a few things...
Is each Errors contained by its Form?
Do the Errors use globalOnly=true?
Are the error messages being generated by server-side code? And are they being
recorded on the right form (eg. form1.recordError()?
Are you giving each Errors an
Ok, I was doing recordError on the wrong form. What a stupid error :p
2014-07-22 13:14 GMT+02:00 Geoff Callender
geoff.callender.jumpst...@gmail.com:
It's hard to answer without knowing a few things...
Is each Errors contained by its Form?
Do the Errors use globalOnly=true?
Are the
I'm not sure you're getting how XML / HTML is parsed.
A div is ALWAYS an element, a div can have child nodes (eg other elements
or text nodes)
Eg:
div / is a div Element with no child nodes
divFoo/div is a div Element with a Text node as a child.
Elements don't have a text property, but they can
On Tue, 22 Jul 2014 07:52:45 -0300, Davide Vecchi d...@amc.dk wrote:
Just for clarity, my concern was only that I'm now replacing the
original Element node with a new Text node, while I would have preferred
to replace the original Element node with another Element node if it was
possible.
If you consider this case
divstring1bstring2/bstring3/div
The div has 3 children
- string1 - text node
- bstring2/b - 'b' element (with a text node child)
- string3 - text node
On 22 July 2014 13:57, Lance Java lance.j...@googlemail.com wrote:
I'm not sure you're getting how XML / HTML is
Thanks, now I get it.
My mistake was actually that I had misunderstood how XML / HTML is parsed into
the Tapestry DOM. Now it makes a lot of sense.
Although I had already gone for the same solution Thiago mentioned (removing a
child and adding a new Text child), for some reason I was convinced
Hello,
I would like to upload a client-resized image. I don't see tools for that
in tapestry documentation. Is it possible to use javascript to handle file
iploading and resize image before populating UploadedFile Object ?
On Tue, 22 Jul 2014 11:53:50 -0300, squallmat . squall...@gmail.com
wrote:
Hello,
I would like to upload a client-resized image. I don't see tools for that
in tapestry documentation.Is it possible to use javascript to handle
file iploading and resize image before populating UploadedFile
On Tue, 22 Jul 2014 10:26:10 -0300, Davide Vecchi d...@amc.dk wrote:
Thanks, now I get it.
:)
My mistake was actually that I had misunderstood how XML / HTML is
parsed into the Tapestry DOM. Now it makes a lot of sense.
Not just by Tapestry, but by XML parsers and browsers.
Thanks for
ok great,
but what I don't know it's how to integrate javascript functions on a file
and integrate the result in the UploadedFile Object.
2014-07-22 17:26 GMT+02:00 Thiago H de Paula Figueiredo thiag...@gmail.com
:
On Tue, 22 Jul 2014 11:53:50 -0300, squallmat . squall...@gmail.com
wrote:
On Tue, 22 Jul 2014 12:45:05 -0300, squallmat . squall...@gmail.com
wrote:
ok great,
but what I don't know it's how to integrate javascript functions on a
file and integrate the result in the UploadedFile Object.
Then this is outside of Tapestry's (and this mailing list's) scope.
--
Fellow Tapestry Users,
I have a form that when submitted needs to
make a call to an external service (calling a URL that will return a
value of type string) which i will then add to the form data and do the
actual submit.
What is the best way to handle this in Tapestry?
So for e.g
@Log
On Tue, 22 Jul 2014 13:38:48 -0300, Shahid Shaikh
sshaikh1...@yahoo.com.invalid wrote:
Fellow Tapestry Users,
Hi!
I have a form that when submitted needs to
make a call to an external service (calling a URL that will return a
value of type string) which i will then add to the form data
Try a Tapestry AJAX Form with two Submits: one visible and one hidden. Add
JavaScript that listens to the click of the visible submit, stops the event
propagating, does the call to the external service and, on success, sets the
value of the form field (which might be a hidden field) and clicks
Sorry about the confusion and I appreciate your feedback .
I would like to invoke the external URL as part of the onSubmit event. So
before the form is submitted . So was looking for a way using AJAX and
JavaScript to do it.
On Jul 22, 2014, at 5:18 PM, Shahid sshaikh1...@yahoo.com wrote:
19 matches
Mail list logo