Hello,
I don;t know why but it doesn't works :(
in AppModule.java I added this lines
public static void
contributeBeanBlockOverrideSource(Configuration<BeanBlockContribution>
configuration)
{
configuration.add(new BeanBlockContribution("text",
"AppPropertyEditBlocks", "text", true));
}
and in components I created this class
package org.tapestry.myapp.pages;
import org.apache.tapestry.annotations.Component;
import org.apache.tapestry.annotations.Environmental;
import org.apache.tapestry.services.PropertyEditContext;
import org.tapestry.myapp.components.Input;
public class AppPropertyEditBlocks {
@Environmental
private PropertyEditContext _context;
@Component(parameters =
{ "value=context.propertyValue", "label=prop:context.label",
"clientId=prop:context.propertyId" })
private Input _input;
public PropertyEditContext getContext() { return _context; }
}
But it doesn't wokr.
Can anyone help me?
--
View this message in context:
http://www.nabble.com/Tapestry-5-Beaneditform-and-TextFlield-tp17093611p17116083.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]