text does not line up in firefox

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

text does not line up in firefox

Doug Young

Hi,

  The attached example shows a problem where text that is made up of static text and xforms:output does not line when displayed in firefox 1.0.7.

 

This example is the same as the one I posted for old instance data coming back to a page -- version 3.0.beta3.200511020401 except it has style="text-decoration:underline"

added at line 295 in view.xsl.

 

 

the file locations are:

resources/pages/allStatusSummary/getSummaryAndGraphInfo.xpl

resources/pages/allStatusSummary/view.xsl

 

 

open firefox

browse to   blah blah/context name/view

press the update button

note how any lines that are made up of static text and xforms:output do not line up properly the part of the line from the xfroms:output is lower than the static text, this is very noticeable on the Completeted (0 PEAs): $0.00 line as I have underlined it

 

This bug does not appear in IE 6

 

 

Doug

 

 

 



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

view.xsl (23K) Download Attachment
getSummaryAndGraphInfo.xpl (5K) Download Attachment
page-flow.xml (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: text does not line up in firefox

Erik Bruchez
Administrator
Doug, I have not tried your attached example, but does your problem
correspond to this bug?

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

-Erik

Doug Young wrote:

> Hi,
>
>   The attached example shows a problem where text that is made up of
> static text and xforms:output does not line when displayed in firefox 1.0.7.
>
>  
>
> This example is the same as the one I posted for old instance data
> coming back to a page -- version 3.0.beta3.200511020401 except it has
> style="text-decoration:underline"
>
> added at line 295 in view.xsl.
>
>  
>
>  
>
> the file locations are:
>
> resources/pages/allStatusSummary/getSummaryAndGraphInfo.xpl
>
> resources/pages/allStatusSummary/view.xsl
>
>  
>
>  
>
> open firefox
>
> browse to   blah blah/context name/view
>
> press the update button
>
> note how any lines that are made up of static text and xforms:output do
> not line up properly the part of the line from the xfroms:output is
> lower than the static text, this is very noticeable on the Completeted
> (0 PEAs): $0.00 line as I have underlined it
>
>  
>
> This bug does not appear in IE 6
>
>  
>
>  
>
> Doug
>
>  
>
>  
>
>  
>
>
> ------------------------------------------------------------------------
>
> <xhtml:html xmlns:xforms="http://www.w3.org/2002/xforms"
>     xmlns:f="http://orbeon.org/oxf/xml/formatting"
>     xmlns:xhtml="http://www.w3.org/1999/xhtml"
>     xmlns:xxforms="http://orbeon.org/oxf/xml/xforms"
>     xmlns:ev="http://www.w3.org/2001/xml-events"
>     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>      xsl:version="2.0">
>        
>     <xhtml:head>
>                
>         <xforms:model xmlns:xforms="http://www.w3.org/2002/xforms"
>                 xmlns:xs="http://www.w3.org/2001/XMLSchema"
>                 xmlns:xdt="http://www.w3.org/2004/07/xpath-datatypes"
>                 id="main-model">
>            
>             <xforms:instance id="UIData">
>                 <instance>
>                     <!-- default is the start of the year -->
>                     <startDate><xsl:value-of select="xs:date(concat (year-from-date(current-date()),'-01', '-01'))"/></startDate>
>                              
>                     <!-- default is today -->
>                     <endDate><xsl:value-of select="current-date()"/></endDate>
>                    
>                 </instance>
>             </xforms:instance>
>                        
>             <xforms:instance id="tests">
>                 <instance>
>                     <!-- these found/not found and got/not got pairs are used to toggle to different cases -->
>                     <foundData>0</foundData>
>                     <noFoundData>0</noFoundData>
>                     <gotCompletedDataCnt>0</gotCompletedDataCnt>
>                     <notGotCompletedDataCnt>0</notGotCompletedDataCnt>
>                     <gotApprovedDataCnt>0</gotApprovedDataCnt>
>                     <notGotApprovedDataCnt>0</notGotApprovedDataCnt>
>                     <gotRaisedDataCnt>0</gotRaisedDataCnt>
>                     <notGotRaisedDataCnt>0</notGotRaisedDataCnt>                    
>                 </instance>                
>             </xforms:instance>
>                        
>             <xforms:instance id="retrievedSummaryInfo">
>                 <peaSummary>
>                     <matchingPEACount/>
>                     <startDateDispStr/>
>                     <endDateDispStr/>
>                     <summaryDispStr/>
>                     <completed>
>                         <total></total>
>                         <totalDispStr/>
>                         <capitalAssets/>
>                         <capitalAssetsDispStr/>
>                         <operatingLeases/>
>                         <operatingLeasesDispStr/>
>                         <otherExpenditure/>
>                         <otherExpenditureDispStr></otherExpenditureDispStr>
>                         <pcentInPlanByNumber></pcentInPlanByNumber>
>                         <pcentInPlanByValue></pcentInPlanByValue>
>                         <pcentGrowth></pcentGrowth>>
>                         <pcentSustain></pcentSustain>
>                         <pcentmaintenance></pcentmaintenance>
>                         <pcentCostReduction></pcentCostReduction>
>                         <pcentRegulatoryCompliance></pcentRegulatoryCompliance>
>                         <totalReasonPcent></totalReasonPcent>
>                     </completed>
>                     <approved>
>                         <total></total>
>                         <totalDispStr/>
>                         <capitalAssets/>
>                         <capitalAssetsDispStr/>
>                         <operatingLeases/>
>                         <operatingLeasesDispStr/>
>                         <otherExpenditure/>
>                         <otherExpenditureDispStr></otherExpenditureDispStr>
>                         <pcentInPlanByNumber></pcentInPlanByNumber>
>                         <pcentInPlanByValue></pcentInPlanByValue>
>                         <pcentGrowth></pcentGrowth>>
>                         <pcentSustain></pcentSustain>
>                         <pcentmaintenance></pcentmaintenance>
>                         <pcentCostReduction></pcentCostReduction>
>                         <pcentRegulatoryCompliance></pcentRegulatoryCompliance>
>                         <totalReasonPcent></totalReasonPcent>
>                     </approved>
>                     <raised>
>                         <total></total>
>                         <totalDispStr/>
>                         <capitalAssets/>
>                         <capitalAssetsDispStr/>
>                         <operatingLeases/>
>                         <operatingLeasesDispStr/>
>                         <otherExpenditure/>
>                         <otherExpenditureDispStr></otherExpenditureDispStr>
>                         <pcentInPlanByNumber></pcentInPlanByNumber>
>                         <pcentInPlanByValue></pcentInPlanByValue>
>                         <pcentGrowth></pcentGrowth>>
>                         <pcentSustain></pcentSustain>
>                         <pcentmaintenance></pcentmaintenance>
>                         <pcentCostReduction></pcentCostReduction>
>                         <pcentRegulatoryCompliance></pcentRegulatoryCompliance>
>                         <totalReasonPcent></totalReasonPcent>
>                     </raised>
>                 </peaSummary>
>             </xforms:instance>
>                                        
>             <xforms:bind nodeset="instance('UIData')">
>                 <xforms:bind nodeset="startDate" type="xs:date"/>
>                 <xforms:bind nodeset="endDate" type="xs:date"/>
>             </xforms:bind>
>            
>             <xforms:bind nodeset="instance('tests')">
>                 <!-- these found/not found and got/not got pairs are used to toggle to different cases -->
>                 <xforms:bind nodeset="foundData" relevant="false()" type="xs:positiveInteger"/>
>                 <xforms:bind nodeset="noFoundData" relevant="false()" type="xs:positiveInteger"/>
>                 <xforms:bind nodeset="gotCompletedDataCnt" relevant="false()" type="xs:positiveInteger"/>
>                 <xforms:bind nodeset="notGotCompletedDataCnt" relevant="false()" type="xs:positiveInteger"/>
>                 <xforms:bind nodeset="gotApprovedDataCnt" relevant="false()" type="xs:positiveInteger"/>
>                 <xforms:bind nodeset="notGotApprovedDataCnt" relevant="false()" type="xs:positiveInteger"/>
>                 <xforms:bind nodeset="gotRaisedDataCnt" relevant="false()" type="xs:positiveInteger"/>
>                 <xforms:bind nodeset="notGotRaisedDataCnt" relevant="false()" type="xs:positiveInteger"/>
>                
>             </xforms:bind>
>                                        
>             <xforms:submission ref="instance('UIData')" id="getPEAs-submission"
>                 method="post" action="/allStatusSummary/getSummaryAndGraphInfo"
>                 replace="instance" instance="retrievedSummaryInfo">                
>             </xforms:submission>            
>                                                    
>             <xforms:action ev:event="xforms-submit-done">
>                 <!-- these found/not found and got/not got pairs are used to toggle to different cases -->
>                 <xforms:setvalue ref="instance('tests')/foundData" ev:event="xforms-submit-done" value="if (xs:integer(instance('retrievedSummaryInfo')/matchingPEACount) gt 0) then instance('tests')/foundData + 1 else instance('tests')/foundData"/>
>                 <xforms:setvalue ref="instance('tests')/noFoundData" ev:event="xforms-submit-done" value="if (xs:integer(instance('retrievedSummaryInfo')/matchingPEACount) eq 0) then instance('tests')/noFoundData + 1 else instance('tests')/noFoundData"/>
>                
>                 <xforms:setvalue ref="instance('tests')/gotCompletedDataCnt" ev:event="xforms-submit-done"
>                             value="if (xs:integer(instance('retrievedSummaryInfo')/completed/totalReasonPcent) gt 0) then instance('tests')/gotCompletedDataCnt + 1 else instance('tests')/gotCompletedDataCnt"/>
>                 <xforms:setvalue ref="instance('tests')/notGotCompletedDataCnt" ev:event="xforms-submit-done"
>                             value="if (xs:integer(instance('retrievedSummaryInfo')/completed/totalReasonPcent) eq 0) then instance('tests')/notGotCompletedDataCnt + 1 else instance('tests')/notGotCompletedDataCnt"/>
>                
>                 <xforms:setvalue ref="instance('tests')/gotApprovedDataCnt" ev:event="xforms-submit-done"
>                             value="if (xs:integer(instance('retrievedSummaryInfo')/approved/totalReasonPcent) gt 0) then instance('tests')/gotApprovedDataCnt + 1 else instance('tests')/gotApprovedDataCnt"/>
>                 <xforms:setvalue ref="instance('tests')/notGotApprovedDataCnt" ev:event="xforms-submit-done"
>                             value="if (xs:integer(instance('retrievedSummaryInfo')/approved/totalReasonPcent) eq 0) then instance('tests')/notGotApprovedDataCnt + 1 else instance('tests')/notGotApprovedDataCnt"/>
>                
>                 <xforms:setvalue ref="instance('tests')/gotRaisedDataCnt" ev:event="xforms-submit-done"
>                             value="if (xs:integer(instance('retrievedSummaryInfo')/raised/totalReasonPcent) gt 0) then instance('tests')/gotRaisedDataCnt + 1 else instance('tests')/gotRaisedDataCnt"/>
>                 <xforms:setvalue ref="instance('tests')/notGotRaisedDataCnt" ev:event="xforms-submit-done"
>                             value="if (xs:integer(instance('retrievedSummaryInfo')/raised/totalReasonPcent) eq 0) then instance('tests')/notGotRaisedDataCnt + 1 else instance('tests')/notGotRaisedDataCnt"/>
>             </xforms:action>                                    
>         </xforms:model>
>     </xhtml:head>
>    
>     <xhtml:body>
>
>         <!-- debug outputs of the test instance data to see them change their relevant attributes in the above binds -->
>         <xforms:group ref="instance('tests')">            
>             <xforms:input ref="foundData">
>                    <xforms:label>test foundData:</xforms:label>
>                     <xforms:action ev:event="xforms-value-changed">
>                        <xforms:toggle case="foundData"/>          
>                     </xforms:action>
>             </xforms:input>
>             <xforms:input ref="noFoundData">
>                 <xforms:label>test noFoundData:</xforms:label>
>                 <xforms:action ev:event="xforms-value-changed" >
>                     <xforms:toggle case="noFoundData"/>                
>                 </xforms:action>
>             </xforms:input>
>             <xforms:input ref="gotCompletedDataCnt">
>                 <xforms:label>test gotCompletedDataCnt:</xforms:label>
>                 <xforms:action ev:event="xforms-value-changed" >
>                     <xforms:toggle case="gotCompletedDataCnt"/>                
>                 </xforms:action>
>             </xforms:input>
>             <xforms:input ref="notGotCompletedDataCnt">
>                 <xforms:label>test notGotCompletedDataCnt:</xforms:label>
>                 <xforms:action ev:event="xforms-value-changed" >
>                     <xforms:toggle case="notGotCompletedDataCnt"/>                
>                 </xforms:action>
>             </xforms:input>
>             <xforms:input ref="gotApprovedDataCnt">
>                 <xforms:label>test gotApprovedDataCnt:</xforms:label>
>                 <xforms:action ev:event="xforms-value-changed" >
>                     <xforms:toggle case="gotApprovedDataCnt"/>                
>                 </xforms:action>
>             </xforms:input>
>             <xforms:input ref="notGotApprovedDataCnt">
>                 <xforms:label>test notGotApprovedDataCnt:</xforms:label>
>                 <xforms:action ev:event="xforms-value-changed" >
>                     <xforms:toggle case="notGotApprovedDataCnt"/>                
>                 </xforms:action>
>             </xforms:input>
>             <xforms:input ref="gotRaisedDataCnt">
>                 <xforms:label>test gotRaisedDataCnt:</xforms:label>
>                 <xforms:action ev:event="xforms-value-changed" >
>                     <xforms:toggle case="gotRaisedDataCnt"/>                
>                 </xforms:action>
>             </xforms:input>
>             <xforms:input ref="notGotRaisedDataCnt">
>                 <xforms:label>test notGotRaisedDataCnt:</xforms:label>
>                 <xforms:action ev:event="xforms-value-changed" >
>                     <xforms:toggle case="notGotRaisedDataCnt"/>                
>                 </xforms:action>
>             </xforms:input>
>         </xforms:group>
>        
>         <xforms:group ref="instance('UIData')">
>             <xhtml:h2>Query</xhtml:h2>                            
>            
>             <!-- inpout fields for the query parameters -->
>             <xhtml:div>
>                 <xhtml:table>
>                     <!-- start date -->
>                     <xhtml:tr>
>                         <xhtml:td width="150px">Start Date</xhtml:td>
>                         <xhtml:td>
>                             <xforms:input ref="startDate">
>                                 <xforms:alert>Please enter a valid start date</xforms:alert>
>                             </xforms:input>
>                         </xhtml:td>
>                     </xhtml:tr>
>                    
>                     <!-- end date -->
>                     <xhtml:tr>
>                         <xhtml:td width="150px">End Date</xhtml:td>
>                         <xhtml:td>
>                             <xforms:input ref="endDate">
>                                 <xforms:alert>Please enter a valid end date</xforms:alert>
>                             </xforms:input>
>                         </xhtml:td>
>                     </xhtml:tr>
>                    
>                 </xhtml:table>
>             </xhtml:div>          
>                                
>
>             <xforms:submit submission="getPEAs-submission">
>                 <xforms:label>Update</xforms:label>
>             </xforms:submit>
>            
>             <!-- main output switch -->
>             <xforms:switch>
>                 <!-- before submit is pressed -->
>                 <xforms:case id="initialDisplay" selected="true">
>                 </xforms:case>
>                
>                 <!-- submit opressed but no data -->
>                 <xforms:case id="noFoundData">
>                     <xhtml:p>
>                         No PEAs were found for the specified date range.
>                     </xhtml:p>                    
>                 </xforms:case>
>                
>                 <!-- got some data to display -->
>                 <xforms:case id="foundData">
>                     <xhtml:div>
>                         <xhtml:br/>
>                         <!-- do the overall summary -->
>                         <xhtml:h1><xforms:output value="instance('retrievedSummaryInfo')/summaryDispStr"/></xhtml:h1>
>                      
>                         <xhtml:div>
>                             <xhtml:table>
>                                 <!-- completed -->
>                                 <tr>
>                                     <td style="white-space:nowrap" width="1%">
>                                         <xhtml:a href="#completedLink">Completed (<xforms:output value="instance('retrievedSummaryInfo')/completed/count"/> PEAS)</xhtml:a>
>                                        
>                                     </td>
>                                     <td>
>                                         <xforms:output value="instance('retrievedSummaryInfo')/completed/totalDispStr"/>
>                                     </td>
>                                 </tr>
>                                 <!-- approved -->
>                                 <tr>
>                                     <td style="white-space:nowrap" width="1%">
>                                         <xhtml:a href="#approvedLink">Approved (<xforms:output value="instance('retrievedSummaryInfo')/approved/count"/> PEAS)</xhtml:a>                                                        
>                                     </td>
>                                     <td>
>                                         <xforms:output value="instance('retrievedSummaryInfo')/approved/totalDispStr"/>
>                                     </td>                                        
>                                 </tr>
>                                 <!-- raised -->
>                                 <tr>
>                                     <td style="white-space:nowrap" width="1%">
>                                         <xhtml:a href="#raisedLink" >Raised (<xforms:output value="instance('retrievedSummaryInfo')/raised/count"/> PEAS)</xhtml:a>                            
>                                     </td>
>                                     <td>
>                                         <xforms:output value="instance('retrievedSummaryInfo')/raised/totalDispStr"/>
>                                     </td>
>                                 </tr>
>                             </xhtml:table>
>                         </xhtml:div>
>                        
>                         <!-- do the completed output -->
>                         <xhtml:div id="completedSummaryDiv">                                                            
>                             <xhtml:a name="completedLink"></xhtml:a>                            
>                             <xhtml:br/>
>                                 <xhtml:h2 style="text-decoration:underline" >Completed (<xforms:output value="instance('retrievedSummaryInfo')/completed/count"/> PEAS): <xforms:output value="instance('retrievedSummaryInfo')/completed/totalDispStr"/></xhtml:h2>
>                            
>                             <xhtml:table>
>                                  <tr>
>                                   <td style="white-space:nowrap" width="1%">Capital Assests</td>
>                                   <td><xforms:output value="instance('retrievedSummaryInfo')/completed/capitalAssetsDispStr"/></td>
>                                  </tr>
>                                 <tr>
>                                  <td style="white-space:nowrap">Operating Leases</td>
>                                  <td><xforms:output value="instance('retrievedSummaryInfo')/completed/operatingLeasesDispStr"/></td>
>                                 </tr>
>                                 <tr>
>                                  <td style="white-space:nowrap">Other Expenditure</td>
>                                  <td><xforms:output value="instance('retrievedSummaryInfo')/completed/otherExpenditureDispStr"/></td>
>                                 </tr>
>                                 <tr>
>                                  <td style="white-space:nowrap">Expenditure Items In Plan By Number</td>
>                                  <td><xforms:output value="instance('retrievedSummaryInfo')/completed/pcentInPlanByNumber"/>%</td>
>                                 </tr>
>                                 <tr>
>                                  <td style="white-space:nowrap">Expenditure Items In Plan By Value</td>
>                                  <td><xforms:output value="instance('retrievedSummaryInfo')/completed/pcentInPlanByValue"/>%</td>
>                                 </tr>
>                             </xhtml:table>
>                                                
>                         </xhtml:div>
>                        
>                         <!-- do the approved output -->
>                         <xhtml:div id="approvedSummaryDiv">
>                             <xhtml:a name="approvedLink"></xhtml:a>                            
>                             <xhtml:br/>
>                             <xhtml:h2>Approved (<xforms:output value="instance('retrievedSummaryInfo')/approved/count"/> PEAS): <xforms:output value="instance('retrievedSummaryInfo')/approved/totalDispStr"/></xhtml:h2>                            
>                             <xhtml:table>
>                                  <tr>
>                                   <td style="white-space:nowrap" width="1%">Capital Assests</td>
>                                   <td><xforms:output value="instance('retrievedSummaryInfo')/approved/capitalAssetsDispStr"/></td>
>                                  </tr>
>                                 <tr>
>                                  <td style="white-space:nowrap">Operating Leases</td>
>                                  <td><xforms:output value="instance('retrievedSummaryInfo')/approved/operatingLeasesDispStr"/></td>
>                                 </tr>
>                                 <tr>
>                                  <td style="white-space:nowrap">Other Expenditure</td>
>                                  <td><xforms:output value="instance('retrievedSummaryInfo')/approved/otherExpenditureDispStr"/></td>
>                                 </tr>
>                                 <tr>
>                                  <td style="white-space:nowrap">Expenditure Items In Plan By Number</td>
>                                  <td><xforms:output value="instance('retrievedSummaryInfo')/approved/pcentInPlanByNumber"/>%</td>
>                                 </tr>
>                                 <tr>
>                                  <td style="white-space:nowrap">Expenditure Items In Plan By Value</td>
>                                  <td><xforms:output value="instance('retrievedSummaryInfo')/approved/pcentInPlanByValue"/>%</td>
>                                 </tr>
>                             </xhtml:table>
>                            
>                         </xhtml:div>
>                        
>                         <!-- do the raised output -->
>                         <xhtml:div id="raisedSummaryDiv">
>                             <xhtml:a name="raisedLink"></xhtml:a>                            
>                             <xhtml:br/>
>                             <xhtml:h2>Raised (<xforms:output value="instance('retrievedSummaryInfo')/raised/count"/> PEAS): <xforms:output value="instance('retrievedSummaryInfo')/raised/totalDispStr"/></xhtml:h2>                            
>                             <xhtml:table>
>                                  <tr>
>                                   <td style="white-space:nowrap" width="1%">Capital Assests</td>
>                                   <td><xforms:output value="instance('retrievedSummaryInfo')/raised/capitalAssetsDispStr"/></td>
>                                  </tr>
>                                 <tr>
>                                  <td style="white-space:nowrap">Operating Leases</td>
>                                  <td><xforms:output value="instance('retrievedSummaryInfo')/raised/operatingLeasesDispStr"/></td>
>                                 </tr>
>                                 <tr>
>                                  <td style="white-space:nowrap">Other Expenditure</td>
>                                  <td><xforms:output value="instance('retrievedSummaryInfo')/raised/otherExpenditureDispStr"/></td>
>                                 </tr>
>                                 <tr>
>                                  <td style="white-space:nowrap">Expenditure Items In Plan By Number</td>
>                                  <td><xforms:output value="instance('retrievedSummaryInfo')/raised/pcentInPlanByNumber"/>%</td>
>                                 </tr>
>                                 <tr>
>                                  <td style="white-space:nowrap">Expenditure Items In Plan By Value</td>
>                                  <td><xforms:output value="instance('retrievedSummaryInfo')/raised/pcentInPlanByValue"/>%</td>
>                                 </tr>
>                             </xhtml:table>
>
>                         </xhtml:div>
>                     </xhtml:div>
>                 </xforms:case>
>             </xforms:switch>
>         </xforms:group>
>     </xhtml:body>
> </xhtml:html>
>
>
> ------------------------------------------------------------------------
>
>
> <config xmlns="http://www.orbeon.com/oxf/controller"
>         xmlns:xu="http://www.xmldb.org/xupdate"
>         xmlns:oxf="http://www.orbeon.com/oxf/processors"
>         xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
>
>     <!-- Files to serve directly -->
>     <files path-info="*.gif"/>
>     <files path-info="*.css"/>
>     <files path-info="*.pdf"/>
>     <files path-info="*.js"/>
>     <files path-info="*.png"/>
>     <files path-info="*.jpg"/>
>     <files path-info="*.html" mime-type="text/html"/>
>     <files path-info="*.java" mime-type="text/plain"/>
>     <files path-info="*.txt" mime-type="text/plain"/>
>     <files path-info="*.xq" mime-type="text/plain"/>
>
>     <!-- CSS generated by a pipeline -->
>     <page id="layout-css" path-info="/config/theme/orbeon-layout.cssd" model="/config/theme/orbeon-layout.xpl"/>
>
>    
>     <page id="PASSView" path-info="/view"
>             view="/pages/allStatusSummary/view.xsl"/>
>
>     <page id="PASSGetPEAs" path-info="/allStatusSummary/getSummaryAndGraphInfo"
>            view="/pages/allStatusSummary/getSummaryAndGraphInfo.xpl"/>
>    
>     <!-- "Not Found" page displayed when no page matches the request URL -->
>     <page id="not-found" path-info="/notFound" view="/pages/notFound.xpl"/>
>                          
>
>     <epilogue url="/config/epilogue.xpl"/>    
>     <not-found-handler page="not-found"/>
>
> </config>
>
>
> ------------------------------------------------------------------------
>
>
> --
> 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: text does not line up in firefox

Doug Young
Yes that sounds like the bug.

I can get round it by making the complete string in an xpl file and then
displaying the entire string using xforms:output but then some of my UI is
mixed in with the model processing and I was trying to keep them separate.


Doug


-----Original Message-----
From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez
Sent: 08 November 2005 12:00
To: [hidden email]
Subject: Re: [ops-users] text does not line up in firefox

Doug, I have not tried your attached example, but does your problem
correspond to this bug?

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

-Erik

Doug Young wrote:
> Hi,
>
>   The attached example shows a problem where text that is made up of
> static text and xforms:output does not line when displayed in firefox
1.0.7.

>
>  
>
> This example is the same as the one I posted for old instance data
> coming back to a page -- version 3.0.beta3.200511020401 except it has
> style="text-decoration:underline"
>
> added at line 295 in view.xsl.
>
>  
>
>  
>
> the file locations are:
>
> resources/pages/allStatusSummary/getSummaryAndGraphInfo.xpl
>
> resources/pages/allStatusSummary/view.xsl
>
>  
>
>  
>
> open firefox
>
> browse to   blah blah/context name/view
>
> press the update button
>
> note how any lines that are made up of static text and xforms:output do
> not line up properly the part of the line from the xfroms:output is
> lower than the static text, this is very noticeable on the Completeted
> (0 PEAs): $0.00 line as I have underlined it
>
>  
>
> This bug does not appear in IE 6
>
>  
>
>  
>
> Doug
>
>  
>
>  
>
>  
>
>
> ------------------------------------------------------------------------
>
> <xhtml:html xmlns:xforms="http://www.w3.org/2002/xforms"
>     xmlns:f="http://orbeon.org/oxf/xml/formatting"
>     xmlns:xhtml="http://www.w3.org/1999/xhtml"
>     xmlns:xxforms="http://orbeon.org/oxf/xml/xforms"
>     xmlns:ev="http://www.w3.org/2001/xml-events"
>     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>      xsl:version="2.0">
>        
>     <xhtml:head>
>                
>         <xforms:model xmlns:xforms="http://www.w3.org/2002/xforms"
>                 xmlns:xs="http://www.w3.org/2001/XMLSchema"
>                 xmlns:xdt="http://www.w3.org/2004/07/xpath-datatypes"
>                 id="main-model">
>            
>             <xforms:instance id="UIData">
>                 <instance>
>                     <!-- default is the start of the year -->
>                     <startDate><xsl:value-of select="xs:date(concat
(year-from-date(current-date()),'-01', '-01'))"/></startDate>
>                              
>                     <!-- default is today -->
>                     <endDate><xsl:value-of
select="current-date()"/></endDate>
>                    
>                 </instance>
>             </xforms:instance>
>                        
>             <xforms:instance id="tests">
>                 <instance>
>                     <!-- these found/not found and got/not got pairs are
used to toggle to different cases -->
>                     <foundData>0</foundData>
>                     <noFoundData>0</noFoundData>
>                     <gotCompletedDataCnt>0</gotCompletedDataCnt>
>                     <notGotCompletedDataCnt>0</notGotCompletedDataCnt>
>                     <gotApprovedDataCnt>0</gotApprovedDataCnt>
>                     <notGotApprovedDataCnt>0</notGotApprovedDataCnt>
>                     <gotRaisedDataCnt>0</gotRaisedDataCnt>
>                     <notGotRaisedDataCnt>0</notGotRaisedDataCnt>

