Re: Tapestry-Hibernate

2006-11-05 Thread Daniel Tabuenca
In order for lazy loading to work, the object needs to belong to a session. What I was referring to, was that you can open a new session and then call session.lock() on each object you wish to attach to the new session. This method works great when what you are doing involves a few well-defined ob

Re: Tapestry-Hibernate

2006-11-05 Thread Daniel Tabuenca
A tacos asynchronous requests is still a standard request as far as the servlet is concenred. What is not working for you? I have used this same exact setup using a slightly modified version of Spring's OpenSessionInView filter and it works fine. Make sure you are using a filter-mapping that match

Re: Tapestry-Hibernate

2006-11-05 Thread gant
great, thanks , this must be the reason. How do you define it? Like *ajaxdirect.svc* ? - Original Message - From: "Daniel Tabuenca" <[EMAIL PROTECTED]> To: "Tapestry users" Sent: Sunday, November 05, 2006 16:35 Subject: Re: Tapestry-Hibernate A tacos asynchronous requests is stil

Re: Tapestry-Hibernate

2006-11-05 Thread Daniel Tabuenca
On mine it's : OpenSessionInViewFilter *.ajax I don't recall if .ajax is the default or if that's something I modified. In any case you can lookup what URL is actually being used in your request and make sure it matches that. On 11/5/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

Re: Tapestry-Hibernate

2006-11-05 Thread andyhot
it's *.ajax if you've enabled the tacos ajax request encoder... it's *ajaxdirect.svc if you have standard friendly urls Daniel Tabuenca wrote: > On mine it's : > > >OpenSessionInViewFilter >*.ajax > > > I don't recall if .ajax is the default or if that's something I > modified. In any

Re: A hosting for a tapestry based application

2006-11-05 Thread Gabriel Lozano
Hey take a look at eatj.com. Sincerely I have had some problems but it is very cheap, you have tomcat and mySql. But for the money it is not very bad. By the way, I would also want to know wich is consider the best hosting for tapestry ( and JEE in general ). Gabriel Lozano M. On 11/4/06, Len

Re: DatePicker not working after upgrading from 4.0.2 to 4.1

2006-11-05 Thread Gabriel Lozano
Hi Sorry, but i finally dont know what is the answer to the issue of upgrading tapestry and the datepicker not working. Why is this happening? or should we instead use the dropdownTimePicker? When I click on the date icon ( for the daypicker component ) on IE, the js error says (' document.formId

Html encoding of messages?

2006-11-05 Thread Malin Ljungh
Good evening everyone, I wonder if I can get Tapestry to html encode my messages (from properties-files)? For example, replace the "&"-character with "&". Main

Re: Html encoding of messages?

2006-11-05 Thread andyhot
Malin Ljungh wrote: > Good evening everyone, > > I wonder if I can get Tapestry to html encode my messages (from > properties-files)? > For example, replace the "&"-character with "&". > > Main > Aren't you using the @Insert component to output your messages? It automatically does this encoding. -

Re: Html encoding of messages?

2006-11-05 Thread Malin Ljungh
Well, I use either or the @Insert (but the former is an @Insert also I think). I see now I gave a really bad example. The & -> & works. But Swedish characters, like å -> å doesn't. So I guess I need to enter this in my properties files? Malin On 11/5/06, andyhot <[EMAIL PROTECTED]> wrote: M

Re: Html encoding of messages?

2006-11-05 Thread Malin Ljungh
But that won't work either of course... å will be replaced with å... On 11/5/06, Malin Ljungh <[EMAIL PROTECTED]> wrote: Well, I use either or the @Insert (but the former is an @Insert also I think). I see now I gave a really bad example. The & -> & works. But Swedish characters, like

Re: Html encoding of messages?

2006-11-05 Thread Craig St Jean
å will not be replaced with å, å is the already encoded version, not the to be encoded version. On Nov 5, 2006, at 3:38 PM, Malin Ljungh wrote: But that won't work either of course... å will be replaced with å... On 11/5/06, Malin Ljungh <[EMAIL PROTECTED]> wrote: Well, I use

Re: Html encoding of messages?

2006-11-05 Thread Malin Ljungh
Craig, I've tried it... unfortunately it does replace å with the å And it does not replace å with å Also, I've noticed problems with these characters in the ValidationString files. Here I use \u00e5 but should that really be necessary? On 11/5/06, Craig St Jean <[EMAIL PROTECTED]> wrote:

Re: Html encoding of messages?

2006-11-05 Thread Nick Westgate
Hi Malin. Malin Ljungh wrote: Craig, I've tried it... unfortunately it does replace å with the å Of course it does. Otherwise your messages might contain unintentional HTML. It's always a good idea to read the docs first: http://tapestry.apache.org/tapestry4.1/usersguide/template.html#L

Re: Overriding HomeService (this works)

2006-11-05 Thread Kevin Whitley
Thanks for the help. Just to complete the loop for anybody who is interested in doing something similar... This configuration worked for me (added to my hivemodule.xml): model="singleton"> value="infrastructure:responseRenderer" /> va

why taglibs

2006-11-05 Thread xVik
I was suprised that in tapestry 5 Howard uses taglibs (t:comp) instead of wisywing-friendly standart html tags. Why? I think it was one of the core features of tapestry. -- View this message in context: http://www.nabble.com/why-taglibs-tf2580475.html#a7193414 Sent from the Tapestry - User maili

Re: why taglibs

2006-11-05 Thread Nick Westgate
It's not JSP style "taglibs". It's standard XHTML namespacing (like XML). Howard has stated on numerous occasions that an approach similar to the old jwcid's will be implemented. Read the docs for 5: http://tapestry.apache.org/tapestry5/tap5devwiki.html#MasterIndex (Click "ComonentTemplates" then

Re: Html encoding of messages?

2006-11-05 Thread Malin Ljungh
Thank you Nick. I've read the docs, and I think I've understand it. Maybe I've missed something? The thing is: If I have a message like this: "& å" it will translate it to "& å" or, with the raw="true" option I will get "& å" But! What I want (as output) is this: "& å" As I see it, to get this,

Re: Html encoding of messages?

2006-11-05 Thread Craig St Jean
Maybe we need additional support in the MarkupCharacterTranslator? I'm very new to Tapestry so I of course cannot make this decision, but it would solve this issue and any possible others that are similar. Anyone here familiar with the steps required to modify this class? I'm not familiar w