Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
First 3.0.0 alpha available
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  25 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
rgansevles  
View profile  
 More options Jun 4 2009, 5:46 pm
From: rgansevles <rgansev...@gmail.com>
Date: Thu, 4 Jun 2009 14:46:55 -0700 (PDT)
Local: Thurs, Jun 4 2009 5:46 pm
Subject: First 3.0.0 alpha available
Hi

I have just made the first 3.0.0 alpha version available for this
plugin.
This update allows Jasper Reports to be run on a foundSet.
- There is full access to record data, calculations, relations.
- Filters that are in place will be applied automatically.
- Subreports can run on a related foundSet
- data can be calculated in global methods

Furthermore, the minimum requirements have changed:
- Java 1.5 (was 1.4.2)
- Servoy 4.1 (was 3.5)

Samples of reports and solutions are not available yet, maybe there
are some volunteers?

Rob


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
TomParry  
View profile  
 More options Jun 4 2009, 6:29 pm
From: TomParry <TomParry.h...@gmail.com>
Date: Thu, 4 Jun 2009 15:29:47 -0700 (PDT)
Local: Thurs, Jun 4 2009 6:29 pm
Subject: Re: First 3.0.0 alpha available
Hey - great news. Looking forward to having a test!
Tom Parry

On Jun 4, 5:46 pm, rgansevles <rgansev...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
rgansevles  
View profile  
 More options Jun 5 2009, 3:18 am
From: rgansevles <rgansev...@gmail.com>
Date: Fri, 5 Jun 2009 00:18:07 -0700 (PDT)
Local: Fri, Jun 5 2009 3:18 am
Subject: Re: First 3.0.0 alpha available
Here are a few field definition examples to get you started:

        <field name="company_id" class="java.lang.Integer"/>
        <field name="company_name" class="java.lang.String"/>
        <field name="companies_to_employees.employeeid"
class="java.lang.Integer"/>
        <field name="companies_to_employees.firstname"
class="java.lang.String"/>
        <field name="globals.glob" class="java.lang.String"/>
        <field name="companies_to_company_types"
class="net.sf.jasperreports.engine.JRDataSource"/>
        <field name="global_func(company_id, company_name)"
class="java.lang.String"/>

Fields are used like this:
        <textFieldExpression class="java.lang.Integer"><![CDATA[$F
{companies_to_employees.employeeid}]]></textFieldExpression>
        <textFieldExpression class="java.lang.String"><![CDATA[$F
{global_func(company_id, company_name)}]]></textFieldExpression>

And a subreport on a related foundset:

<subreport>
<reportElement x="75" y="47" width="200" height="58"/


