Re: Testify unable to locate the @IncludeStylesheet

2010-06-09 Thread Dongmei Cao
I figured out where the problem was (at least for my case) when I was trying to create an integration test. (I'm still stuck with the integration test). I have a hierarchical project/module structure. So, it is like MyProjects - Project1 - Project2 - Project3 For the test cases inside P

Re: Testify unable to locate the @IncludeStylesheet

2010-06-09 Thread Bryan Lewis
I'm on an older version of testify, 1.0.0. Maybe that's a clue. On Wed, Jun 9, 2010 at 8:26 AM, paha wrote: > > Doesn't work for me either. Neither PageTester nor Testify (based on it) > seem > to handle asset:context: properly. I have no other explanation, why the > same > things work in tape

Re: disable label suffix

2010-06-09 Thread Thiago H. de Paula Figueiredo
On Wed, 09 Jun 2010 12:15:17 -0300, Stefan Schuetz wrote: Hi folks, Hi! i can't find out how to disable the label suffix (":") which will be auto. appended. CSS? label:after {content : ""} -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, d

disable label suffix

2010-06-09 Thread Stefan Schuetz
Hi folks, i can't find out how to disable the label suffix (":") which will be auto. appended. Does anyone have an idea? Thanks in advance, stefan smime.p7s Description: S/MIME cryptographic signature

Re: [ANNOUNCEMENT] tapestry-resteasy 0.2.0 and tapestry-model 0.0.2 released!

2010-06-09 Thread Kalle Korhonen
On Wed, Jun 9, 2010 at 8:09 AM, Borut Bolčina wrote: > Wow, looking forward to tapestry-security! I just saw Apache Shiro 1.0.0 was > released a few days ago. This is it, isn't it? That's the one. Kalle > 2010/6/9 Kalle Korhonen > >> On Wed, Jun 9, 2010 at 7:28 AM, Omar Carvajal >> wrote: >>

Re: [ANNOUNCEMENT] tapestry-resteasy 0.2.0 and tapestry-model 0.0.2 released!

2010-06-09 Thread Borut Bolčina
Wow, looking forward to tapestry-security! I just saw Apache Shiro 1.0.0 was released a few days ago. This is it, isn't it? Compliments, bob 2010/6/9 Kalle Korhonen > On Wed, Jun 9, 2010 at 7:28 AM, Omar Carvajal > wrote: > > Was tapestry-model-jpa released too? I don't see it anywhere.. > > N

Re: Res: Res: Res: session.persist saves object with id 0

2010-06-09 Thread Genís Pujol
Al 09/06/2010 16:24, En/na Thiago H. de Paula Figueiredo ha escrit: On Wed, 09 Jun 2010 11:18:16 -0300, Genís Pujol wrote: The database (Oracle 10g) has an index so it knows which Id to assign next to the new record, but instead of this the new object gets Id = 0 (the next one Id=1 and so fo

Re: [ANNOUNCEMENT] tapestry-resteasy 0.2.0 and tapestry-model 0.0.2 released!

2010-06-09 Thread Kalle Korhonen
On Wed, Jun 9, 2010 at 7:28 AM, Omar Carvajal wrote: > Was tapestry-model-jpa released too? I don't see it anywhere.. No, 0.0.2 model was a tiny bug-fix release but tapestry-model-jpa was only added to the branch version (currently 0.1.x). That release is still to come - but before that, a releas

Re: [ANNOUNCEMENT] tapestry-resteasy 0.2.0 and tapestry-model 0.0.2 released!

2010-06-09 Thread Omar Carvajal
Congrats on the new release you guys have done a great job! Keep on rocking! Was tapestry-model-jpa released too? I don't see it anywhere.. Omar On Tue, 8 Jun 2010 22:34:53 -0700, Kalle Korhonen wrote: > (If your name is Paul Stanton, please stop reading now :-> ) > > They say that a release a

Re: Res: Res: Res: session.persist saves object with id 0

2010-06-09 Thread Thiago H. de Paula Figueiredo
On Wed, 09 Jun 2010 11:18:16 -0300, Genís Pujol wrote: The database (Oracle 10g) has an index so it knows which Id to assign next to the new record, but instead of this the new object gets Id = 0 (the next one Id=1 and so forth). It should be the db who assigns the right Id to the new reco

Re: Res: Res: Res: session.persist saves object with id 0

2010-06-09 Thread Genís Pujol
Al 09/06/2010 14:27, En/na Thiago H. de Paula Figueiredo ha escrit: On Wed, 09 Jun 2010 09:16:55 -0300, Everton Agner wrote: I'm not a Hibernate advanced user, but you're using a XML and Entity class annotations to configure your Entity? I haven't noticed that. Ewerton is right: no need to

Re: MultiZoneUpdate in page triggered by event in component

2010-06-09 Thread Christophe Cordenier
Hi 2010/6/9 Geoff Callender > Have a look at the following example. It demonstrates exactly that > situation. > > > http://jumpstart.doublenegative.com.au/jumpstart/examples/ajaxcomponentscrud > Nice and complete demonstration page !! > > HTH, > > Geoff > > On 09/06/2010, at 9:04 PM, springin

Re: Using PropertyEditor standalone

2010-06-09 Thread Thiago H. de Paula Figueiredo
On Wed, 09 Jun 2010 10:05:44 -0300, t5_lothar wrote: The thing is: I'd like to be able to place the text fields independently on the screen. Therefore I want to get red of the loop included in BeanEditor.tml. Would you suggest to inherit from BeanEditor in this case? The easiest way would

Re: Using PropertyEditor standalone

2010-06-09 Thread t5_lothar
Thank you for the quick response. The thing is: I'd like to be able to place the text fields independently on the screen. Therefore I want to get red of the loop included in BeanEditor.tml. Would you suggest to inherit from BeanEditor in this case? Lothar Thiago H. de Paula Figueiredo wrote: >

Re: MultiZoneUpdate in page triggered by event in component

2010-06-09 Thread Geoff Callender
Have a look at the following example. It demonstrates exactly that situation. http://jumpstart.doublenegative.com.au/jumpstart/examples/ajaxcomponentscrud HTH, Geoff On 09/06/2010, at 9:04 PM, springinaction wrote: > > I have the following scenario. > > I have a component on a page,

Re: Using PropertyEditor standalone

2010-06-09 Thread Thiago H. de Paula Figueiredo
On Wed, 09 Jun 2010 09:46:50 -0300, t5_lothar wrote: Hello all, Hi! my goal is to create something like BeanEditForm, but the underlying data is not a Java Bean but a an XML tree (org.jdom.Element). Why don't you use BeanEditForm or BeanEditor and just create custom PropertyModels for

Using PropertyEditor standalone

2010-06-09 Thread t5_lothar
Hello all, my goal is to create something like BeanEditForm, but the underlying data is not a Java Bean but a an XML tree (org.jdom.Element). I found out that the core component being responsible for the field editing is PropertyEditor. My idea is to use PropertyEditor standalone.

Res: Res: Res: Res: session.persist saves object with id 0

2010-06-09 Thread Everton Agner
And I guess only your Annotations are being loaded. If so, try adding: @GeneratedValue(strategy = GenerationType.IDENTITY) to your ID getter. I believe tapestry hib module only works (automatically) with Entity Annotations. Sorry folks for the two mails. - Everton __

Re: Res: Res: Res: session.persist saves object with id 0

2010-06-09 Thread Thiago H. de Paula Figueiredo
On Wed, 09 Jun 2010 09:16:55 -0300, Everton Agner wrote: I'm not a Hibernate advanced user, but you're using a XML and Entity class annotations to configure your Entity? I haven't noticed that. Ewerton is right: no need to use XML mappings when you use annotations. Anyways... If you wa

Re: Testify unable to locate the @IncludeStylesheet

2010-06-09 Thread paha
Doesn't work for me either. Neither PageTester nor Testify (based on it) seem to handle asset:context: properly. I have no other explanation, why the same things work in tapestry itself and don't work in PageTester -- View this message in context: http://old.nabble.com/Testify-unable-to-locate-t

Re: MultiZoneUpdate in page triggered by event in component

2010-06-09 Thread Christophe Cordenier
Hi If you do not want to break the component design of 'someComponent', you should get a MultiZoneUpdate object from its containing page using an event. see triggerEvent on ComponentResources. This way, your component will be reusable in different places. 2010/6/9 springinaction > > I have the

Res: Res: Res: session.persist saves object with id 0

2010-06-09 Thread Everton Agner
I'm not a Hibernate advanced user, but you're using a XML and Entity class annotations to configure your Entity? Anyways... If you want your app to automatically increment your ID before saving it, you shouldn't use the: That tells hibernate that you want to programatically set the ID

Re: Zone Update issue

2010-06-09 Thread springinaction
thanks. that helped. Christophe Cordenier wrote: > > Hi > > You should call the .getBody() method of your Zone component : > > new MultiZoneUpdate("someOtherZone", someOtherZone.getBody()) > > Also note that Grid component has inplace parameter to enable ajax refresh > on sort and naviga

MultiZoneUpdate in page triggered by event in component

2010-06-09 Thread springinaction
I have the following scenario. I have a component on a page, that should be able to update zones on the page class. SomePage | | --- zoneA | | --- zone B | --- someComponent | | On an action in someComponent (link or form submit) zoneA and zoneB need to get updated without re-loading the

Re: How to enable suggestions when entering the input field

2010-06-09 Thread Donarus
Hi and thanks for your reply! I haven't time at the moment for trying this, but think, that it is possible way how to resolve my problem. So thanks for that link - I will try it as soon as possible and let you know.. Dnrs Josh Canfield wrote: > > The autocomplete mixin is based on Script

Re: Res: Res: session.persist saves object with id 0

2010-06-09 Thread Genís Pujol
Hello list, Thanks for all the replies :) I've actually created the entities and the xml + annotations mappings using the eclipse hibernate plugin, I've just added the tapestry annotations. For example for the user entity: http://dpaste.com/205037/ Hibernate xml mapping file: http://dpast