"xhtml:img src" is lost during resource updates :-(

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

"xhtml:img src" is lost during resource updates :-(

Marcus-2
Hi,
when i use the tag
<xhtml:img src="/apps/admin/images/back.gif" alt="Back"/>
inside a trigger on my page. When loading the page the first time, the image is displayed, but when i use the update-language-submission i insert into my webapp, all the pictures fade away and only the content of @alt is shown on the trigger :-(
 
Does this has to do something with the <xforms:group>-update - which i know is not a bug, but a feature :-)) I looked to the Gov-Forms and there the pictures still work, but i can't see any different to my own code :-( Anything i have to look for, after the new updates?
At the moment i'm working with the nightlybuild  Orbeon Forms 3.5.1.200705222009
 
Should i update to the latest nightbuild? Were there any further changes  made that may cause this problem?
 
Thanks, Marcus


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: "xhtml:img src" is lost during resource updates :-(

Erik Bruchez
Administrator
Marcus,

I suspect that this is a URL rewriting bug: we don't rewrite things
correct in Ajax requests. What if you use a relative URL in your @src,
e.g. "../../aps/...."?

-Erik

Marcus wrote:

> Hi,
> when i use the tag
> <xhtml:img src="/apps/admin/images/back.gif" alt="Back"/>
> inside a trigger on my page. When loading the page the first time, the
> image is displayed, but when i use the update-language-submission i
> insert into my webapp, all the pictures fade away and only the content
> of @alt is shown on the trigger :-(
>  
> Does this has to do something with the <xforms:group>-update - which i
> know is not a bug, but a feature :-)) I looked to the Gov-Forms and
> there the pictures still work, but i can't see any different to my own
> code :-( Anything i have to look for, after the new updates?
> At the moment i'm working with the nightlybuild  Orbeon Forms
> 3.5.1.200705222009
>  
> Should i update to the latest nightbuild? Were there any further
> changes  made that may cause this problem?
>  
> Thanks, Marcus
>

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: "xhtml:img src" is lost during resource updates :-(

Marcus-2
Hi Erik,
i wonderd because in my webapp i had all through the code those paths and it
worked with some of the older releases. Good to know, that it is a bug -
will this be fixed soon?

OK, in the meantime i also found out, that those relativ paths like you
mentioned work, even when it costs me today about 2 hours to replace all the
paths and depending on my subdirs and webstructure, in some files in a
different way...

Developing with OPS would be more comfortable, if one can use "absolute" (?)
paths, because than its more easy to resturcture some internal pages without
having to test all paths each time! So perhaps that bug should be fixed
nearly in the future - that would be a great plus in my opinion!

Thanks for the info. I thought i did something wrong. Perhaps you read the
thread about the exist JavaGUI and the replacement of the JAR files. I
cannot need any further bugs :-)) but who can *smile*

Regards, Marcus


----- Original Message -----
From: "Erik Bruchez" <[hidden email]>
To: <[hidden email]>
Sent: Wednesday, June 06, 2007 6:50 PM
Subject: Re: [ops-users] "xhtml:img src" is lost during resource updates :-(


> Marcus,
>
> I suspect that this is a URL rewriting bug: we don't rewrite things
> correct in Ajax requests. What if you use a relative URL in your @src,
> e.g. "../../aps/...."?
>
> -Erik
>
> Marcus wrote:
>> Hi,
>> when i use the tag
>> <xhtml:img src="/apps/admin/images/back.gif" alt="Back"/>
>> inside a trigger on my page. When loading the page the first time, the
>> image is displayed, but when i use the update-language-submission i
>> insert into my webapp, all the pictures fade away and only the content
>> of @alt is shown on the trigger :-(
>>
>> Does this has to do something with the <xforms:group>-update - which i
>> know is not a bug, but a feature :-)) I looked to the Gov-Forms and
>> there the pictures still work, but i can't see any different to my own
>> code :-( Anything i have to look for, after the new updates?
>> At the moment i'm working with the nightlybuild  Orbeon Forms
>> 3.5.1.200705222009
>>
>> Should i update to the latest nightbuild? Were there any further
>> changes  made that may cause this problem?
>>
>> Thanks, Marcus
>>
>
>
> --
> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
> http://www.orbeon.com/
>
>

--------------------------------------------------------------------------------


>
> --
> You receive this message as a subscriber of the [hidden email]
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: "xhtml:img src" is lost during resource updates :-(

Alessandro Vernet
Administrator
Marcus,

On 6/6/07, Marcus <[hidden email]> wrote:
> Developing with OPS would be more comfortable, if one can use "absolute" (?)
> paths, because than its more easy to resturcture some internal pages without
> having to test all paths each time! So perhaps that bug should be fixed
> nearly in the future - that would be a great plus in my opinion!

Yes, this is a known issue. But fixing it is somewhat more involved
than one could imagine. Here is the entry we have in the bug base:

http://forge.objectweb.org/tracker/index.php?func=detail&aid=306602&group_id=168&atid=350207

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws