Check here http://www.stripesframework.org/display/stripes/Tag+Library+Doc

Pay attention to anything related to "dynamic attributes"

>
> I am using the dijit toolkit to do some clent-side looka nd feel as well  
> as validation before form is submitted
> but this requires that i do sth like this
>
> <stripes:button id="next" dojoType="dijit.form.Button" name="next"  
> class="btTxt" type="submit" tabindex="23">Submit</stripes:button>
>
> but this throws en exception that the TLD doesn ot support "dojoType"
>
> so i change to this
>
> <button id="next" dojoType="dijit.form.Button" name="next" class="btTxt"  
> type="submit" tabindex="23">Submit</button>
>
> but the event goes to the default handler instead of the defined event  
> handler
>
>
>   @DefaultHandler
>   public Resolution processTransfer() throws Exception{
>     init();
>     ApiResponse res = BusinessDelegate.doNewTransfer();
>     if(res.isSuccess()){
>       MtViewMoneyTransfer view = (MtViewMoneyTransfer)  
> res.getObject("MtViewTransfer");
>       if(view != null){
>         getTransferBean().setView(view);
>       }
>     }
>     return new ForwardResolution("/business/mtrans.jsp");
>   }
>  @HandlesEvent("next")
>   public Resolution next(){
>     if(log.isDebugEnabled()){
>       log.debug("next()");
>     }
>     return new ForwardResolution("/business/mtrans.jsp");
>   }
>
> Since i really have to use this dijit tool, is there a work arround this  
> so i can get my events handled directly
>
> _________________________________________________________________
>
> http://clk.atdmt.com/UKM/go/msnnkmgl0010000007ukm/direct/01/



-- 
Best Regards
Evgeny K. Shepelyuk


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to