[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Messages posted by: CaptainCasa  XML
Profile for CaptainCasa -> Messages posted by CaptainCasa [5510] Go to Page: Previous  1, 2, 3 ... 344, 345, 346 ... 366, 367, 368 Next 
Author Message
There is a mini-update 20080623_2 in the download zone:
(.) the batch files are correct for Jasper in this version
(.) one of the jasper-jar files was not correctly signed and could not be loaded from an applet/webstart environment.

This update is only required when using the new JasperRepots components!

Björn
If you want to use jasper from the batch files behing the windows start menu: edit the batch files so that they include the jasper libraries. Example:

Code:
 set TCP=..\resources\webappaddons\eclnt\lib\eclnt.jar
 
 set TCP=%TCP%;..\resources\webappaddons\eclnt\lib\swt.jar
 
 set TCP=%TCP%;..\resources\webappaddons\eclnt\lib\jasperreports-3.0.0.jar
 set TCP=%TCP%;..\resources\webappaddons\eclnt\lib\commons-beanutils-1.7.jar
 set TCP=%TCP%;..\resources\webappaddons\eclnt\lib\commons-collections-2.1.jar
 set TCP=%TCP%;..\resources\webappaddons\eclnt\lib\commons-digester-1.7.jar
 set TCP=%TCP%;..\resources\webappaddons\eclnt\lib\commons-javaflow-20060411.jar
 set TCP=%TCP%;..\resources\webappaddons\eclnt\lib\commons-logging-1.0.2.jar
 set TCP=%TCP%;..\resources\webappaddons\eclnt\lib\commons-logging-api-1.0.2.jar
 
 start jre\bin\javaw.exe -cp %TCP% org.eclnt.client.page.PageBrowser <a href="http://localhost:50000" target="_blank" rel="nofollow">http://localhost:50000</a> 
 
 /demos/faces/workplace/workplace.jsp headerline=true
 



Björn
Comment on 20080623: the japser-jars are not included in the batch files that are part of the Windows start menu. If you want to use jasper extend your batch files in the following way:

Code:
 set TCP=..\resources\webappaddons\eclnt\lib\eclnt.jar
 
 set TCP=%TCP%;..\resources\webappaddons\eclnt\lib\swt.jar
 
 set TCP=%TCP%;..\resources\webappaddons\eclnt\lib\jasperreports-3.0.0.jar
 set TCP=%TCP%;..\resources\webappaddons\eclnt\lib\commons-beanutils-1.7.jar
 set TCP=%TCP%;..\resources\webappaddons\eclnt\lib\commons-collections-2.1.jar
 set TCP=%TCP%;..\resources\webappaddons\eclnt\lib\commons-digester-1.7.jar
 set TCP=%TCP%;..\resources\webappaddons\eclnt\lib\commons-javaflow-20060411.jar
 set TCP=%TCP%;..\resources\webappaddons\eclnt\lib\commons-logging-1.0.2.jar
 set TCP=%TCP%;..\resources\webappaddons\eclnt\lib\commons-logging-api-1.0.2.jar
 
 start jre\bin\javaw.exe -cp %TCP% org.eclnt.client.page.PageBrowser <a href="http://localhost:50000" target="_blank" rel="nofollow">http://localhost:50000</a> 
 
 /demos/faces/workplace/workplace.jsp headerline=true
 
...not fixed yet, sorry, thanks for the reminder...
Will fix ASAP.
Björn
with 20080623 Update JasperReports is nicely (?) integrated... Please check the new section of http://www.CaptainCasa.com

Björn
Please view details in the DevZone of http://www.CaptainCasa.com.

Björn
Hi Marisa,

the Tomcat directory is overwritten by the project directory every time you do a reload of the appication. The project directory (the one you maintain with eclipse) is the origirnal, a reload deploys/copies it into the tomcat/webapps.

Please have a quick look into the docu, explaining how to write the first project, there are explanations about this.

Thanks, Björn
Hi,

please check:

1.) faces-config.xml ==> there should be a link to your class, "d" default by default (but the name is up to you)
2.) the class must be compiled (.class), please check under /EnterprsiseClient/server/tomcat/webapps/<yourproject>/WEB-INF/classes if your classes have arrived there (this is what the reload does: copying the webcontent from your project directory to the <yourproject> directory)

Björn
Good idea! Thanks.
Björn
Hi Michael,

thanks to the log that you sent we did find the problem...: it had to do with the having two "same" POPUPMENU ids availabl in one screen.

How we now did improve:
we FIRST try to find a POPUPMENU when the user right-clicks which is defined in the same page as the component referenceing the id.
Only if nothing found in this page, then we search for the whole screen - and then the first one wins.

Thanks for your patience and support!
Solution is available in interims version tomorrow morning.

Björn
Hi Ralph,

the only way to test if an ACTIVEX component is available on client side for us is to create an instance for it.
So, the best way to test is, what you propose: write an own ACTIVEX component for this test. This makes the result available via ActivrX-properties, that themselves are sent (via PROPERTYINTEREST) to the server processing. The decision on server side then is:

(.) nothing is coming ==> event the check-ACtiveX component is not available
(.) something is coming ==> ok, then all info is inside your hands

Björn
...the integration is quite simple... first screenshot below

Björn
Hi community,

we are just discussing one hot topic of the last community meeting: output management.

Based on the input of one member we had a bit closer look into JasperReports - and of course this is something which is absolutely useful...! In short words:

(.) with jasper you create reports, in which the layout (.jrxml) is kept aside from the data, so that both together produces a nice looking report.
(.) the report can be output into diverse output formats: including .pdf, .xls, .csv, .xml and: it can be sent to the printer from Java.

So, jasper is a very useful tool for report building and printing.

NOW: what could be done in order to embed jasper? We see the following approaches:

(.) let the server create jasper report and output as PDF ==> display PDF in browser (this is possible right now, use BROWSER component to render .pdf)
(.) let the server create jasper report and output as print-XML ==> display in Enterprise Client using the jasper reports viewer (JRViewer) component. This comes with a quite big jasper foot print (jasper needs to be available in big parts on client side) - but is a 100% reliable mode for rendering reports.
(.) previous issue + directly enable client side printing of jasper reports
...and...
(.) use jasper to directly output grids (FIXGRID) into .pdf/.xls/etc.

Please add other issues + feedback from your side.... Thanks!

Björn
We were typing in parallel: my previous message is no response to your last message...
Björn
OK, what we can do: we can first search for a POPUPMENU which is included in exactly the same page as the one where the POPUPMENU is referenced. And, if we do not find one there then go on to the next one we can find in the component tree.

This should solve the issue.

Björn
 
Profile for CaptainCasa -> Messages posted by CaptainCasa [5510] Go to Page: Previous  1, 2, 3 ... 344, 345, 346 ... 366, 367, 368 Next 
Go to:   
Powered by JForum 2.1.6 © JForum Team