Nice!

This seems more appropriate, neat and non-poluting solution.

Farrukh

On 2010-11-10, at 6:28 PM, Mike Schrag wrote:

> if you don't want to expose this in your model object until the end, you can 
> always just have an NSMutableDictionary<ComplianceItem, String> _pendingData; 
> in your component with
> 
> public void setPendingData(String pendingData) {
>       if (pendingData == null) { 
>               _pendingData.removeObjectForKey(_repetitionComplianceItem);
>       } else {
>               _pendingData.setObjectForKey(pendingData, 
> _repetitionComplianceItem);
>       }
> }
> 
> public String pendingData() {
>       return _pendingData.objectForKey(_repetitionComplianceItem);
> }
> 
> 
> On Nov 10, 2010, at 10:13 AM, Farrukh Ijaz wrote:
> 
>> I would define just define a public transient attribute to the entity class. 
>> This will allow me to use it in D2W rules too it won't break anything even 
>> if due to some reason the Entity is serialized / deserialized / marshalled / 
>> unmarshalled. And you would be able to bind your WOTextField to this 
>> transient property too.
>> 
>> class ComplianceItem extends _ComplianceItem {
>> 
>>      public transient String something;
>> 
>> }
>> 
>> Farrukh
>> 
>> On 2010-11-10, at 4:32 PM, Paula Loehr wrote:
>> 
>>> I have a WORepetition of complianceItems.
>>> I want to display a WOTextField within the repetition and it’s not an 
>>> attribute of complianceItem. 
>>> When the user clicks the “Save Changes” button, I want to be able to 
>>> reference the
>>> WOTextField for each complianceItem and add the contents of it to an 
>>> attribute in complianceItem.
>>> 
>>> Thanks in advance,
>>> Paula
>>> 
>>> -- 
>>> Paula Loehr
>>> 
>>> K12 Inc
>>> 719-460-4350
>>> [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:
>>> http://lists.apple.com/mailman/options/webobjects-dev/farrukh.ijaz%40fuegodigitalmedia.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:
>> http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40pobox.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:
> http://lists.apple.com/mailman/options/webobjects-dev/farrukh.ijaz%40fuegodigitalmedia.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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to