>                 </instance>                
>             </xforms:instance>
>                        
>             <xforms:instance id="retrievedSummaryInfo">
>                 <peaSummary>
>                     <matchingPEACount/>
>                     <startDateDispStr/>
>                     <endDateDispStr/>
>                     <summaryDispStr/>
>                     <completed>
>                         <total></total>
>                         <totalDispStr/>
>                         <capitalAssets/>
>                         <capitalAssetsDispStr/>
>                         <operatingLeases/>
>                         <operatingLeasesDispStr/>
>                         <otherExpenditure/>
>
<otherExpenditureDispStr></otherExpenditureDispStr>
>                         <pcentInPlanByNumber></pcentInPlanByNumber>
>                         <pcentInPlanByValue></pcentInPlanByValue>
>                         <pcentGrowth></pcentGrowth>>
>                         <pcentSustain></pcentSustain>
>                         <pcentmaintenance></pcentmaintenance>
>                         <pcentCostReduction></pcentCostReduction>
>
<pcentRegulatoryCompliance></pcentRegulatoryCompliance>

>                         <totalReasonPcent></totalReasonPcent>
>                     </completed>
>                     <approved>
>                         <total></total>
>                         <totalDispStr/>
>                         <capitalAssets/>
>                         <capitalAssetsDispStr/>
>                         <operatingLeases/>
>                         <operatingLeasesDispStr/>
>                         <otherExpenditure/>
>
<otherExpenditureDispStr></otherExpenditureDispStr>
>                         <pcentInPlanByNumber></pcentInPlanByNumber>
>                         <pcentInPlanByValue></pcentInPlanByValue>
>                         <pcentGrowth></pcentGrowth>>
>                         <pcentSustain></pcentSustain>
>                         <pcentmaintenance></pcentmaintenance>
>                         <pcentCostReduction></pcentCostReduction>
>
<pcentRegulatoryCompliance></pcentRegulatoryCompliance>

>                         <totalReasonPcent></totalReasonPcent>
>                     </approved>
>                     <raised>
>                         <total></total>
>                         <totalDispStr/>
>                         <capitalAssets/>
>                         <capitalAssetsDispStr/>
>                         <operatingLeases/>
>                         <operatingLeasesDispStr/>
>                         <otherExpenditure/>
>
<otherExpenditureDispStr></otherExpenditureDispStr>
>                         <pcentInPlanByNumber></pcentInPlanByNumber>
>                         <pcentInPlanByValue></pcentInPlanByValue>
>                         <pcentGrowth></pcentGrowth>>
>                         <pcentSustain></pcentSustain>
>                         <pcentmaintenance></pcentmaintenance>
>                         <pcentCostReduction></pcentCostReduction>
>
<pcentRegulatoryCompliance></pcentRegulatoryCompliance>

>                         <totalReasonPcent></totalReasonPcent>
>                     </raised>
>                 </peaSummary>
>             </xforms:instance>
>                                        
>             <xforms:bind nodeset="instance('UIData')">
>                 <xforms:bind nodeset="startDate" type="xs:date"/>
>                 <xforms:bind nodeset="endDate" type="xs:date"/>
>             </xforms:bind>
>            
>             <xforms:bind nodeset="instance('tests')">
>                 <!-- these found/not found and got/not got pairs are used
to toggle to different cases -->
>                 <xforms:bind nodeset="foundData" relevant="false()"
type="xs:positiveInteger"/>
>                 <xforms:bind nodeset="noFoundData" relevant="false()"
type="xs:positiveInteger"/>
>                 <xforms:bind nodeset="gotCompletedDataCnt"
relevant="false()" type="xs:positiveInteger"/>
>                 <xforms:bind nodeset="notGotCompletedDataCnt"
relevant="false()" type="xs:positiveInteger"/>
>                 <xforms:bind nodeset="gotApprovedDataCnt"
relevant="false()" type="xs:positiveInteger"/>
>                 <xforms:bind nodeset="notGotApprovedDataCnt"
relevant="false()" type="xs:positiveInteger"/>
>                 <xforms:bind nodeset="gotRaisedDataCnt" relevant="false()"
type="xs:positiveInteger"/>
>                 <xforms:bind nodeset="notGotRaisedDataCnt"
relevant="false()" type="xs:positiveInteger"/>
>                
>             </xforms:bind>
>                                        
>             <xforms:submission ref="instance('UIData')"
id="getPEAs-submission"
>                 method="post"
action="/allStatusSummary/getSummaryAndGraphInfo"
>                 replace="instance" instance="retrievedSummaryInfo">

