@Dave we are trying to avoid doing UI-related work in the scala code and focusing on using the HTML source for UI-related activities as much as possible. I'd do it the right way.
D, On Wed, Sep 30, 2009 at 9:56 AM, Dave Briccetti <[email protected]> wrote: > Doing this the right way will slow me down a bit. If the feature (86) is > needed soon, I can do it in the view, and we can later refactor it to use a > template. Vassil? Richard? > > https://issues.apache.org/jira/browse/ESME-86 > > > On Sep 29, 2009, at 12:39 AM, Vassil Dichev wrote: > >> How about Message.getText? It returns String. >> >> Using views is not a very clean approach, because it mixes up the >> presentation xml and the controller code. We took pains to convert the >> views to *Mgr objects and use "bind" to wire the values to the >> templates. It's one of the niceties Lift offers. Timothy Perrett wrote >> an informative article about this: >> >> >> http://blog.getintheloop.eu/2009/4/13/a-detailed-look-at-lift-s-view-code-binding-system >> >> There's also loads of examples in the excellent Lift book- "The >> definitive guide to Lift" (I'm not associated with the book in any >> way). Let me know if you need more pointers to information about using >> "bind". >> >> Vassil >> >> >> On Tue, Sep 29, 2009 at 6:41 AM, Richard Hirsch <[email protected]> >> wrote: >>> >>> Looks good. Now we just need a picture and date/time stamp. >>> >>>>>> Is there a way to extract the text from Message without converting it >>>>>> to XML? >>> >>> I think you always have to convert to XML but Vassil might be more able >>> to help. >>> >>> D. >>> >>> On Tue, Sep 29, 2009 at 5:27 AM, Dave Briccetti <[email protected]> >>> wrote: >>>> >>>> Here’s a partial solution: >>>> >>>> http://www.flickr.com/photos/dcbriccetti/3965024560/sizes/o/ >>>> >>>> Is there a way to extract the text from Message without converting it to >>>> XML? >>>> >>>> On Sep 28, 2009, at 5:50 AM, Richard Hirsch wrote: >>>> >>>>> I just created a new Jira item >>>>> (https://issues.apache.org/jira/browse/ESME-86) for the user list >>>>> page. >>>>> >>>>> @Dave: maybe that is something you would like to try? >>>>> >>>>> D. >>>> >>>> >>> > >