<dataSourceExpression><![CDATA[$F{companies_to_company_types}]]></
dataSourceExpression>
<subreportExpression class="java.lang.String"><![CDATA["/data/ireport/
subreport.jasper"]]></subreportExpression>
</subreport>

Rob


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
servoy.jasperrepo...@gmail.com  
View profile  
 More options Jun 5 2009, 6:20 am
From: servoy.jasperrepo...@gmail.com
Date: Fri, 5 Jun 2009 03:20:29 -0700 (PDT)
Local: Fri, Jun 5 2009 6:20 am
Subject: Re: First 3.0.0 alpha available
The 3.0.0a1 download also bundles the latest JasperReports engine
(3.5.2) which contains fixes for issues when running the Servoy
JasperReports plugin icw the Servoy WebClient.

Please retest any issue you were experiencing with the 2.1.x version
of the plugin or issues with that version with a manually upgraded
JasperReport engine (to version 3.5.0).


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
TomParry  
View profile  
 More options Jun 13 2009, 9:21 pm
From: TomParry <TomParry.h...@gmail.com>
Date: Sat, 13 Jun 2009 18:21:00 -0700 (PDT)
Subject: Re: First 3.0.0 alpha available
I decided to test the 3.0.0a1 with Servoy 3.5.9 in case it could solve
a problem that I had and I wanted to see if it could work.
I am NOT using the foundset capabilities I only want to test if it is
compatible with the reports that I already have under Servoy 3.5.9 and
with using reports created by iReport 3.5.2 (that is these reports
need the jasperreports-3.5.2.jar engine to work).

Here are my results:

1. I had to include the itext-2.1.0.jar in the jnlp file otherwise I
could not get any file to be saved in any out put format such as pdf.
2. All my reports render fine in the Smart Client on the Jasper
Viewer. From this viewer I can then select save as and select the file
type.
Saving the viewer file to one of the selected output format works for
all type EXCEPT the XLS (excel) types.
3. If I use my Servoy application and send the plugin the output file
format I desire as well as the file pathname then NOTHING gets output.
Perhaps there is a different parameter order than the plugin version
2.1.5 (I did not change any of my servoy code to do this test). I will
check on the parameter order in my next test round.

So I think that there might have to be a little rewording of the
prerequisites of the Servoy version for this plugin - if it works for
my 3.5.9 application perhaps it can be used for others who want to use
the iReport 3.5.2 but like me found it does not work with the servoy
plugin 2.1.5

I hope this is encouraging.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ptal...@free.fr  
View profile  
 More options Jun 14 2009, 12:40 am
From: ptal...@free.fr
Date: Sun, 14 Jun 2009 06:40:25 +0200 (CEST)
Local: Sun, Jun 14 2009 12:40 am
Subject: Re: [servoy-jasperreports-plugin:20] Re: First 3.0.0 alpha available
Hi Tom,

I'm doing tests with the foundset parameter but I believe that it is the same with the old way:

About your point 2.
Just like the iText.jar needed to be updated to 2.1.0 (used by jasper 3.5.x), to use Excel format you need to update jakarta POI located in plugins/jakarta-poi to the one included in iReport 3.5.2 (poi-3.2-FINAL-20081019.jar in your JasperSoft/iReport-nb-3.5.2/ireport/modules/ext folder).

It works!

But then when you do that, the standard Servoy "Export > "To Excel file" function doesn't work anymore.
Looks like to fix this, Servoy will have to update the library in the core to poi 3.2 (currently the Export function uses 3.0) and fix the calls. We need Excel export to function as well as Excel reporting using Jasper!

About your point 3.
For the "xls" it is related to point 2 before and POI version.
But for the other formats, I have found out that there was an File - "Access is denied" exception when the plugin tries to write to my reports folder, it shouldn' be when being admin of my PC I have all the access rights to this folder anyway. I don't know where I am supposed to give the plugin access rights so there must be something broken here.

Rob, any thoughts?

----- Mail Original -----
De: "TomParry" <TomParry.h...@gmail.com>
Ą: "servoy-jasperreports-plugin" <servoy-jasperreports-plugin@googlegroups.com>
Envoyé: Samedi 13 Juin 2009 21h21:00 GMT -05:00 USA/Canada - États de l'Est
Objet: [servoy-jasperreports-plugin:20] Re: First 3.0.0 alpha available

I decided to test the 3.0.0a1 with Servoy 3.5.9 in case it could solve
a problem that I had and I wanted to see if it could work.
I am NOT using the foundset capabilities I only want to test if it is
compatible with the reports that I already have under Servoy 3.5.9 and
with using reports created by iReport 3.5.2 (that is these reports
need the jasperreports-3.5.2.jar engine to work).

Here are my results:

1. I had to include the itext-2.1.0.jar in the jnlp file otherwise I
could not get any file to be saved in any out put format such as pdf.
2. All my reports render fine in the Smart Client on the Jasper
Viewer. From this viewer I can then select save as and select the file
type.
Saving the viewer file to one of the selected output format works for
all type EXCEPT the XLS (excel) types.
3. If I use my Servoy application and send the plugin the output file
format I desire as well as the file pathname then NOTHING gets output.
Perhaps there is a different parameter order than the plugin version
2.1.5 (I did not change any of my servoy code to do this test). I will
check on the parameter order in my next test round.

So I think that there might have to be a little rewording of the
prerequisites of the Servoy version for this plugin - if it works for
my 3.5.9 application perhaps it can be used for others who want to use
the iReport 3.5.2 but like me found it does not work with the servoy
plugin 2.1.5

I hope this is encouraging.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
TomParry  
View profile  
 More options Jun 14 2009, 5:59 pm
From: TomParry <TomParry.h...@gmail.com>
Date: Sun, 14 Jun 2009 14:59:40 -0700 (PDT)
Local: Sun, Jun 14 2009 5:59 pm
Subject: Re: First 3.0.0 alpha available
Patrick

> About your point 2.

to use Excel format you need to update jakarta POI located in plugins/
jakarta-poi to the one included in iReport 3.5.2 (poi-3.2-
FINAL-20081019.jar in your JasperSoft/iReport-nb-3.5.2/ireport/modules/
ext folder).

> It works!

NOT! Not in 3.5.9 anyway. I even include jxl-2.6.jar and there was
only a file created with 0 bytes length!

I had tried the poi in my second round of testing to no avail - and
then I saw your message and copied the same file from the iReport lib
(ext as you said) just in case my download was not the same.

This is the same behaviour as was reported ages ago and the fix was
thought to have been put in by JasperSoft but it appears not yet.

I do not have the same access denied error as you do for my files -
they are all created ok (using 3.5.9 of course!).

Tom


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
TomParry  
View profile  
 More options Jun 14 2009, 6:00 pm
From: TomParry <TomParry.h...@gmail.com>
Date: Sun, 14 Jun 2009 15:00:39 -0700 (PDT)
Local: Sun, Jun 14 2009 6:00 pm
Subject: Re: First 3.0.0 alpha available
Patrick

> About your point 2.

to use Excel format you need to update jakarta POI located in plugins/
jakarta-poi to the one included in iReport 3.5.2 (poi-3.2-
FINAL-20081019.jar in your JasperSoft/iReport-nb-3.5.2/ireport/modules/
ext folder).

> It works!

NOT! Not in 3.5.9 anyway. I even include jxl-2.6.jar and there was
only a file created with 0 bytes length!

I had tried the poi in my second round of testing to no avail - and
then I saw your message and copied the same file from the iReport lib
(ext as you said) just in case my download was not the same.

This is the same behaviour as was reported ages ago and the fix was
thought to have been put in by JasperSoft but it appears not yet.

I do not have the same access denied error as you do for my files -
they are all created ok (using 3.5.9 of course!).

Tom


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ptal...@free.fr  
View profile  
 More options Jun 14 2009, 9:22 pm
From: ptal...@free.fr
Date: Mon, 15 Jun 2009 03:22:54 +0200 (CEST)
Local: Sun, Jun 14 2009 9:22 pm
Subject: Re: [servoy-jasperreports-plugin:/] Re: First 3.0.0 alpha available
Hi Tom,

sorry to hear that it does not work for you.
It works here with Servoy 4.1.3

Patrick

----- Mail Original -----
De: "TomParry" <TomParry.h...@gmail.com>
Ą: "servoy-jasperreports-plugin" <servoy-jasperreports-plugin@googlegroups.com>
Envoyé: Dimanche 14 Juin 2009 17h59:40 GMT -05:00 USA/Canada - États de l'Est
Objet: [servoy-jasperreports-plugin:/] Re: First 3.0.0 alpha available

Patrick

> About your point 2.

to use Excel format you need to update jakarta POI located in plugins/
jakarta-poi to the one included in iReport 3.5.2 (poi-3.2-
FINAL-20081019.jar in your JasperSoft/iReport-nb-3.5.2/ireport/modules/
ext folder).

> It works!

NOT! Not in 3.5.9 anyway. I even include jxl-2.6.jar and there was
only a file created with 0 bytes length!

I had tried the poi in my second round of testing to no avail - and
then I saw your message and copied the same file from the iReport lib
(ext as you said) just in case my download was not the same.

This is the same behaviour as was reported ages ago and the fix was
thought to have been put in by JasperSoft but it appears not yet.

I do not have the same access denied error as you do for my files -
they are all created ok (using 3.5.9 of course!).

Tom


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
andrei_costache  
View profile  
 More options Jun 15 2009, 5:34 am
From: andrei_costache <andreicostache1...@gmail.com>
Date: Mon, 15 Jun 2009 02:34:41 -0700 (PDT)
Local: Mon, Jun 15 2009 5:34 am
Subject: Re: First 3.0.0 alpha available
Hi Tom,

Are you getting any stack-trace related to this error? If yes, could
you please post it?

Regards,
Andrei

On Jun 15, 1:00 am, TomParry <TomParry.h...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
TomParry  
View profile  
 More options Jun 15 2009, 11:51 am
From: TomParry <TomParry.h...@gmail.com>
Date: Mon, 15 Jun 2009 08:51:55 -0700 (PDT)
Local: Mon, Jun 15 2009 11:51 am
Subject: Re: First 3.0.0 alpha available
I start the server using the standard server.bat (3.5.9 on winxp). I
do not get ANY log file errors nor any stack trace. The bat file does
have the -DSTACKTRACE=true in the command line.

Do not forget that this is a plugin 2.1.5 issue as well - I really do
not think that JasperSoft fixed their problem - or maybe not in this
release of the JasperSoft 3.5.2

Behavioural difference.
Noticed that when using the viewer to save the file as a xls (single
or multi-sheet) that a file is created with 0 size. When I request the
plugin to output directly to the file type xls there is not even an
empty file!

I tried this with the 3.0.0a1 plugin as well as my own buidl of 2.1.5
with my own minor enhancements and get the same result.

Should I try to NOT install the servoy provided excel output in case
there is a jar version issue?

Tom

On Jun 15, 5:34 am, andrei_costache <andreicostache1...@gmail.com>
wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
TomParry  
View profile  
 More options Jun 15 2009, 12:58 pm
From: TomParry <TomParry.h...@gmail.com>
Date: Mon, 15 Jun 2009 09:58:52 -0700 (PDT)
Local: Mon, Jun 15 2009 12:58 pm
Subject: Re: First 3.0.0 alpha available
Success! This is for the Servoy 3.5.9 version:
I finally got the output to xls to work.

When I removed the /plugins/excelxport.jar and /plugins/
excelxport.jar.jnlp files and restarted the server my application
could not finish the startup process at all.

So I put them back then edited the /plugin/excelxport.jar.jnlp file to
specify the same poi in:  /plugins/jakarta-poi/poi-3.2-
FINAL-20081019.jar
and restarted the server. Now all references to the poi have the same
target version. This is similar to the advice given by Patrick - I
just did not change the excelxport jnlp file at all prior to this not
expecting a collision - I had only changed the file in the jakarta-poi
directory.

In the smart client the jasper viewer save as to single sheet xls as
well as multi-sheet xls now works.
Perhaps Patricj could test this in the Servoy 4.x?

However the output directly via the plugin still does not produce a
file at all. Something else wrong there.

Tom

On Jun 15, 11:51 am, TomParry <TomParry.h...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ptal...@free.fr  
View profile  
 More options Jun 15 2009, 1:17 pm
From: ptal...@free.fr
Date: Mon, 15 Jun 2009 19:17:20 +0200 (CEST)
Local: Mon, Jun 15 2009 1:17 pm
Subject: Re: [servoy-jasperreports-plugin:27] Re: First 3.0.0 alpha available
YES!

I thought I did mention that I completely replaced the /plugins/jakarta-poi/ POI jar with the new one, which leads to other problems: mainly not being able to export again with the regular Servoy export.
Sorry, if I forgot mentioning it.

Then again, it's true that having 2 different version of the same library is bound to give you problems!
Anyway now it remains to Servoy to update the export plugin to the new version.
We need both functionalities!

For the rest, I have the same results here: output using the "view" option is fine, output with direct format is not working.

Patrick

----- Mail Original -----
De: "TomParry" <TomParry.h...@gmail.com>
Ą: "servoy-jasperreports-plugin" <servoy-jasperreports-plugin@googlegroups.com>
Envoyé: Lundi 15 Juin 2009 12h58:52 GMT -05:00 USA/Canada - États de l'Est
Objet: [servoy-jasperreports-plugin:27] Re: First 3.0.0 alpha available

Success! This is for the Servoy 3.5.9 version:
I finally got the output to xls to work.

When I removed the /plugins/excelxport.jar and /plugins/
excelxport.jar.jnlp files and restarted the server my application
could not finish the startup process at all.

So I put them back then edited the /plugin/excelxport.jar.jnlp file to
specify the same poi in:  /plugins/jakarta-poi/poi-3.2-
FINAL-20081019.jar
and restarted the server. Now all references to the poi have the same
target version. This is similar to the advice given by Patrick - I
just did not change the excelxport jnlp file at all prior to this not
expecting a collision - I had only changed the file in the jakarta-poi
directory.

In the smart client the jasper viewer save as to single sheet xls as
well as multi-sheet xls now works.
Perhaps Patricj could test this in the Servoy 4.x?

However the output directly via the plugin still does not produce a
file at all. Something else wrong there.

Tom

On Jun 15, 11:51 am, TomParry <TomParry.h...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
andreicostache1986  
View profile  
 More options Jun 16 2009, 4:41 am
From: andreicostache1986 <andreicostache1...@gmail.com>
Date: Tue, 16 Jun 2009 01:41:29 -0700 (PDT)
Local: Tues, Jun 16 2009 4:41 am
Subject: Re: First 3.0.0 alpha available
Hello!

For Tom -> could you please explain a bit what you mean here: "However
the output directly via the plugin still does not produce a
file at all. Something else wrong there" ? (do you mean directly via
the Servoy Jasper Report plugin?).

For Patrick -> the issue with the 2 functionalities needed will be
fixed in the next public release of Servoy;
                    -> by "output with direct format is not working"
you mean the same thing that Tom is mentioning above, yes?

Regards,
Andrei


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
andreicostache1986  
View profile  
 More options Jun 16 2009, 4:41 am
From: andreicostache1986 <andreicostache1...@gmail.com>
Date: Tue, 16 Jun 2009 01:41:43 -0700 (PDT)
Local: Tues, Jun 16 2009 4:41 am
Subject: Re: First 3.0.0 alpha available
Hello!

For Tom -> could you please explain a bit what you mean here: "However
the output directly via the plugin still does not produce a
file at all. Something else wrong there" ? (do you mean directly via
the Servoy Jasper Report plugin?).

For Patrick -> the issue with the 2 functionalities needed will be
fixed in the next public release of Servoy;
                    -> by "output with direct format is not working"
you mean the same thing that Tom is mentioning above, yes?

Regards,
Andrei


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ptal...@free.fr  
View profile  
 More options Jun 16 2009, 8:52 am
From: ptal...@free.fr
Date: Tue, 16 Jun 2009 14:52:44 +0200 (CEST)
Local: Tues, Jun 16 2009 8:52 am
Subject: Re: [servoy-jasperreports-plugin:29] Re: First 3.0.0 alpha available
Hi Andrei,

Good to hear that the fix will be included in the next release. Will that be "Tano" 4.2 or will there be maintenance release before that?

And yes, I have the same thing as Robert: no output at all when using any other options than "view", no xls, no pdf etc...
A difference is that I noticed that I have an AccessDenied thrown by the plugin when trying to write the output in my jasper folder (but I don't how this happens, it was not giving any access problems with previous version and I am admin of my PC!)

Patrick

----- Mail Original -----
De: "andreicostache1986" <andreicostache1...@gmail.com>
Ą: "servoy-jasperreports-plugin" <servoy-jasperreports-plugin@googlegroups.com>
Envoyé: Mardi 16 Juin 2009 04h41:29 GMT -05:00 USA/Canada - États de l'Est
Objet: [servoy-jasperreports-plugin:29] Re: First 3.0.0 alpha available

Hello!

For Tom -> could you please explain a bit what you mean here: "However
the output directly via the plugin still does not produce a
file at all. Something else wrong there" ? (do you mean directly via
the Servoy Jasper Report plugin?).

For Patrick -> the issue with the 2 functionalities needed will be
fixed in the next public release of Servoy;
                    -> by "output with direct format is not working"
you mean the same thing that Tom is mentioning above, yes?

Regards,
Andrei


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
andreicostache1986  
View profile  
 More options Jun 16 2009, 10:05 am
From: andreicostache1986 <andreicostache1...@gmail.com>
Date: Tue, 16 Jun 2009 07:05:08 -0700 (PDT)
Local: Tues, Jun 16 2009 10:05 am
Subject: Re: First 3.0.0 alpha available
Hi Patrick!

The fixes will included in Servoy 3.5.10 and 4.1.4.

Concerning the output problems, I managed to get pdf output just by
replacing the old itext jar, in the pdf_output folder of the plugins
directory, with iText-2.1.0.

Regards,
Andrei

On Jun 16, 3:52 pm, ptal...@free.fr wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
TomParry  
View profile  
 More options Jun 16 2009, 11:04 am
From: TomParry <TomParry.h...@gmail.com>
Date: Tue, 16 Jun 2009 08:04:29 -0700 (PDT)
Local: Tues, Jun 16 2009 11:04 am
Subject: Re: First 3.0.0 alpha available
For Andrei,
To clarify the no put  using the "direct" route means use the plugin
to specify an output file path and file type. For example, specify a
temp file using the plugin.file.createTempFile and a file output type
of "pdf" should dump the pdf output to the file specified. No output
file is created (not even a file with zero bytes).
Yes I do download the lates tiText-2.1.0.jar in the jnlp. I also
looked for the use of iText anywhere else in the Servoy folders and if
any found replaced them also (I cannot remember if there is another
place).

Perhap's Patrick's access denied error is that he specifies a file on
the client machine that does have restricted access rights when the
plugin executes on the client? Perhaps he could specify a file that is
in a known (none-user) directory?

Andrei please tell us your interface when getting the successful pdf
output to file.

Regards
Tom


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
TomParry  
View profile  
 More options Jun 16 2009, 11:04 am
From: TomParry <TomParry.h...@gmail.com>
Date: Tue, 16 Jun 2009 08:04:41 -0700 (PDT)
Local: Tues, Jun 16 2009 11:04 am
Subject: Re: First 3.0.0 alpha available
For Andrei,
To clarify the no put  using the "direct" route means use the plugin
to specify an output file path and file type. For example, specify a
temp file using the plugin.file.createTempFile and a file output type
of "pdf" should dump the pdf output to the file specified. No output
file is created (not even a file with zero bytes).
Yes I do download the lates tiText-2.1.0.jar in the jnlp. I also
looked for the use of iText anywhere else in the Servoy folders and if
any found replaced them also (I cannot remember if there is another
place).

Perhap's Patrick's access denied error is that he specifies a file on
the client machine that does have restricted access rights when the
plugin executes on the client? Perhaps he could specify a file that is
in a known (none-user) directory?

Andrei please tell us your interface when getting the successful pdf
output to file.

Regards
Tom


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
andreicostache1986  
View profile  
 More options Jun 22 2009, 10:29 am
From: andreicostache1986 <andreicostache1...@gmail.com>
Date: Mon, 22 Jun 2009 07:29:13 -0700 (PDT)
Local: Mon, Jun 22 2009 10:29 am
Subject: Re: First 3.0.0 alpha available
Hi Tom,

I think I also use the same "way" to achieve direct output, as you
indicated; I am giving a code sample of what I understood from you as
being direct output (please correct me if I am wrong). This code
sample works for me and gives correct pdf output; this code works in
Servoy 3.5.9:

plugins.jasperPluginRMI.runReport(controller.getServerName(),
"someReport.jrxml", "C:/reports/someReport.pdf", "pdf", null);
application.showURL("file://C:/reports/someReport.pdf");

I am not sure I understand what you mean by "interface when getting
the successful pdf output to file". Do you mean my plug-in interface
(or something else)?

Regrads,
Andrei


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
andreicostache1986  
View profile  
 More options Jun 22 2009, 10:29 am
From: andreicostache1986 <andreicostache1...@gmail.com>
Date: Mon, 22 Jun 2009 07:29:22 -0700 (PDT)
Local: Mon, Jun 22 2009 10:29 am
Subject: Re: First 3.0.0 alpha available
Hi Tom,

I think I also use the same "way" to achieve direct output, as you
indicated; I am giving a code sample of what I understood from you as
being direct output (please correct me if I am wrong). This code
sample works for me and gives correct pdf output; this code works in
Servoy 3.5.9:

plugins.jasperPluginRMI.runReport(controller.getServerName(),
"someReport.jrxml", "C:/reports/someReport.pdf", "pdf", null);
application.showURL("file://C:/reports/someReport.pdf");

I am not sure I understand what you mean by "interface when getting
the successful pdf output to file". Do you mean my plug-in interface
(or something else)?

Regrads,
Andrei


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
TomParry  
View profile  
 More options Jun 22 2009, 5:26 pm
From: TomParry <TomParry.h...@gmail.com>
Date: Mon, 22 Jun 2009 14:26:31 -0700 (PDT)
Local: Mon, Jun 22 2009 5:26 pm
Subject: Re: First 3.0.0 alpha available
Here is my code snippet to call for output directly:

var serverName = controller.getServerName();
var reportName = 'classic_tom_test3_params.jrxml';//but really filled
in by user from a FID - get same result if ends in .jasper - ie no
compile
var varOutput =  globals.PITC_jasper_export_file;//filled from a FID
where user sets the filename from a selector dialog so in smart client
it is on the client machine
var outputFormat = globals.PITC_jasper_export_type;//default = 'view'
but set up by user to 'pdf' etc
var locale = null;

try {
var result = plugins.jasperPluginRMI.jasperReport(serverName,
reportName, varOutput, outputFormat, reportParameters, locale );
    } catch (e) {
    msg = "PITC_printJasperReport: DEBUG: Exception from plugin: "
    if (e == undefined) {
        msg += "exception 'e' is undefined";
    }
    else if (e.message == undefined){
        msg += "exception message is undefined";
    }
    else {
        msg += "message: <" + e.message + ">";
    }

I am expecting a byte array to be returned when output is to a file
but instead I get an exception sometimes where the exception is
undefined. Other times I get nothing in logs and NO file created.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
TomParry  
View profile  
 More options Jul 4 2009, 12:39 pm
From: TomParry <TomParry.h...@gmail.com>
Date: Sat, 4 Jul 2009 09:39:36 -0700 (PDT)
Local: Sat, Jul 4 2009 12:39 pm
Subject: Re: First 3.0.0 alpha available
Mike Sedita tested this also in 4.x and with effort on the jugglng of
jar files he has success in getting the Jasper viewer up and running.
See his post here on the forum for the jnlp file that he came up with
eventually.

http://www.servoy.com/forum/viewtopic.php?f=15&t=12655


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
TomParry  
View profile  
 More options Jul 7 2009, 10:57 am
From: TomParry <TomParry.h...@gmail.com>
Date: Tue, 7 Jul 2009 07:57:05 -0700 (PDT)
Local: Tues, Jul 7 2009 10:57 am
Subject: Re: First 3.0.0 alpha available
Servoy Forum ref:
http://forum.servoy.com/viewtopic.php?f=15&t=12669

Issue is printing from the Jasper Viewer on MAC.
q1. is this same on the windows platform?
q2. is there a missing jar to be downloaded for printing when in the
smart client?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
TomParry  
View profile  
 More options Jul 8 2009, 12:13 pm
From: TomParry <TomParry.h...@gmail.com>
Date: Wed, 8 Jul 2009 09:13:22 -0700 (PDT)
Local: Wed, Jul 8 2009 12:13 pm
Subject: Re: First 3.0.0 alpha available

Q. Is there to be another upgrade of this alpha release or a beta
release?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »