then you have to marshall the object. you can either use something like xstream or simple to create an xml representation and send that over. or, more directly, you can serialize the object using java's serialization, base64 encode it, and pass that.
-igor On Thu, Jul 16, 2009 at 10:53 AM, Joshua Martin<[email protected]> wrote: > Yeah, I know how to pass a String, but I need to somehow pass an object... > > add(new WebMarkupContainer("appletId").add(new > SimpleAttributeModifier("value", "yourValue"))); > > > > On Thu, Jul 16, 2009 at 1:50 PM, Nicolas > Melendez<[email protected]> wrote: >> Remember the applet is in client-side, but wicket is server-side ( >> except javascript(ajax inclusive) ). >> Comunication through HTTP is with Strings, so i think you can't access >> to a variable of wicket without parsing it. >> Applets can use a javascript function o connect thorugh http to the server. >> it can also have inicial values, but you can't change them futher. >> i hope i help, bye >> NM - Software Developer - buenos aires - Argentina >> >> On Thu, Jul 16, 2009 at 7:39 PM, Joshua Martin<[email protected]> wrote: >>> Rephrase that... How can I access a "non-String" variable in the >>> Wicket Application class from an Applet? >>> >>> >>> >>> On Thu, Jul 16, 2009 at 1:37 PM, Joshua Martin<[email protected]> wrote: >>>> How can I access a variable in the Wicket Application class from >>>> inside my Java Applet on a Wicket page? >>>> >>>> -- >>>> _________________________________ >>>> >>>> Joshua S. Martin >>>> >>> >>> >>> >>> -- >>> _________________________________ >>> >>> Joshua S. Martin >>> >>> >>> CONFIDENTIALITY NOTE: This e-mail message, including any >>> attachment(s), contains information that may be confidential, >>> protected by the attorney client or other legal privileges, and or >>> proprietary non public information. If you are not an intended >>> recipient of this message or an authorized assistant to an intended >>> recipient, please notify the sender by replying to this message and >>> then delete it from your system. Use, dissemination, distribution, or >>> reproduction of this message and or any of its attachments (if any) by >>> unintended recipients is not authorized and may be unlawful. >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > > > > -- > _________________________________ > > Joshua S. Martin > > > CONFIDENTIALITY NOTE: This e-mail message, including any > attachment(s), contains information that may be confidential, > protected by the attorney client or other legal privileges, and or > proprietary non public information. If you are not an intended > recipient of this message or an authorized assistant to an intended > recipient, please notify the sender by replying to this message and > then delete it from your system. Use, dissemination, distribution, or > reproduction of this message and or any of its attachments (if any) by > unintended recipients is not authorized and may be unlawful. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
