Am 24.03.20 um 12:29 schrieb Adriaan Joubert (Jira):
Adriaan Joubert created TAP5-2622:
-------------------------------------
Summary: Update of a zone inside a form element
Key: TAP5-2622
URL: https://issues.apache.org/jira/browse/TAP5-2622
Project: Tapestry 5
Issue Type: Bug
Affects Versions: 5.4.5, 5.5.0
Reporter: Adriaan Joubert
Hi,
we've encountered the following problem:
*1) Updating a zone that contains a textfield/dropdown/checkbox*
*java*
@Property
private String textfieldValue_;
@Inject
private AjaxResponseRenderer ajaxRenderer_;
@InjectComponent
private Zone testZone_;
void onTestLink() {
ajaxRenderer_.addRender(testZone_.getClientId(), testZone_.getBody());
}
*tml*
<t:eventlink event="testLink" async="true">Test</t:eventlink>
<t:form>
<t:zone t:id="testZone" id="testZone">
Maybe the issue is, that you have 2x id="" (one with t).
--
ae | Andreas Ernst | IT Spektrum
Postfach 5, 65612 Beselich
Schupbacher Str. 32, 65614 Beselich, Germany
Tel: +49-6484-91002 Fax: +49-6484-91003
a...@ae-online.de | www.ae-online.de
www.tachyon-online.de
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tapestry.apache.org
For additional commands, e-mail: dev-h...@tapestry.apache.org