Re: [T5] Pick up https/http from request

2008-11-16 Thread Inge Solvoll
I know, this isn't really a problem for regular pages, they load using the requested protocol, when not marked as secure. But when I create eventlinks that updates zones, these don't work when they are generated with http and the rest of the page is generated in https... What I would like to do is

Re: T5 with swfuploader stream failure

2008-11-16 Thread Ronny L
Hi Martin Just figure out how to grab the file. basically just inject the service @Inject private MultipartDecoder decoder; and private UploadedFile file; file = decoder.getFileUpload("Filedata"); voila.. just that simple :) thanks for the clue. Ronny Martijn Brinkers (List)-2 wrote: >

Re: Master-Detail example Using Tapestry-hibernate

2008-11-16 Thread Ronny L
You can have a look at Tapestry jumpstart for integration between Tapestry-hibernate Ronny abangkis wrote: > > Hi guys, > > is there any example of creating a Master-Detail table using > Tapestry-hibernate. > > I've tried create two entity clas : > > @Entity > public class TaskItem { > >

Multi-select list

2008-11-16 Thread rs1050
Hi, I could not find multi-select list in the list of T5 components. Appreciate if you can point me to right place of how to use/get it. Thank you. Roman. -- View this message in context: http://www.nabble.com/Multi-select-list-tp20533280p20533280.html Sent from the Tapestry - User mailing lis

Re: T5 with swfuploader stream failure

2008-11-16 Thread Ronny L
Martin, Apparently tapestry has consumed the whole inputstream from the request object. FileUpload will not be able to pick up the file stream. Do you know where I can retrieve back the http raw data from Tapestry ? Martijn Brinkers (List)-2 wrote: > >> something else to recognize the uploaded

Re: [T5] Layout problem

2008-11-16 Thread DaniloP
Marinus Maris wrote: > > There are two files: > 1. Layout.java - goes in the src\main\java\MyApp\components folder. > 2. Layout.tml - goes in the src\main\resources\MyApp\components folder. > > So there are two different folder for one component. Did you do this? > Well, those two folder hav

Re: [T5] class reloading for pages, templates, components possible only?

2008-11-16 Thread Thiago H. de Paula Figueiredo
Em Sun, 16 Nov 2008 13:45:54 -0300, aldana <[EMAIL PROTECTED]> escreveu: Is live class reloading supposed to work with pages/templates/components only or do I need to configure something to enable this for all classes? Short answer: just for pages, templates, components and mixins, i.e. clas

Re: Design Templete Changed When Transfor Into Tapestry WebApp

2008-11-16 Thread Thiago H. de Paula Figueiredo
Em Sun, 16 Nov 2008 13:44:52 -0300, dwi ardi irawan <[EMAIL PROTECTED]> escreveu: here is the screenshot : http://mobbuzzworld.blogspot.com/2008/11/ie-vs-firefox.html i don't understand i always found difficulty to make my templete looks fine using tapestry 5 in firefox ? Most people her

Re: [T5] Pick up https/http from request

2008-11-16 Thread Carl Crowder
I don't know if you're aware, but if you create a href something like href="//something.com/page" then the current protocol is maintained. So if you were viewing the page at https://something.com the HREF would resolve to https://something.com/page and similarly with http. Unfortunately it requir

Re: [T5] Pick up https/http from request

2008-11-16 Thread Inge Solvoll
Yes, I might. This is a major blow for us, our customers choose freely whether they want to use http or https, so the T5 way of doing things just doesn't work for us... On Fri, Nov 14, 2008 at 9:28 PM, Jonathan Barker < [EMAIL PROTECTED]> wrote: > You might want to vote for this: > > https://issu

RE: T5 document is wrong or the code is wrong or I am wrong and confused. (Return Link from action Link handler)

2008-11-16 Thread Russell Brown
Hi, Yes Link from AJAX request. Like the docs say. Seems like a really good feature to cancel all the AJAXing and just redirect the browser. Doesn't work in 5.0.15. I will let you know Monday if it works in 5.0.16. I like moving target. Cheers Russell -Original Message- From: Geoff C

Re: [T5] class reloading for pages, templates, components possible only?

2008-11-16 Thread SergeEby
Hi, This is documented here: http://tapestry.apache.org/tapestry5/guide/reload.html /Serge aldana wrote: > > hi, > > class reloading works fine for pages, template and components. But it does > not work for related class dependencies. For instance when I change the > implementation of a Dao

Re: T5+Hibernate: Entity class id variables cannot have leading underscores

2008-11-16 Thread SergeEby
Hi, This has nothing to do with Tapestry. You have 2 options: 1) Use the @Column annotation on the _id field @Id @GeneratedValue @Column(name="id") private Long _id; 2) Annotate the accessor methods /Serge Bill Holloway wrote: > > To use the simplified page activation context for a hiber

[T5] class reloading for pages, templates, components possible only?

2008-11-16 Thread aldana
hi, class reloading works fine for pages, template and components. But it does not work for related class dependencies. For instance when I change the implementation of a Dao I don't see any changes on webapp. Is live class reloading supposed to work with pages/templates/components only or do I

Re: Design Templete Changed When Transfor Into Tapestry WebApp

2008-11-16 Thread dwi ardi irawan
here is the screenshot : http://mobbuzzworld.blogspot.com/2008/11/ie-vs-firefox.html i don't understand i always found difficulty to make my templete looks fine using tapestry 5 in firefox ? does anybody has the same problem with me??

Re: Design Templete Changed When Transfor Into Tapestry WebApp

2008-11-16 Thread dwi ardi irawan
i use tapestry 5.0.16 On Sun, Nov 16, 2008 at 11:34 PM, dwi ardi irawan <[EMAIL PROTECTED]>wrote: > here's what tapestry did to my templete... > > > On Sun, Nov 16, 2008 at 11:07 PM, Andy Pahne <[EMAIL PROTECTED]>wrote: > >> >> >> please send the contents of one of your templates and how it rende

Re: Design Templete Changed When Transfor Into Tapestry WebApp

2008-11-16 Thread dwi ardi irawan
here's what tapestry did to my templete... On Sun, Nov 16, 2008 at 11:07 PM, Andy Pahne <[EMAIL PROTECTED]>wrote: > > > please send the contents of one of your templates and how it renders in the > browser as plain text message. > > > > dwi ardi irawan wrote: > >> Hi guys, i really need your help

Re: Design Templete Changed When Transfor Into Tapestry WebApp

2008-11-16 Thread Andy Pahne
please send the contents of one of your templates and how it renders in the browser as plain text message. dwi ardi irawan wrote: Hi guys, i really need your help why my templete looks awful when i use firefoxbut it's looks fine in IE it looks fine when it still *.html. but it c

Re: T4.1.6 problems with ajax - prototype

2008-11-16 Thread Andreas Andreou
Never used the combination but i think someone has mentioned a similar problem a long time ago at the tacos mailing list - probably using T4.0 + tacos4.0(=dojo) + prototype (on his own) Perhaps searching those archives can shed some light. On Thu, Nov 13, 2008 at 1:17 PM, Henrik Schlanbusch <[EMA

T5+Hibernate: Entity class id variables cannot have leading underscores

2008-11-16 Thread Bill Holloway
To use the simplified page activation context for a hibernate entity page (e.g., onActivate(Person p)...), it looks like the entity class' primary key id field's name must match VERBATIM the text that follows the word "get" in the getter (and "set" in the setter, probably). I.e., this won't work: