if the GWT java to _javascript_ compiler is open source and can't be used within other products then this could be possible i guess



On 8/30/06, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote:
Wicket behaviors is just a wrapper for so many _javascript_ stuffs. Meaning that you cant extend wicket behavior without been comfortable in _javascript_.

Sorry for the double post...i talked about this in one thread and felt like actually asking about the someday workability of this.

I see Wicket behaviors are mainly neat wrappers around _javascript_s meaning that yu cant extend or make new behaviors without being kind of comfortable with _javascript_. well many web developers are...so no need to make it an issue but

I would love some day to have something like GWT integration with wicket where you can even use java to develop a wide range of behaviors that will render on the client side as _javascript_.

//i am trying to think a little of what to expect maybe
//this will render as _javascript_ into the browser

@RenderType.Client(name="hello") //hello will be an invocation function name within the browser
public class HelloClient {
 public HelloClient(){
  JSCall.alert("Hello Client"); //this will use something like GWT compiler to translate to browser at deploy time.
}
}


and then in a Wicket Page

Label label = ....

label.add(new XXXEvent("onclick", new HelloClient()));

OR

label.add(new AttributeModifier("onclick",true,"hello");

or something

maybe Wicket 3.0 :)

So what du the Wicket Dads think of this?





--
"It takes insanity to drive in sanity" - Me

Aladejebi Ayodeji A.,
DabarObjects Solutions
Email: [EMAIL PROTECTED]
Mobile: +234 803 589 1780
Web: www.dabarobjects.com

Community:
www.cowblock.net

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to