Hi, I've got strange error. Here is example:
Component code:
On page rendering I'm getting error:
org.apache.tapestry5.ioc.internal.util.TapestryException: Failure reading
parameter 'value' of component
shop/Product:productpopupzone.questionform.feedbacksubject: Failure reading
parameter 'prod
Hi, there is a lot of place in my project where this situation occurs. There
is one of them (I removed unnecessary code):
Main template with parameter / property "title" (the title meant to be
displaed in head section):
public class MainTemplate {
@Parameter(defaultPrefix="literal")
I made only page just for simplicity. OK, Here is component with parameter:
public class TestPage {
@Component(parameters={"test=false"})
private Test test;
}
http://tapestry.apache.org/schema/tapestry_5_1_0.xsd";
xml:space="preserve">
public class Test {
@Paramete
Hi everyone.
Here is a simple test application:
public class Test {
@Parameter(value="false")
@Property
private boolean test;
@Component
private Form form;
@Inject
private Request request;
Object onSubmitFromForm() {
I've made a little fix in Form component:
/**
* Id parameter
*/
@Parameter
private String id;
void beginRender(MarkupWriter writer)
{
if (null != id && !"".equals(id.trim())) {
clientId = id;
} else {
clientId = javascriptSupport.alloca
Entire form is inside the zone component, including submit button.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Tapestry-5-2-Disable-element-id-autogeneration-tp3347539p3347955.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
Hi everyone.
How can I disable autogeneration of form ids? I have a form which is located
inside zone.
JAVA:
@Component(parameters = { "id=literal:registrationFormZone", "update=show"
})
private Zone registrationFormZone;
@Component(id="registrationForm", parameters = {
"id=literal:regis