RE: OOT : how to use Tap IDEA

2006-06-11 Thread Allen Liu
TapIDEA only works with the upcoming TapeIDEA 6.0(Demetra).Maybe you are using version 5.1. Pls refer to http://tapidea.javaforge.com/ -Original Message- From: Dwi Ardi Irawan [mailto:[EMAIL PROTECTED] Sent: Monday, June 12, 2006 11:31 AM To: Tapestry users Subject: Re: OOT : how to use Ta

Re: OOT : how to use Tap IDEA

2006-06-11 Thread Dwi Ardi Irawan
i have extract the tapidea-0.4.1.zip and put it in the plugins directory of IntelliJ IDEA but it make i can't create new project or open my recent project ? Hugo Palma wrote: You should unzip the full tapidea-0.4.1.zip file into your plugins directory. That should create a directory structu

RE: Tapestry/Acegi Integration...

2006-06-11 Thread Jonathan Barker
James, I'm including the code for the AclAuthorize component. Again, it is based on the Acegi JSP taglib code, and the tapestry @If component, and requires cleanup as before. Perhaps "@AclSecured" would be an appropriate given your current naming. The application I developed most recently se

RE: Tapestry/Acegi Integration...

2006-06-11 Thread James Carman
Sounds good! I'll probably call mine Secured, since it will match up with the @Secured annotation that we use in code. But, I'll probably lean on some of the work you've done here once I get a chance to read through it. -Original Message- From: Jonathan Barker [mailto:[EMAIL PROTECTED]

Re: ID's on PropertySelection

2006-06-11 Thread Jesse Kuhnert
It does provide id's, that's what IPropertySelectionModel.getValue(int index) returns...To quote the javadocs: /** * Returns a String used to represent the option in the HTML (as the value of an

ID's on PropertySelection

2006-06-11 Thread Rui Pacheco
Hi all I am asking this out of curiosity: Why is the PropertySelection component ready to receive only labels and not id's and labels? Most dropdown boxes are used with data taken from a database. That data almost always has an ID and a value. Why can't we use the PropertySelection witht those tw

RE: Hibernate and binding Exception - Unable to read OGNL expression ''

2006-06-11 Thread Damian Sobieralski
I'm not sure why I couldn't get the exception logged but for those who care, the problem was a Hibernate configuration problem on my end. eh-cache couldn't be found (I assumed jboss came with this). I used the below link to remedy the situation: http://jira.jboss.com/jira/browse/JBAS-2868 >

Re: accessing page in a library

2006-06-11 Thread Ryan Holmes
What do you mean by a "page" of a library? If you're talking about accessing components in a component library, as far as I know you must specify the library in your .application file. -Ryan Norbert Sándor wrote: Hello, How can I acces a page of a library, if the library is not defined in t

accessing page in a library

2006-06-11 Thread Norbert Sándor
Hello, How can I acces a page of a library, if the library is not defined in the .application file? Thanks, Norbi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: conditional and nested ul and li tags

2006-06-11 Thread Ryan Holmes
First, you can't nest UL tags outside of LI tags. I'm sure most browsers will render it correctly, but a more strict parser (like the Tapestry page parser) will choke on it. Your HTML structure needs to be: Post 1 Post 2 Post 2, Reply A Post 2, Reply B

Re: image service?

2006-06-11 Thread Ryan Holmes
This might help you with image resizing. It was built for a very specific purpose: take an input image, downsize it to fit a specified maximum width and output it as a JPEG. It could easily be extended to work with a maximum height as well (typical thumbnail bounding box approach). The useful t

Re: image service?

2006-06-11 Thread Andreas Bulling
| That would be *exactly* what I need... Do you have any pointers to | "Stiches"? | Is that a tapestry framework?? -> http://stitches.authsum.org/ Cheers, Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm

Re: image service?

2006-06-11 Thread Peter Svensson
I have only used it for a small number of images, actaully. Also, there's a problem with transferring files larger than 1MB. I have not noticed any lags for ~10 images on a page that is served by this method as compared to putting them on a nearby apache or as static assets. Cheers, PS On 6/11/0

Re: image service?

2006-06-11 Thread Henri Dupre
Thanks alot Peter! Yes that would definitely save me time. I'm planning to save the images in files and I'd like my service to get dimentions and do some java 2d magic. How well does it perform to store all the images in the DB? On 6/11/06, Peter Svensson <[EMAIL PROTECTED]> wrote: And as I

Re: image service?

2006-06-11 Thread Henri Dupre
On 6/11/06, spamsucks <[EMAIL PROTECTED]> wrote: Stitches has an image upload service in addition to components to search and pick images. Thumbnails of various sizes are auto generated. That would be *exactly* what I need... Do you have any pointers to "Stiches"? Is that a tapestry framewor

Re: Remove jsessionid from static resources?

2006-06-11 Thread Jesse Kuhnert
You could override the AssetService implementation being run in hivemind to get the desired results. There is an open JIRA issue for this that is set to be resolved in the upcoming 4.1 release. On 6/11/06, Kevin Menard <[EMAIL PROTECTED]> wrote: Hi, I was wondering whether it was possible to p

Re: image service?

2006-06-11 Thread spamsucks
Stitches has an image upload service in addition to components to search and pick images. Thumbnails of various sizes are auto generated. Images are cached in the browser and only re-transmitted if they have changed. Same code as in abstractservice. Henri Dupre wrote: I seem to recall tha

Remove jsessionid from static resources?

2006-06-11 Thread Kevin Menard
Hi, I was wondering whether it was possible to prevent the jsessionid from being added to static resources. For instance, the Shell component may append one to the stylesheet and the Image component may append one to the image name. Unfortunately, I just found out our public webapp may ha

Re: image service?

2006-06-11 Thread Peter Svensson
This is embarrasing. It's really not much, and not very well written. On the other hand I "ported" it fairly easy to another project by changing class names and lookup so I suppose you could do the same. I'm not doing any java2D magic in it though, just passing a byte[] as an image/jpeg to the out

Re: image service?

2006-06-11 Thread Andreas Bulling
On 11. Jun 2006 - 10:11:00, Peter Svensson wrote: | I have a simple image service which is not very well packaged, but depends | on an Image class, and uses the trails frameworks Hibernate DAO to get and | do stuff to images stored as byte[]s in the Image class. Could any of that | be of use? I'd

Re: image service?

2006-06-11 Thread Daniel Honig
Henri who is youI think I might know youl...where do you reside? On 6/11/06, Henri Dupre <[EMAIL PROTECTED]> wrote: I seem to recall that quite a while ago someone was working on an image service. I would need a service that allows to resize pictures (hopefully cache the images). Has anyone

Re: image service?

2006-06-11 Thread Peter Svensson
I have a simple image service which is not very well packaged, but depends on an Image class, and uses the trails frameworks Hibernate DAO to get and do stuff to images stored as byte[]s in the Image class. Could any of that be of use? I don't think you would need to use trails at all, really, si