Re: BufferedImage in Tapestry

2012-10-06 Thread gonzalomp87
I look the headers that tomcat return. [18:05:12.747] GET http://localhost:8080/dicom-1.0.0/mostrarimagenpage/1.3.6.1.4.1.9328.50.3.10887 [HTTP/1.1 500 Error Interno del Servidor 424ms] and inside show 2 fields where I think is the problem x-Tapestry-ErrorMessage: org.apache.tapestry5.ioc.inter

Re: BufferedImage in Tapestry

2012-09-27 Thread gonzalomp87
I post the problem on another forum and an user told me that I need put the contentType for the browser know that is an image. I add this line but doesn`t work yet public void prepareResponse(Response response) { response.setHeader("Content-type","image/jpeg"); response.setHeader("Content-Disp

Re: BufferedImage in Tapestry

2012-09-26 Thread gonzalomp87
Hi! Up the thread because I have a problem. I was working with Jetty and the above code worked perfectly but in tomcat not showing the image and nor give any error .Anyone know what could be the cause? -- View this message in context: http://tapestry.1045711.n5.nabble.com/BufferedImage-in-Tap

Re: Problem with OnchangeValue

2012-09-15 Thread gonzalomp87
The problem I have is that the function OnValueChanged only works when I select a difeferent value. If my list of study's ID only has one ID when I click on it does not run OnValueChanged function because the value did not change. I want to know if there are other events, for example an event tha

Problem with OnchangeValue

2012-09-15 Thread gonzalomp87
Hi! I'm using a select component in my application. In this component I have a list of study's id. I'm using the function OnChangeValue for redirect to the page where I show details of the study. public Object onAction(Study study) { StudyDetalles.setStudyId(study.getStudy

Re: Import/export in tapestry

2012-09-12 Thread gonzalomp87
Hi I was busy these days and I resume today with the application. I try doing what you told me but there are two problems: 1. Do not let me select the directory where I want download, just ask if I want cancel or save and automatically download in the download folder. 2. Do not know how you c

Re: jnlp files in tapestry

2012-08-11 Thread gonzalomp87
Thanks. Right. works simply with that line of code. The problem is that this only work on pages that have no method OnActivate () / Onpasivate (). For example. The page where I want to put the link is "imagendetails" which takes the string that follows as an identifier of an image that searches

jnlp files in tapestry

2012-08-10 Thread gonzalomp87
Hi I need to put a link on my application to run an application with java web start, but can not find information. In the. Tml I have put: Notepad.jnlp Launch Notepad Application in the .Java only I added the annotation @ Meta ("tapestry.response-content-type = text / xml") I read a user's th

Re: Import/export in tapestry

2012-08-09 Thread gonzalomp87
Aug 8, 2012 at 11:12 PM, gonzalomp87 <gonzalomp87@> wrote: > >> Hi >> >> I used the fileupload component to upload files to my web server. Now, >> I'm >> trying to make the option of exporting these files. (Copied from the >> server >> to my

Import/export in tapestry

2012-08-08 Thread gonzalomp87
Hi I used the fileupload component to upload files to my web server. Now, I'm trying to make the option of exporting these files. (Copied from the server to my local machine) Now the exported file directory is fixed and known by me, I want to select the destination directory. No way to do it?

Applet in Tapestry

2012-07-30 Thread gonzalomp87
I'm trying to put an applet in tapestry . I did not find any example of code to be put on the page. Tml. In the. Java I have to put something? donde pongo el .jar? thanks de antemano -- View this message in context: http://tapestry.1045711.n5.nabble.com/Applet-in-Tapestry-tp5714901.html Sent

Problems with validators

2012-07-24 Thread gonzalomp87
The following code, the validators only work with javascript. If you disable not displayed on the server side. Why does this happen? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Problems-with-validators-tp5714769.html Sen

Tapestry thumbnail gallery

2012-07-21 Thread gonzalomp87
I'm trying to make a kind of gallery with thumbnails. Just show them. I try it with a grid,but do not know how to display multiple images per row. I do not know if there is a component for this. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-thumbnail-gallery

Re: BufferedImage in Tapestry

2012-07-21 Thread gonzalomp87
First of all thanks for the replies. I copy my code if anyone is useful ImagenDetails.tml ${uploadedImage} ImagenDetails.java @InjectPage private ShowImagePage showImagePage; @Property private Imagen imagen; public Link getUploadedImage(){ return showImag

Re: BufferedImage in Tapestry

2012-07-17 Thread gonzalomp87
Sorry, I dont understand. I have a BufferedImage type variable in my .tml can not show, but I can convert into a variable of type InputStream. Suppose I call that variable myImage I was looking at that page but do not quite understand. I'm supposed to use the last paragraph "Creating a page for

BufferedImage in Tapestry

2012-07-15 Thread gonzalomp87
First of all sorry for the translation. My level of English is very bad. I'm trying to display an image on tapestry. In the .java I have a variable of type BufferedImage. I can show directly or I need to store it in a physical file and then display it. In the first way I would be much more comfo