<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:wfw="http://wellformedweb.org/CommentAPI/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
>
<!-- MHonArc v2.6.10 -->
	<channel>
		<title>news.eclipse.birt</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.birt/maillist.html</link>
		<description>NewsGroup: news.eclipse.birt</description>
		<language>en-us</language>
		<pubDate>Fri, 07 Nov 2008 15:41:50 GMT</pubDate>
		<lastBuildDate>Fri, 07 Nov 2008 15:41:50 GMT</lastBuildDate>
		<docs>http://blogs.law.harvard.edu/tech/rss</docs>
		<generator>MHonArc RSS 2.0 RCFile</generator>
		<managingEditor>webmaster@eclipse.org (Webmaster)</managingEditor>
		<webMaster>webmaster@eclipse.org (Webmaster)</webMaster>
		<image>
			<title>news.eclipse.birt</title>
			<url>http://www.eclipse.org/eclipse.org-common/themes/Phoenix/images/eclipse_home_header.jpg</url>
			<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.birt/maillist.html</link>
		</image>
 

	<item>
		<title>[news.eclipse.birt] Re: Data nd Text fields functionality</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.birt/msg31292.html</link>
		<description> </description>
		<content:encoded><![CDATA[<pre style="margin: 0em;">Shomy,</pre><br>
<tt>You should be able to use a text element instead of a data element and 
use the value-of tag within the text element to get dataset data.</tt><br>
<br>
<pre style="margin: 0em;">Jason</pre><br>
<tt>Shomy Jose wrote:
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">Hi,</pre><br>
<tt>For one of my reports I want a mix of funactionality from Text and Data 
item. Data in HTML I am getting from database and I am binding that 
column to a data field for which I want HTML style to be applied. Is 
there any way to achieve this?</tt><br>
<br>
<pre style="margin: 0em;">Thanks and regards,
Shomy Jose</pre><br>
<pre style="margin: 0em;"><br></pre><br>
</blockquote><br>
]]></content:encoded>
		<pubDate>Fri, 07 Nov 2008 15:34:10 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.birt/msg31292.html</guid>
		<author>jasonweathersby@xxxxxxx (Jason Weathersby)</author>
	</item>
	<item>
		<title>[news.eclipse.birt] Re: Scripted Data Set on char</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.birt/msg31291.html</link>
		<description> </description>
		<content:encoded><![CDATA[<pre style="margin: 0em;">Ralph,</pre><br>
<pre style="margin: 0em;">Try changing
System.exit(1);
to
return null;</pre><br>
<pre style="margin: 0em;">Jason</pre><br>
<tt>ralph k wrote:
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">Hello i have a big problem with my Birt Designer Version 2.2.2</pre><br>
<tt>On my report i'm using a scripted data source, within this it calls a 
java class that generates data from a table using a jdbc connection. 
This java class returns a vector to my report.<br>
Everything works fine within my report, i can us a table to give out the 
data.<br>
But if i'm using within a chart the scripted data set, the birt designer 
crashs and does shut down my whole eclipse environment.</tt><br>
<br>
<tt>Sometimes the error happens on selecting the scripted data set and 
sometimes i can select it, but if i try to run the report, eclipse and 
the birt designer crash too.</tt><br>
<br>
<pre style="margin: 0em;">my data set
Script:open</pre><br>
<pre style="margin: 0em;">TimeTableGeneratedClass = new Packages.TimeTableGeneratedExtension();
timetable = TimeTableGeneratedClass.readData();
totalrows = timetable.size();
currentrow = 0;</pre><br>
<pre style="margin: 0em;">Script:fetch</pre><br>
<pre style="margin: 0em;">if( currentrow &gt;= totalrows){
    return(false);
}
var favrow = timetable.get(currentrow);</pre><br>
<pre style="margin: 0em;">var test1 = favrow[0];
var test2 = favrow[1];
var test3 = favrow[2];
var test4 = favrow[3];
var test5 = favrow[4];
var test6 = favrow[5];</pre><br>
<pre style="margin: 0em;">row[&quot;TIME_ID&quot;]=test1;
row[&quot;TIMESTAMP_COL&quot;]=test2;
row[&quot;DAY_COL&quot;]=test3;
row[&quot;WEEK&quot;]=test4;
row[&quot;MONTH_COL&quot;]=test5;
row[&quot;YEAR_COL&quot;]=test6;
currentrow = currentrow + 1;
return(true);</pre><br>
<pre style="margin: 0em;"><br>Script:close</pre><br>
<pre style="margin: 0em;">TimeTableGeneratedClass = null;
timetable = null;</pre><br>
<pre style="margin: 0em;"><br></pre><br>
<pre style="margin: 0em;">my java class seems to be fine</pre><br>
<tt><br>import java.sql.Connection;<br>
import java.sql.DriverManager;<br>
import java.sql.ResultSet;<br>
import java.sql.SQLException;<br>
import java.sql.Statement;<br>
import java.util.Vector;<br>
public class TimeTableGeneratedExtension<br>
{<br>
    private String username = &quot;&quot;;<br>
    private String password = &quot;&quot;;<br>
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    private ResultSet rs;<br>
    private Statement stmt;<br>
    
    
    
    public Vector readData(){<br>
    
        Vector rtnV = new Vector();   
        Connection con = null;   
        try {<br>
            Class.forName(&quot;com.ibm.db2.jcc.DB2Driver&quot;);<br>
        } catch (ClassNotFoundException exc) {<br>
            System.err.println(&quot;ERROR on loading DB2Driver:&quot; + 
exc.toString());<br>
            System.exit(1);<br>
        }   
           
        con = getConnection();   
       
        if(con !=null){<br>
            try {<br>
                try{<br>
                    stmt = con.createStatement();<br>
                }catch(SQLException exc){<br>
                    System.out.println(&quot;ERROR on creating statement:&quot; + 
exc.toString());<br>
                    return null;<br>
                }<br>
               
                try{<br>
                    rs = stmt.executeQuery(&quot;SELECT TIME_ID, 
TIMESTAMP_COL, DAY_COL, WEEK, MONTH_COL, YEAR_COL FROM 
COMMON_SNAPSHOT.TIME_TBL&quot;);<br>
                }catch(SQLException exc){<br>
                    System.out.println(&quot;ERROR on executing query:&quot; + 
exc.toString());<br>
                    return null;<br>
                }<br>
               
                while (rs.next()){<br>
                    long timeid = rs.getLong(&quot;TIME_ID&quot;);<br>
                    String timestampcol = rs.getString(&quot;TIMESTAMP_COL&quot;);<br>
                    String daycol = rs.getString(&quot;DAY_COL&quot;);<br>
                    String week = rs.getString(&quot;WEEK&quot;);<br>
                    String monthcol = rs.getString(&quot;MONTH_COL&quot;);<br>
                    String yearcol = rs.getString(&quot;YEAR_COL&quot;);<br>
                    rtnV.add(new String[]{Long.toString(timeid), 
timestampcol, daycol, week, monthcol, yearcol});<br>
                 }<br>
    
                return (rtnV);<br>
    
            } catch (SQLException exc) {<br>
                return null;<br>
            }<br>
        }else{<br>
            return null;<br>
        }<br>
       
    
    }<br>
    
    
    
    public Connection getConnection(){<br>
        Connection con = null;<br>
        try {<br>
        String url = &quot;jdbc:db2://localhost:50000/JAZZ&quot;;<br>
        con = DriverManager.getConnection(url, username, password);<br>
        return con;<br>
        } catch (SQLException exc) {<br>
            System.err.println(&quot;ERROR on creating connection:&quot; + 
exc.toString());<br>
            return con;<br>
        }<br>
    }<br>
    
    
 public static void main(String[] args)<br>
  {      TimeTableGeneratedExtension sc = new 
TimeTableGeneratedExtension();<br>
    Vector rtn = sc.readData();<br>
    
    int t = 0;<br>
    for( int i=0; i&lt;rtn.size(); i++ ){<br>
        String[] test = (String[])rtn.elementAt(i);<br>
        System.out.println(t++ +&quot; &quot; +test[0] +&quot; &quot;+ test[1] +&quot; &quot;+ test[2] 
+ &quot; &quot; + test[3] + &quot; &quot; + test[4] + &quot; &quot; + test[5]);<br>
    }<br>
  }<br>
}</tt><br>
<br>
<pre style="margin: 0em;"><br></pre><br>
<pre style="margin: 0em;"><br></pre><br>
</blockquote><br>
]]></content:encoded>
		<pubDate>Fri, 07 Nov 2008 15:29:32 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.birt/msg31291.html</guid>
		<author>jasonweathersby@xxxxxxx (Jason Weathersby)</author>
	</item>
	<item>
		<title>[news.eclipse.birt] Re: Chaning thousand separator</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.birt/msg31290.html</link>
		<description> </description>
		<content:encoded><![CDATA[<pre style="margin: 0em;">Ralf,</pre><br>
<tt>I should have checked this first.  If you set the locale to Switzerland, 
the separator is changed automatically.  What you want is already in the 
engine.  To test set the locale on the url or while in the designer 
change it here:</tt><br>
<br>
<pre style="margin: 0em;">window-&gt;preferences-&gt;Report Design-&gt;Preview-&gt;Choose your locale</pre><br>
<pre style="margin: 0em;">This allows you to change the locale for testing purposes.</pre><br>
<pre style="margin: 0em;">Jason</pre><br>
<tt>Ralf Grewe wrote:
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">Hi Jason!</pre><br>
<pre style="margin: 0em;">Thanks for this one. Nevertheless the customer who asked for using the
apostrophe as thousand separator works in Switzerland. Consequently he
wants to use this special thousand separator in general. It might be very
useful to set the separator globally in the report. I would also be very
nice if the report engine looks for the system's locale and then choose the
specific thousand separator. I think I will create a future request for
this.</pre><br>
<pre style="margin: 0em;">I've studied the JavaDoc for the DecimalFormat class. I cannot see that you
can set the thousand separator via a pattern. Consquently you will have to
use the scripting functionality of BIRT. Am I right?</pre><br>
<tt><br>Ralf
</tt></blockquote><br>
]]></content:encoded>
		<pubDate>Fri, 07 Nov 2008 15:25:18 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.birt/msg31290.html</guid>
		<author>jasonweathersby@xxxxxxx (Jason Weathersby)</author>
	</item>
	<item>
		<title>[news.eclipse.birt] Re: Error on report (preview tab) &quot;The report contains errors, would you like to continue for previewing&quot;</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.birt/msg31289.html</link>
		<description> </description>
		<content:encoded><![CDATA[<pre style="margin: 0em;">Moi,</pre><br>
<tt>I am not certain what is happening.  I tried your expression in my code 
and it worked fine.</tt><br>
<br>
<pre style="margin: 0em;">Jason</pre><br>
<tt>moi wrote:
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">It works in the both cases however it display the error message in popup.
The expression.txt is well created.</pre><br>
<tt>Jason Weathersby a &#xE9;crit :
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">Moi,</pre><br>
<pre style="margin: 0em;">Does the expression.txt file get created?
When you drop the expression does it work?</pre><br>
<pre style="margin: 0em;">Jason</pre><br>
<tt>moi wrote:
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">No there is no error trace at the bottom of the report.
The expression :
&lt;&lt;
// To comment only there for design time
    importPackage( Packages.java.io );
    importPackage( Packages.javax.servlet.http );</pre><br>
<pre style="margin: 0em;">    var cookies = reportContext.getHttpServletRequest( ).getCookies();</pre><br>
<tt>    out = new PrintWriter( new FileWriter( &quot;c:/expression.txt&quot;, true 
) );<br>
    var login;<br>
    var password;<br>
    out.println(&quot;fetching cookies&quot;);<br>
    out.println(&quot;cookies.length : &quot; + cookies.length);<br>
            for(var i=0; i &lt; cookies.length; i++) {<br>
                var monCookie = cookies[i];<br>
                out.println(&quot;cookie found : &quot; + monCookie.getName());<br>
                if (monCookie.getName().equals(&quot;report_login&quot;)) {<br>
                    login = cookies[i].getValue();<br>
                }<br>
                else if 
(monCookie.getName().equals(&quot;report_password&quot;)) {               
                    password = cookies[i].getValue();<br>
                }<br>
            }</tt><br>
<br>
<pre style="margin: 0em;">out.println( &quot;login : &quot; + login);
out.println( &quot;password : &quot; + password);</pre><br>
<tt>if (login != null) {<br>
    out.close();<br>
    &quot;<a  href="http://localhost:6060/orsid_js/xmlQuery.jsp?login=&quot">http://localhost:6060/orsid_js/xmlQuery.jsp?login=&quot</a>; + login + 
&quot;&amp;password=&quot; + password;<br>
}<br>
else {<br>
    out.close();<br>
    &quot;C:\\report1_datas.xml&quot;;<br>
}<br>
 &gt;&gt;</tt><br>
<br>
<tt>Jason Weathersby a &#xE9;crit :
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">Moi,</pre><br>
<tt>Do you get an error trace at the bottom of the report?<br>
Can you drop the expression in property binding?  I assume this is 
where it is happening.  Add a little of it back at a time.</tt><br>
<br>
<pre style="margin: 0em;">Jason</pre><br>
<tt>moi wrote:
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">Hi,</pre><br>
<tt>A report generated with birt 2.3.1 shows the error : &quot;The report 
contains errors, would you like to continue for previewing&quot;.</tt><br>
<br>
<pre style="margin: 0em;">Do you know where is the error ? I cannot find it.</pre><br>
<pre style="margin: 0em;">Regards,
Moi.</pre><br>
<tt>-----<br>
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br>
&lt;report xmlns=&quot;<a  href="http://www.eclipse.org/birt/2005/design&quot">http://www.eclipse.org/birt/2005/design&quot</a>; 
version=&quot;3.2.17&quot; id=&quot;1&quot;&gt;<br>
    &lt;property name=&quot;createdBy&quot;&gt;Eclipse BIRT Designer Version 
2.3.1.v20080911 Build &amp;lt;2.3.1.v20080922-1151&gt;&lt;/property&gt;<br>
    &lt;property name=&quot;units&quot;&gt;in&lt;/property&gt;<br>
    &lt;list-property name=&quot;propertyBindings&quot;&gt;<br>
        &lt;structure&gt;<br>
            &lt;property name=&quot;name&quot;&gt;FILELIST&lt;/property&gt;<br>
            &lt;property name=&quot;id&quot;&gt;26&lt;/property&gt;<br>
            &lt;expression name=&quot;value&quot;&gt;// To comment only there for 
design time<br>
    importPackage( Packages.java.io );<br>
    importPackage( Packages.javax.servlet.http );</tt><br>
<br>
<pre style="margin: 0em;">    var cookies = reportContext.getHttpServletRequest( ).getCookies();</pre><br>
<tt>    out = new PrintWriter( new FileWriter( &quot;c:/expression.txt&quot;, 
true ) );<br>
    var login;<br>
    var password;<br>
    out.println(&quot;fetching cookies&quot;);<br>
    out.println(&quot;cookies.length : &quot; + cookies.length);<br>
            for(var i=0; i &amp;lt; cookies.length; i++) {<br>
                var monCookie = cookies[i];<br>
                out.println(&quot;cookie found : &quot; + monCookie);<br>
                if (monCookie.getName().equals(&quot;report_login&quot;)) {<br>
                    login = cookies[i].getValue();<br>
                }<br>
                else if 
(monCookie.getName().equals(&quot;report_password&quot;)) {               
                    password = cookies[i].getValue();<br>
                }<br>
            }</tt><br>
<br>
<pre style="margin: 0em;">var request = reportContext.getHttpServletRequest();
var login = request.getSession().getAttribute(&quot;login&quot;);
var password = request.getSession().getAttribute(&quot;password&quot;);</pre><br>
<pre style="margin: 0em;">out.println( &quot;login : &quot; + login);
out.println( &quot;password : &quot; + password);</pre><br>
<tt>if (login != null) {<br>
    out.close();<br>
    &quot;<a  href="http://localhost:6060/orsid_js/xmlQuery.jsp?login=&quot">http://localhost:6060/orsid_js/xmlQuery.jsp?login=&quot</a>; + login + 
&quot;&amp;amp;password=&quot; + password;<br>
}<br>
else {<br>
    out.close();<br>
    &quot;C:\\report1_datas.xml&quot;;<br>
}&lt;/expression&gt;<br>
        &lt;/structure&gt;<br>
    &lt;/list-property&gt;<br>
    &lt;property name=&quot;iconFile&quot;&gt;/templates/simple_listing.gif&lt;/property&gt;<br>
    &lt;property 
name=&quot;cheatSheet&quot;&gt;org.eclipse.birt.report.designer.ui.cheatsheet.simplelisting&lt;/property&gt; </tt><br>
<br>
<tt>    &lt;property name=&quot;bidiLayoutOrientation&quot;&gt;ltr&lt;/property&gt;<br>
    &lt;parameters&gt;<br>
        &lt;scalar-parameter name=&quot;login&quot; id=&quot;27&quot;&gt;<br>
            &lt;property name=&quot;valueType&quot;&gt;static&lt;/property&gt;<br>
            &lt;property name=&quot;dataType&quot;&gt;string&lt;/property&gt;<br>
            &lt;property name=&quot;paramType&quot;&gt;simple&lt;/property&gt;<br>
            &lt;text-property name=&quot;promptText&quot;&gt;login&lt;/text-property&gt;<br>
            &lt;property name=&quot;isRequired&quot;&gt;false&lt;/property&gt;<br>
            &lt;property name=&quot;controlType&quot;&gt;text-box&lt;/property&gt;<br>
            &lt;property name=&quot;distinct&quot;&gt;true&lt;/property&gt;<br>
            &lt;structure name=&quot;format&quot;&gt;<br>
                &lt;property name=&quot;category&quot;&gt;Unformatted&lt;/property&gt;<br>
            &lt;/structure&gt;<br>
        &lt;/scalar-parameter&gt;<br>
        &lt;scalar-parameter name=&quot;password&quot; id=&quot;28&quot;&gt;<br>
            &lt;property name=&quot;valueType&quot;&gt;static&lt;/property&gt;<br>
            &lt;property name=&quot;dataType&quot;&gt;string&lt;/property&gt;<br>
            &lt;property name=&quot;paramType&quot;&gt;simple&lt;/property&gt;<br>
            &lt;property name=&quot;isRequired&quot;&gt;false&lt;/property&gt;<br>
            &lt;property name=&quot;controlType&quot;&gt;text-box&lt;/property&gt;<br>
            &lt;property name=&quot;distinct&quot;&gt;true&lt;/property&gt;<br>
            &lt;structure name=&quot;format&quot;&gt;<br>
                &lt;property name=&quot;category&quot;&gt;Unformatted&lt;/property&gt;<br>
            &lt;/structure&gt;<br>
        &lt;/scalar-parameter&gt;<br>
    &lt;/parameters&gt;<br>
    &lt;data-sources&gt;<br>
        &lt;oda-data-source 
extensionID=&quot;org.eclipse.datatools.enablement.oda.xml&quot; 
name=&quot;queryXML&quot; id=&quot;26&quot;&gt;<br>
            &lt;property name=&quot;FILELIST&quot;&gt;C:\report1_datas.xml&lt;/property&gt;<br>
        &lt;/oda-data-source&gt;<br>
    &lt;/data-sources&gt;<br>
    &lt;data-sets&gt;<br>
        &lt;oda-data-set 
extensionID=&quot;org.eclipse.datatools.enablement.oda.xml.dataSet&quot; 
name=&quot;Data Set1&quot; id=&quot;52&quot;&gt;<br>
            &lt;structure name=&quot;cachedMetaData&quot;&gt;<br>
                &lt;list-property name=&quot;resultSet&quot;&gt;<br>
                    &lt;structure&gt;<br>
                        &lt;property name=&quot;position&quot;&gt;1&lt;/property&gt;<br>
                        &lt;property name=&quot;name&quot;&gt;Workey_Id&lt;/property&gt;<br>
                        &lt;property name=&quot;dataType&quot;&gt;string&lt;/property&gt;<br>
                    &lt;/structure&gt;<br>
                    &lt;structure&gt;<br>
                        &lt;property name=&quot;position&quot;&gt;2&lt;/property&gt;<br>
                        &lt;property 
name=&quot;name&quot;&gt;Workey_Doctype&lt;/property&gt;<br>
                        &lt;property name=&quot;dataType&quot;&gt;string&lt;/property&gt;<br>
                    &lt;/structure&gt;<br>
                    &lt;structure&gt;<br>
                        &lt;property name=&quot;position&quot;&gt;3&lt;/property&gt;<br>
                        &lt;property 
name=&quot;name&quot;&gt;Workey_Subject&lt;/property&gt;<br>
                        &lt;property name=&quot;dataType&quot;&gt;string&lt;/property&gt;<br>
                    &lt;/structure&gt;<br>
                &lt;/list-property&gt;<br>
            &lt;/structure&gt;<br>
            &lt;property name=&quot;dataSource&quot;&gt;queryXML&lt;/property&gt;<br>
            &lt;list-property name=&quot;resultSet&quot;&gt;<br>
                &lt;structure&gt;<br>
                    &lt;property name=&quot;position&quot;&gt;1&lt;/property&gt;<br>
                    &lt;property name=&quot;name&quot;&gt;Workey_Id&lt;/property&gt;<br>
                    &lt;property name=&quot;nativeName&quot;&gt;Workey_Id&lt;/property&gt;<br>
                    &lt;property name=&quot;dataType&quot;&gt;string&lt;/property&gt;<br>
                    &lt;property name=&quot;nativeDataType&quot;&gt;12&lt;/property&gt;<br>
                &lt;/structure&gt;<br>
                &lt;structure&gt;<br>
                    &lt;property name=&quot;position&quot;&gt;2&lt;/property&gt;<br>
                    &lt;property name=&quot;name&quot;&gt;Workey_Doctype&lt;/property&gt;<br>
                    &lt;property 
name=&quot;nativeName&quot;&gt;Workey_Doctype&lt;/property&gt;<br>
                    &lt;property name=&quot;dataType&quot;&gt;string&lt;/property&gt;<br>
                    &lt;property name=&quot;nativeDataType&quot;&gt;12&lt;/property&gt;<br>
                &lt;/structure&gt;<br>
                &lt;structure&gt;<br>
                    &lt;property name=&quot;position&quot;&gt;3&lt;/property&gt;<br>
                    &lt;property name=&quot;name&quot;&gt;Workey_Subject&lt;/property&gt;<br>
                    &lt;property 
name=&quot;nativeName&quot;&gt;Workey_Subject&lt;/property&gt;<br>
                    &lt;property name=&quot;dataType&quot;&gt;string&lt;/property&gt;<br>
                    &lt;property name=&quot;nativeDataType&quot;&gt;12&lt;/property&gt;<br>
                &lt;/structure&gt;<br>
            &lt;/list-property&gt;<br>
            &lt;property 
name=&quot;queryText&quot;&gt;table0#-TNAME-#table0#:#[/hits/hit]#:#{Workey_Id;STRING;/Workey_Id},{Workey_Doctype;STRING;/Workey_Doctype},{Workey_Subject;STRING;/Workey_Subject}#:#&amp;lt;&quot;&quot;,&quot;http:%%www.c-log.com%ns%workey-j2ee-api&quot;;&quot;xlink&quot;,&quot;http:%%www.w3.org%1999%xlink&quot;;&quot;xsi&quot;,&quot;http:%%www.w3.org%2001%XMLSchema-instance&quot;&gt;&lt;/property&gt; </tt><br>
<br>
<tt>            &lt;xml-property name=&quot;designerValues&quot;&gt;&lt;![CDATA[&lt;?xml 
version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br>
&lt;model:DesignValues 
xmlns:design=&quot;<a  href="http://www.eclipse.org/datatools/connectivity/oda/design&quot">http://www.eclipse.org/datatools/connectivity/oda/design&quot</a>; 
xmlns:model=&quot;<a  href="http://www.eclipse.org/birt/report/model/adapter/odaModel&quot">http://www.eclipse.org/birt/report/model/adapter/odaModel&quot</a>;&gt; </tt><br>
<br>
<tt>  &lt;Version&gt;1.0&lt;/Version&gt;<br>
  &lt;design:ResultSets derivedMetaData=&quot;true&quot;&gt;<br>
    &lt;design:resultSetDefinitions&gt;<br>
      &lt;design:resultSetColumns&gt;<br>
        &lt;design:resultColumnDefinitions&gt;<br>
          &lt;design:attributes&gt;<br>
            &lt;design:name&gt;Workey_Id&lt;/design:name&gt;<br>
            &lt;design:position&gt;1&lt;/design:position&gt;<br>
            &lt;design:nativeDataTypeCode&gt;12&lt;/design:nativeDataTypeCode&gt;<br>
            &lt;design:precision&gt;-1&lt;/design:precision&gt;<br>
            &lt;design:scale&gt;-1&lt;/design:scale&gt;<br>
            &lt;design:nullability&gt;Unknown&lt;/design:nullability&gt;<br>
          &lt;/design:attributes&gt;<br>
          &lt;design:usageHints&gt;<br>
            &lt;design:label&gt;Workey_Id&lt;/design:label&gt;<br>
            &lt;design:formattingHints/&gt;<br>
          &lt;/design:usageHints&gt;<br>
        &lt;/design:resultColumnDefinitions&gt;<br>
        &lt;design:resultColumnDefinitions&gt;<br>
          &lt;design:attributes&gt;<br>
            &lt;design:name&gt;Workey_Doctype&lt;/design:name&gt;<br>
            &lt;design:position&gt;2&lt;/design:position&gt;<br>
            &lt;design:nativeDataTypeCode&gt;12&lt;/design:nativeDataTypeCode&gt;<br>
            &lt;design:precision&gt;-1&lt;/design:precision&gt;<br>
            &lt;design:scale&gt;-1&lt;/design:scale&gt;<br>
            &lt;design:nullability&gt;Unknown&lt;/design:nullability&gt;<br>
          &lt;/design:attributes&gt;<br>
          &lt;design:usageHints&gt;<br>
            &lt;design:label&gt;Workey_Doctype&lt;/design:label&gt;<br>
            &lt;design:formattingHints/&gt;<br>
          &lt;/design:usageHints&gt;<br>
        &lt;/design:resultColumnDefinitions&gt;<br>
        &lt;design:resultColumnDefinitions&gt;<br>
          &lt;design:attributes&gt;<br>
            &lt;design:name&gt;Workey_Subject&lt;/design:name&gt;<br>
            &lt;design:position&gt;3&lt;/design:position&gt;<br>
            &lt;design:nativeDataTypeCode&gt;12&lt;/design:nativeDataTypeCode&gt;<br>
            &lt;design:precision&gt;-1&lt;/design:precision&gt;<br>
            &lt;design:scale&gt;-1&lt;/design:scale&gt;<br>
            &lt;design:nullability&gt;Unknown&lt;/design:nullability&gt;<br>
          &lt;/design:attributes&gt;<br>
          &lt;design:usageHints&gt;<br>
            &lt;design:label&gt;Workey_Subject&lt;/design:label&gt;<br>
            &lt;design:formattingHints/&gt;<br>
          &lt;/design:usageHints&gt;<br>
        &lt;/design:resultColumnDefinitions&gt;<br>
      &lt;/design:resultSetColumns&gt;<br>
    &lt;/design:resultSetDefinitions&gt;<br>
  &lt;/design:ResultSets&gt;<br>
&lt;/model:DesignValues&gt;]]&gt;&lt;/xml-property&gt;<br>
            &lt;list-property name=&quot;privateDriverProperties&quot;&gt;<br>
                &lt;ex-property&gt;<br>
                    &lt;name&gt;MAX_ROW&lt;/name&gt;<br>
                    &lt;value&gt;-1&lt;/value&gt;<br>
                &lt;/ex-property&gt;<br>
                &lt;ex-property&gt;<br>
                    &lt;name&gt;XML_FILE&lt;/name&gt;<br>
                &lt;/ex-property&gt;<br>
            &lt;/list-property&gt;<br>
        &lt;/oda-data-set&gt;<br>
    &lt;/data-sets&gt;<br>
    &lt;styles&gt;<br>
        &lt;style name=&quot;crosstab-cell&quot; id=&quot;24&quot;&gt;<br>
            &lt;property name=&quot;borderBottomColor&quot;&gt;#CCCCCC&lt;/property&gt;<br>
            &lt;property name=&quot;borderBottomStyle&quot;&gt;solid&lt;/property&gt;<br>
            &lt;property name=&quot;borderBottomWidth&quot;&gt;1pt&lt;/property&gt;<br>
            &lt;property name=&quot;borderLeftColor&quot;&gt;#CCCCCC&lt;/property&gt;<br>
            &lt;property name=&quot;borderLeftStyle&quot;&gt;solid&lt;/property&gt;<br>
            &lt;property name=&quot;borderLeftWidth&quot;&gt;1pt&lt;/property&gt;<br>
            &lt;property name=&quot;borderRightColor&quot;&gt;#CCCCCC&lt;/property&gt;<br>
            &lt;property name=&quot;borderRightStyle&quot;&gt;solid&lt;/property&gt;<br>
            &lt;property name=&quot;borderRightWidth&quot;&gt;1pt&lt;/property&gt;<br>
            &lt;property name=&quot;borderTopColor&quot;&gt;#CCCCCC&lt;/property&gt;<br>
            &lt;property name=&quot;borderTopStyle&quot;&gt;solid&lt;/property&gt;<br>
            &lt;property name=&quot;borderTopWidth&quot;&gt;1pt&lt;/property&gt;<br>
        &lt;/style&gt;<br>
        &lt;style name=&quot;crosstab&quot; id=&quot;25&quot;&gt;<br>
            &lt;property name=&quot;borderBottomColor&quot;&gt;#CCCCCC&lt;/property&gt;<br>
            &lt;property name=&quot;borderBottomStyle&quot;&gt;solid&lt;/property&gt;<br>
            &lt;property name=&quot;borderBottomWidth&quot;&gt;1pt&lt;/property&gt;<br>
            &lt;property name=&quot;borderLeftColor&quot;&gt;#CCCCCC&lt;/property&gt;<br>
            &lt;property name=&quot;borderLeftStyle&quot;&gt;solid&lt;/property&gt;<br>
            &lt;property name=&quot;borderLeftWidth&quot;&gt;1pt&lt;/property&gt;<br>
            &lt;property name=&quot;borderRightColor&quot;&gt;#CCCCCC&lt;/property&gt;<br>
            &lt;property name=&quot;borderRightStyle&quot;&gt;solid&lt;/property&gt;<br>
            &lt;property name=&quot;borderRightWidth&quot;&gt;1pt&lt;/property&gt;<br>
            &lt;property name=&quot;borderTopColor&quot;&gt;#CCCCCC&lt;/property&gt;<br>
            &lt;property name=&quot;borderTopStyle&quot;&gt;solid&lt;/property&gt;<br>
            &lt;property name=&quot;borderTopWidth&quot;&gt;1pt&lt;/property&gt;<br>
        &lt;/style&gt;<br>
    &lt;/styles&gt;<br>
    &lt;page-setup&gt;<br>
        &lt;simple-master-page name=&quot;Simple MasterPage&quot; id=&quot;2&quot;&gt;<br>
            &lt;page-footer&gt;<br>
                &lt;text id=&quot;3&quot;&gt;<br>
                    &lt;property name=&quot;contentType&quot;&gt;html&lt;/property&gt;<br>
                    &lt;text-property 
name=&quot;content&quot;&gt;&lt;![CDATA[&lt;value-of&gt;new 
Date()&lt;/value-of&gt;]]&gt;&lt;/text-property&gt;<br>
                &lt;/text&gt;<br>
            &lt;/page-footer&gt;<br>
        &lt;/simple-master-page&gt;<br>
    &lt;/page-setup&gt;<br>
    &lt;body&gt;<br>
        &lt;table id=&quot;53&quot;&gt;<br>
            &lt;property name=&quot;width&quot;&gt;100%&lt;/property&gt;<br>
            &lt;property name=&quot;dataSet&quot;&gt;Data Set1&lt;/property&gt;<br>
            &lt;list-property name=&quot;boundDataColumns&quot;&gt;<br>
                &lt;structure&gt;<br>
                    &lt;property name=&quot;name&quot;&gt;Workey_Id&lt;/property&gt;<br>
                    &lt;property name=&quot;displayName&quot;&gt;Workey_Id&lt;/property&gt;<br>
                    &lt;expression 
name=&quot;expression&quot;&gt;dataSetRow[&quot;Workey_Id&quot;]&lt;/expression&gt;<br>
                    &lt;property name=&quot;dataType&quot;&gt;string&lt;/property&gt;<br>
                &lt;/structure&gt;<br>
                &lt;structure&gt;<br>
                    &lt;property name=&quot;name&quot;&gt;Workey_Doctype&lt;/property&gt;<br>
                    &lt;property 
name=&quot;displayName&quot;&gt;Workey_Doctype&lt;/property&gt;<br>
                    &lt;expression 
name=&quot;expression&quot;&gt;dataSetRow[&quot;Workey_Doctype&quot;]&lt;/expression&gt;<br>
                    &lt;property name=&quot;dataType&quot;&gt;string&lt;/property&gt;<br>
                &lt;/structure&gt;<br>
                &lt;structure&gt;<br>
                    &lt;property name=&quot;name&quot;&gt;Workey_Subject&lt;/property&gt;<br>
                    &lt;property 
name=&quot;displayName&quot;&gt;Workey_Subject&lt;/property&gt;<br>
                    &lt;expression 
name=&quot;expression&quot;&gt;dataSetRow[&quot;Workey_Subject&quot;]&lt;/expression&gt;<br>
                    &lt;property name=&quot;dataType&quot;&gt;string&lt;/property&gt;<br>
                &lt;/structure&gt;<br>
            &lt;/list-property&gt;<br>
            &lt;column id=&quot;72&quot;/&gt;<br>
            &lt;column id=&quot;73&quot;/&gt;<br>
            &lt;column id=&quot;74&quot;/&gt;<br>
            &lt;header&gt;<br>
                &lt;row id=&quot;54&quot;&gt;<br>
                    &lt;cell id=&quot;55&quot;&gt;<br>
                        &lt;label id=&quot;56&quot;&gt;<br>
                            &lt;text-property 
name=&quot;text&quot;&gt;Workey_Id&lt;/text-property&gt;<br>
                        &lt;/label&gt;<br>
                    &lt;/cell&gt;<br>
                    &lt;cell id=&quot;57&quot;&gt;<br>
                        &lt;label id=&quot;58&quot;&gt;<br>
                            &lt;text-property 
name=&quot;text&quot;&gt;Workey_Doctype&lt;/text-property&gt;<br>
                        &lt;/label&gt;<br>
                    &lt;/cell&gt;<br>
                    &lt;cell id=&quot;59&quot;&gt;<br>
                        &lt;label id=&quot;60&quot;&gt;<br>
                            &lt;text-property 
name=&quot;text&quot;&gt;Workey_Subject&lt;/text-property&gt;<br>
                        &lt;/label&gt;<br>
                    &lt;/cell&gt;<br>
                &lt;/row&gt;<br>
            &lt;/header&gt;<br>
            &lt;detail&gt;<br>
                &lt;row id=&quot;61&quot;&gt;<br>
                    &lt;cell id=&quot;62&quot;&gt;<br>
                        &lt;data id=&quot;63&quot;&gt;<br>
                            &lt;property 
name=&quot;resultSetColumn&quot;&gt;Workey_Id&lt;/property&gt;<br>
                        &lt;/data&gt;<br>
                    &lt;/cell&gt;<br>
                    &lt;cell id=&quot;64&quot;&gt;<br>
                        &lt;data id=&quot;65&quot;&gt;<br>
                            &lt;property 
name=&quot;resultSetColumn&quot;&gt;Workey_Doctype&lt;/property&gt;<br>
                        &lt;/data&gt;<br>
                    &lt;/cell&gt;<br>
                    &lt;cell id=&quot;66&quot;&gt;<br>
                        &lt;data id=&quot;67&quot;&gt;<br>
                            &lt;property 
name=&quot;resultSetColumn&quot;&gt;Workey_Subject&lt;/property&gt;<br>
                        &lt;/data&gt;<br>
                    &lt;/cell&gt;<br>
                &lt;/row&gt;<br>
            &lt;/detail&gt;<br>
            &lt;footer&gt;<br>
                &lt;row id=&quot;68&quot;&gt;<br>
                    &lt;cell id=&quot;69&quot;/&gt;<br>
                    &lt;cell id=&quot;70&quot;/&gt;<br>
                    &lt;cell id=&quot;71&quot;/&gt;<br>
                &lt;/row&gt;<br>
            &lt;/footer&gt;<br>
        &lt;/table&gt;<br>
    &lt;/body&gt;<br>
&lt;/report&gt;<br>
-----
</tt></blockquote></blockquote></blockquote></blockquote></blockquote><br>
]]></content:encoded>
		<pubDate>Fri, 07 Nov 2008 15:17:29 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.birt/msg31289.html</guid>
		<author>jasonweathersby@xxxxxxx (Jason Weathersby)</author>
	</item>
	<item>
		<title>[news.eclipse.birt] Scripted Data Set on char</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.birt/msg31288.html</link>
		<description>Hello i have a big problem with my Birt Designer Version 2.2.2 On my report i'm using a scripted data source, within this it calls a java class that generates data from a table using a jdbc connection. This java class returns a vector to my report. Everyth...</description>
		<content:encoded><![CDATA[<pre style="margin: 0em;">Hello i have a big problem with my Birt Designer Version 2.2.2</pre><br>
<tt>On my report i'm using a scripted data source, within this it calls a java 
class that generates data from a table using a jdbc connection. This java 
class returns a vector to my report.<br>
Everything works fine within my report, i can us a table to give out the 
data.<br>
But if i'm using within a chart the scripted data set, the birt designer 
crashs and does shut down my whole eclipse environment.</tt><br>
<br>
<tt>Sometimes the error happens on selecting the scripted data set and 
sometimes i can select it, but if i try to run the report, eclipse and the 
birt designer crash too.</tt><br>
<br>
<tt>my data set </tt><br>
<br>
<pre style="margin: 0em;">Script:open</pre><br>
<pre style="margin: 0em;">TimeTableGeneratedClass = new Packages.TimeTableGeneratedExtension();
timetable = TimeTableGeneratedClass.readData();
totalrows = timetable.size();
currentrow = 0;</pre><br>
<pre style="margin: 0em;">Script:fetch</pre><br>
<pre style="margin: 0em;">if( currentrow &gt;= totalrows){
	return(false);
}
var favrow = timetable.get(currentrow);</pre><br>
<pre style="margin: 0em;">var test1 = favrow[0];
var test2 = favrow[1];
var test3 = favrow[2];
var test4 = favrow[3];
var test5 = favrow[4];
var test6 = favrow[5];</pre><br>
<pre style="margin: 0em;">row[&quot;TIME_ID&quot;]=test1;
row[&quot;TIMESTAMP_COL&quot;]=test2;
row[&quot;DAY_COL&quot;]=test3;
row[&quot;WEEK&quot;]=test4;
row[&quot;MONTH_COL&quot;]=test5;
row[&quot;YEAR_COL&quot;]=test6;
currentrow = currentrow + 1;
return(true);</pre><br>
<pre style="margin: 0em;"><br>Script:close</pre><br>
<pre style="margin: 0em;">TimeTableGeneratedClass = null;
timetable = null;</pre><br>
<pre style="margin: 0em;"><br></pre><br>
<pre style="margin: 0em;">my java class seems to be fine</pre><br>
<tt><br>import java.sql.Connection;<br>
import java.sql.DriverManager;<br>
import java.sql.ResultSet;<br>
import java.sql.SQLException;<br>
import java.sql.Statement;<br>
import java.util.Vector;<br>
public class TimeTableGeneratedExtension<br>
{<br>
	private String username = &quot;&quot;;<br>
	private String password = &quot;&quot;;<br>
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
	private ResultSet rs;<br>
	private Statement stmt;<br>
	<br>
	<br>
	<br>
	public Vector readData(){<br>
	<br>
		Vector rtnV = new Vector();	<br>
		Connection con = null;	<br>
		try {<br>
			Class.forName(&quot;com.ibm.db2.jcc.DB2Driver&quot;);<br>
		} catch (ClassNotFoundException exc) {<br>
			System.err.println(&quot;ERROR on loading DB2Driver:&quot; + exc.toString());<br>
			System.exit(1);<br>
		}	<br>
			<br>
		con = getConnection();	<br>
		<br>
		if(con !=null){<br>
			try {<br>
				try{<br>
					stmt = con.createStatement();<br>
				}catch(SQLException exc){<br>
					System.out.println(&quot;ERROR on creating statement:&quot; + exc.toString());<br>
					return null;<br>
				}<br>
				<br>
				try{<br>
					rs = stmt.executeQuery(&quot;SELECT TIME_ID, TIMESTAMP_COL, DAY_COL, WEEK, 
MONTH_COL, YEAR_COL FROM COMMON_SNAPSHOT.TIME_TBL&quot;);<br>
				}catch(SQLException exc){<br>
					System.out.println(&quot;ERROR on executing query:&quot; + exc.toString());<br>
					return null;<br>
				}<br>
				<br>
				while (rs.next()){<br>
					long timeid = rs.getLong(&quot;TIME_ID&quot;);<br>
					String timestampcol = rs.getString(&quot;TIMESTAMP_COL&quot;);<br>
					String daycol = rs.getString(&quot;DAY_COL&quot;);<br>
					String week = rs.getString(&quot;WEEK&quot;);<br>
					String monthcol = rs.getString(&quot;MONTH_COL&quot;);<br>
					String yearcol = rs.getString(&quot;YEAR_COL&quot;);<br>
					rtnV.add(new String[]{Long.toString(timeid), timestampcol, daycol, 
week, monthcol, yearcol});<br>
				 }<br>
	<br>
				return (rtnV);<br>
	<br>
			} catch (SQLException exc) {<br>
				return null;<br>
			}<br>
		}else{<br>
			return null;<br>
		}<br>
		<br>
	<br>
	}<br>
	<br>
	<br>
	<br>
	public Connection getConnection(){<br>
		Connection con = null;<br>
		try {<br>
		String url = &quot;jdbc:db2://localhost:50000/JAZZ&quot;;<br>
		con = DriverManager.getConnection(url, username, password);<br>
		return con;<br>
		} catch (SQLException exc) {<br>
			System.err.println(&quot;ERROR on creating connection:&quot; + exc.toString());<br>
			return con;<br>
		}<br>
	}<br>
	<br>
	<br>
 public static void main(String[] args)<br>
  {  
	TimeTableGeneratedExtension sc = new TimeTableGeneratedExtension();<br>
	Vector rtn = sc.readData();<br>
	<br>
	int t = 0;<br>
	for( int i=0; i&lt;rtn.size(); i++ ){<br>
		String[] test = (String[])rtn.elementAt(i);<br>
		System.out.println(t++ +&quot; &quot; +test[0] +&quot; &quot;+ test[1] +&quot; &quot;+ test[2] + &quot; &quot; + 
test[3] + &quot; &quot; + test[4] + &quot; &quot; + test[5]);<br>
	}<br>
  }<br>
}</tt><br>
<br>
<pre style="margin: 0em;"><br></pre><br>
<pre style="margin: 0em;"><br></pre><br>
<br>
]]></content:encoded>
		<pubDate>Fri, 07 Nov 2008 14:32:18 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.birt/msg31288.html</guid>
		<author>ralph@xxxxxxx (ralph k)</author>
	</item>
	<item>
		<title>[news.eclipse.birt] Data nd Text fields functionality</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.birt/msg31287.html</link>
		<description>Hi, For one of my reports I want a mix of funactionality from Text and Data item. Data in HTML I am getting from database and I am binding that column to a data field for which I want HTML style to be applied. Is there any way to achieve this? Thanks and r...</description>
		<content:encoded><![CDATA[<pre style="margin: 0em;">Hi,</pre><br>
<tt>For one of my reports I want a mix of funactionality from Text and Data 
item. 
Data in HTML I am getting from database and I am binding that column to a 
data field for which I want HTML style to be applied. Is there any way to 
achieve this?</tt><br>
<br>
<pre style="margin: 0em;">Thanks and regards,
Shomy Jose</pre><br>
<pre style="margin: 0em;"><br></pre><br>
<br>
]]></content:encoded>
		<pubDate>Fri, 07 Nov 2008 12:16:36 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.birt/msg31287.html</guid>
		<author>shomy.jose@xxxxxxx (Shomy Jose)</author>
	</item>
	<item>
		<title>[news.eclipse.birt] Re: Report with cover and detail pages</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.birt/msg31286.html</link>
		<description>I got the solution for the question. Thanks </description>
		<content:encoded><![CDATA[<pre style="margin: 0em;">I got the solution for the question.</pre><br>
<pre style="margin: 0em;">Thanks</pre><br>
<br>
]]></content:encoded>
		<pubDate>Fri, 07 Nov 2008 11:19:13 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.birt/msg31286.html</guid>
		<author>shomy.jose@xxxxxxx (Shomy Jose)</author>
	</item>
	<item>
		<title>[news.eclipse.birt] PDF Page Breaks when Detail Row breaks</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.birt/msg31285.html</link>
		<description>Hi there, i have a problem on layouting a report for PDF-output: Whenever a detailrow contains long content, it automatically breaks in two lines and so the last line of the page is moved on the next page. After this last line (which is already on a new pa...</description>
		<content:encoded><![CDATA[<pre style="margin: 0em;">Hi there,</pre><br>
<tt>i have a problem on layouting a report for PDF-output:<br>
Whenever a detailrow contains long content, it automatically breaks in 
two lines and so the last line of the page is moved on the next page.<br>
After this last line (which is already on a new page) the page break 
occurs and the rest of the page is empty...</tt><br>
<br>
<tt>Is there a possibility to avoid this?<br>
Or at least to avoid the automatical break of a detail-row when the 
content is too long?</tt><br>
<br>
<pre style="margin: 0em;">Tanks in advance,
Adnul</pre><br>
]]></content:encoded>
		<pubDate>Fri, 07 Nov 2008 10:33:29 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.birt/msg31285.html</guid>
		<author>adnul@xxxxxxx (Adn Nul)</author>
	</item>
	<item>
		<title>[news.eclipse.birt] Re: Error on report (preview tab) &quot;The report contains errors, would you like to continue for previewing&quot;</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.birt/msg31284.html</link>
		<description>It works in the both cases however it display the error message in popup. The expression.txt is well created. Jason Weathersby a &amp;#xE9;crit : </description>
		<content:encoded><![CDATA[<pre style="margin: 0em;">It works in the both cases however it display the error message in popup.
The expression.txt is well created.</pre><br>
<tt>Jason Weathersby a &#xE9;crit :
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">Moi,</pre><br>
<pre style="margin: 0em;">Does the expression.txt file get created?
When you drop the expression does it work?</pre><br>
<pre style="margin: 0em;">Jason</pre><br>
<tt>moi wrote:
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">No there is no error trace at the bottom of the report.
The expression :
&lt;&lt;
// To comment only there for design time
    importPackage( Packages.java.io );
    importPackage( Packages.javax.servlet.http );</pre><br>
<pre style="margin: 0em;">    var cookies = reportContext.getHttpServletRequest( ).getCookies();</pre><br>
<tt>    out = new PrintWriter( new FileWriter( &quot;c:/expression.txt&quot;, true ) );<br>
    var login;<br>
    var password;<br>
    out.println(&quot;fetching cookies&quot;);<br>
    out.println(&quot;cookies.length : &quot; + cookies.length);<br>
            for(var i=0; i &lt; cookies.length; i++) {<br>
                var monCookie = cookies[i];<br>
                out.println(&quot;cookie found : &quot; + monCookie.getName());<br>
                if (monCookie.getName().equals(&quot;report_login&quot;)) {<br>
                    login = cookies[i].getValue();<br>
                }<br>
                else if 
(monCookie.getName().equals(&quot;report_password&quot;)) {               
                    password = cookies[i].getValue();<br>
                }<br>
            }</tt><br>
<br>
<pre style="margin: 0em;">out.println( &quot;login : &quot; + login);
out.println( &quot;password : &quot; + password);</pre><br>
<tt>if (login != null) {<br>
    out.close();<br>
    &quot;<a  href="http://localhost:6060/orsid_js/xmlQuery.jsp?login=&quot">http://localhost:6060/orsid_js/xmlQuery.jsp?login=&quot</a>; + login + 
&quot;&amp;password=&quot; + password;<br>
}<br>
else {<br>
    out.close();<br>
    &quot;C:\\report1_datas.xml&quot;;<br>
}<br>
 &gt;&gt;</tt><br>
<br>
<tt>Jason Weathersby a &#xE9;crit :
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">Moi,</pre><br>
<tt>Do you get an error trace at the bottom of the report?<br>
Can you drop the expression in property binding?  I assume this is 
where it is happening.  Add a little of it back at a time.</tt><br>
<br>
<pre style="margin: 0em;">Jason</pre><br>
<tt>moi wrote:
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">Hi,</pre><br>
<tt>A report generated with birt 2.3.1 shows the error : &quot;The report 
contains errors, would you like to continue for previewing&quot;.</tt><br>
<br>
<pre style="margin: 0em;">Do you know where is the error ? I cannot find it.</pre><br>
<pre style="margin: 0em;">Regards,
Moi.</pre><br>
<tt>-----<br>
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br>
&lt;report xmlns=&quot;<a  href="http://www.eclipse.org/birt/2005/design&quot">http://www.eclipse.org/birt/2005/design&quot</a>; 
version=&quot;3.2.17&quot; id=&quot;1&quot;&gt;<br>
    &lt;property name=&quot;createdBy&quot;&gt;Eclipse BIRT Designer Version 
2.3.1.v20080911 Build &amp;lt;2.3.1.v20080922-1151&gt;&lt;/property&gt;<br>
    &lt;property name=&quot;units&quot;&gt;in&lt;/property&gt;<br>
    &lt;list-property name=&quot;propertyBindings&quot;&gt;<br>
        &lt;structure&gt;<br>
            &lt;property name=&quot;name&quot;&gt;FILELIST&lt;/property&gt;<br>
            &lt;property name=&quot;id&quot;&gt;26&lt;/property&gt;<br>
            &lt;expression name=&quot;value&quot;&gt;// To comment only there for 
design time<br>
    importPackage( Packages.java.io );<br>
    importPackage( Packages.javax.servlet.http );</tt><br>
<br>
<pre style="margin: 0em;">    var cookies = reportContext.getHttpServletRequest( ).getCookies();</pre><br>
<tt>    out = new PrintWriter( new FileWriter( &quot;c:/expression.txt&quot;, true 
) );<br>
    var login;<br>
    var password;<br>
    out.println(&quot;fetching cookies&quot;);<br>
    out.println(&quot;cookies.length : &quot; + cookies.length);<br>
            for(var i=0; i &amp;lt; cookies.length; i++) {<br>
                var monCookie = cookies[i];<br>
                out.println(&quot;cookie found : &quot; + monCookie);<br>
                if (monCookie.getName().equals(&quot;report_login&quot;)) {<br>
                    login = cookies[i].getValue();<br>
                }<br>
                else if 
(monCookie.getName().equals(&quot;report_password&quot;)) {               
                    password = cookies[i].getValue();<br>
                }<br>
            }</tt><br>
<br>
<pre style="margin: 0em;">var request = reportContext.getHttpServletRequest();
var login = request.getSession().getAttribute(&quot;login&quot;);
var password = request.getSession().getAttribute(&quot;password&quot;);</pre><br>
<pre style="margin: 0em;">out.println( &quot;login : &quot; + login);
out.println( &quot;password : &quot; + password);</pre><br>
<tt>if (login != null) {<br>
    out.close();<br>
    &quot;<a  href="http://localhost:6060/orsid_js/xmlQuery.jsp?login=&quot">http://localhost:6060/orsid_js/xmlQuery.jsp?login=&quot</a>; + login + 
&quot;&amp;amp;password=&quot; + password;<br>
}<br>
else {<br>
    out.close();<br>
    &quot;C:\\report1_datas.xml&quot;;<br>
}&lt;/expression&gt;<br>
        &lt;/structure&gt;<br>
    &lt;/list-property&gt;<br>
    &lt;property name=&quot;iconFile&quot;&gt;/templates/simple_listing.gif&lt;/property&gt;<br>
    &lt;property 
name=&quot;cheatSheet&quot;&gt;org.eclipse.birt.report.designer.ui.cheatsheet.simplelisting&lt;/property&gt; </tt><br>
<br>
<tt>    &lt;property name=&quot;bidiLayoutOrientation&quot;&gt;ltr&lt;/property&gt;<br>
    &lt;parameters&gt;<br>
        &lt;scalar-parameter name=&quot;login&quot; id=&quot;27&quot;&gt;<br>
            &lt;property name=&quot;valueType&quot;&gt;static&lt;/property&gt;<br>
            &lt;property name=&quot;dataType&quot;&gt;string&lt;/property&gt;<br>
            &lt;property name=&quot;paramType&quot;&gt;simple&lt;/property&gt;<br>
            &lt;text-property name=&quot;promptText&quot;&gt;login&lt;/text-property&gt;<br>
            &lt;property name=&quot;isRequired&quot;&gt;false&lt;/property&gt;<br>
            &lt;property name=&quot;controlType&quot;&gt;text-box&lt;/property&gt;<br>
            &lt;property name=&quot;distinct&quot;&gt;true&lt;/property&gt;<br>
            &lt;structure name=&quot;format&quot;&gt;<br>
                &lt;property name=&quot;category&quot;&gt;Unformatted&lt;/property&gt;<br>
            &lt;/structure&gt;<br>
        &lt;/scalar-parameter&gt;<br>
        &lt;scalar-parameter name=&quot;password&quot; id=&quot;28&quot;&gt;<br>
            &lt;property name=&quot;valueType&quot;&gt;static&lt;/property&gt;<br>
            &lt;property name=&quot;dataType&quot;&gt;string&lt;/property&gt;<br>
            &lt;property name=&quot;paramType&quot;&gt;simple&lt;/property&gt;<br>
            &lt;property name=&quot;isRequired&quot;&gt;false&lt;/property&gt;<br>
            &lt;property name=&quot;controlType&quot;&gt;text-box&lt;/property&gt;<br>
            &lt;property name=&quot;distinct&quot;&gt;true&lt;/property&gt;<br>
            &lt;structure name=&quot;format&quot;&gt;<br>
                &lt;property name=&quot;category&quot;&gt;Unformatted&lt;/property&gt;<br>
            &lt;/structure&gt;<br>
        &lt;/scalar-parameter&gt;<br>
    &lt;/parameters&gt;<br>
    &lt;data-sources&gt;<br>
        &lt;oda-data-source 
extensionID=&quot;org.eclipse.datatools.enablement.oda.xml&quot; 
name=&quot;queryXML&quot; id=&quot;26&quot;&gt;<br>
            &lt;property name=&quot;FILELIST&quot;&gt;C:\report1_datas.xml&lt;/property&gt;<br>
        &lt;/oda-data-source&gt;<br>
    &lt;/data-sources&gt;<br>
    &lt;data-sets&gt;<br>
        &lt;oda-data-set 
extensionID=&quot;org.eclipse.datatools.enablement.oda.xml.dataSet&quot; 
name=&quot;Data Set1&quot; id=&quot;52&quot;&gt;<br>
            &lt;structure name=&quot;cachedMetaData&quot;&gt;<br>
                &lt;list-property name=&quot;resultSet&quot;&gt;<br>
                    &lt;structure&gt;<br>
                        &lt;property name=&quot;position&quot;&gt;1&lt;/property&gt;<br>
                        &lt;property name=&quot;name&quot;&gt;Workey_Id&lt;/property&gt;<br>
                        &lt;property name=&quot;dataType&quot;&gt;string&lt;/property&gt;<br>
                    &lt;/structure&gt;<br>
                    &lt;structure&gt;<br>
                        &lt;property name=&quot;position&quot;&gt;2&lt;/property&gt;<br>
                        &lt;property name=&quot;name&quot;&gt;Workey_Doctype&lt;/property&gt;<br>
                        &lt;property name=&quot;dataType&quot;&gt;string&lt;/property&gt;<br>
                    &lt;/structure&gt;<br>
                    &lt;structure&gt;<br>
                        &lt;property name=&quot;position&quot;&gt;3&lt;/property&gt;<br>
                        &lt;property name=&quot;name&quot;&gt;Workey_Subject&lt;/property&gt;<br>
                        &lt;property name=&quot;dataType&quot;&gt;string&lt;/property&gt;<br>
                    &lt;/structure&gt;<br>
                &lt;/list-property&gt;<br>
            &lt;/structure&gt;<br>
            &lt;property name=&quot;dataSource&quot;&gt;queryXML&lt;/property&gt;<br>
            &lt;list-property name=&quot;resultSet&quot;&gt;<br>
                &lt;structure&gt;<br>
                    &lt;property name=&quot;position&quot;&gt;1&lt;/property&gt;<br>
                    &lt;property name=&quot;name&quot;&gt;Workey_Id&lt;/property&gt;<br>
                    &lt;property name=&quot;nativeName&quot;&gt;Workey_Id&lt;/property&gt;<br>
                    &lt;property name=&quot;dataType&quot;&gt;string&lt;/property&gt;<br>
                    &lt;property name=&quot;nativeDataType&quot;&gt;12&lt;/property&gt;<br>
                &lt;/structure&gt;<br>
                &lt;structure&gt;<br>
                    &lt;property name=&quot;position&quot;&gt;2&lt;/property&gt;<br>
                    &lt;property name=&quot;name&quot;&gt;Workey_Doctype&lt;/property&gt;<br>
                    &lt;property 
name=&quot;nativeName&quot;&gt;Workey_Doctype&lt;/property&gt;<br>
                    &lt;property name=&quot;dataType&quot;&gt;string&lt;/property&gt;<br>
                    &lt;property name=&quot;nativeDataType&quot;&gt;12&lt;/property&gt;<br>
                &lt;/structure&gt;<br>
                &lt;structure&gt;<br>
                    &lt;property name=&quot;position&quot;&gt;3&lt;/property&gt;<br>
                    &lt;property name=&quot;name&quot;&gt;Workey_Subject&lt;/property&gt;<br>
                    &lt;property 
name=&quot;nativeName&quot;&gt;Workey_Subject&lt;/property&gt;<br>
                    &lt;property name=&quot;dataType&quot;&gt;string&lt;/property&gt;<br>
                    &lt;property name=&quot;nativeDataType&quot;&gt;12&lt;/property&gt;<br>
                &lt;/structure&gt;<br>
            &lt;/list-property&gt;<br>
            &lt;property 
name=&quot;queryText&quot;&gt;table0#-TNAME-#table0#:#[/hits/hit]#:#{Workey_Id;STRING;/Workey_Id},{Workey_Doctype;STRING;/Workey_Doctype},{Workey_Subject;STRING;/Workey_Subject}#:#&amp;lt;&quot;&quot;,&quot;http:%%www.c-log.com%ns%workey-j2ee-api&quot;;&quot;xlink&quot;,&quot;http:%%www.w3.org%1999%xlink&quot;;&quot;xsi&quot;,&quot;http:%%www.w3.org%2001%XMLSchema-instance&quot;&gt;&lt;/property&gt; </tt><br>
<br>
<tt>            &lt;xml-property name=&quot;designerValues&quot;&gt;&lt;![CDATA[&lt;?xml 
version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br>
&lt;model:DesignValues 
xmlns:design=&quot;<a  href="http://www.eclipse.org/datatools/connectivity/oda/design&quot">http://www.eclipse.org/datatools/connectivity/oda/design&quot</a>; 
xmlns:model=&quot;<a  href="http://www.eclipse.org/birt/report/model/adapter/odaModel&quot">http://www.eclipse.org/birt/report/model/adapter/odaModel&quot</a>;&gt; </tt><br>
<br>
<tt>  &lt;Version&gt;1.0&lt;/Version&gt;<br>
  &lt;design:ResultSets derivedMetaData=&quot;true&quot;&gt;<br>
    &lt;design:resultSetDefinitions&gt;<br>
      &lt;design:resultSetColumns&gt;<br>
        &lt;design:resultColumnDefinitions&gt;<br>
          &lt;design:attributes&gt;<br>
            &lt;design:name&gt;Workey_Id&lt;/design:name&gt;<br>
            &lt;design:position&gt;1&lt;/design:position&gt;<br>
            &lt;design:nativeDataTypeCode&gt;12&lt;/design:nativeDataTypeCode&gt;<br>
            &lt;design:precision&gt;-1&lt;/design:precision&gt;<br>
            &lt;design:scale&gt;-1&lt;/design:scale&gt;<br>
            &lt;design:nullability&gt;Unknown&lt;/design:nullability&gt;<br>
          &lt;/design:attributes&gt;<br>
          &lt;design:usageHints&gt;<br>
            &lt;design:label&gt;Workey_Id&lt;/design:label&gt;<br>
            &lt;design:formattingHints/&gt;<br>
          &lt;/design:usageHints&gt;<br>
        &lt;/design:resultColumnDefinitions&gt;<br>
        &lt;design:resultColumnDefinitions&gt;<br>
          &lt;design:attributes&gt;<br>
            &lt;design:name&gt;Workey_Doctype&lt;/design:name&gt;<br>
            &lt;design:position&gt;2&lt;/design:position&gt;<br>
            &lt;design:nativeDataTypeCode&gt;12&lt;/design:nativeDataTypeCode&gt;<br>
            &lt;design:precision&gt;-1&lt;/design:precision&gt;<br>
            &lt;design:scale&gt;-1&lt;/design:scale&gt;<br>
            &lt;design:nullability&gt;Unknown&lt;/design:nullability&gt;<br>
          &lt;/design:attributes&gt;<br>
          &lt;design:usageHints&gt;<br>
            &lt;design:label&gt;Workey_Doctype&lt;/design:label&gt;<br>
            &lt;design:formattingHints/&gt;<br>
          &lt;/design:usageHints&gt;<br>
        &lt;/design:resultColumnDefinitions&gt;<br>
        &lt;design:resultColumnDefinitions&gt;<br>
          &lt;design:attributes&gt;<br>
            &lt;design:name&gt;Workey_Subject&lt;/design:name&gt;<br>
            &lt;design:position&gt;3&lt;/design:position&gt;<br>
            &lt;design:nativeDataTypeCode&gt;12&lt;/design:nativeDataTypeCode&gt;<br>
            &lt;design:precision&gt;-1&lt;/design:precision&gt;<br>
            &lt;design:scale&gt;-1&lt;/design:scale&gt;<br>
            &lt;design:nullability&gt;Unknown&lt;/design:nullability&gt;<br>
          &lt;/design:attributes&gt;<br>
          &lt;design:usageHints&gt;<br>
            &lt;design:label&gt;Workey_Subject&lt;/design:label&gt;<br>
            &lt;design:formattingHints/&gt;<br>
          &lt;/design:usageHints&gt;<br>
        &lt;/design:resultColumnDefinitions&gt;<br>
      &lt;/design:resultSetColumns&gt;<br>
    &lt;/design:resultSetDefinitions&gt;<br>
  &lt;/design:ResultSets&gt;<br>
&lt;/model:DesignValues&gt;]]&gt;&lt;/xml-property&gt;<br>
            &lt;list-property name=&quot;privateDriverProperties&quot;&gt;<br>
                &lt;ex-property&gt;<br>
                    &lt;name&gt;MAX_ROW&lt;/name&gt;<br>
                    &lt;value&gt;-1&lt;/value&gt;<br>
                &lt;/ex-property&gt;<br>
                &lt;ex-property&gt;<br>
                    &lt;name&gt;XML_FILE&lt;/name&gt;<br>
                &lt;/ex-property&gt;<br>
            &lt;/list-property&gt;<br>
        &lt;/oda-data-set&gt;<br>
    &lt;/data-sets&gt;<br>
    &lt;styles&gt;<br>
        &lt;style name=&quot;crosstab-cell&quot; id=&quot;24&quot;&gt;<br>
            &lt;property name=&quot;borderBottomColor&quot;&gt;#CCCCCC&lt;/property&gt;<br>
            &lt;property name=&quot;borderBottomStyle&quot;&gt;solid&lt;/property&gt;<br>
            &lt;property name=&quot;borderBottomWidth&quot;&gt;1pt&lt;/property&gt;<br>
            &lt;property name=&quot;borderLeftColor&quot;&gt;#CCCCCC&lt;/property&gt;<br>
            &lt;property name=&quot;borderLeftStyle&quot;&gt;solid&lt;/property&gt;<br>
            &lt;property name=&quot;borderLeftWidth&quot;&gt;1pt&lt;/property&gt;<br>
            &lt;property name=&quot;borderRightColor&quot;&gt;#CCCCCC&lt;/property&gt;<br>
            &lt;property name=&quot;borderRightStyle&quot;&gt;solid&lt;/property&gt;<br>
            &lt;property name=&quot;borderRightWidth&quot;&gt;1pt&lt;/property&gt;<br>
            &lt;property name=&quot;borderTopColor&quot;&gt;#CCCCCC&lt;/property&gt;<br>
            &lt;property name=&quot;borderTopStyle&quot;&gt;solid&lt;/property&gt;<br>
            &lt;property name=&quot;borderTopWidth&quot;&gt;1pt&lt;/property&gt;<br>
        &lt;/style&gt;<br>
        &lt;style name=&quot;crosstab&quot; id=&quot;25&quot;&gt;<br>
            &lt;property name=&quot;borderBottomColor&quot;&gt;#CCCCCC&lt;/property&gt;<br>
            &lt;property name=&quot;borderBottomStyle&quot;&gt;solid&lt;/property&gt;<br>
            &lt;property name=&quot;borderBottomWidth&quot;&gt;1pt&lt;/property&gt;<br>
            &lt;property name=&quot;borderLeftColor&quot;&gt;#CCCCCC&lt;/property&gt;<br>
            &lt;property name=&quot;borderLeftStyle&quot;&gt;solid&lt;/property&gt;<br>
            &lt;property name=&quot;borderLeftWidth&quot;&gt;1pt&lt;/property&gt;<br>
            &lt;property name=&quot;borderRightColor&quot;&gt;#CCCCCC&lt;/property&gt;<br>
            &lt;property name=&quot;borderRightStyle&quot;&gt;solid&lt;/property&gt;<br>
            &lt;property name=&quot;borderRightWidth&quot;&gt;1pt&lt;/property&gt;<br>
            &lt;property name=&quot;borderTopColor&quot;&gt;#CCCCCC&lt;/property&gt;<br>
            &lt;property name=&quot;borderTopStyle&quot;&gt;solid&lt;/property&gt;<br>
            &lt;property name=&quot;borderTopWidth&quot;&gt;1pt&lt;/property&gt;<br>
        &lt;/style&gt;<br>
    &lt;/styles&gt;<br>
    &lt;page-setup&gt;<br>
        &lt;simple-master-page name=&quot;Simple MasterPage&quot; id=&quot;2&quot;&gt;<br>
            &lt;page-footer&gt;<br>
                &lt;text id=&quot;3&quot;&gt;<br>
                    &lt;property name=&quot;contentType&quot;&gt;html&lt;/property&gt;<br>
                    &lt;text-property 
name=&quot;content&quot;&gt;&lt;![CDATA[&lt;value-of&gt;new 
Date()&lt;/value-of&gt;]]&gt;&lt;/text-property&gt;<br>
                &lt;/text&gt;<br>
            &lt;/page-footer&gt;<br>
        &lt;/simple-master-page&gt;<br>
    &lt;/page-setup&gt;<br>
    &lt;body&gt;<br>
        &lt;table id=&quot;53&quot;&gt;<br>
            &lt;property name=&quot;width&quot;&gt;100%&lt;/property&gt;<br>
            &lt;property name=&quot;dataSet&quot;&gt;Data Set1&lt;/property&gt;<br>
            &lt;list-property name=&quot;boundDataColumns&quot;&gt;<br>
                &lt;structure&gt;<br>
                    &lt;property name=&quot;name&quot;&gt;Workey_Id&lt;/property&gt;<br>
                    &lt;property name=&quot;displayName&quot;&gt;Workey_Id&lt;/property&gt;<br>
                    &lt;expression 
name=&quot;expression&quot;&gt;dataSetRow[&quot;Workey_Id&quot;]&lt;/expression&gt;<br>
                    &lt;property name=&quot;dataType&quot;&gt;string&lt;/property&gt;<br>
                &lt;/structure&gt;<br>
                &lt;structure&gt;<br>
                    &lt;property name=&quot;name&quot;&gt;Workey_Doctype&lt;/property&gt;<br>
                    &lt;property 
name=&quot;displayName&quot;&gt;Workey_Doctype&lt;/property&gt;<br>
                    &lt;expression 
name=&quot;expression&quot;&gt;dataSetRow[&quot;Workey_Doctype&quot;]&lt;/expression&gt;<br>
                    &lt;property name=&quot;dataType&quot;&gt;string&lt;/property&gt;<br>
                &lt;/structure&gt;<br>
                &lt;structure&gt;<br>
                    &lt;property name=&quot;name&quot;&gt;Workey_Subject&lt;/property&gt;<br>
                    &lt;property 
name=&quot;displayName&quot;&gt;Workey_Subject&lt;/property&gt;<br>
                    &lt;expression 
name=&quot;expression&quot;&gt;dataSetRow[&quot;Workey_Subject&quot;]&lt;/expression&gt;<br>
                    &lt;property name=&quot;dataType&quot;&gt;string&lt;/property&gt;<br>
                &lt;/structure&gt;<br>
            &lt;/list-property&gt;<br>
            &lt;column id=&quot;72&quot;/&gt;<br>
            &lt;column id=&quot;73&quot;/&gt;<br>
            &lt;column id=&quot;74&quot;/&gt;<br>
            &lt;header&gt;<br>
                &lt;row id=&quot;54&quot;&gt;<br>
                    &lt;cell id=&quot;55&quot;&gt;<br>
                        &lt;label id=&quot;56&quot;&gt;<br>
                            &lt;text-property 
name=&quot;text&quot;&gt;Workey_Id&lt;/text-property&gt;<br>
                        &lt;/label&gt;<br>
                    &lt;/cell&gt;<br>
                    &lt;cell id=&quot;57&quot;&gt;<br>
                        &lt;label id=&quot;58&quot;&gt;<br>
                            &lt;text-property 
name=&quot;text&quot;&gt;Workey_Doctype&lt;/text-property&gt;<br>
                        &lt;/label&gt;<br>
                    &lt;/cell&gt;<br>
                    &lt;cell id=&quot;59&quot;&gt;<br>
                        &lt;label id=&quot;60&quot;&gt;<br>
                            &lt;text-property 
name=&quot;text&quot;&gt;Workey_Subject&lt;/text-property&gt;<br>
                        &lt;/label&gt;<br>
                    &lt;/cell&gt;<br>
                &lt;/row&gt;<br>
            &lt;/header&gt;<br>
            &lt;detail&gt;<br>
                &lt;row id=&quot;61&quot;&gt;<br>
                    &lt;cell id=&quot;62&quot;&gt;<br>
                        &lt;data id=&quot;63&quot;&gt;<br>
                            &lt;property 
name=&quot;resultSetColumn&quot;&gt;Workey_Id&lt;/property&gt;<br>
                        &lt;/data&gt;<br>
                    &lt;/cell&gt;<br>
                    &lt;cell id=&quot;64&quot;&gt;<br>
                        &lt;data id=&quot;65&quot;&gt;<br>
                            &lt;property 
name=&quot;resultSetColumn&quot;&gt;Workey_Doctype&lt;/property&gt;<br>
                        &lt;/data&gt;<br>
                    &lt;/cell&gt;<br>
                    &lt;cell id=&quot;66&quot;&gt;<br>
                        &lt;data id=&quot;67&quot;&gt;<br>
                            &lt;property 
name=&quot;resultSetColumn&quot;&gt;Workey_Subject&lt;/property&gt;<br>
                        &lt;/data&gt;<br>
                    &lt;/cell&gt;<br>
                &lt;/row&gt;<br>
            &lt;/detail&gt;<br>
            &lt;footer&gt;<br>
                &lt;row id=&quot;68&quot;&gt;<br>
                    &lt;cell id=&quot;69&quot;/&gt;<br>
                    &lt;cell id=&quot;70&quot;/&gt;<br>
                    &lt;cell id=&quot;71&quot;/&gt;<br>
                &lt;/row&gt;<br>
            &lt;/footer&gt;<br>
        &lt;/table&gt;<br>
    &lt;/body&gt;<br>
&lt;/report&gt;<br>
-----
</tt></blockquote></blockquote></blockquote></blockquote><br>
]]></content:encoded>
		<pubDate>Fri, 07 Nov 2008 10:20:16 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.birt/msg31284.html</guid>
		<author>moi@xxxxxxx (moi)</author>
	</item>
	<item>
		<title>[news.eclipse.birt] Re: Chaning thousand separator</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.birt/msg31283.html</link>
		<description>Hi Jason! Thanks for this one. Nevertheless the customer who asked for using the apostrophe as thousand separator works in Switzerland. Consequently he wants to use this special thousand separator in general. It might be very useful to set the separator gl...</description>
		<content:encoded><![CDATA[<pre>Hi Jason!

Thanks for this one. Nevertheless the customer who asked for using the
apostrophe as thousand separator works in Switzerland. Consequently he
wants to use this special thousand separator in general. It might be very
useful to set the separator globally in the report. I would also be very
nice if the report engine looks for the system's locale and then choose the
specific thousand separator. I think I will create a future request for
this.

I've studied the JavaDoc for the DecimalFormat class. I cannot see that you
can set the thousand separator via a pattern. Consquently you will have to
use the scripting functionality of BIRT. Am I right?


Ralf

</pre>]]></content:encoded>
		<pubDate>Fri, 07 Nov 2008 08:03:05 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.birt/msg31283.html</guid>
		<author>rgrewe@xxxxxxx (Ralf Grewe)</author>
	</item>

 
	</channel>
	</rss>
<!-- MHonArc v2.6.10 -->
