• 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: Using type="image" on WOSubmitButton
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Using type="image" on WOSubmitButton
      • From: Lon Varscsak <email@hidden>
References: 
 >Using type="image" on WOSubmitButton (From: John Pollard <email@hidden>)
 >Re: Using type="image" on WOSubmitButton (From: Alexander Spohr <email@hidden>)

  • Prev by Date: Re: Using type="image" on WOSubmitButton
  • Next by Date: Re: My last WOWODC
  • Previous by thread: Re: Using type="image" on WOSubmitButton
  • Next by thread: Re: Using type="image" on WOSubmitButton
  • Index(es):
    • Date
    • Thread