Yea your example works, but mine does not and I cant see any difference. Do
you have any idea?


On Tue, May 21, 2013 at 4:34 AM, Barry Books <trs...@gmail.com> wrote:

>   Here is my old test case
>
> <t:zone t:id="clickZone" visible="false">
>                         click OK
>                  </t:zone>
>
>                 <div t:id="clickHere" t:type="any"  t:mixins="jquery/bind"
>                         t:eventType="click" t:event="click"
> t:zone="${clickzone.clientid}"
>                  >click test</div>
>
> @InjectComponent
>         @Property
>         private org.apache.tapestry5.corelib.components.Zone clickZone;
>
>         @Inject
>         private Logger logger;
>
>         @OnEvent(value="click")
>         Object onClick() {
>                 return clickZone.getBody();
>         }
>
>
>
> On Mon, May 20, 2013 at 11:58 AM, Boris Horvat <horvat.z.bo...@gmail.com
> >wrote:
>
> > Did anyone used this?
> >
> > I cant use the example in the tapestry5-jquery as it complains that
> slider
> > is not a mixin, so I guess that the example is old as slider is now a
> > component. Still I have tried to use
> >
> > <t:zone t:id="zoneSlideChange">
> >             <div id="status">${textZone}</div>
> > </t:zone>
> >
> > <t:form>
> > <t:textfield t:id="textZone" t:mixins="jquery/bind"
> >                 event="onchange" eventType="onfocus" zone="testzone"/>
> > </t:form>
> >
> > ----------------
> >
> > @Property
> >     @Persist
> >     private String textZone;
> >     @InjectComponent
> >     private Zone zone;
> >
> >     @OnEvent(value = "onchange")
> >     public Object onchange(String value) {
> >         textZone = "The SlideChange event was triggered.";
> >         return zone.getBody();
> >     }
> >
> > Does anyone know where is the problem?
> >
> > Cheers
> > Boris
> >
>



-- 
Sincerely
*Boris Horvat*

Reply via email to