• 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: Lon Varscsak <email@hidden>
  • Date: Tue, 11 Mar 2014 08:38:24 -0700

Without a leading "/" it's interpreted as relative the current directory, but since this is an application, it's relative to the application.

-Lon


On Tue, Mar 11, 2014 at 5:42 AM, John Pollard <email@hidden> wrote:
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="" 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=""> >>
>> 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

 _______________________________________________
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

References: 
 >Using type="image" on WOSubmitButton (From: John Pollard <email@hidden>)
 >Re: Using type="image" on WOSubmitButton (From: Alexander Spohr <email@hidden>)
 >Re: Using type="image" on WOSubmitButton (From: John Pollard <email@hidden>)

  • Prev by Date: Re: My last WOWODC
  • Next by Date: ERXObjectStoreCoordinator dispose not releasing database connection?
  • Previous by thread: Re: Using type="image" on WOSubmitButton
  • Next by thread: ERXObjectStoreCoordinator dispose not releasing database connection?
  • Index(es):
    • Date
    • Thread