Re: AW: PDF Viewer component

2015-02-20 Thread Thilo Tanner
owsers). There are also PDF rendering engines for Java, so you could use Applets (beware) or convert the PDF into an image (SVG for example). Best, Thilo From: Poggenpohl, Daniel Sent: Thursday, February 19, 2015 22:12 To: Tapestry users Subject: AW:

AW: AW: PDF Viewer component

2015-02-19 Thread Poggenpohl, Daniel
nerstag, 19. Februar 2015 17:18 An: Tapestry users Betreff: Re: AW: PDF Viewer component On Thu, 19 Feb 2015 12:28:02 -0200, Poggenpohl, Daniel wrote: > Hello, Hi! > well, embedding the component in a page shows not the PDF but the Java > object identity, e.g. > InlineViewingStreamR

Re: AW: PDF Viewer component

2015-02-19 Thread Thiago H de Paula Figueiredo
On Thu, 19 Feb 2015 13:50:09 -0200, Poggenpohl, Daniel wrote: Hi, Hi! I think I've reduced the problem... Can I have a page containing a zone that displays the contents of a pdf file? It depends on what you're going to use to render the PDF file. -- Thiago H. de Paula Figueiredo Tapes

Re: AW: PDF Viewer component

2015-02-19 Thread Thiago H de Paula Figueiredo
On Thu, 19 Feb 2015 12:28:02 -0200, Poggenpohl, Daniel wrote: Hello, Hi! well, embedding the component in a page shows not the PDF but the Java object identity, e.g. InlineViewingStreamResponse@8173c6 Maybe the error is somewhere else? My component template is basically only ${showDocu

Re: PDF Viewer component

2015-02-19 Thread Thilo Tanner
rsday, February 19, 2015 16:50 To: Tapestry users Subject: AW: PDF Viewer component Hi, I think I've reduced the problem... Can I have a page containing a zone that displays the contents of a pdf file? tml: Show Doc Java: Object

AW: PDF Viewer component

2015-02-19 Thread Poggenpohl, Daniel
er.de] Gesendet: Donnerstag, 19. Februar 2015 16:11 An: Tapestry users Betreff: AW: PDF Viewer component Hi, I've found out that the "src" value is a web app context relative path (could have thought of that myself...). So the embedding of another page shouldn't be a prob

AW: PDF Viewer component

2015-02-19 Thread Poggenpohl, Daniel
ng event links? Or do you mean that I should update the zone with the StreamResponse directly? Regards, Daniel P. -Ursprüngliche Nachricht- Von: Poggenpohl, Daniel [mailto:daniel.poggenp...@isst.fraunhofer.de] Gesendet: Donnerstag, 19. Februar 2015 15:28 An: Tapestry users Betreff: AW:

Re: AW: PDF Viewer component

2015-02-19 Thread Lance Java
Java @Inject private ComponentResources resources; public void getPdfLink() { return resources.createPageLink("path/to/pdfpage", "someContext"); } TML

Re: PDF Viewer component

2015-02-19 Thread Thilo Tanner
annotations. I suggest to make yourself familiar with Tapestry event handling. Best, Thilo From: Poggenpohl, Daniel Sent: Thursday, February 19, 2015 15:28 To: Tapestry users Subject: AW: PDF Viewer component Hello, well, embedding the component in a page

AW: PDF Viewer component

2015-02-19 Thread Poggenpohl, Daniel
r 2015 15:19 An: Tapestry users Betreff: Re: PDF Viewer component Hi Daniel, What exactly is the issue with your code? We use something similar (and content type "application/pdf"); see below. I'm sure you will take care of it when the code works, but your implementation is extr

Re: PDF Viewer component

2015-02-19 Thread Thilo Tanner
__ From: Poggenpohl, Daniel Sent: Thursday, February 19, 2015 15:06 To: Tapestry users Subject: AW: PDF Viewer component Hi, a little bit more information (read: code)... I know the code is imperfect but this was just a quick and dirty setup to try inline document viewin

