Pb (bug?) with dynamic-datatable and image.

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

Pb (bug?) with dynamic-datatable and image.

Fabien GUENEGO
Hello,

this my problem:
I have a fr:datatable link to and instance('retenusParticipantsInstance').
When I modifie the instance, the datatable (row and line) change too.
It's great. But I have a little problem.
Each <th> in the thead is the same image.
before I modifie the instance, it's OK. When I modifie the instance, the
number of <th> increase. I should normally see the same image in the new
add <th> in the datatable but it's lear...
I search the origin of the problem and I think I found: When we look at
the address of the image, there is a little difference:
Before (and in the old <th>):
/orbeon/xforms-server/dynamic/6e3758f62ffa32d315f8a1b9d2edf6e8
After (only in the new <th>):
oxf:/xforms-server/dynamic/6e3758f62ffa32d315f8a1b9d2edf6e8

The extract from the code in the datatable:
"
<xf:repeat nodeset="xxforms:instance('retenusParticipantsInstance')//part">
<th fr:resizeable="true"><xf:output mediatype="image/png"
value="'/apps/competences/dist/images/iconesite.png'"/></th>
</xf:repeat>
"
And a screen capture of the pb in the join doc.

And now... This my question :-)
How can I have "/orbeon" in place of "oxf:" ? Indeed, when I modifie the
src address image in the new <th> with firebug, it's ok.

Fabien (sorry for my poor english)



--
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
OW2 mailing lists service home page: http://www.ow2.org/wws

Capture.png (275K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Pb (bug?) with dynamic-datatable and image.

Erik Bruchez
Administrator
Fabien,

It looks like a URL rewriting bug. Can you make a simple reproducible
case showing this?

-Erik

On Sun, Aug 15, 2010 at 1:47 PM, Fabien GUENEGO <[hidden email]> wrote:

> Hello,
>
> this my problem:
> I have a fr:datatable link to and instance('retenusParticipantsInstance').
> When I modifie the instance, the datatable (row and line) change too. It's
> great. But I have a little problem.
> Each <th> in the thead is the same image.
> before I modifie the instance, it's OK. When I modifie the instance, the
> number of <th> increase. I should normally see the same image in the new add
> <th> in the datatable but it's lear...
> I search the origin of the problem and I think I found: When we look at the
> address of the image, there is a little difference:
> Before (and in the old <th>):
> /orbeon/xforms-server/dynamic/6e3758f62ffa32d315f8a1b9d2edf6e8
> After (only in the new <th>):
> oxf:/xforms-server/dynamic/6e3758f62ffa32d315f8a1b9d2edf6e8
>
> The extract from the code in the datatable:
> "
> <xf:repeat nodeset="xxforms:instance('retenusParticipantsInstance')//part">
> <th fr:resizeable="true"><xf:output mediatype="image/png"
> value="'/apps/competences/dist/images/iconesite.png'"/></th>
> </xf:repeat>
> "
> And a screen capture of the pb in the join doc.
>
> And now... This my question :-)
> How can I have "/orbeon" in place of "oxf:" ? Indeed, when I modifie the src
> address image in the new <th> with firebug, it's ok.
>
> Fabien (sorry for my poor english)
>
>
>
> --
> 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
> OW2 mailing lists service home page: http://www.ow2.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
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: (with reproducible case) Pb (bug?) with dynamic-datatable and image.

Fabien GUENEGO
Hello,
This is a reproducible case. When I create it, I found that the problem
is with a xi:include.
This is the 2 files:
The main is testImage.xhtml.

Thx
Fabien




Le 21/08/2010 03:41, Erik Bruchez a écrit :

