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 protected]> 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 protected]> wrote:
>
> > Would WOImageButton do what you need?
> >
> >
> > Am 11.03.2014 um 13:17 schrieb John Pollard <[email protected]>:
> >
> >> 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 protected])
> >> Help/Unsubscribe/Update your Subscription:
> >>
> https://lists.apple.com/mailman/options/webobjects-dev/atze%40freeport.de
> >>
> >> 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:
>
> https://lists.apple.com/mailman/options/webobjects-dev/lon.varscsak%40gmail.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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to