Problem with builtin entity references

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

Problem with builtin entity references

Markku Laine
Hi,


I think there might be a bug in the implementation of the label within a
trigger or actually in the trigger itself to be more precise.

Some of the builtin entity references are not displayed properly within
triggers. I ran the test form (enclosed) in XForms Sandbox and it fails
to display the labels on triggers number 4 and 6.

Code snippets:
<!-- Builtin Entity References Instance Data -->
<xforms:instance id="bers-instance">
   <bers xmlns="">
     <ber>One &quot;</ber>
     <ber>Two &apos;</ber>
     <ber>Three &amp;</ber>
     <ber>Four &lt;</ber>
     <ber>Five &gt;</ber>
     <ber>Six &lt;element&gt;</ber>
   </bers>
</xforms:instance>
...
<h3>Simple trigger and label combo within repeat -- ROWS 4
AND 6 FAIL</h3>
<xforms:repeat nodeset="instance( 'bers-instance' )/ber"
id="bers-trigger-and-label-combo-within-repeat">
   <xforms:trigger appearance="full">
     <xforms:label ref="." />
     <xforms:action ev:event="DOMActivate" />
   </xforms:trigger><br />
</xforms:repeat>


Problems:
  * The label of row four is not displayed at all
  * The label of row six is not displayed correctly
  * For some reason the selected row within repeat is displayed in a
different way due to (incorrect?) CSS rules

Other UI controls work fine/correctly with the same data and according to
Orbeon Forms XForms Instance Inspector, the data looks correct, too.

Regards


-Markku

--
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

ber.xforms (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Problem with builtin entity references

Markku Laine
Hi Erik, and Alex,


Have you had time to look at this issue yet?

Regards


-Markku

On Mon, 9 Jun 2008, .::: Markku :::. wrote:

> Hi,
>
>
> I think there might be a bug in the implementation of the label within a
> trigger or actually in the trigger itself to be more precise.
>
> Some of the builtin entity references are not displayed properly within
> triggers. I ran the test form (enclosed) in XForms Sandbox and it fails to
> display the labels on triggers number 4 and 6.
>
> Code snippets:
> <!-- Builtin Entity References Instance Data -->
> <xforms:instance id="bers-instance">
>   <bers xmlns="">
>     <ber>One &quot;</ber>
>     <ber>Two &apos;</ber>
>     <ber>Three &amp;</ber>
>     <ber>Four &lt;</ber>
>     <ber>Five &gt;</ber>
>     <ber>Six &lt;element&gt;</ber>
>  </bers>
> </xforms:instance>
> ...
> <h3>Simple trigger and label combo within repeat -- ROWS 4 AND 6 FAIL</h3>
> <xforms:repeat nodeset="instance( 'bers-instance' )/ber"
> id="bers-trigger-and-label-combo-within-repeat">
>   <xforms:trigger appearance="full">
>     <xforms:label ref="." />
>     <xforms:action ev:event="DOMActivate" />
>  </xforms:trigger><br />
> </xforms:repeat>
>
>
> Problems:
>  * The label of row four is not displayed at all
>  * The label of row six is not displayed correctly
>  * For some reason the selected row within repeat is displayed in a
> different way due to (incorrect?) CSS rules
>
> Other UI controls work fine/correctly with the same data and according to
> Orbeon Forms XForms Instance Inspector, the data looks correct, too.
>
> Regards
>
>
> -Markku
>
--
Markku Laine <[hidden email]>, Research assistant
Helsinki University of Technology
Department of Media Technology
P.O. BOX 5400, FI-02015 HUT, FINLAND
Mobile. +358-50-565 8179


--
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: Re: Problem with builtin entity references

Erik Bruchez
Administrator
Just did. That should now be fixed.

-Erik

On Jul 11, 2008, at 1:34 AM, .::: Markku :::. wrote:

> Hi Erik, and Alex,
>
>
> Have you had time to look at this issue yet?
>
> Regards
>
>
> -Markku
>
> On Mon, 9 Jun 2008, .::: Markku :::. wrote:
>
>> Hi,
>>
>>
>> I think there might be a bug in the implementation of the label  
>> within a trigger or actually in the trigger itself to be more  
>> precise.
>>
>> Some of the builtin entity references are not displayed properly  
>> within triggers. I ran the test form (enclosed) in XForms Sandbox  
>> and it fails to display the labels on triggers number 4 and 6.
>>
>> Code snippets:
>> <!-- Builtin Entity References Instance Data -->
>> <xforms:instance id="bers-instance">
>>  <bers xmlns="">
>>    <ber>One &quot;</ber>
>>    <ber>Two &apos;</ber>
>>    <ber>Three &amp;</ber>
>>    <ber>Four &lt;</ber>
>>    <ber>Five &gt;</ber>
>>    <ber>Six &lt;element&gt;</ber>
>> </bers>
>> </xforms:instance>
>> ...
>> <h3>Simple trigger and label combo within repeat -- ROWS 4 AND 6  
>> FAIL</h3>
>> <xforms:repeat nodeset="instance( 'bers-instance' )/ber" id="bers-
>> trigger-and-label-combo-within-repeat">
>>  <xforms:trigger appearance="full">
>>    <xforms:label ref="." />
>>    <xforms:action ev:event="DOMActivate" />
>> </xforms:trigger><br />
>> </xforms:repeat>
>>
>>
>> Problems:
>> * The label of row four is not displayed at all
>> * The label of row six is not displayed correctly
>> * For some reason the selected row within repeat is displayed in a  
>> different way due to (incorrect?) CSS rules
>>
>> Other UI controls work fine/correctly with the same data and  
>> according to Orbeon Forms XForms Instance Inspector, the data looks  
>> correct, too.
>>
>> Regards
>>
>>
>> -Markku
>>
>
> --
> Markku Laine <[hidden email]>, Research assistant
> Helsinki University of Technology
> Department of Media Technology
> P.O. BOX 5400, FI-02015 HUT, FINLAND
> Mobile. +358-50-565 8179
>
> --
> 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
--
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
OW2 mailing lists service home page: http://www.ow2.org/wws