>             </xforms:submission>            
>                                                    
>             <xforms:action ev:event="xforms-submit-done">
>                 <!-- these found/not found and got/not got pairs are used
to toggle to different cases -->
>                 <xforms:setvalue ref="instance('tests')/foundData"
ev:event="xforms-submit-done" value="if
(xs:integer(instance('retrievedSummaryInfo')/matchingPEACount) gt 0) then
instance('tests')/foundData + 1 else instance('tests')/foundData"/>
>                 <xforms:setvalue ref="instance('tests')/noFoundData"
ev:event="xforms-submit-done" value="if
(xs:integer(instance('retrievedSummaryInfo')/matchingPEACount) eq 0) then
instance('tests')/noFoundData + 1 else instance('tests')/noFoundData"/>
>                
>                 <xforms:setvalue
ref="instance('tests')/gotCompletedDataCnt" ev:event="xforms-submit-done"
>                             value="if
(xs:integer(instance('retrievedSummaryInfo')/completed/totalReasonPcent) gt
0) then instance('tests')/gotCompletedDataCnt + 1 else
instance('tests')/gotCompletedDataCnt"/>
>                 <xforms:setvalue
ref="instance('tests')/notGotCompletedDataCnt" ev:event="xforms-submit-done"

>                             value="if
(xs:integer(instance('retrievedSummaryInfo')/completed/totalReasonPcent) eq
0) then instance('tests')/notGotCompletedDataCnt + 1 else
instance('tests')/notGotCompletedDataCnt"/>
>                
>                 <xforms:setvalue
ref="instance('tests')/gotApprovedDataCnt" ev:event="xforms-submit-done"
>                             value="if
(xs:integer(instance('retrievedSummaryInfo')/approved/totalReasonPcent) gt
0) then instance('tests')/gotApprovedDataCnt + 1 else
instance('tests')/gotApprovedDataCnt"/>
>                 <xforms:setvalue
ref="instance('tests')/notGotApprovedDataCnt" ev:event="xforms-submit-done"
>                             value="if
(xs:integer(instance('retrievedSummaryInfo')/approved/totalReasonPcent) eq
0) then instance('tests')/notGotApprovedDataCnt + 1 else
instance('tests')/notGotApprovedDataCnt"/>
>                
>                 <xforms:setvalue ref="instance('tests')/gotRaisedDataCnt"
ev:event="xforms-submit-done"
>                             value="if
(xs:integer(instance('retrievedSummaryInfo')/raised/totalReasonPcent) gt 0)
then instance('tests')/gotRaisedDataCnt + 1 else
instance('tests')/gotRaisedDataCnt"/>
>                 <xforms:setvalue
ref="instance('tests')/notGotRaisedDataCnt" ev:event="xforms-submit-done"
>                             value="if
(xs:integer(instance('retrievedSummaryInfo')/raised/totalReasonPcent) eq 0)
then instance('tests')/notGotRaisedDataCnt + 1 else
instance('tests')/notGotRaisedDataCnt"/>
>             </xforms:action>                                    
>         </xforms:model>
>     </xhtml:head>
>    
>     <xhtml:body>
>
>         <!-- debug outputs of the test instance data to see them change
their relevant attributes in the above binds -->

>         <xforms:group ref="instance('tests')">            
>             <xforms:input ref="foundData">
>                    <xforms:label>test foundData:</xforms:label>
>                     <xforms:action ev:event="xforms-value-changed">
>                        <xforms:toggle case="foundData"/>          
>                     </xforms:action>
>             </xforms:input>
>             <xforms:input ref="noFoundData">
>                 <xforms:label>test noFoundData:</xforms:label>
>                 <xforms:action ev:event="xforms-value-changed" >
>                     <xforms:toggle case="noFoundData"/>                
>                 </xforms:action>
>             </xforms:input>
>             <xforms:input ref="gotCompletedDataCnt">
>                 <xforms:label>test gotCompletedDataCnt:</xforms:label>
>                 <xforms:action ev:event="xforms-value-changed" >
>                     <xforms:toggle case="gotCompletedDataCnt"/>

>                 </xforms:action>
>             </xforms:input>
>             <xforms:input ref="notGotCompletedDataCnt">
>                 <xforms:label>test notGotCompletedDataCnt:</xforms:label>
>                 <xforms:action ev:event="xforms-value-changed" >
>                     <xforms:toggle case="notGotCompletedDataCnt"/>

>                 </xforms:action>
>             </xforms:input>
>             <xforms:input ref="gotApprovedDataCnt">
>                 <xforms:label>test gotApprovedDataCnt:</xforms:label>
>                 <xforms:action ev:event="xforms-value-changed" >
>                     <xforms:toggle case="gotApprovedDataCnt"/>

>                 </xforms:action>
>             </xforms:input>
>             <xforms:input ref="notGotApprovedDataCnt">
>                 <xforms:label>test notGotApprovedDataCnt:</xforms:label>
>                 <xforms:action ev:event="xforms-value-changed" >
>                     <xforms:toggle case="notGotApprovedDataCnt"/>

>                 </xforms:action>
>             </xforms:input>
>             <xforms:input ref="gotRaisedDataCnt">
>                 <xforms:label>test gotRaisedDataCnt:</xforms:label>
>                 <xforms:action ev:event="xforms-value-changed" >
>                     <xforms:toggle case="gotRaisedDataCnt"/>

>                 </xforms:action>
>             </xforms:input>
>             <xforms:input ref="notGotRaisedDataCnt">
>                 <xforms:label>test notGotRaisedDataCnt:</xforms:label>
>                 <xforms:action ev:event="xforms-value-changed" >
>                     <xforms:toggle case="notGotRaisedDataCnt"/>

>                 </xforms:action>
>             </xforms:input>
>         </xforms:group>
>        
>         <xforms:group ref="instance('UIData')">
>             <xhtml:h2>Query</xhtml:h2>                            
>            
>             <!-- inpout fields for the query parameters -->
>             <xhtml:div>
>                 <xhtml:table>
>                     <!-- start date -->
>                     <xhtml:tr>
>                         <xhtml:td width="150px">Start Date</xhtml:td>
>                         <xhtml:td>
>                             <xforms:input ref="startDate">
>                                 <xforms:alert>Please enter a valid start
date</xforms:alert>

>                             </xforms:input>
>                         </xhtml:td>
>                     </xhtml:tr>
>                    
>                     <!-- end date -->
>                     <xhtml:tr>
>                         <xhtml:td width="150px">End Date</xhtml:td>
>                         <xhtml:td>
>                             <xforms:input ref="endDate">
>                                 <xforms:alert>Please enter a valid end
date</xforms:alert>

>                             </xforms:input>
>                         </xhtml:td>
>                     </xhtml:tr>
>                    
>                 </xhtml:table>
>             </xhtml:div>          
>                                
>
>             <xforms:submit submission="getPEAs-submission">
>                 <xforms:label>Update</xforms:label>
>             </xforms:submit>
>            
>             <!-- main output switch -->
>             <xforms:switch>
>                 <!-- before submit is pressed -->
>                 <xforms:case id="initialDisplay" selected="true">
>                 </xforms:case>
>                
>                 <!-- submit opressed but no data -->
>                 <xforms:case id="noFoundData">
>                     <xhtml:p>
>                         No PEAs were found for the specified date range.
>                     </xhtml:p>                    
>                 </xforms:case>
>                
>                 <!-- got some data to display -->
>                 <xforms:case id="foundData">
>                     <xhtml:div>
>                         <xhtml:br/>
>                         <!-- do the overall summary -->
>                         <xhtml:h1><xforms:output
value="instance('retrievedSummaryInfo')/summaryDispStr"/></xhtml:h1>
>                      
>                         <xhtml:div>
>                             <xhtml:table>
>                                 <!-- completed -->
>                                 <tr>
>                                     <td style="white-space:nowrap"
width="1%">
>                                         <xhtml:a
href="#completedLink">Completed (<xforms:output
value="instance('retrievedSummaryInfo')/completed/count"/> PEAS)</xhtml:a>
>                                        
>                                     </td>
>                                     <td>
>                                         <xforms:output
value="instance('retrievedSummaryInfo')/completed/totalDispStr"/>
>                                     </td>
>                                 </tr>
>                                 <!-- approved -->
>                                 <tr>
>                                     <td style="white-space:nowrap"
width="1%">
>                                         <xhtml:a
href="#approvedLink">Approved (<xforms:output
value="instance('retrievedSummaryInfo')/approved/count"/> PEAS)</xhtml:a>

>                                     </td>
>                                     <td>
>                                         <xforms:output
value="instance('retrievedSummaryInfo')/approved/totalDispStr"/>
>                                     </td>

>                                 </tr>
>                                 <!-- raised -->
>                                 <tr>
>                                     <td style="white-space:nowrap"
width="1%">
>                                         <xhtml:a href="#raisedLink"
>Raised (<xforms:output
value="instance('retrievedSummaryInfo')/raised/count"/> PEAS)</xhtml:a>

>                                     </td>
>                                     <td>
>                                         <xforms:output
value="instance('retrievedSummaryInfo')/raised/totalDispStr"/>
>                                     </td>
>                                 </tr>
>                             </xhtml:table>
>                         </xhtml:div>
>                        
>                         <!-- do the completed output -->
>                         <xhtml:div id="completedSummaryDiv">

>                             <xhtml:a name="completedLink"></xhtml:a>

>                             <xhtml:br/>
>                                 <xhtml:h2
style="text-decoration:underline" >Completed (<xforms:output
value="instance('retrievedSummaryInfo')/completed/count"/> PEAS):
<xforms:output
value="instance('retrievedSummaryInfo')/completed/totalDispStr"/></xhtml:h2>
>                            
>                             <xhtml:table>
>                                  <tr>
>                                   <td style="white-space:nowrap"
width="1%">Capital Assests</td>
>                                   <td><xforms:output
value="instance('retrievedSummaryInfo')/completed/capitalAssetsDispStr"/></t
d>
>                                  </tr>
>                                 <tr>
>                                  <td style="white-space:nowrap">Operating
Leases</td>
>                                  <td><xforms:output
value="instance('retrievedSummaryInfo')/completed/operatingLeasesDispStr"/><
/td>
>                                 </tr>
>                                 <tr>
>                                  <td style="white-space:nowrap">Other
Expenditure</td>
>                                  <td><xforms:output
value="instance('retrievedSummaryInfo')/completed/otherExpenditureDispStr"/>
</td>
>                                 </tr>
>                                 <tr>
>                                  <td
style="white-space:nowrap">Expenditure Items In Plan By Number</td>
>                                  <td><xforms:output
value="instance('retrievedSummaryInfo')/completed/pcentInPlanByNumber"/>%</t
d>
>                                 </tr>
>                                 <tr>
>                                  <td
style="white-space:nowrap">Expenditure Items In Plan By Value</td>
>                                  <td><xforms:output
value="instance('retrievedSummaryInfo')/completed/pcentInPlanByValue"/>%</td
>
>                                 </tr>
>                             </xhtml:table>
>                                                
>                         </xhtml:div>
>                        
>                         <!-- do the approved output -->
>                         <xhtml:div id="approvedSummaryDiv">
>                             <xhtml:a name="approvedLink"></xhtml:a>

>                             <xhtml:br/>
>                             <xhtml:h2>Approved (<xforms:output
value="instance('retrievedSummaryInfo')/approved/count"/> PEAS):
<xforms:output
value="instance('retrievedSummaryInfo')/approved/totalDispStr"/></xhtml:h2>

>                             <xhtml:table>
>                                  <tr>
>                                   <td style="white-space:nowrap"
width="1%">Capital Assests</td>
>                                   <td><xforms:output
value="instance('retrievedSummaryInfo')/approved/capitalAssetsDispStr"/></td
>
>                                  </tr>
>                                 <tr>
>                                  <td style="white-space:nowrap">Operating
Leases</td>
>                                  <td><xforms:output
value="instance('retrievedSummaryInfo')/approved/operatingLeasesDispStr"/></
td>
>                                 </tr>
>                                 <tr>
>                                  <td style="white-space:nowrap">Other
Expenditure</td>
>                                  <td><xforms:output
value="instance('retrievedSummaryInfo')/approved/otherExpenditureDispStr"/><
/td>
>                                 </tr>
>                                 <tr>
>                                  <td
style="white-space:nowrap">Expenditure Items In Plan By Number</td>
>                                  <td><xforms:output
value="instance('retrievedSummaryInfo')/approved/pcentInPlanByNumber"/>%</td
>
>                                 </tr>
>                                 <tr>
>                                  <td
style="white-space:nowrap">Expenditure Items In Plan By Value</td>
>                                  <td><xforms:output
value="instance('retrievedSummaryInfo')/approved/pcentInPlanByValue"/>%</td>
>                                 </tr>
>                             </xhtml:table>
>                            
>                         </xhtml:div>
>                        
>                         <!-- do the raised output -->
>                         <xhtml:div id="raisedSummaryDiv">
>                             <xhtml:a name="raisedLink"></xhtml:a>

>                             <xhtml:br/>
>                             <xhtml:h2>Raised (<xforms:output
value="instance('retrievedSummaryInfo')/raised/count"/> PEAS):
<xforms:output
value="instance('retrievedSummaryInfo')/raised/totalDispStr"/></xhtml:h2>

>                             <xhtml:table>
>                                  <tr>
>                                   <td style="white-space:nowrap"
width="1%">Capital Assests</td>
>                                   <td><xforms:output
value="instance('retrievedSummaryInfo')/raised/capitalAssetsDispStr"/></td>
>                                  </tr>
>                                 <tr>
>                                  <td style="white-space:nowrap">Operating
Leases</td>
>                                  <td><xforms:output
value="instance('retrievedSummaryInfo')/raised/operatingLeasesDispStr"/></td
>
>                                 </tr>
>                                 <tr>
>                                  <td style="white-space:nowrap">Other
Expenditure</td>
>                                  <td><xforms:output
value="instance('retrievedSummaryInfo')/raised/otherExpenditureDispStr"/></t
d>
>                                 </tr>
>                                 <tr>
>                                  <td
style="white-space:nowrap">Expenditure Items In Plan By Number</td>
>                                  <td><xforms:output
value="instance('retrievedSummaryInfo')/raised/pcentInPlanByNumber"/>%</td>
>                                 </tr>
>                                 <tr>
>                                  <td
style="white-space:nowrap">Expenditure Items In Plan By Value</td>
>                                  <td><xforms:output
value="instance('retrievedSummaryInfo')/raised/pcentInPlanByValue"/>%</td>

>                                 </tr>
>                             </xhtml:table>
>
>                         </xhtml:div>
>                     </xhtml:div>
>                 </xforms:case>
>             </xforms:switch>
>         </xforms:group>
>     </xhtml:body>
> </xhtml:html>
>
>
> ------------------------------------------------------------------------
>
>
> <config xmlns="http://www.orbeon.com/oxf/controller"
>         xmlns:xu="http://www.xmldb.org/xupdate"
>         xmlns:oxf="http://www.orbeon.com/oxf/processors"
>         xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
>
>     <!-- Files to serve directly -->
>     <files path-info="*.gif"/>
>     <files path-info="*.css"/>
>     <files path-info="*.pdf"/>
>     <files path-info="*.js"/>
>     <files path-info="*.png"/>
>     <files path-info="*.jpg"/>
>     <files path-info="*.html" mime-type="text/html"/>
>     <files path-info="*.java" mime-type="text/plain"/>
>     <files path-info="*.txt" mime-type="text/plain"/>
>     <files path-info="*.xq" mime-type="text/plain"/>
>
>     <!-- CSS generated by a pipeline -->
>     <page id="layout-css" path-info="/config/theme/orbeon-layout.cssd"
model="/config/theme/orbeon-layout.xpl"/>
>
>    
>     <page id="PASSView" path-info="/view"
>             view="/pages/allStatusSummary/view.xsl"/>
>
>     <page id="PASSGetPEAs"
path-info="/allStatusSummary/getSummaryAndGraphInfo"
>            view="/pages/allStatusSummary/getSummaryAndGraphInfo.xpl"/>
>    
>     <!-- "Not Found" page displayed when no page matches the request URL
-->
>     <page id="not-found" path-info="/notFound"
view="/pages/notFound.xpl"/>

>                          
>
>     <epilogue url="/config/epilogue.xpl"/>    
>     <not-found-handler page="not-found"/>
>
> </config>
>
>
> ------------------------------------------------------------------------
>
>
> --
> 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: text does not line up in firefox

Alessandro  Vernet
Administrator
Hi Doug,

The bug Erik mentioned is now fixed, so you might want give it a try
again, just to make sure that the problem that was fixed was really
the problem you were having.

Alex

On 11/8/05, Doug Young <[hidden email]> wrote:

> Yes that sounds like the bug.
>
> I can get round it by making the complete string in an xpl file and then
> displaying the entire string using xforms:output but then some of my UI is
> mixed in with the model processing and I was trying to keep them separate.
>
>
> Doug
>
>
> -----Original Message-----
> From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez
> Sent: 08 November 2005 12:00
> To: [hidden email]
> Subject: Re: [ops-users] text does not line up in firefox
>
> Doug, I have not tried your attached example, but does your problem
> correspond to this bug?
>
> http://forge.objectweb.org/tracker/index.php?func=detail&aid=303939&group_id
> =168&atid=350207
>
> -Erik
>
> Doug Young wrote:
> > Hi,
> >
> >   The attached example shows a problem where text that is made up of
> > static text and xforms:output does not line when displayed in firefox
> 1.0.7.
> >
> >
> >
> > This example is the same as the one I posted for old instance data
> > coming back to a page -- version 3.0.beta3.200511020401 except it has
> > style="text-decoration:underline"
> >
> > added at line 295 in view.xsl.
> >
> >
> >
> >
> >
> > the file locations are:
> >
> > resources/pages/allStatusSummary/getSummaryAndGraphInfo.xpl
> >
> > resources/pages/allStatusSummary/view.xsl
> >
> >
> >
> >
> >
> > open firefox
> >
> > browse to   blah blah/context name/view
> >
> > press the update button
> >
> > note how any lines that are made up of static text and xforms:output do
> > not line up properly the part of the line from the xfroms:output is
> > lower than the static text, this is very noticeable on the Completeted
> > (0 PEAs): $0.00 line as I have underlined it
> >
> >
> >
> > This bug does not appear in IE 6
> >
> >
> >
> >
> >
> > Doug
> >
> >
> >
> >
> >
> >
> >
> >
> > ------------------------------------------------------------------------
> >
> > <xhtml:html xmlns:xforms="http://www.w3.org/2002/xforms"
> >     xmlns:f="http://orbeon.org/oxf/xml/formatting"
> >     xmlns:xhtml="http://www.w3.org/1999/xhtml"
> >     xmlns:xxforms="http://orbeon.org/oxf/xml/xforms"
> >     xmlns:ev="http://www.w3.org/2001/xml-events"
> >     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> >      xsl:version="2.0">
> >
> >     <xhtml:head>
> >
> >         <xforms:model xmlns:xforms="http://www.w3.org/2002/xforms"
> >                 xmlns:xs="http://www.w3.org/2001/XMLSchema"
> >                 xmlns:xdt="http://www.w3.org/2004/07/xpath-datatypes"
> >                 id="main-model">
> >
> >             <xforms:instance id="UIData">
> >                 <instance>
> >                     <!-- default is the start of the year -->
> >                     <startDate><xsl:value-of select="xs:date(concat
> (year-from-date(current-date()),'-01', '-01'))"/></startDate>
> >
> >                     <!-- default is today -->
> >                     <endDate><xsl:value-of
> select="current-date()"/></endDate>
> >
> >                 </instance>
> >             </xforms:instance>
> >
> >             <xforms:instance id="tests">
> >                 <instance>
> >                     <!-- these found/not found and got/not got pairs are
> used to toggle to different cases -->
> >                     <foundData>0</foundData>
> >                     <noFoundData>0</noFoundData>
> >                     <gotCompletedDataCnt>0</gotCompletedDataCnt>
> >                     <notGotCompletedDataCnt>0</notGotCompletedDataCnt>
> >                     <gotApprovedDataCnt>0</gotApprovedDataCnt>
> >                     <notGotApprovedDataCnt>0</notGotApprovedDataCnt>
> >                     <gotRaisedDataCnt>0</gotRaisedDataCnt>
> >                     <notGotRaisedDataCnt>0</notGotRaisedDataCnt>
>
> >                 </instance>
> >             </xforms:instance>
> >
> >             <xforms:instance id="retrievedSummaryInfo">
> >                 <peaSummary>
> >                     <matchingPEACount/>
> >                     <startDateDispStr/>
> >                     <endDateDispStr/>
> >                     <summaryDispStr/>
> >                     <completed>
> >                         <total></total>
> >                         <totalDispStr/>
> >                         <capitalAssets/>
> >                         <capitalAssetsDispStr/>
> >                         <operatingLeases/>
> >                         <operatingLeasesDispStr/>
> >                         <otherExpenditure/>
> >
> <otherExpenditureDispStr></otherExpenditureDispStr>
> >                         <pcentInPlanByNumber></pcentInPlanByNumber>
> >                         <pcentInPlanByValue></pcentInPlanByValue>
> >                         <pcentGrowth></pcentGrowth>>
> >                         <pcentSustain></pcentSustain>
> >                         <pcentmaintenance></pcentmaintenance>
> >                         <pcentCostReduction></pcentCostReduction>
> >
> <pcentRegulatoryCompliance></pcentRegulatoryCompliance>
> >                         <totalReasonPcent></totalReasonPcent>
> >                     </completed>
> >                     <approved>
> >                         <total></total>
> >                         <totalDispStr/>
> >                         <capitalAssets/>
> >                         <capitalAssetsDispStr/>
> >                         <operatingLeases/>
> >                         <operatingLeasesDispStr/>
> >                         <otherExpenditure/>
> >
> <otherExpenditureDispStr></otherExpenditureDispStr>
> >                         <pcentInPlanByNumber></pcentInPlanByNumber>
> >                         <pcentInPlanByValue></pcentInPlanByValue>
> >                         <pcentGrowth></pcentGrowth>>
> >                         <pcentSustain></pcentSustain>
> >                         <pcentmaintenance></pcentmaintenance>
> >                         <pcentCostReduction></pcentCostReduction>
> >
> <pcentRegulatoryCompliance></pcentRegulatoryCompliance>
> >                         <totalReasonPcent></totalReasonPcent>
> >                     </approved>
> >                     <raised>
> >                         <total></total>
> >                         <totalDispStr/>
> >                         <capitalAssets/>
> >                         <capitalAssetsDispStr/>
> >                         <operatingLeases/>
> >                         <operatingLeasesDispStr/>
> >                         <otherExpenditure/>
> >
> <otherExpenditureDispStr></otherExpenditureDispStr>
> >                         <pcentInPlanByNumber></pcentInPlanByNumber>
> >                         <pcentInPlanByValue></pcentInPlanByValue>
> >                         <pcentGrowth></pcentGrowth>>
> >                         <pcentSustain></pcentSustain>
> >                         <pcentmaintenance></pcentmaintenance>
> >                         <pcentCostReduction></pcentCostReduction>
> >
> <pcentRegulatoryCompliance></pcentRegulatoryCompliance>
> >                         <totalReasonPcent></totalReasonPcent>
> >                     </raised>
> >                 </peaSummary>
> >             </xforms:instance>
> >
> >             <xforms:bind nodeset="instance('UIData')">
> >                 <xforms:bind nodeset="startDate" type="xs:date"/>
> >                 <xforms:bind nodeset="endDate" type="xs:date"/>
> >             </xforms:bind>
> >
> >             <xforms:bind nodeset="instance('tests')">
> >                 <!-- these found/not found and got/not got pairs are used
> to toggle to different cases -->
> >                 <xforms:bind nodeset="foundData" relevant="false()"
> type="xs:positiveInteger"/>
> >                 <xforms:bind nodeset="noFoundData" relevant="false()"
> type="xs:positiveInteger"/>
> >                 <xforms:bind nodeset="gotCompletedDataCnt"
> relevant="false()" type="xs:positiveInteger"/>
> >                 <xforms:bind nodeset="notGotCompletedDataCnt"
> relevant="false()" type="xs:positiveInteger"/>
> >                 <xforms:bind nodeset="gotApprovedDataCnt"
> relevant="false()" type="xs:positiveInteger"/>
> >                 <xforms:bind nodeset="notGotApprovedDataCnt"
> relevant="false()" type="xs:positiveInteger"/>
> >                 <xforms:bind nodeset="gotRaisedDataCnt" relevant="false()"
> type="xs:positiveInteger"/>
> >                 <xforms:bind nodeset="notGotRaisedDataCnt"
> relevant="false()" type="xs:positiveInteger"/>
> >
> >             </xforms:bind>
> >
> >             <xforms:submission ref="instance('UIData')"
> id="getPEAs-submission"
> >                 method="post"
> action="/allStatusSummary/getSummaryAndGraphInfo"
> >                 replace="instance" instance="retrievedSummaryInfo">
>
> >             </xforms:submission>
> >
> >             <xforms:action ev:event="xforms-submit-done">
> >                 <!-- these found/not found and got/not got pairs are used
> to toggle to different cases -->
> >                 <xforms:setvalue ref="instance('tests')/foundData"
> ev:event="xforms-submit-done" value="if
> (xs:integer(instance('retrievedSummaryInfo')/matchingPEACount) gt 0) then
> instance('tests')/foundData + 1 else instance('tests')/foundData"/>
> >                 <xforms:setvalue ref="instance('tests')/noFoundData"
> ev:event="xforms-submit-done" value="if
> (xs:integer(instance('retrievedSummaryInfo')/matchingPEACount) eq 0) then
> instance('tests')/noFoundData + 1 else instance('tests')/noFoundData"/>
> >
> >                 <xforms:setvalue
> ref="instance('tests')/gotCompletedDataCnt" ev:event="xforms-submit-done"
> >                             value="if
> (xs:integer(instance('retrievedSummaryInfo')/completed/totalReasonPcent) gt
> 0) then instance('tests')/gotCompletedDataCnt + 1 else
> instance('tests')/gotCompletedDataCnt"/>
> >                 <xforms:setvalue
> ref="instance('tests')/notGotCompletedDataCnt" ev:event="xforms-submit-done"
>
> >                             value="if
> (xs:integer(instance('retrievedSummaryInfo')/completed/totalReasonPcent) eq
> 0) then instance('tests')/notGotCompletedDataCnt + 1 else
> instance('tests')/notGotCompletedDataCnt"/>
> >
> >                 <xforms:setvalue
> ref="instance('tests')/gotApprovedDataCnt" ev:event="xforms-submit-done"
> >                             value="if
> (xs:integer(instance('retrievedSummaryInfo')/approved/totalReasonPcent) gt
> 0) then instance('tests')/gotApprovedDataCnt + 1 else
> instance('tests')/gotApprovedDataCnt"/>
> >                 <xforms:setvalue
> ref="instance('tests')/notGotApprovedDataCnt" ev:event="xforms-submit-done"
> >                             value="if
> (xs:integer(instance('retrievedSummaryInfo')/approved/totalReasonPcent) eq
> 0) then instance('tests')/notGotApprovedDataCnt + 1 else
> instance('tests')/notGotApprovedDataCnt"/>
> >
> >                 <xforms:setvalue ref="instance('tests')/gotRaisedDataCnt"
> ev:event="xforms-submit-done"
> >                             value="if
> (xs:integer(instance('retrievedSummaryInfo')/raised/totalReasonPcent) gt 0)
> then instance('tests')/gotRaisedDataCnt + 1 else
> instance('tests')/gotRaisedDataCnt"/>
> >                 <xforms:setvalue
> ref="instance('tests')/notGotRaisedDataCnt" ev:event="xforms-submit-done"
> >                             value="if
> (xs:integer(instance('retrievedSummaryInfo')/raised/totalReasonPcent) eq 0)
> then instance('tests')/notGotRaisedDataCnt + 1 else
> instance('tests')/notGotRaisedDataCnt"/>
> >             </xforms:action>
> >         </xforms:model>
> >     </xhtml:head>
> >
> >     <xhtml:body>
> >
> >         <!-- debug outputs of the test instance data to see them change
> their relevant attributes in the above binds -->
> >         <xforms:group ref="instance('tests')">
> >             <xforms:input ref="foundData">
> >                    <xforms:label>test foundData:</xforms:label>
> >                     <xforms:action ev:event="xforms-value-changed">
> >                        <xforms:toggle case="foundData"/>
> >                     </xforms:action>
> >             </xforms:input>
> >             <xforms:input ref="noFoundData">
> >                 <xforms:label>test noFoundData:</xforms:label>
> >                 <xforms:action ev:event="xforms-value-changed" >
> >                     <xforms:toggle case="noFoundData"/>
> >                 </xforms:action>
> >             </xforms:input>
> >             <xforms:input ref="gotCompletedDataCnt">
> >                 <xforms:label>test gotCompletedDataCnt:</xforms:label>
> >                 <xforms:action ev:event="xforms-value-changed" >
> >                     <xforms:toggle case="gotCompletedDataCnt"/>
>
> >                 </xforms:action>
> >             </xforms:input>
> >             <xforms:input ref="notGotCompletedDataCnt">
> >                 <xforms:label>test notGotCompletedDataCnt:</xforms:label>
> >                 <xforms:action ev:event="xforms-value-changed" >
> >                     <xforms:toggle case="notGotCompletedDataCnt"/>
>
> >                 </xforms:action>
> >             </xforms:input>
> >             <xforms:input ref="gotApprovedDataCnt">
> >                 <xforms:label>test gotApprovedDataCnt:</xforms:label>
> >                 <xforms:action ev:event="xforms-value-changed" >
> >                     <xforms:toggle case="gotApprovedDataCnt"/>
>
> >                 </xforms:action>
> >             </xforms:input>
> >             <xforms:input ref="notGotApprovedDataCnt">
> >                 <xforms:label>test notGotApprovedDataCnt:</xforms:label>
> >                 <xforms:action ev:event="xforms-value-changed" >
> >                     <xforms:toggle case="notGotApprovedDataCnt"/>
>
> >                 </xforms:action>
> >             </xforms:input>
> >             <xforms:input ref="gotRaisedDataCnt">
> >                 <xforms:label>test gotRaisedDataCnt:</xforms:label>
> >                 <xforms:action ev:event="xforms-value-changed" >
> >                     <xforms:toggle case="gotRaisedDataCnt"/>
>
> >                 </xforms:action>
> >             </xforms:input>
> >             <xforms:input ref="notGotRaisedDataCnt">
> >                 <xforms:label>test notGotRaisedDataCnt:</xforms:label>
> >                 <xforms:action ev:event="xforms-value-changed" >
> >                     <xforms:toggle case="notGotRaisedDataCnt"/>
>
> >                 </xforms:action>
> >             </xforms:input>
> >         </xforms:group>
> >
> >         <xforms:group ref="instance('UIData')">
> >             <xhtml:h2>Query</xhtml:h2>
> >
> >             <!-- inpout fields for the query parameters -->
> >             <xhtml:div>
> >                 <xhtml:table>
> >                     <!-- start date -->
> >                     <xhtml:tr>
> >                         <xhtml:td width="150px">Start Date</xhtml:td>
> >                         <xhtml:td>
> >                             <xforms:input ref="startDate">
> >                                 <xforms:alert>Please enter a valid start
> date</xforms:alert>
> >                             </xforms:input>
> >                         </xhtml:td>
> >                     </xhtml:tr>
> >
> >                     <!-- end date -->
> >                     <xhtml:tr>
> >                         <xhtml:td width="150px">End Date</xhtml:td>
> >                         <xhtml:td>
> >                             <xforms:input ref="endDate">
> >                                 <xforms:alert>Please enter a valid end
> date</xforms:alert>
> >                             </xforms:input>
> >                         </xhtml:td>
> >                     </xhtml:tr>
> >
> >                 </xhtml:table>
> >             </xhtml:div>
> >
> >
> >             <xforms:submit submission="getPEAs-submission">
> >                 <xforms:label>Update</xforms:label>
> >             </xforms:submit>
> >
> >             <!-- main output switch -->
> >             <xforms:switch>
> >                 <!-- before submit is pressed -->
> >                 <xforms:case id="initialDisplay" selected="true">
> >                 </xforms:case>
> >
> >                 <!-- submit opressed but no data -->
> >                 <xforms:case id="noFoundData">
> >                     <xhtml:p>
> >                         No PEAs were found for the specified date range.
> >                     </xhtml:p>
> >                 </xforms:case>
> >
> >                 <!-- got some data to display -->
> >                 <xforms:case id="foundData">
> >                     <xhtml:div>
> >                         <xhtml:br/>
> >                         <!-- do the overall summary -->
> >                         <xhtml:h1><xforms:output
> value="instance('retrievedSummaryInfo')/summaryDispStr"/></xhtml:h1>
> >
> >                         <xhtml:div>
> >                             <xhtml:table>
> >                                 <!-- completed -->
> >                                 <tr>
> >                                     <td style="white-space:nowrap"
> width="1%">
> >                                         <xhtml:a
> href="#completedLink">Completed (<xforms:output
> value="instance('retrievedSummaryInfo')/completed/count"/> PEAS)</xhtml:a>
> >
> >                                     </td>
> >                                     <td>
> >                                         <xforms:output
> value="instance('retrievedSummaryInfo')/completed/totalDispStr"/>
> >                                     </td>
> >                                 </tr>
> >                                 <!-- approved -->
> >                                 <tr>
> >                                     <td style="white-space:nowrap"
> width="1%">
> >                                         <xhtml:a
> href="#approvedLink">Approved (<xforms:output
> value="instance('retrievedSummaryInfo')/approved/count"/> PEAS)</xhtml:a>
>
> >                                     </td>
> >                                     <td>
> >                                         <xforms:output
> value="instance('retrievedSummaryInfo')/approved/totalDispStr"/>
> >                                     </td>
>
> >                                 </tr>
> >                                 <!-- raised -->
> >                                 <tr>
> >                                     <td style="white-space:nowrap"
> width="1%">
> >                                         <xhtml:a href="#raisedLink"
> >Raised (<xforms:output
> value="instance('retrievedSummaryInfo')/raised/count"/> PEAS)</xhtml:a>
>
> >                                     </td>
> >                                     <td>
> >                                         <xforms:output
> value="instance('retrievedSummaryInfo')/raised/totalDispStr"/>
> >                                     </td>
> >                                 </tr>
> >                             </xhtml:table>
> >                         </xhtml:div>
> >
> >                         <!-- do the completed output -->
> >                         <xhtml:div id="completedSummaryDiv">
>
> >                             <xhtml:a name="completedLink"></xhtml:a>
>
> >                             <xhtml:br/>
> >                                 <xhtml:h2
> style="text-decoration:underline" >Completed (<xforms:output
> value="instance('retrievedSummaryInfo')/completed/count"/> PEAS):
> <xforms:output
> value="instance('retrievedSummaryInfo')/completed/totalDispStr"/></xhtml:h2>
> >
> >                             <xhtml:table>
> >                                  <tr>
> >                                   <td style="white-space:nowrap"
> width="1%">Capital Assests</td>
> >                                   <td><xforms:output
> value="instance('retrievedSummaryInfo')/completed/capitalAssetsDispStr"/></t
> d>
> >                                  </tr>
> >                                 <tr>
> >                                  <td style="white-space:nowrap">Operating
> Leases</td>
> >                                  <td><xforms:output
> value="instance('retrievedSummaryInfo')/completed/operatingLeasesDispStr"/><
> /td>
> >                                 </tr>
> >                                 <tr>
> >                                  <td style="white-space:nowrap">Other
> Expenditure</td>
> >                                  <td><xforms:output
> value="instance('retrievedSummaryInfo')/completed/otherExpenditureDispStr"/>
> </td>
> >                                 </tr>
> >                                 <tr>
> >                                  <td
> style="white-space:nowrap">Expenditure Items In Plan By Number</td>
> >                                  <td><xforms:output
> value="instance('retrievedSummaryInfo')/completed/pcentInPlanByNumber"/>%</t
> d>
> >                                 </tr>
> >                                 <tr>
> >                                  <td
> style="white-space:nowrap">Expenditure Items In Plan By Value</td>
> >                                  <td><xforms:output
> value="instance('retrievedSummaryInfo')/completed/pcentInPlanByValue"/>%</td
> >
> >                                 </tr>
> >                             </xhtml:table>
> >
> >                         </xhtml:div>
> >
> >                         <!-- do the approved output -->
> >                         <xhtml:div id="approvedSummaryDiv">
> >                             <xhtml:a name="approvedLink"></xhtml:a>
>
> >                             <xhtml:br/>
> >                             <xhtml:h2>Approved (<xforms:output
> value="instance('retrievedSummaryInfo')/approved/count"/> PEAS):
> <xforms:output
> value="instance('retrievedSummaryInfo')/approved/totalDispStr"/></xhtml:h2>
>
> >                             <xhtml:table>
> >                                  <tr>
> >                                   <td style="white-space:nowrap"
> width="1%">Capital Assests</td>
> >                                   <td><xforms:output
> value="instance('retrievedSummaryInfo')/approved/capitalAssetsDispStr"/></td
> >
> >                                  </tr>
> >                                 <tr>
> >                                  <td style="white-space:nowrap">Operating
> Leases</td>
> >                                  <td><xforms:output
> value="instance('retrievedSummaryInfo')/approved/operatingLeasesDispStr"/></
> td>
> >                                 </tr>
> >                                 <tr>
> >                                  <td style="white-space:nowrap">Other
> Expenditure</td>
> >                                  <td><xforms:output
> value="instance('retrievedSummaryInfo')/approved/otherExpenditureDispStr"/><
> /td>
> >                                 </tr>
> >                                 <tr>
> >                                  <td
> style="white-space:nowrap">Expenditure Items In Plan By Number</td>
> >                                  <td><xforms:output
> value="instance('retrievedSummaryInfo')/approved/pcentInPlanByNumber"/>%</td
> >
> >                                 </tr>
> >                                 <tr>
> >                                  <td
> style="white-space:nowrap">Expenditure Items In Plan By Value</td>
> >                                  <td><xforms:output
> value="instance('retrievedSummaryInfo')/approved/pcentInPlanByValue"/>%</td>
> >                                 </tr>
> >                             </xhtml:table>
> >
> >                         </xhtml:div>
> >
> >                         <!-- do the raised output -->
> >                         <xhtml:div id="raisedSummaryDiv">
> >                             <xhtml:a name="raisedLink"></xhtml:a>
>
> >                             <xhtml:br/>
> >                             <xhtml:h2>Raised (<xforms:output
> value="instance('retrievedSummaryInfo')/raised/count"/> PEAS):
> <xforms:output
> value="instance('retrievedSummaryInfo')/raised/totalDispStr"/></xhtml:h2>
>
> >                             <xhtml:table>
> >                                  <tr>
> >                                   <td style="white-space:nowrap"
> width="1%">Capital Assests</td>
> >                                   <td><xforms:output
> value="instance('retrievedSummaryInfo')/raised/capitalAssetsDispStr"/></td>
> >                                  </tr>
> >                                 <tr>
> >                                  <td style="white-space:nowrap">Operating
> Leases</td>
> >                                  <td><xforms:output
> value="instance('retrievedSummaryInfo')/raised/operatingLeasesDispStr"/></td
> >
> >                                 </tr>
> >                                 <tr>
> >                                  <td style="white-space:nowrap">Other
> Expenditure</td>
> >                                  <td><xforms:output
> value="instance('retrievedSummaryInfo')/raised/otherExpenditureDispStr"/></t
> d>
> >                                 </tr>
> >                                 <tr>
> >                                  <td
> style="white-space:nowrap">Expenditure Items In Plan By Number</td>
> >                                  <td><xforms:output
> value="instance('retrievedSummaryInfo')/raised/pcentInPlanByNumber"/>%</td>
> >                                 </tr>
> >                                 <tr>
> >                                  <td
> style="white-space:nowrap">Expenditure Items In Plan By Value</td>
> >                                  <td><xforms:output
> value="instance('retrievedSummaryInfo')/raised/pcentInPlanByValue"/>%</td>
> >                                 </tr>
> >                             </xhtml:table>
> >
> >                         </xhtml:div>
> >                     </xhtml:div>
> >                 </xforms:case>
> >             </xforms:switch>
> >         </xforms:group>
> >     </xhtml:body>
> > </xhtml:html>
> >
> >
> > ------------------------------------------------------------------------
> >
> >
> > <config xmlns="http://www.orbeon.com/oxf/controller"
> >         xmlns:xu="http://www.xmldb.org/xupdate"
> >         xmlns:oxf="http://www.orbeon.com/oxf/processors"
> >         xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
> >
> >     <!-- Files to serve directly -->
> >     <files path-info="*.gif"/>
> >     <files path-info="*.css"/>
> >     <files path-info="*.pdf"/>
> >     <files path-info="*.js"/>
> >     <files path-info="*.png"/>
> >     <files path-info="*.jpg"/>
> >     <files path-info="*.html" mime-type="text/html"/>
> >     <files path-info="*.java" mime-type="text/plain"/>
> >     <files path-info="*.txt" mime-type="text/plain"/>
> >     <files path-info="*.xq" mime-type="text/plain"/>
> >
> >     <!-- CSS generated by a pipeline -->
> >     <page id="layout-css" path-info="/config/theme/orbeon-layout.cssd"
> model="/config/theme/orbeon-layout.xpl"/>
> >
> >
> >     <page id="PASSView" path-info="/view"
> >             view="/pages/allStatusSummary/view.xsl"/>
> >
> >     <page id="PASSGetPEAs"
> path-info="/allStatusSummary/getSummaryAndGraphInfo"
> >            view="/pages/allStatusSummary/getSummaryAndGraphInfo.xpl"/>
> >
> >     <!-- "Not Found" page displayed when no page matches the request URL
> -->
> >     <page id="not-found" path-info="/notFound"
> view="/pages/notFound.xpl"/>
> >
> >
> >     <epilogue url="/config/epilogue.xpl"/>
> >     <not-found-handler page="not-found"/>
> >
> > </config>
> >
> >
> > ------------------------------------------------------------------------
> >
> >
> > --
> > 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
>
>
>

--
Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/



--
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
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

RE: text does not line up in firefox

Ryan Puddephatt
Alex,
        I've just tried updating to the nightly build, but the following
error appeared

org.orbeon.oxf.common.ValidationException: oxf:/ops/pfc/xforms-epilogue.xpl,
line 101, column 59, description executing processor: Cannot find input
"request"

I checked on line 101 and found this processor

<p:processor name="oxf:xforms-server">
   <p:input name="static-state" href="#static-state"/>
   <!--<p:output name="response" id="response"
debug="xxxinitial-response"/>-->
   <p:output name="response" id="response"/>
</p:processor>

I tried checking this file against CVS, but it doesn't exist, is it a new
file? What could be the problem?

Thanks

Ryan Puddephatt
Web Developer
TFX Group
1 Michaelson Square
Livingston
West Lothian
Scotand
EH54 7DP
 
* [hidden email]
( 01506 407 110
7  01506 407 108
 

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Alessandro
Vernet
Sent: 11 November 2005 03:15
To: [hidden email]
Subject: Re: [ops-users] text does not line up in firefox

Hi Doug,

The bug Erik mentioned is now fixed, so you might want give it a try
again, just to make sure that the problem that was fixed was really
the problem you were having.

Alex

On 11/8/05, Doug Young <[hidden email]> wrote:

> Yes that sounds like the bug.
>
> I can get round it by making the complete string in an xpl file and then
> displaying the entire string using xforms:output but then some of my UI is
> mixed in with the model processing and I was trying to keep them separate.
>
>
> Doug
>
>
> -----Original Message-----
> From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez
> Sent: 08 November 2005 12:00
> To: [hidden email]
> Subject: Re: [ops-users] text does not line up in firefox
>
> Doug, I have not tried your attached example, but does your problem
> correspond to this bug?
>
>
http://forge.objectweb.org/tracker/index.php?func=detail&aid=303939&group_id

> =168&atid=350207
>
> -Erik
>
> Doug Young wrote:
> > Hi,
> >
> >   The attached example shows a problem where text that is made up of
> > static text and xforms:output does not line when displayed in firefox
> 1.0.7.
> >
> >
> >
> > This example is the same as the one I posted for old instance data
> > coming back to a page -- version 3.0.beta3.200511020401 except it has
> > style="text-decoration:underline"
> >
> > added at line 295 in view.xsl.
> >
> >
> >
> >
> >
> > the file locations are:
> >
> > resources/pages/allStatusSummary/getSummaryAndGraphInfo.xpl
> >
> > resources/pages/allStatusSummary/view.xsl
> >
> >
> >
> >
> >
> > open firefox
> >
> > browse to   blah blah/context name/view
> >
> > press the update button
> >
> > note how any lines that are made up of static text and xforms:output do
> > not line up properly the part of the line from the xfroms:output is
> > lower than the static text, this is very noticeable on the Completeted
> > (0 PEAs): $0.00 line as I have underlined it
> >
> >
> >
> > This bug does not appear in IE 6
> >
> >
> >
> >
> >
> > Doug
> >
> >
> >
> >
> >
> >
> >
> >
> > ------------------------------------------------------------------------
> >
> > <xhtml:html xmlns:xforms="http://www.w3.org/2002/xforms"
> >     xmlns:f="http://orbeon.org/oxf/xml/formatting"
> >     xmlns:xhtml="http://www.w3.org/1999/xhtml"
> >     xmlns:xxforms="http://orbeon.org/oxf/xml/xforms"
> >     xmlns:ev="http://www.w3.org/2001/xml-events"
> >     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> >      xsl:version="2.0">
> >
> >     <xhtml:head>
> >
> >         <xforms:model xmlns:xforms="http://www.w3.org/2002/xforms"
> >                 xmlns:xs="http://www.w3.org/2001/XMLSchema"
> >                 xmlns:xdt="http://www.w3.org/2004/07/xpath-datatypes"
> >                 id="main-model">
> >
> >             <xforms:instance id="UIData">
> >                 <instance>
> >                     <!-- default is the start of the year -->
> >                     <startDate><xsl:value-of select="xs:date(concat
> (year-from-date(current-date()),'-01', '-01'))"/></startDate>
> >
> >                     <!-- default is today -->
> >                     <endDate><xsl:value-of
> select="current-date()"/></endDate>
> >
> >                 </instance>
> >             </xforms:instance>
> >
> >             <xforms:instance id="tests">
> >                 <instance>
> >                     <!-- these found/not found and got/not got pairs are
> used to toggle to different cases -->
> >                     <foundData>0</foundData>
> >                     <noFoundData>0</noFoundData>
> >                     <gotCompletedDataCnt>0</gotCompletedDataCnt>
> >                     <notGotCompletedDataCnt>0</notGotCompletedDataCnt>
> >                     <gotApprovedDataCnt>0</gotApprovedDataCnt>
> >                     <notGotApprovedDataCnt>0</notGotApprovedDataCnt>
> >                     <gotRaisedDataCnt>0</gotRaisedDataCnt>
> >                     <notGotRaisedDataCnt>0</notGotRaisedDataCnt>
>
> >                 </instance>
> >             </xforms:instance>
> >
> >             <xforms:instance id="retrievedSummaryInfo">
> >                 <peaSummary>
> >                     <matchingPEACount/>
> >                     <startDateDispStr/>
> >                     <endDateDispStr/>
> >                     <summaryDispStr/>
> >                     <completed>
> >                         <total></total>
> >                         <totalDispStr/>
> >                         <capitalAssets/>
> >                         <capitalAssetsDispStr/>
> >                         <operatingLeases/>
> >                         <operatingLeasesDispStr/>
> >                         <otherExpenditure/>
> >
> <otherExpenditureDispStr></otherExpenditureDispStr>
> >                         <pcentInPlanByNumber></pcentInPlanByNumber>
> >                         <pcentInPlanByValue></pcentInPlanByValue>
> >                         <pcentGrowth></pcentGrowth>>
> >                         <pcentSustain></pcentSustain>
> >                         <pcentmaintenance></pcentmaintenance>
> >                         <pcentCostReduction></pcentCostReduction>
> >
> <pcentRegulatoryCompliance></pcentRegulatoryCompliance>
> >                         <totalReasonPcent></totalReasonPcent>
> >                     </completed>
> >                     <approved>
> >                         <total></total>
> >                         <totalDispStr/>
> >                         <capitalAssets/>
> >                         <capitalAssetsDispStr/>
> >                         <operatingLeases/>
> >                         <operatingLeasesDispStr/>
> >                         <otherExpenditure/>
> >
> <otherExpenditureDispStr></otherExpenditureDispStr>
> >                         <pcentInPlanByNumber></pcentInPlanByNumber>
> >                         <pcentInPlanByValue></pcentInPlanByValue>
> >                         <pcentGrowth></pcentGrowth>>
> >                         <pcentSustain></pcentSustain>
> >                         <pcentmaintenance></pcentmaintenance>
> >                         <pcentCostReduction></pcentCostReduction>
> >
> <pcentRegulatoryCompliance></pcentRegulatoryCompliance>
> >                         <totalReasonPcent></totalReasonPcent>
> >                     </approved>
> >                     <raised>
> >                         <total></total>
> >                         <totalDispStr/>
> >                         <capitalAssets/>
> >                         <capitalAssetsDispStr/>
> >                         <operatingLeases/>
> >                         <operatingLeasesDispStr/>
> >                         <otherExpenditure/>
> >
> <otherExpenditureDispStr></otherExpenditureDispStr>
> >                         <pcentInPlanByNumber></pcentInPlanByNumber>
> >                         <pcentInPlanByValue></pcentInPlanByValue>
> >                         <pcentGrowth></pcentGrowth>>
> >                         <pcentSustain></pcentSustain>
> >                         <pcentmaintenance></pcentmaintenance>
> >                         <pcentCostReduction></pcentCostReduction>
> >
> <pcentRegulatoryCompliance></pcentRegulatoryCompliance>
> >                         <totalReasonPcent></totalReasonPcent>
> >                     </raised>
> >                 </peaSummary>
> >             </xforms:instance>
> >
> >             <xforms:bind nodeset="instance('UIData')">
> >                 <xforms:bind nodeset="startDate" type="xs:date"/>
> >                 <xforms:bind nodeset="endDate" type="xs:date"/>
> >             </xforms:bind>
> >
> >             <xforms:bind nodeset="instance('tests')">
> >                 <!-- these found/not found and got/not got pairs are
used

> to toggle to different cases -->
> >                 <xforms:bind nodeset="foundData" relevant="false()"
> type="xs:positiveInteger"/>
> >                 <xforms:bind nodeset="noFoundData" relevant="false()"
> type="xs:positiveInteger"/>
> >                 <xforms:bind nodeset="gotCompletedDataCnt"
> relevant="false()" type="xs:positiveInteger"/>
> >                 <xforms:bind nodeset="notGotCompletedDataCnt"
> relevant="false()" type="xs:positiveInteger"/>
> >                 <xforms:bind nodeset="gotApprovedDataCnt"
> relevant="false()" type="xs:positiveInteger"/>
> >                 <xforms:bind nodeset="notGotApprovedDataCnt"
> relevant="false()" type="xs:positiveInteger"/>
> >                 <xforms:bind nodeset="gotRaisedDataCnt"
relevant="false()"

> type="xs:positiveInteger"/>
> >                 <xforms:bind nodeset="notGotRaisedDataCnt"
> relevant="false()" type="xs:positiveInteger"/>
> >
> >             </xforms:bind>
> >
> >             <xforms:submission ref="instance('UIData')"
> id="getPEAs-submission"
> >                 method="post"
> action="/allStatusSummary/getSummaryAndGraphInfo"
> >                 replace="instance" instance="retrievedSummaryInfo">
>
> >             </xforms:submission>
> >
> >             <xforms:action ev:event="xforms-submit-done">
> >                 <!-- these found/not found and got/not got pairs are
used

> to toggle to different cases -->
> >                 <xforms:setvalue ref="instance('tests')/foundData"
> ev:event="xforms-submit-done" value="if
> (xs:integer(instance('retrievedSummaryInfo')/matchingPEACount) gt 0) then
> instance('tests')/foundData + 1 else instance('tests')/foundData"/>
> >                 <xforms:setvalue ref="instance('tests')/noFoundData"
> ev:event="xforms-submit-done" value="if
> (xs:integer(instance('retrievedSummaryInfo')/matchingPEACount) eq 0) then
> instance('tests')/noFoundData + 1 else instance('tests')/noFoundData"/>
> >
> >                 <xforms:setvalue
> ref="instance('tests')/gotCompletedDataCnt" ev:event="xforms-submit-done"
> >                             value="if
> (xs:integer(instance('retrievedSummaryInfo')/completed/totalReasonPcent)
gt
> 0) then instance('tests')/gotCompletedDataCnt + 1 else
> instance('tests')/gotCompletedDataCnt"/>
> >                 <xforms:setvalue
> ref="instance('tests')/notGotCompletedDataCnt"
ev:event="xforms-submit-done"
>
> >                             value="if
> (xs:integer(instance('retrievedSummaryInfo')/completed/totalReasonPcent)
eq

> 0) then instance('tests')/notGotCompletedDataCnt + 1 else
> instance('tests')/notGotCompletedDataCnt"/>
> >
> >                 <xforms:setvalue
> ref="instance('tests')/gotApprovedDataCnt" ev:event="xforms-submit-done"
> >                             value="if
> (xs:integer(instance('retrievedSummaryInfo')/approved/totalReasonPcent) gt
> 0) then instance('tests')/gotApprovedDataCnt + 1 else
> instance('tests')/gotApprovedDataCnt"/>
> >                 <xforms:setvalue
> ref="instance('tests')/notGotApprovedDataCnt"
ev:event="xforms-submit-done"
> >                             value="if
> (xs:integer(instance('retrievedSummaryInfo')/approved/totalReasonPcent) eq
> 0) then instance('tests')/notGotApprovedDataCnt + 1 else
> instance('tests')/notGotApprovedDataCnt"/>
> >
> >                 <xforms:setvalue
ref="instance('tests')/gotRaisedDataCnt"
> ev:event="xforms-submit-done"
> >                             value="if
> (xs:integer(instance('retrievedSummaryInfo')/raised/totalReasonPcent) gt
0)
> then instance('tests')/gotRaisedDataCnt + 1 else
> instance('tests')/gotRaisedDataCnt"/>
> >                 <xforms:setvalue
> ref="instance('tests')/notGotRaisedDataCnt" ev:event="xforms-submit-done"
> >                             value="if
> (xs:integer(instance('retrievedSummaryInfo')/raised/totalReasonPcent) eq
0)

> then instance('tests')/notGotRaisedDataCnt + 1 else
> instance('tests')/notGotRaisedDataCnt"/>
> >             </xforms:action>
> >         </xforms:model>
> >     </xhtml:head>
> >
> >     <xhtml:body>
> >
> >         <!-- debug outputs of the test instance data to see them change
> their relevant attributes in the above binds -->
> >         <xforms:group ref="instance('tests')">
> >             <xforms:input ref="foundData">
> >                    <xforms:label>test foundData:</xforms:label>
> >                     <xforms:action ev:event="xforms-value-changed">
> >                        <xforms:toggle case="foundData"/>
> >                     </xforms:action>
> >             </xforms:input>
> >             <xforms:input ref="noFoundData">
> >                 <xforms:label>test noFoundData:</xforms:label>
> >                 <xforms:action ev:event="xforms-value-changed" >
> >                     <xforms:toggle case="noFoundData"/>
> >                 </xforms:action>
> >             </xforms:input>
> >             <xforms:input ref="gotCompletedDataCnt">
> >                 <xforms:label>test gotCompletedDataCnt:</xforms:label>
> >                 <xforms:action ev:event="xforms-value-changed" >
> >                     <xforms:toggle case="gotCompletedDataCnt"/>
>
> >                 </xforms:action>
> >             </xforms:input>
> >             <xforms:input ref="notGotCompletedDataCnt">
> >                 <xforms:label>test
notGotCompletedDataCnt:</xforms:label>

> >                 <xforms:action ev:event="xforms-value-changed" >
> >                     <xforms:toggle case="notGotCompletedDataCnt"/>
>
> >                 </xforms:action>
> >             </xforms:input>
> >             <xforms:input ref="gotApprovedDataCnt">
> >                 <xforms:label>test gotApprovedDataCnt:</xforms:label>
> >                 <xforms:action ev:event="xforms-value-changed" >
> >                     <xforms:toggle case="gotApprovedDataCnt"/>
>
> >                 </xforms:action>
> >             </xforms:input>
> >             <xforms:input ref="notGotApprovedDataCnt">
> >                 <xforms:label>test notGotApprovedDataCnt:</xforms:label>
> >                 <xforms:action ev:event="xforms-value-changed" >
> >                     <xforms:toggle case="notGotApprovedDataCnt"/>
>
> >                 </xforms:action>
> >             </xforms:input>
> >             <xforms:input ref="gotRaisedDataCnt">
> >                 <xforms:label>test gotRaisedDataCnt:</xforms:label>
> >                 <xforms:action ev:event="xforms-value-changed" >
> >                     <xforms:toggle case="gotRaisedDataCnt"/>
>
> >                 </xforms:action>
> >             </xforms:input>
> >             <xforms:input ref="notGotRaisedDataCnt">
> >                 <xforms:label>test notGotRaisedDataCnt:</xforms:label>
> >                 <xforms:action ev:event="xforms-value-changed" >
> >                     <xforms:toggle case="notGotRaisedDataCnt"/>
>
> >                 </xforms:action>
> >             </xforms:input>
> >         </xforms:group>
> >
> >         <xforms:group ref="instance('UIData')">
> >             <xhtml:h2>Query</xhtml:h2>
> >
> >             <!-- inpout fields for the query parameters -->
> >             <xhtml:div>
> >                 <xhtml:table>
> >                     <!-- start date -->
> >                     <xhtml:tr>
> >                         <xhtml:td width="150px">Start Date</xhtml:td>
> >                         <xhtml:td>
> >                             <xforms:input ref="startDate">
> >                                 <xforms:alert>Please enter a valid start
> date</xforms:alert>
> >                             </xforms:input>
> >                         </xhtml:td>
> >                     </xhtml:tr>
> >
> >                     <!-- end date -->
> >                     <xhtml:tr>
> >                         <xhtml:td width="150px">End Date</xhtml:td>
> >                         <xhtml:td>
> >                             <xforms:input ref="endDate">
> >                                 <xforms:alert>Please enter a valid end
> date</xforms:alert>
> >                             </xforms:input>
> >                         </xhtml:td>
> >                     </xhtml:tr>
> >
> >                 </xhtml:table>
> >             </xhtml:div>
> >
> >
> >             <xforms:submit submission="getPEAs-submission">
> >                 <xforms:label>Update</xforms:label>
> >             </xforms:submit>
> >
> >             <!-- main output switch -->
> >             <xforms:switch>
> >                 <!-- before submit is pressed -->
> >                 <xforms:case id="initialDisplay" selected="true">
> >                 </xforms:case>
> >
> >                 <!-- submit opressed but no data -->
> >                 <xforms:case id="noFoundData">
> >                     <xhtml:p>
> >                         No PEAs were found for the specified date range.
> >                     </xhtml:p>
> >                 </xforms:case>
> >
> >                 <!-- got some data to display -->
> >                 <xforms:case id="foundData">
> >                     <xhtml:div>
> >                         <xhtml:br/>
> >                         <!-- do the overall summary -->
> >                         <xhtml:h1><xforms:output
> value="instance('retrievedSummaryInfo')/summaryDispStr"/></xhtml:h1>
> >
> >                         <xhtml:div>
> >                             <xhtml:table>
> >                                 <!-- completed -->
> >                                 <tr>
> >                                     <td style="white-space:nowrap"
> width="1%">
> >                                         <xhtml:a
> href="#completedLink">Completed (<xforms:output
> value="instance('retrievedSummaryInfo')/completed/count"/> PEAS)</xhtml:a>
> >
> >                                     </td>
> >                                     <td>
> >                                         <xforms:output
> value="instance('retrievedSummaryInfo')/completed/totalDispStr"/>
> >                                     </td>
> >                                 </tr>
> >                                 <!-- approved -->
> >                                 <tr>
> >                                     <td style="white-space:nowrap"
> width="1%">
> >                                         <xhtml:a
> href="#approvedLink">Approved (<xforms:output
> value="instance('retrievedSummaryInfo')/approved/count"/> PEAS)</xhtml:a>
>
> >                                     </td>
> >                                     <td>
> >                                         <xforms:output
> value="instance('retrievedSummaryInfo')/approved/totalDispStr"/>
> >                                     </td>
>
> >                                 </tr>
> >                                 <!-- raised -->
> >                                 <tr>
> >                                     <td style="white-space:nowrap"
> width="1%">
> >                                         <xhtml:a href="#raisedLink"
> >Raised (<xforms:output
> value="instance('retrievedSummaryInfo')/raised/count"/> PEAS)</xhtml:a>
>
> >                                     </td>
> >                                     <td>
> >                                         <xforms:output
> value="instance('retrievedSummaryInfo')/raised/totalDispStr"/>
> >                                     </td>
> >                                 </tr>
> >                             </xhtml:table>
> >                         </xhtml:div>
> >
> >                         <!-- do the completed output -->
> >                         <xhtml:div id="completedSummaryDiv">
>
> >                             <xhtml:a name="completedLink"></xhtml:a>
>
> >                             <xhtml:br/>
> >                                 <xhtml:h2
> style="text-decoration:underline" >Completed (<xforms:output
> value="instance('retrievedSummaryInfo')/completed/count"/> PEAS):
> <xforms:output
>
value="instance('retrievedSummaryInfo')/completed/totalDispStr"/></xhtml:h2>
> >
> >                             <xhtml:table>
> >                                  <tr>
> >                                   <td style="white-space:nowrap"
> width="1%">Capital Assests</td>
> >                                   <td><xforms:output
>
value="instance('retrievedSummaryInfo')/completed/capitalAssetsDispStr"/></t
> d>
> >                                  </tr>
> >                                 <tr>
> >                                  <td
style="white-space:nowrap">Operating
> Leases</td>
> >                                  <td><xforms:output
>
value="instance('retrievedSummaryInfo')/completed/operatingLeasesDispStr"/><
> /td>
> >                                 </tr>
> >                                 <tr>
> >                                  <td style="white-space:nowrap">Other
> Expenditure</td>
> >                                  <td><xforms:output
>
value="instance('retrievedSummaryInfo')/completed/otherExpenditureDispStr"/>
> </td>
> >                                 </tr>
> >                                 <tr>
> >                                  <td
> style="white-space:nowrap">Expenditure Items In Plan By Number</td>
> >                                  <td><xforms:output
>
value="instance('retrievedSummaryInfo')/completed/pcentInPlanByNumber"/>%</t
> d>
> >                                 </tr>
> >                                 <tr>
> >                                  <td
> style="white-space:nowrap">Expenditure Items In Plan By Value</td>
> >                                  <td><xforms:output
>
value="instance('retrievedSummaryInfo')/completed/pcentInPlanByValue"/>%</td

> >
> >                                 </tr>
> >                             </xhtml:table>
> >
> >                         </xhtml:div>
> >
> >                         <!-- do the approved output -->
> >                         <xhtml:div id="approvedSummaryDiv">
> >                             <xhtml:a name="approvedLink"></xhtml:a>
>
> >                             <xhtml:br/>
> >                             <xhtml:h2>Approved (<xforms:output
> value="instance('retrievedSummaryInfo')/approved/count"/> PEAS):
> <xforms:output
>
value="instance('retrievedSummaryInfo')/approved/totalDispStr"/></xhtml:h2>
>
> >                             <xhtml:table>
> >                                  <tr>
> >                                   <td style="white-space:nowrap"
> width="1%">Capital Assests</td>
> >                                   <td><xforms:output
>
value="instance('retrievedSummaryInfo')/approved/capitalAssetsDispStr"/></td
> >
> >                                  </tr>
> >                                 <tr>
> >                                  <td
style="white-space:nowrap">Operating
> Leases</td>
> >                                  <td><xforms:output
>
value="instance('retrievedSummaryInfo')/approved/operatingLeasesDispStr"/></
> td>
> >                                 </tr>
> >                                 <tr>
> >                                  <td style="white-space:nowrap">Other
> Expenditure</td>
> >                                  <td><xforms:output
>
value="instance('retrievedSummaryInfo')/approved/otherExpenditureDispStr"/><
> /td>
> >                                 </tr>
> >                                 <tr>
> >                                  <td
> style="white-space:nowrap">Expenditure Items In Plan By Number</td>
> >                                  <td><xforms:output
>
value="instance('retrievedSummaryInfo')/approved/pcentInPlanByNumber"/>%</td
> >
> >                                 </tr>
> >                                 <tr>
> >                                  <td
> style="white-space:nowrap">Expenditure Items In Plan By Value</td>
> >                                  <td><xforms:output
>
value="instance('retrievedSummaryInfo')/approved/pcentInPlanByValue"/>%</td>

