Maybe this is a dumb question, but why can't you just pass the Enum instead of converting to a String, then passing, the reconverting back to Enum?
On Thu, Sep 3, 2009 at 5:17 PM, Joshua Martin <josmar52...@gmail.com> wrote: > Are you trying to pass the value of a Select to another page? > > > > On Thu, Sep 3, 2009 at 5:14 PM, Madtyn <mad...@gmail.com> wrote: > >> I'm experimenting and trying all kinds of things and I think the >> problem I have is when passing Enums to the EventContext. Although I >> do before the Enum -> String conversion and then set the String value >> in the destination page and return as a String in the onPassivate, >> when I get the String value before converting it to Enum again, this >> makes something fail. >> >> I can't understand why it did work when I didn't used the >> EventContext and why it does fail now. >> >> >> Anyone does know about an efficient way to pass the Enums from the >> select component on the first page to the EventContext to the second >> injected page? >> >> I know I could use a @Persist annotation, but it involves some >> details I would prefer avoiding. Some sample code would be great. >> >> Thanks to everyone >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> >> > > > -- > _________________________________ > > 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. > -- _________________________________ 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.