Re: Using type="image" on WOSubmitButton
Re: Using type="image" on WOSubmitButton
- Subject: Re: Using type="image" on WOSubmitButton
- From: John Pollard <email@hidden>
- Date: Tue, 11 Mar 2014 12:42:44 +0000
Hi Alexander,
Super, that works, src remains as I set it with WOImageButton, many thanks.
Out of interest, why does WOSubmitButton spot my src="..." setting and convert it to a WO type resource path?
Thanks
John
On 11 Mar 2014, at 12:23, Alexander Spohr <email@hidden> wrote:
> Would WOImageButton do what you need?
>
>
> Am 11.03.2014 um 13:17 schrieb John Pollard <email@hidden>:
>
>> Hi List,
>>
>> I am displaying a button with my own image from a webserver image resource file by setting type="image" and src="path/to/file.jpg" on WOSubmitButton.
>>
>> If I set the src attribute, it then gets mangled at some stage to turn it into a WO type of path, which fails with ...wodata=ERROR_NOT_FOUND...
>>
>> I can fix this by using:
>>
>> otherTagString = "src=\"path.....\""
>>
>> but is there a nicer way to specify the src path of my own choosing, without WOSubmitButton trying to turn it into a WO style of resource path?
>>
>> Thanks
>> John
>> _______________________________________________
>> 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