AW: PDF Viewer component

2015-02-19 Thread Poggenpohl, Daniel
Hi, a little bit more information (read: code)... I know the code is imperfect but this was just a quick and dirty setup to try inline document viewing. My Viewer component: public class Viewer { @Parameter(required=true) @Property String documentUrl;

Re: PDF Viewer component

2015-02-19 Thread Thilo Tanner
, February 19, 2015 14:33 To: users@tapestry.apache.org Subject: PDF Viewer component Hello, I am trying to build a component which can be embedded in a page and has a path parameter. If the parameter is set, the component should show/render the file contents (a pdf). The StreamResponse class

Re: PDF Viewer component

2015-02-19 Thread Lance Java
Use an iframe to load the StreamResponse page embedded in an html page. On 19 Feb 2015 13:35, "Poggenpohl, Daniel" < daniel.poggenp...@isst.fraunhofer.de> wrote: > Hello, > > I am trying to build a component which can be embedded in a page and has a > path parameter. If the parameter is set, the c

PDF Viewer component

2015-02-19 Thread Poggenpohl, Daniel
Hello, I am trying to build a component which can be embedded in a page and has a path parameter. If the parameter is set, the component should show/render the file contents (a pdf). The StreamResponse class allows me to create a page containing a pdf that can be viewed. Is it possible to embed

Re: [Apache Mentoring Programme]JavaScript-only PDF viewer component

2010-09-14 Thread Charith Madusanka
hi! where i need submit my mid term work ? On Fri, Jul 30, 2010 at 1:07 PM, Ulrich Stärk wrote: > It is in fact OK to have non-ASL compatible licensed dependencies as long > as they aren't part of the core and as long as we don't ship them with the > distribution. At least that's what I read. W

Re: [Apache Mentoring Programme]JavaScript-only PDF viewer component

2010-07-30 Thread Ulrich Stärk
It is in fact OK to have non-ASL compatible licensed dependencies as long as they aren't part of the core and as long as we don't ship them with the distribution. At least that's what I read. We will discuss this of course. One possibilty would be to use Apache PDFBox for rendering, that one will

Re: [Apache Mentoring Programme]JavaScript-only PDF viewer component

2010-07-29 Thread Howard Lewis Ship
This looks quite interesting, though the question is the license of the libraries you plan to use. If they are fully compatible with the ASL, then the code can live on apache.org. If not, then this work might be best homed on an external project, such as my TapX, or ChenilleKit. On Wed, Jul 28, 2

[Apache Mentoring Programme]JavaScript-only PDF viewer component

2010-07-28 Thread Charith Madusanka
Hi ! The proposal that I have done to participate to the mentoring program has been presented on the following link. http://wiki.apache.org/tapestry/CharithaMadusanka .I kindly request you all to make comments and suggestions and it would me much appreciated. Thanx charith

Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-21 Thread Ulrich Stärk
Hi Charith, as I've told you before the proposal you submitted contained nothing of what you came up with in the last days. The proposal deadline was on April 9th and you knew that. At that point you were nowhere close to a proper proposal nor did you show that you understood the problem or hav

Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-20 Thread Charith Madusanka
Hi all, I want to know whether I have a chance to participate gsoc 2010 with this project ? Thank You charith.

Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-19 Thread Ulrich Stärk
Since this will be an add-on module it is OK for it to depend on LGPL-licensed software. Uli On 18.04.2010 12:35, Charith Madusanka wrote: Hi all, Java PDF renderer library has been released by the Lesser General Public License(LGPL) and Google Map AP

Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-18 Thread Charith Madusanka
Hi all, Java PDF renderer library has been released by the Lesser General Public License(LGPL ) and Google Map API have Google Map Terms of Service(http://code.google.com/apis/maps/terms.html ). So is' it ok to release Apache Software License (Tapestry *P

Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-16 Thread Charith Madusanka
Hi Alex, in my opinion, you shouldn't worry about the app engine, it's a special > case. If you work it out for the general tapestry case where the PDF is > read > from a file or a stream, that'll be plenty. > Thank for your reply.Now I'm on the way succeed my work. If you have any suggestion p

Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-15 Thread Alex Kotchnev
Charith, in my opinion, you shouldn't worry about the app engine, it's a special case. If you work it out for the general tapestry case where the PDF is read from a file or a stream, that'll be plenty. Regards, Alex K On Thu, Apr 15, 2010 at 3:16 PM, Charith Madusanka wrote: > Hi Thiago and U

Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-15 Thread Charith Madusanka
Hi Thiago and Uli, Thank you very much for your comments. They are very helpful for me. Now I'm planning to show the pages to the user by using StreamResponse and also looking for App Engine problem. Thanx charith

Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-15 Thread Charith Madusanka
hi Piero maybe PDFBox could be used? > > -> http://pdfbox.apache.org/ nice tip... thanx charith

Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-15 Thread Ulrich Stärk
That's one of the tasks that have to be done: evaluating existing libraries. On 15.04.2010 14:49, Piero Sartini wrote: maybe PDFBox could be used? -> http://pdfbox.apache.org/ - To unsubscribe, e-mail: users-unsubscr...@tapes

Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-15 Thread Piero Sartini
maybe PDFBox could be used? -> http://pdfbox.apache.org/ - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-15 Thread Thiago H. de Paula Figueiredo
On Thu, 15 Apr 2010 00:56:00 -0300, Charith Madusanka wrote: hi Uli and Thiago , Hi! What do you think about this method. Is this method is ok for render PDF file to Images ? I think that's the only viable way of doing it without delegating the rendering to Google. -- Thiago H. de P

Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-14 Thread Charith Madusanka
hi Uli and Thiago , What do you think about this method. Is this method is ok for render PDF file to Images ? if you have any suggestion please send me.It's great help to me. Thank you, charith

Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-14 Thread Alex Kotchnev
Dmitry, good tip ! Thanks, Alex K On Wed, Apr 14, 2010 at 3:28 AM, Dmitry Gusev wrote: > Alex, > > In Google App Engine you may get another problem, the one associated with > Java 2D. > > Check this issue as a reference: > http://code.google.com/p/googleappengine/issues/detail?id=1423 > > On

Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-14 Thread Dmitry Gusev
Alex, In Google App Engine you may get another problem, the one associated with Java 2D. Check this issue as a reference: http://code.google.com/p/googleappengine/issues/detail?id=1423 On Tue, Apr 13, 2010 at 21:11, Alex Kotchnev wrote: > Charith, > seems like as long as it works, it should

Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-14 Thread Charith Madusanka
hi Uli , What do you think my method. This method is ok for render PDF file to Images ? if you have any suggestion please send me. charith

Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-14 Thread Charith Madusanka
Hi Alex, One issue to investigate is whether you actually need a java.io.File to do > this or not. I think is not, You can generate pdf using another method. charith.

Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-13 Thread Alex Kotchnev
Charith, seems like as long as it works, it should be OK. One issue to investigate is whether you actually need a java.io.File to do this or not. I for one can't do much w/ java.io.File when my app is running in Google App Engine, so I ideally I'd like to be able to do the same from a regular in

Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-13 Thread Charith Madusanka
Hi , If any one can tell me , this method is ok for render PDF file to Images ? charith

Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-12 Thread Charith Madusanka
Hi , I'm writing simple Java program render PDF file to Images by using Java PDF render library. Code is given below and attach to the mail, import java.awt.Rectangle; import java.awt.image.BufferedImage; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; im

Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-11 Thread Charith Madusanka
Hi , I can't see anything in RenderSupport that > would help render or stream images to be shown to the user. Yes, It is true that it is unable to render the PDF into image and show ti the user by using RenderSupport. I tried to render the PDF into image by using JavaScript with the support of

Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-11 Thread Thiago H. de Paula Figueiredo
On Sun, Apr 11, 2010 at 12:32 AM, Charith Madusanka wrote: > Hi Uli, Hi! > Now looking Interface RenderSupport  package , I think it can be use full > to enders the PDF to images and  shown to the user. I'm not following you. I can't see anything in RenderSupport that would help render or strea

Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-10 Thread Charith Madusanka
Hi Uli, Now looking Interface RenderSupport package , I think it can be use full to enders the PDF to images and shown to the user. This package support to all T5 component that render and also help to JavaScript generation. Interface RenderSupport( http://tapestry.apache.org/tapestry5/apidocs/

Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-10 Thread Ulrich Stärk
Yeah, but that's not what Thiago and I had in mind. We'd rather want some kind of Tapestry service that renders the PDF to images and a JavaScript control that communicates with that service and shows the pages to the user. Uli On 10.04.2010 08:14, Ben Gidley wrote: Do you mean you are planni

Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-09 Thread Ben Gidley
Do you mean you are planning on using https://docs.google.com/viewer This is googles embedable PDF viewer. It should be relatively simple to write a tapestry control that uses it. Ben Gidley www.gidley.co.uk b...@gidley.co.uk On Sat, Apr 10, 2010 at 3:41 AM, Al

Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-09 Thread Alex Kotchnev
Charith, it seems to me that with the Javascript PDF viewer you might be biting more than you can chew. PDF is not a very pleasant format to deal with, and in order to view it only in Javascript/HTML you'll need to convert the PDF to images. I few years ago I was doing something similar, and it

Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-09 Thread Charith Madusanka
Hi all, Project Reference Link... http://code.google.com/apis/ajax/ http://code.google.com/apis/maps/ http://wiki.apache.org/tapestry/FrontPage http://en.wikipedia.org/wiki/JavaScript charith

Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-09 Thread Charith Madusanka
http://wiki.apache.org/general/CharithElvitigala

Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-09 Thread Charith Madusanka
Hi all , I need comments about my proposal. Charith On Thu, Apr 8, 2010 at 11:10 PM, Charith Madusanka wrote: > *Proposal Title:* > > Google Map Module and JavaScript-only PDF viewer component > > > *Student Name:* > > Charitha Madusanka Elvitigala >

Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-08 Thread Charith Madusanka
*Proposal Title:* Google Map Module and JavaScript-only PDF viewer component *Student Name:* Charitha Madusanka Elvitigala * * *Student E-mail:* charithc...@gmail.com * * *Organization* Apache Tapestry * * *Project Assigned Mentor*: Thiago H. de Paula Figueiredo Ulrich Stärk

Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-08 Thread Charith Madusanka
Hi Uli , First of all I'm thank you for your comment :-) I wonder though, why you would need SOAP for the JavaScript only PDF viewer? Because I think Applications written in Java can easily integrate JavaScript only PDF viewer component with Web services using SOAP. Now i'm think

Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-08 Thread Charith Madusanka
Hi Uli , First of all I'm thank you for your comment :-) I wonder though, why you would need SOAP for the JavaScript only PDF viewer? Because I think Applications written in Java can easily integrate JavaScript only PDF viewer component with Web services using SOAP. Now i'm think

Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-08 Thread Ulrich Stärk
Hello Charith, that sounds much more like a real proposal ;). I wonder though, why you would need SOAP for the JavaScript only PDF viewer? I think the easiest way would be to bind the PDF contents to be viewed to some parameter of the PDF viewer component, or load the contents asynchronously

Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-08 Thread Charith Madusanka
*Proposal Title*: Google Map Module and JavaScript-only PDF viewer component * * *Student Name:* Charitha Madusanka Elvitigala * * *Student E-mail:* charithc...@gmail.com * * *Organization* Apache Tapestry * * *Project Assigned Mentor*: Thiago H. de Paula Figueiredo Ulrich Stärk

JavaScript-only PDF viewer component and Google maps component (create nifty components) GSOC-2010

2010-04-07 Thread Charith Madusanka
I'm also interest to implement JavaScript-only PDF viewer component and Google maps component, because both component are base on the JavaScript.(and ajax) Google maps component, The GMap componet provides an interface to the Google Maps API within T5. It will provide users a clickable ma