> >                                 </tr>
> >                             </xhtml:table>
> >
> >                         </xhtml:div>
> >
> >                         <!-- do the raised output -->
> >                         <xhtml:div id="raisedSummaryDiv">
> >                             <xhtml:a name="raisedLink"></xhtml:a>
>
> >                             <xhtml:br/>
> >                             <xhtml:h2>Raised (<xforms:output
> value="instance('retrievedSummaryInfo')/raised/count"/> PEAS):
> <xforms:output
> value="instance('retrievedSummaryInfo')/raised/totalDispStr"/></xhtml:h2>
>
> >                             <xhtml:table>
> >                                  <tr>
> >                                   <td style="white-space:nowrap"
> width="1%">Capital Assests</td>
> >                                   <td><xforms:output
>
value="instance('retrievedSummaryInfo')/raised/capitalAssetsDispStr"/></td>
> >                                  </tr>
> >                                 <tr>
> >                                  <td
style="white-space:nowrap">Operating
> Leases</td>
> >                                  <td><xforms:output
>
value="instance('retrievedSummaryInfo')/raised/operatingLeasesDispStr"/></td
> >
> >                                 </tr>
> >                                 <tr>
> >                                  <td style="white-space:nowrap">Other
> Expenditure</td>
> >                                  <td><xforms:output
>
value="instance('retrievedSummaryInfo')/raised/otherExpenditureDispStr"/></t
> d>
> >                                 </tr>
> >                                 <tr>
> >                                  <td
> style="white-space:nowrap">Expenditure Items In Plan By Number</td>
> >                                  <td><xforms:output
>
value="instance('retrievedSummaryInfo')/raised/pcentInPlanByNumber"/>%</td>

> >                                 </tr>
> >                                 <tr>
> >                                  <td
> style="white-space:nowrap">Expenditure Items In Plan By Value</td>
> >                                  <td><xforms:output
> value="instance('retrievedSummaryInfo')/raised/pcentInPlanByValue"/>%</td>
> >                                 </tr>
> >                             </xhtml:table>
> >
> >                         </xhtml:div>
> >                     </xhtml:div>
> >                 </xforms:case>
> >             </xforms:switch>
> >         </xforms:group>
> >     </xhtml:body>
> > </xhtml:html>
> >
> >
> > ------------------------------------------------------------------------
> >
> >
> > <config xmlns="http://www.orbeon.com/oxf/controller"
> >         xmlns:xu="http://www.xmldb.org/xupdate"
> >         xmlns:oxf="http://www.orbeon.com/oxf/processors"
> >         xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
> >
> >     <!-- Files to serve directly -->
> >     <files path-info="*.gif"/>
> >     <files path-info="*.css"/>
> >     <files path-info="*.pdf"/>
> >     <files path-info="*.js"/>
> >     <files path-info="*.png"/>
> >     <files path-info="*.jpg"/>
> >     <files path-info="*.html" mime-type="text/html"/>
> >     <files path-info="*.java" mime-type="text/plain"/>
> >     <files path-info="*.txt" mime-type="text/plain"/>
> >     <files path-info="*.xq" mime-type="text/plain"/>
> >
> >     <!-- CSS generated by a pipeline -->
> >     <page id="layout-css" path-info="/config/theme/orbeon-layout.cssd"
> model="/config/theme/orbeon-layout.xpl"/>
> >
> >
> >     <page id="PASSView" path-info="/view"
> >             view="/pages/allStatusSummary/view.xsl"/>
> >
> >     <page id="PASSGetPEAs"
> path-info="/allStatusSummary/getSummaryAndGraphInfo"
> >            view="/pages/allStatusSummary/getSummaryAndGraphInfo.xpl"/>
> >
> >     <!-- "Not Found" page displayed when no page matches the request URL
> -->
> >     <page id="not-found" path-info="/notFound"
> view="/pages/notFound.xpl"/>
> >
> >
> >     <epilogue url="/config/epilogue.xpl"/>
> >     <not-found-handler page="not-found"/>
> >
> > </config>
> >
> >
> > ------------------------------------------------------------------------
> >
> >
> > --
> > 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
>
>
>


--
Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/





--
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: text does not line up in firefox

Ryan Puddephatt
Alex,
        Sorry this was my fault I didn't copy all the files! It works fine
and fixed the underline bug, the page also doesn't bring back any old
instance data as it did without disabling caching!

Thanks for your help

Ryan Puddephatt
Web Developer
TFX Group
1 Michaelson Square
Livingston
West Lothian
Scotand
EH54 7DP
 
* [hidden email]
( 01506 407 110
7  01506 407 108
 

-----Original Message-----
From: Ryan Puddephatt [mailto:[hidden email]]
Sent: 11 November 2005 10:18
To: [hidden email]
Subject: RE: [ops-users] text does not line up in firefox

Alex,
        I've just tried updating to the nightly build, but the following
error appeared

org.orbeon.oxf.common.ValidationException: oxf:/ops/pfc/xforms-epilogue.xpl,
line 101, column 59, description executing processor: Cannot find input
"request"

I checked on line 101 and found this processor

<p:processor name="oxf:xforms-server">
   <p:input name="static-state" href="#static-state"/>
   <!--<p:output name="response" id="response"
debug="xxxinitial-response"/>-->
   <p:output name="response" id="response"/>
</p:processor>

I tried checking this file against CVS, but it doesn't exist, is it a new
file? What could be the problem?

Thanks

Ryan Puddephatt
Web Developer
TFX Group
1 Michaelson Square
Livingston
West Lothian
Scotand
EH54 7DP
 
* [hidden email]
( 01506 407 110
7  01506 407 108
 

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Alessandro
Vernet
Sent: 11 November 2005 03:15
To: [hidden email]
Subject: Re: [ops-users] text does not line up in firefox

Hi Doug,

The bug Erik mentioned is now fixed, so you might want give it a try
again, just to make sure that the problem that was fixed was really
the problem you were having.

Alex

On 11/8/05, Doug Young <[hidden email]> wrote:

> Yes that sounds like the bug.
>
> I can get round it by making the complete string in an xpl file and then
> displaying the entire string using xforms:output but then some of my UI is
> mixed in with the model processing and I was trying to keep them separate.
>
>
> Doug
>
>
> -----Original Message-----
> From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez
> Sent: 08 November 2005 12:00
> To: [hidden email]
> Subject: Re: [ops-users] text does not line up in firefox
>
> Doug, I have not tried your attached example, but does your problem
> correspond to this bug?
>
>
http://forge.objectweb.org/tracker/index.php?func=detail&aid=303939&group_id

> =168&atid=350207
>
> -Erik
>
> Doug Young wrote:
> > Hi,
> >
> >   The attached example shows a problem where text that is made up of
> > static text and xforms:output does not line when displayed in firefox
> 1.0.7.
> >
> >
> >
> > This example is the same as the one I posted for old instance data
> > coming back to a page -- version 3.0.beta3.200511020401 except it has
> > style="text-decoration:underline"
> >
> > added at line 295 in view.xsl.
> >
> >
> >
> >
> >
> > the file locations are:
> >
> > resources/pages/allStatusSummary/getSummaryAndGraphInfo.xpl
> >
> > resources/pages/allStatusSummary/view.xsl
> >
> >
> >
> >
> >
> > open firefox
> >
> > browse to   blah blah/context name/view
> >
> > press the update button
> >
> > note how any lines that are made up of static text and xforms:output do
> > not line up properly the part of the line from the xfroms:output is
> > lower than the static text, this is very noticeable on the Completeted
> > (0 PEAs): $0.00 line as I have underlined it
> >
> >
> >
> > This bug does not appear in IE 6
> >
> >
> >
> >
> >
> > Doug
> >
> >
> >
> >
> >
> >
> >
> >
> > ------------------------------------------------------------------------
> >
> > <xhtml:html xmlns:xforms="http://www.w3.org/2002/xforms"
> >     xmlns:f="http://orbeon.org/oxf/xml/formatting"
> >     xmlns:xhtml="http://www.w3.org/1999/xhtml"
> >     xmlns:xxforms="http://orbeon.org/oxf/xml/xforms"
> >     xmlns:ev="http://www.w3.org/2001/xml-events"
> >     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> >      xsl:version="2.0">
> >
> >     <xhtml:head>
> >
> >         <xforms:model xmlns:xforms="http://www.w3.org/2002/xforms"
> >                 xmlns:xs="http://www.w3.org/2001/XMLSchema"
> >                 xmlns:xdt="http://www.w3.org/2004/07/xpath-datatypes"
> >                 id="main-model">
> >
> >             <xforms:instance id="UIData">
> >                 <instance>
> >                     <!-- default is the start of the year -->
> >                     <startDate><xsl:value-of select="xs:date(concat
> (year-from-date(current-date()),'-01', '-01'))"/></startDate>
> >
> >                     <!-- default is today -->
> >                     <endDate><xsl:value-of
> select="current-date()"/></endDate>
> >
> >                 </instance>
> >             </xforms:instance>
> >
> >             <xforms:instance id="tests">
> >                 <instance>
> >                     <!-- these found/not found and got/not got pairs are
> used to toggle to different cases -->
> >                     <foundData>0</foundData>
> >                     <noFoundData>0</noFoundData>
> >                     <gotCompletedDataCnt>0</gotCompletedDataCnt>
> >                     <notGotCompletedDataCnt>0</notGotCompletedDataCnt>
> >                     <gotApprovedDataCnt>0</gotApprovedDataCnt>
> >                     <notGotApprovedDataCnt>0</notGotApprovedDataCnt>
> >                     <gotRaisedDataCnt>0</gotRaisedDataCnt>
> >                     <notGotRaisedDataCnt>0</notGotRaisedDataCnt>
>
> >                 </instance>
> >             </xforms:instance>
> >
> >             <xforms:instance id="retrievedSummaryInfo">
> >                 <peaSummary>
> >                     <matchingPEACount/>
> >                     <startDateDispStr/>
> >                     <endDateDispStr/>
> >                     <summaryDispStr/>
> >                     <completed>
> >                         <total></total>
> >                         <totalDispStr/>
> >                         <capitalAssets/>
> >                         <capitalAssetsDispStr/>
> >                         <operatingLeases/>
> >                         <operatingLeasesDispStr/>
> >                         <otherExpenditure/>
> >
> <otherExpenditureDispStr></otherExpenditureDispStr>
> >                         <pcentInPlanByNumber></pcentInPlanByNumber>
> >                         <pcentInPlanByValue></pcentInPlanByValue>
> >                         <pcentGrowth></pcentGrowth>>
> >                         <pcentSustain></pcentSustain>
> >                         <pcentmaintenance></pcentmaintenance>
> >                         <pcentCostReduction></pcentCostReduction>
> >
> <pcentRegulatoryCompliance></pcentRegulatoryCompliance>
> >                         <totalReasonPcent></totalReasonPcent>
> >                     </completed>
> >                     <approved>
> >                         <total></total>
> >                         <totalDispStr/>
> >                         <capitalAssets/>
> >                         <capitalAssetsDispStr/>
> >                         <operatingLeases/>
> >                         <operatingLeasesDispStr/>
> >                         <otherExpenditure/>
> >
> <otherExpenditureDispStr></otherExpenditureDispStr>
> >                         <pcentInPlanByNumber></pcentInPlanByNumber>
> >                         <pcentInPlanByValue></pcentInPlanByValue>
> >                         <pcentGrowth></pcentGrowth>>
> >                         <pcentSustain></pcentSustain>
> >                         <pcentmaintenance></pcentmaintenance>
> >                         <pcentCostReduction></pcentCostReduction>
> >
> <pcentRegulatoryCompliance></pcentRegulatoryCompliance>
> >                         <totalReasonPcent></totalReasonPcent>
> >                     </approved>
> >                     <raised>
> >                         <total></total>
> >                         <totalDispStr/>
> >                         <capitalAssets/>
> >                         <capitalAssetsDispStr/>
> >                         <operatingLeases/>
> >                         <operatingLeasesDispStr/>
> >                         <otherExpenditure/>
> >
> <otherExpenditureDispStr></otherExpenditureDispStr>
> >                         <pcentInPlanByNumber></pcentInPlanByNumber>
> >                         <pcentInPlanByValue></pcentInPlanByValue>
> >                         <pcentGrowth></pcentGrowth>>
> >                         <pcentSustain></pcentSustain>
> >                         <pcentmaintenance></pcentmaintenance>
> >                         <pcentCostReduction></pcentCostReduction>
> >
> <pcentRegulatoryCompliance></pcentRegulatoryCompliance>
> >                         <totalReasonPcent></totalReasonPcent>
> >                     </raised>
> >                 </peaSummary>
> >             </xforms:instance>
> >
> >             <xforms:bind nodeset="instance('UIData')">
> >                 <xforms:bind nodeset="startDate" type="xs:date"/>
> >                 <xforms:bind nodeset="endDate" type="xs:date"/>
> >             </xforms:bind>
> >
> >             <xforms:bind nodeset="instance('tests')">
> >                 <!-- these found/not found and got/not got pairs are
used

> to toggle to different cases -->
> >                 <xforms:bind nodeset="foundData" relevant="false()"
> type="xs:positiveInteger"/>
> >                 <xforms:bind nodeset="noFoundData" relevant="false()"
> type="xs:positiveInteger"/>
> >                 <xforms:bind nodeset="gotCompletedDataCnt"
> relevant="false()" type="xs:positiveInteger"/>
> >                 <xforms:bind nodeset="notGotCompletedDataCnt"
> relevant="false()" type="xs:positiveInteger"/>
> >                 <xforms:bind nodeset="gotApprovedDataCnt"
> relevant="false()" type="xs:positiveInteger"/>
> >                 <xforms:bind nodeset="notGotApprovedDataCnt"
> relevant="false()" type="xs:positiveInteger"/>
> >                 <xforms:bind nodeset="gotRaisedDataCnt"
relevant="false()"

> type="xs:positiveInteger"/>
> >                 <xforms:bind nodeset="notGotRaisedDataCnt"
> relevant="false()" type="xs:positiveInteger"/>
> >
> >             </xforms:bind>
> >
> >             <xforms:submission ref="instance('UIData')"
> id="getPEAs-submission"
> >                 method="post"
> action="/allStatusSummary/getSummaryAndGraphInfo"
> >                 replace="instance" instance="retrievedSummaryInfo">
>
> >             </xforms:submission>
> >
> >             <xforms:action ev:event="xforms-submit-done">
> >                 <!-- these found/not found and got/not got pairs are
used

> to toggle to different cases -->
> >                 <xforms:setvalue ref="instance('tests')/foundData"
> ev:event="xforms-submit-done" value="if
> (xs:integer(instance('retrievedSummaryInfo')/matchingPEACount) gt 0) then
> instance('tests')/foundData + 1 else instance('tests')/foundData"/>
> >                 <xforms:setvalue ref="instance('tests')/noFoundData"
> ev:event="xforms-submit-done" value="if
> (xs:integer(instance('retrievedSummaryInfo')/matchingPEACount) eq 0) then
> instance('tests')/noFoundData + 1 else instance('tests')/noFoundData"/>
> >
> >                 <xforms:setvalue
> ref="instance('tests')/gotCompletedDataCnt" ev:event="xforms-submit-done"
> >                             value="if
> (xs:integer(instance('retrievedSummaryInfo')/completed/totalReasonPcent)
gt
> 0) then instance('tests')/gotCompletedDataCnt + 1 else
> instance('tests')/gotCompletedDataCnt"/>
> >                 <xforms:setvalue
> ref="instance('tests')/notGotCompletedDataCnt"
ev:event="xforms-submit-done"
>
> >                             value="if
> (xs:integer(instance('retrievedSummaryInfo')/completed/totalReasonPcent)
eq

> 0) then instance('tests')/notGotCompletedDataCnt + 1 else
> instance('tests')/notGotCompletedDataCnt"/>
> >
> >                 <xforms:setvalue
> ref="instance('tests')/gotApprovedDataCnt" ev:event="xforms-submit-done"
> >                             value="if
> (xs:integer(instance('retrievedSummaryInfo')/approved/totalReasonPcent) gt
> 0) then instance('tests')/gotApprovedDataCnt + 1 else
> instance('tests')/gotApprovedDataCnt"/>
> >                 <xforms:setvalue
> ref="instance('tests')/notGotApprovedDataCnt"
ev:event="xforms-submit-done"
> >                             value="if
> (xs:integer(instance('retrievedSummaryInfo')/approved/totalReasonPcent) eq
> 0) then instance('tests')/notGotApprovedDataCnt + 1 else
> instance('tests')/notGotApprovedDataCnt"/>
> >
> >                 <xforms:setvalue
ref="instance('tests')/gotRaisedDataCnt"
> ev:event="xforms-submit-done"
> >                             value="if
> (xs:integer(instance('retrievedSummaryInfo')/raised/totalReasonPcent) gt
0)
> then instance('tests')/gotRaisedDataCnt + 1 else
> instance('tests')/gotRaisedDataCnt"/>
> >                 <xforms:setvalue
> ref="instance('tests')/notGotRaisedDataCnt" ev:event="xforms-submit-done"
> >                             value="if
> (xs:integer(instance('retrievedSummaryInfo')/raised/totalReasonPcent) eq
0)

> then instance('tests')/notGotRaisedDataCnt + 1 else
> instance('tests')/notGotRaisedDataCnt"/>
> >             </xforms:action>
> >         </xforms:model>
> >     </xhtml:head>
> >
> >     <xhtml:body>
> >
> >         <!-- debug outputs of the test instance data to see them change
> their relevant attributes in the above binds -->
> >         <xforms:group ref="instance('tests')">
> >             <xforms:input ref="foundData">
> >                    <xforms:label>test foundData:</xforms:label>
> >                     <xforms:action ev:event="xforms-value-changed">
> >                        <xforms:toggle case="foundData"/>
> >                     </xforms:action>
> >             </xforms:input>
> >             <xforms:input ref="noFoundData">
> >                 <xforms:label>test noFoundData:</xforms:label>
> >                 <xforms:action ev:event="xforms-value-changed" >
> >                     <xforms:toggle case="noFoundData"/>
> >                 </xforms:action>
> >             </xforms:input>
> >             <xforms:input ref="gotCompletedDataCnt">
> >                 <xforms:label>test gotCompletedDataCnt:</xforms:label>
> >                 <xforms:action ev:event="xforms-value-changed" >
> >                     <xforms:toggle case="gotCompletedDataCnt"/>
>
> >                 </xforms:action>
> >             </xforms:input>
> >             <xforms:input ref="notGotCompletedDataCnt">
> >                 <xforms:label>test
notGotCompletedDataCnt:</xforms:label>

> >                 <xforms:action ev:event="xforms-value-changed" >
> >                     <xforms:toggle case="notGotCompletedDataCnt"/>
>
> >                 </xforms:action>
> >             </xforms:input>
> >             <xforms:input ref="gotApprovedDataCnt">
> >                 <xforms:label>test gotApprovedDataCnt:</xforms:label>
> >                 <xforms:action ev:event="xforms-value-changed" >
> >                     <xforms:toggle case="gotApprovedDataCnt"/>
>
> >                 </xforms:action>
> >             </xforms:input>
> >             <xforms:input ref="notGotApprovedDataCnt">
> >                 <xforms:label>test notGotApprovedDataCnt:</xforms:label>
> >                 <xforms:action ev:event="xforms-value-changed" >
> >                     <xforms:toggle case="notGotApprovedDataCnt"/>
>
> >                 </xforms:action>
> >             </xforms:input>
> >             <xforms:input ref="gotRaisedDataCnt">
> >                 <xforms:label>test gotRaisedDataCnt:</xforms:label>
> >                 <xforms:action ev:event="xforms-value-changed" >
> >                     <xforms:toggle case="gotRaisedDataCnt"/>
>
> >                 </xforms:action>
> >             </xforms:input>
> >             <xforms:input ref="notGotRaisedDataCnt">
> >                 <xforms:label>test notGotRaisedDataCnt:</xforms:label>
> >                 <xforms:action ev:event="xforms-value-changed" >
> >                     <xforms:toggle case="notGotRaisedDataCnt"/>
>
> >                 </xforms:action>
> >             </xforms:input>
> >         </xforms:group>
> >
> >         <xforms:group ref="instance('UIData')">
> >             <xhtml:h2>Query</xhtml:h2>
> >
> >             <!-- inpout fields for the query parameters -->
> >             <xhtml:div>
> >                 <xhtml:table>
> >                     <!-- start date -->
> >                     <xhtml:tr>
> >                         <xhtml:td width="150px">Start Date</xhtml:td>
> >                         <xhtml:td>
> >                             <xforms:input ref="startDate">
> >                                 <xforms:alert>Please enter a valid start
> date</xforms:alert>
> >                             </xforms:input>
> >                         </xhtml:td>
> >                     </xhtml:tr>
> >
> >                     <!-- end date -->
> >                     <xhtml:tr>
> >                         <xhtml:td width="150px">End Date</xhtml:td>
> >                         <xhtml:td>
> >                             <xforms:input ref="endDate">
> >                                 <xforms:alert>Please enter a valid end
> date</xforms:alert>
> >                             </xforms:input>
> >                         </xhtml:td>
> >                     </xhtml:tr>
> >
> >                 </xhtml:table>
> >             </xhtml:div>
> >
> >
> >             <xforms:submit submission="getPEAs-submission">
> >                 <xforms:label>Update</xforms:label>
> >             </xforms:submit>
> >
> >             <!-- main output switch -->
> >             <xforms:switch>
> >                 <!-- before submit is pressed -->
> >                 <xforms:case id="initialDisplay" selected="true">
> >                 </xforms:case>
> >
> >                 <!-- submit opressed but no data -->
> >                 <xforms:case id="noFoundData">
> >                     <xhtml:p>
> >                         No PEAs were found for the specified date range.
> >                     </xhtml:p>
> >                 </xforms:case>
> >
> >                 <!-- got some data to display -->
> >                 <xforms:case id="foundData">
> >                     <xhtml:div>
> >                         <xhtml:br/>
> >                         <!-- do the overall summary -->
> >                         <xhtml:h1><xforms:output
> value="instance('retrievedSummaryInfo')/summaryDispStr"/></xhtml:h1>
> >
> >                         <xhtml:div>
> >                             <xhtml:table>
> >                                 <!-- completed -->
> >                                 <tr>
> >                                     <td style="white-space:nowrap"
> width="1%">
> >                                         <xhtml:a
> href="#completedLink">Completed (<xforms:output
> value="instance('retrievedSummaryInfo')/completed/count"/> PEAS)</xhtml:a>
> >
> >                                     </td>
> >                                     <td>
> >                                         <xforms:output
> value="instance('retrievedSummaryInfo')/completed/totalDispStr"/>
> >                                     </td>
> >                                 </tr>
> >                                 <!-- approved -->
> >                                 <tr>
> >                                     <td style="white-space:nowrap"
> width="1%">
> >                                         <xhtml:a
> href="#approvedLink">Approved (<xforms:output
> value="instance('retrievedSummaryInfo')/approved/count"/> PEAS)</xhtml:a>
>
> >                                     </td>
> >                                     <td>
> >                                         <xforms:output
> value="instance('retrievedSummaryInfo')/approved/totalDispStr"/>
> >                                     </td>
>
> >                                 </tr>
> >                                 <!-- raised -->
> >                                 <tr>
> >                                     <td style="white-space:nowrap"
> width="1%">
> >                                         <xhtml:a href="#raisedLink"
> >Raised (<xforms:output
> value="instance('retrievedSummaryInfo')/raised/count"/> PEAS)</xhtml:a>
>
> >                                     </td>
> >                                     <td>
> >                                         <xforms:output
> value="instance('retrievedSummaryInfo')/raised/totalDispStr"/>
> >                                     </td>
> >                                 </tr>
> >                             </xhtml:table>
> >                         </xhtml:div>
> >
> >                         <!-- do the completed output -->
> >                         <xhtml:div id="completedSummaryDiv">
>
> >                             <xhtml:a name="completedLink"></xhtml:a>
>
> >                             <xhtml:br/>
> >                                 <xhtml:h2
> style="text-decoration:underline" >Completed (<xforms:output
> value="instance('retrievedSummaryInfo')/completed/count"/> PEAS):
> <xforms:output
>
value="instance('retrievedSummaryInfo')/completed/totalDispStr"/></xhtml:h2>
> >
> >                             <xhtml:table>
> >                                  <tr>
> >                                   <td style="white-space:nowrap"
> width="1%">Capital Assests</td>
> >                                   <td><xforms:output
>
value="instance('retrievedSummaryInfo')/completed/capitalAssetsDispStr"/></t
> d>
> >                                  </tr>
> >                                 <tr>
> >                                  <td
style="white-space:nowrap">Operating
> Leases</td>
> >                                  <td><xforms:output
>
value="instance('retrievedSummaryInfo')/completed/operatingLeasesDispStr"/><
> /td>
> >                                 </tr>
> >                                 <tr>
> >                                  <td style="white-space:nowrap">Other
> Expenditure</td>
> >                                  <td><xforms:output
>
value="instance('retrievedSummaryInfo')/completed/otherExpenditureDispStr"/>
> </td>
> >                                 </tr>
> >                                 <tr>
> >                                  <td
> style="white-space:nowrap">Expenditure Items In Plan By Number</td>
> >                                  <td><xforms:output
>
value="instance('retrievedSummaryInfo')/completed/pcentInPlanByNumber"/>%</t
> d>
> >                                 </tr>
> >                                 <tr>
> >                                  <td
> style="white-space:nowrap">Expenditure Items In Plan By Value</td>
> >                                  <td><xforms:output
>
value="instance('retrievedSummaryInfo')/completed/pcentInPlanByValue"/>%</td

> >
> >                                 </tr>
> >                             </xhtml:table>
> >
> >                         </xhtml:div>
> >
> >                         <!-- do the approved output -->
> >                         <xhtml:div id="approvedSummaryDiv">
> >                             <xhtml:a name="approvedLink"></xhtml:a>
>
> >                             <xhtml:br/>
> >                             <xhtml:h2>Approved (<xforms:output
> value="instance('retrievedSummaryInfo')/approved/count"/> PEAS):
> <xforms:output
>
value="instance('retrievedSummaryInfo')/approved/totalDispStr"/></xhtml:h2>
>
> >                             <xhtml:table>
> >                                  <tr>
> >                                   <td style="white-space:nowrap"
> width="1%">Capital Assests</td>
> >                                   <td><xforms:output
>
value="instance('retrievedSummaryInfo')/approved/capitalAssetsDispStr"/></td
> >
> >                                  </tr>
> >                                 <tr>
> >                                  <td
style="white-space:nowrap">Operating
> Leases</td>
> >                                  <td><xforms:output
>
value="instance('retrievedSummaryInfo')/approved/operatingLeasesDispStr"/></
> td>
> >                                 </tr>
> >                                 <tr>
> >                                  <td style="white-space:nowrap">Other
> Expenditure</td>
> >                                  <td><xforms:output
>
value="instance('retrievedSummaryInfo')/approved/otherExpenditureDispStr"/><
> /td>
> >                                 </tr>
> >                                 <tr>
> >                                  <td
> style="white-space:nowrap">Expenditure Items In Plan By Number</td>
> >                                  <td><xforms:output
>
value="instance('retrievedSummaryInfo')/approved/pcentInPlanByNumber"/>%</td
> >
> >                                 </tr>
> >                                 <tr>
> >                                  <td
> style="white-space:nowrap">Expenditure Items In Plan By Value</td>
> >                                  <td><xforms:output
>
value="instance('retrievedSummaryInfo')/approved/pcentInPlanByValue"/>%</td>

> >                                 </tr>
> >                             </xhtml:table>
> >
> >                         </xhtml:div>
> >
> >                         <!-- do the raised output -->
> >                         <xhtml:div id="raisedSummaryDiv">
> >                             <xhtml:a name="raisedLink"></xhtml:a>
>
> >                             <xhtml:br/>
> >                             <xhtml:h2>Raised (<xforms:output
> value="instance('retrievedSummaryInfo')/raised/count"/> PEAS):
> <xforms:output
> value="instance('retrievedSummaryInfo')/raised/totalDispStr"/></xhtml:h2>
>
> >                             <xhtml:table>
> >                                  <tr>
> >                                   <td style="white-space:nowrap"
> width="1%">Capital Assests</td>
> >                                   <td><xforms:output
>
value="instance('retrievedSummaryInfo')/raised/capitalAssetsDispStr"/></td>
> >                                  </tr>
> >                                 <tr>
> >                                  <td
style="white-space:nowrap">Operating
> Leases</td>
> >                                  <td><xforms:output
>
value="instance('retrievedSummaryInfo')/raised/operatingLeasesDispStr"/></td
> >
> >                                 </tr>
> >                                 <tr>
> >                                  <td style="white-space:nowrap">Other
> Expenditure</td>
> >                                  <td><xforms:output
>
value="instance('retrievedSummaryInfo')/raised/otherExpenditureDispStr"/></t
> d>
> >                                 </tr>
> >                                 <tr>
> >                                  <td
> style="white-space:nowrap">Expenditure Items In Plan By Number</td>
> >                                  <td><xforms:output
>
value="instance('retrievedSummaryInfo')/raised/pcentInPlanByNumber"/>%</td>

> >                                 </tr>
> >                                 <tr>
> >                                  <td
> style="white-space:nowrap">Expenditure Items In Plan By Value</td>
> >                                  <td><xforms:output
> value="instance('retrievedSummaryInfo')/raised/pcentInPlanByValue"/>%</td>
> >                                 </tr>
> >                             </xhtml:table>
> >
> >                         </xhtml:div>
> >                     </xhtml:div>
> >                 </xforms:case>
> >             </xforms:switch>
> >         </xforms:group>
> >     </xhtml:body>
> > </xhtml:html>
> >
> >
> > ------------------------------------------------------------------------
> >
> >
> > <config xmlns="http://www.orbeon.com/oxf/controller"
> >         xmlns:xu="http://www.xmldb.org/xupdate"
> >         xmlns:oxf="http://www.orbeon.com/oxf/processors"
> >         xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
> >
> >     <!-- Files to serve directly -->
> >     <files path-info="*.gif"/>
> >     <files path-info="*.css"/>
> >     <files path-info="*.pdf"/>
> >     <files path-info="*.js"/>
> >     <files path-info="*.png"/>
> >     <files path-info="*.jpg"/>
> >     <files path-info="*.html" mime-type="text/html"/>
> >     <files path-info="*.java" mime-type="text/plain"/>
> >     <files path-info="*.txt" mime-type="text/plain"/>
> >     <files path-info="*.xq" mime-type="text/plain"/>
> >
> >     <!-- CSS generated by a pipeline -->
> >     <page id="layout-css" path-info="/config/theme/orbeon-layout.cssd"
> model="/config/theme/orbeon-layout.xpl"/>
> >
> >
> >     <page id="PASSView" path-info="/view"
> >             view="/pages/allStatusSummary/view.xsl"/>
> >
> >     <page id="PASSGetPEAs"
> path-info="/allStatusSummary/getSummaryAndGraphInfo"
> >            view="/pages/allStatusSummary/getSummaryAndGraphInfo.xpl"/>
> >
> >     <!-- "Not Found" page displayed when no page matches the request URL
> -->
> >     <page id="not-found" path-info="/notFound"
> view="/pages/notFound.xpl"/>
> >
> >
> >     <epilogue url="/config/epilogue.xpl"/>
> >     <not-found-handler page="not-found"/>
> >
> > </config>
> >
> >
> > ------------------------------------------------------------------------
> >
> >
> > --
> > 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
>
>
>


--
Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/







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