does your template have a t:block with the id "text"?

what is the problem exactly? Is there an exception... ?

if you get an exception you probably dont have a block defined :)

g,
kris




ice96 <[EMAIL PROTECTED]> 
08.05.2008 00:45
Bitte antworten an
"Tapestry users" <users@tapestry.apache.org>


An
users@tapestry.apache.org
Kopie

Thema
Re: Tapestry 5 Beaneditform and TextFlield








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]


Reply via email to