system/src/sc/lang/html/HTMLElement.java
@sc.obj.Exec(clientOnly=true)
   public void focus() {
      Element root = getRootTag();
      if (root instanceof IPage) {
         IPageDispatcher dispatcher = ((IPage) root).getPageDispatcher();
         dispatcher.invokeRemote(this, HTMLElement.class, "focus", Void.class, null);
         return;
      }
      System.err.println("*** No sync context for remote focus method");
   }
// it will use the invokeRemote method to call the client method.
it will use the invokeRemote method to call the client method.
it will use the invokeRemote method to call the client method .
@sc.obj.Exec(clientOnly=true)
   public void focus() {
      Element root = getRootTag();
      if (root instanceof IPage) {
         IPageDispatcher dispatcher = ((IPage) root).getPageDispatcher();
         dispatcher.invokeRemote(this, HTMLElement.class, "focus", Void.class, null);
         return;
      }
      System.err.println("*** No sync context for remote focus method");
   }
@ sc . obj . Exec ( clientOnly = true ) public void focus ( ) { Element root = getRootTag ( ) ; if ( root instanceof IPage ) { IPageDispatcher dispatcher = ( ( IPage ) root ) . getPageDispatcher ( ) ; dispatcher . invokeRemote ( this , HTMLElement . class , "focus" , Void . class , null ) ; return ; } System . err . println ( "*** No sync context for remote focus method" ) ; }
it will use the invokeRemote method to call the client method.
it will use the invokeRemote method to call the client method .