Hi Johan!

On 2010-10-20, at 7:27 AM, Johan Henselmans wrote:
> 
> 
> 
> I tried to find out why this happens and it seems that 
> ERFileAttachmentProcessor.java does not get a configurationName passed on. 
> 
> Which leads to the following questions:
> 
> Is it possible to have two uploadblobs in one form with ERMD2WEditAttachment?

It should be. You need two different configuration names as you've done.

> Why can't I set the properties of two separate ERAttachments in the 
> Properties file?

I don't believe the properties are where your problem lies. If you remember 
from the screencast, you need to set three bindings on an upload - 
configurationName, editingContext, and attachment. If you have multiple 
uploaders on a pageConfiguration, then it seems that you'll need to use the 
rules to tell the component the bindings.

100 : (task = 'edit' and entity.name = 'Document' and propertyKey = 
'attachedFile') => attachmentConfigurationName = "Document.attachedFile" 
[com.webobjects.directtoweb.Assignment]

David


> 
> 
> Johan Henselmans
> [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/programmingosx%40mac.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