I saw the AjaxExample and I as a little confused. In the example app., in the middle of the page there is a multi line
Multiline In-Place Editor (click text to edit): when it first runs, there are three lines: Multi Line Value but when I click the OK button, it is converted to MultiLineValue it loses the newlines I will experiment with this and see if I can get it to work. Ted --- On Sun, 1/29/12, David LeBer <[email protected]> wrote: > From: David LeBer <[email protected]> > Subject: Re: It's never easy > To: "Theodore Petrosky" <[email protected]> > Cc: "WebObjects Development" <[email protected]> > Date: Sunday, January 29, 2012, 3:06 PM > Ted, > > Please respond to the list. > > It looks like AjaxInPlaceEditor will render a textarea if > you supply it with a rows and cols binding. > > The AjaxExample app in Wonder has a multiline in-place > editor example that should give you what you need. > > Alternately you can use AjaxInPlace and give it your own > edit and view templates (also shown in that example). > > D > > -- > David LeBer > Codeferous Software > > On 2012-01-29, at 12:15 PM, Theodore Petrosky wrote: > > > So either I wasn't clear or I don't understand the > answer. > > > > In the ListObject view, I want to present the user with > an AjaxInPlaceEditor (I shouldn't say that, I want them to > be able to select and edit a cell). For my values that will > always be a single line (a name of something), it works > great as an AjaxInPlaceEditor. > > > > However, when there is a list of items: > > > > Billy > > Sam > > Jon > > > > they appear as: > > > > Billy Sam Jon (of course on a single > line instead of three lines in the AjaxInPlaceEditor.) > > > > I examined the source of AjaxInPlaceEditor and it > appears to me that this is an implementation of > AjaxInPlace. > > > > > > > > --- On Sun, 1/29/12, David LeBer <[email protected]> > wrote: > > > >> From: David LeBer <[email protected]> > >> Subject: Re: It's never easy > >> To: "Theodore Petrosky" <[email protected]> > >> Date: Sunday, January 29, 2012, 10:37 AM > >> There is no 'magic' Ted, D2W is just > >> WO with a rule engine on top. > >> > >> An ERD2WEditLargString is just a property level > component > >> containing a WOText (textarea). So implement that. > >> > >> D > >> > >> -- > >> David LeBer > >> Codeferous Software > >> > >> On 2012-01-29, at 7:58 AM, Theodore Petrosky > wrote: > >> > >>> I viewed David Leber's two part D2W tutorial > from 2009 > >> where he show how to use a CustomComponent. > >>> > >>> Great, I figured out how to add an > AjaxInPlaceEditor to > >> my D2W list page. But now I need a combination. An > >> ERD2WEditLargeString that is an AjaxInPlaceEditor. > >>> > >>> Is there some magic that can help me with this > one? > >>> > >>> Ted > >>> > _______________________________________________ > >>> Do not post admin requests to the list. They > will be > >> ignored. > >>> Webobjects-dev mailing list > ([email protected]) > >>> Help/Unsubscribe/Update your Subscription: > >>> https://lists.apple.com/mailman/options/webobjects-dev/dleber_wodev%40codeferous.com > >>> > >>> This email sent to [email protected] > >>> > >> > >> > > > > _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
