• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: It's never easy
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: It's never easy


  • Subject: Re: It's never easy
  • From: David LeBer <email@hidden>
  • Date: Sun, 29 Jan 2012 15:06:37 -0500

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@hidden> wrote:
>
>> From: David LeBer <email@hidden>
>> Subject: Re: It's never easy
>> To: "Theodore Petrosky" <email@hidden>
>> 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@hidden)
>>> Help/Unsubscribe/Update your Subscription:
>>>
>>> This email sent to email@hidden
>>>
>>
>>
>


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: It's never easy
      • From: Theodore Petrosky <email@hidden>
    • Re: It's never easy
      • From: Theodore Petrosky <email@hidden>
  • Prev by Date: Re: apache RewriteEngine
  • Next by Date: Re: apache RewriteEngine
  • Previous by thread: It's never easy
  • Next by thread: Re: It's never easy
  • Index(es):
    • Date
    • Thread