On Thu, 18 Feb 2010 13:40:08 -0200, Angelo Chen
wrote:
Hi,
Hi!
in the following code, the 'infoblock' will be rendered when the form is
submitted, but I'd like the 'infoblock' to be rendered before submitting
as well, how to achieve this? Thanks.
Use the Delegate component:
Hi,
in the following code, the 'infoblock' will be rendered when the form is
submitted, but I'd like the 'infoblock' to be rendered before submitting as
well, how to achieve this? Thanks.
< t:form t:id="info" zone="zone1">
< input t:type="textfield" t:id="temp" t:value="te
devs.
--
View this message in context:
http://old.nabble.com/-T5--Form-and-Zone-inside-a-loop-tp27400993p27417440.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-uns
gested in the documentation here:
> >>>>
> >>>>
> http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/Zone.html
> >>>>
> >>>> After I submit the form the page refreshes rather that updating t
efreshes rather that updating the
>>>> zone.
>>>> The loop runs 45 times so I end up with 45 micro forms and 45 zones on
>>>> my
>>>> page. Can anyone see what I'm doing wrong here?
>>>
>>> -
Normally that happens when zone and form aren't set up correctly on the client side, e.g. due to
inconsistent IDs.
Did you try as Christophe suggested? Replace t:zone="${zoneId}" with t:zone="prop:zoneId" (same for
the id parameter of zone). Does that help?
Uli
On 01.02.2010 12:15 schrieb le
ing the zone.
>> The loop runs 45 times so I end up with 45 micro forms and 45 zones on my
>> page. Can anyone see what I'm doing wrong here?
>
> -------------
> To unsubscribe, e-mail: users-unsubscr...@tapestr
On Mon, 01 Feb 2010 06:29:14 -0200, lebenski wrote:
I have a loop that contains a form and a zone. In each iteration of the
loop, submission of that form should update it's relevant zone:
...
...
I would create a simple component wrapping
You should @InjectComponent private Zone otherCommentsZone and return otherCommentsZone.getBody()
from your onSuccess handler method after checking whether this is a XHR request (@Inject Request and
do request.isXHR()).
Uli
On 01.02.2010 09:29 schrieb lebenski:
I have a loop that contains a
5 micro forms and 45 zones on my
> page. Can anyone see what I'm doing wrong here?
> --
> View this message in context:
> http://old.nabble.com/-T5--Form-and-Zone-inside-a-loop-tp27400993p27400993.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
&
I'm doing wrong here?
--
View this message in context:
http://old.nabble.com/-T5--Form-and-Zone-inside-a-loop-tp27400993p27400993.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To unsubscribe
11 matches
Mail list logo