> Fabien,
>
> It looks like a URL rewriting bug. Can you make a simple reproducible
> case showing this?
>
> -Erik
>
> On Sun, Aug 15, 2010 at 1:47 PM, Fabien GUENEGO<[hidden email]>  wrote:
>    
>> Hello,
>>
>> this my problem:
>> I have a fr:datatable link to and instance('retenusParticipantsInstance').
>> When I modifie the instance, the datatable (row and line) change too. It's
>> great. But I have a little problem.
>> Each<th>  in the thead is the same image.
>> before I modifie the instance, it's OK. When I modifie the instance, the
>> number of<th>  increase. I should normally see the same image in the new add
>> <th>  in the datatable but it's lear...
>> I search the origin of the problem and I think I found: When we look at the
>> address of the image, there is a little difference:
>> Before (and in the old<th>):
>> /orbeon/xforms-server/dynamic/6e3758f62ffa32d315f8a1b9d2edf6e8
>> After (only in the new<th>):
>> oxf:/xforms-server/dynamic/6e3758f62ffa32d315f8a1b9d2edf6e8
>>
>> The extract from the code in the datatable:
>> "
>> <xf:repeat nodeset="xxforms:instance('retenusParticipantsInstance')//part">
>> <th fr:resizeable="true"><xf:output mediatype="image/png"
>> value="'/apps/competences/dist/images/iconesite.png'"/></th>
>> </xf:repeat>
>> "
>> And a screen capture of the pb in the join doc.
>>
>> And now... This my question :-)
>> How can I have "/orbeon" in place of "oxf:" ? Indeed, when I modifie the src
>> address image in the new<th>  with firebug, it's ok.
>>
>> Fabien (sorry for my poor english)
>>
>>
>>
>> --
>> 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
>> OW2 mailing lists service home page: http://www.ow2.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
OW2 mailing lists service home page: http://www.ow2.org/wws

testImage.xhtml (5K) Download Attachment
moduleTest.xml (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re : Re: (with reproducible case) Pb (bug?) with dynamic-datatable and image.

Fabien GUENEGO
No response?

Fabien


De : Fabien GUENEGO <[hidden email]>
À : [hidden email]
Envoyé le : Dim 22 août 2010, 16h 17min 43s
Objet : [ops-users] Re: (with reproducible case) Pb (bug?) with dynamic-datatable and image.

Hello,
This is a reproducible case. When I create it, I found that the problem
is with a xi:include.
This is the 2 files:
The main is testImage.xhtml.

Thx
Fabien




Le 21/08/2010 03:41, Erik Bruchez a écrit :

> Fabien,
>
> It looks like a URL rewriting bug. Can you make a simple reproducible
> case showing this?
>
> -Erik
>
> On Sun, Aug 15, 2010 at 1:47 PM, Fabien GUENEGO<[hidden email]>  wrote:
>   
>> Hello,
>>
>> this my problem:
>> I have a fr:datatable link to and instance('retenusParticipantsInstance').
>> When I modifie the instance, the datatable (row and line) change too. It's
>> great. But I have a little problem.
>> Each<th>  in the thead is the same image.
>> before I modifie the instance, it's OK. When I modifie the instance, the
>> number of<th>  increase. I should normally see the same image in the new add
>> <th>  in the datatable but it's lear...
>> I search the origin of the problem and I think I found: When we look at the
>> address of the image, there is a little difference:
>> Before (and in the old<th>):
>> /orbeon/xforms-server/dynamic/6e3758f62ffa32d315f8a1b9d2edf6e8
>> After (only in the new<th>):
>> oxf:/xforms-server/dynamic/6e3758f62ffa32d315f8a1b9d2edf6e8
>>
>> The extract from the code in the datatable:
>> "
>> <xf:repeat nodeset="xxforms:instance('retenusParticipantsInstance')//part">
>> <th fr:resizeable="true"><xf:output mediatype="image/png"
>> value="'/apps/competences/dist/images/iconesite.png'"/></th>
>> </xf:repeat>
>> "
>> And a screen capture of the pb in the join doc.
>>
>> And now... This my question :-)
>> How can I have "/orbeon" in place of "oxf:" ? Indeed, when I modifie the src
>> address image in the new<th>  with firebug, it's ok.
>>
>> Fabien (sorry for my poor english)
>>
>>
>>
>> --
>> 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
>> OW2 mailing lists service home page: http://www.ow2.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
OW2 mailing lists service home page: http://www.ow2.org/wws