cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlos M. S. Bento Nogueira" <cm...@student.dei.uc.pt>
Subject [jfor] tables causing nullpointerexception
Date Tue, 09 Aug 2005 02:05:56 GMT
Hi!! I'm a newbie in jfor. The following code is causing 
nullpointerexception in jfor.0.7.1 when i don't have the fo:table 
commented as it is now. Any ideas to correct it would be 
great.
I'm also sending a copy to the cocoon users lists as i'm planning
to use jfor together with cocoon. If this is a deprecated approach
for transforming xsl-fo to rtf i would appreciate some advice.

TIA,
CarlosN.


Code snippet:(also available at http://pastebin.com/332516 )


<fo:table-cell role="td">
<fo:block>

<!-- <fo:table table-layout="fixed" width="100%" role="table"> 
-->
 	<fo:table-column column-width="0.62cm" role="col"/>
 	<fo:table-column column-width="0.62cm" role="col"/>
 	<fo:table-column column-width="0.62cm" role="col"/>

 	<fo:table-body start-indent="0pt" end-indent="0pt" text-indent="0pt" last-line-end-indent="0pt"
text-align="start">

 	<fo:table-row role="tr">
 		<fo:table-cell role="td">
 			<fo:block>
 				<fo:list-block>
 					<fo:list-item role="li">
 						<fo:list-item-label wrap-option="no-wrap" text-align="end" end-indent="label-end()">
 							<fo:block>
 								<fo:inline font-size="12pt" text-align="left" color="black" font-weight="normal"
 								font-family="ZapfDingbats">?</fo:inline>
 							</fo:block>
 						</fo:list-item-label>

 						<fo:list-item-body start-indent="body-start()">
 							<fo:block>Anos</fo:block>
 						</fo:list-item-body>

 					</fo:list-item>
 				</fo:list-block>
 			</fo:block>
 		</fo:table-cell>


 		<fo:table-cell role="td">
 			<fo:block>
 				<fo:list-block>
 					<fo:list-item role="li">

 					<fo:list-item-label wrap-option="no-wrap" text-align="end" end-indent="label-end()">
 						<fo:block>
 							<fo:inline font-size="12pt" text-align="left" color="black" font-weight="normal"
 							font-family="ZapfDingbats">?</fo:inline>
 						</fo:block>
 					</fo:list-item-label>

 					<fo:list-item-body start-indent="body-start()">
 						<fo:block>Meses</fo:block>
 					</fo:list-item-body>
 				</fo:list-item>
 			</fo:list-block>
 		</fo:block>
 		</fo:table-cell>


 		<fo:table-cell role="td">
 		<fo:block>
 				<fo:list-block>
 					<fo:list-item role="li">
 						<fo:list-item-label wrap-option="no-wrap" text-align="end" end-indent="label-end()">
 							<fo:block>
 								<fo:inline font-size="12pt" text-align="left" color="black" font-weight="normal"
 								font-family="ZapfDingbats">?</fo:inline>
 							</fo:block>
 						</fo:list-item-label>

 						<fo:list-item-body start-indent="body-start()">
 							<fo:block>Dias</fo:block>
 						</fo:list-item-body>

 					</fo:list-item>
 				</fo:list-block>
 			</fo:block>
 		</fo:table-cell>

 		</fo:table-row>


 		</fo:table-body>
<!--		</fo:table> -->

 		</fo:block>
 		</fo:table-cell>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message