I want to use persistence annotations in my tapestry application, but
the documentation on the hibernate-tapestry integration is sparse and
contradictory.
Do I need to use Hibernate.cfg.xml, or can I use a persistence.xml
with hibernate as the persistence provider? I see references to
acquiring a
Hi Andrea, What version of tapestry are you working with?
As far as i know using tapestry 5.0 this is not possible (or at least
without a workaround) using tapestry 5.0.1 tapestry-hibernate-core now
support using tapestry-hibernate in standalone applications what makes it
possible to use in unit te
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
What about contributing a ValueEncoder that converts between a ProductId
and a String? I haven't needed to work with composite primary keys, so I
can't say if it'd work, but it's worth a shot.
/Filip
On 2009-04-02 00:33, Thiago H. de Paula Figueiredo
Em Wed, 01 Apr 2009 18:35:53 -0300, Fernanda C. Carmo
escreveu:
I have an object Product and it has a composite primary key (ProductId).
How can I put this object Product in actionlink's context value?
Hi!
Create a method that return a List containig the values thatt comprise the
composi
I have an object Product and it has a composite primary key (ProductId).
How can I put this object Product in actionlink's context value?
Thank's!!!
Geoff Callender-2 wrote:
>
> You need the "list" binding prefix so you can do this:
> t:context="list:p.productId, p.categoryId". It's avail
Thank you a lot!
I'm shame. My misstake was:
import grails.persistence.Entity
@Entity
public class TestBean
{
String name
String text
}
I don't defined package name... I just copied this code from your blog.
Sorry for waisted time, and one more time thanks for sugestions and uploaded
code.
On Mar 30, 2009, at 3/304:47 PM , xfile80303 wrote:
>
>> Is there a way to utilize this to only rewrite page render requests
>> and
>> not component or asset requests? I know it is pretty early on in the
>> request lifespan, but without this discrimination this feature is not
>> nearly as
I just redid all the steps with your package and artifact names and it works
flawlessly, so I would assume the bug is somewhere in your setup. But I
cannot say more without seeing all of your source and config files.
Note I made small changes to the english blog entry. Grails 1.1 final is out
and
No Exception here with 5.1.0.2-SNAPSHOT.
Uli
Am 01.04.2009 11:42 schrieb Andy Pahne:
I am using Tapestry 5.1.0.1 and I am trying to add a DOCTYPE declaration
to my Layout component (or directly to a page).
The declaration I am using is directly copied from the documentation at
http://tapes
Great one, thank you...
Andy
Inge Solvoll schrieb:
Hi!
I would like to share another mixin with you guys. Most of you probably know
how easy it is to create these, but maybe this can help beginners in
understanding things. I really love the mixin concept, it makes it so very
very easy to s
I am using Tapestry 5.1.0.1 and I am trying to add a DOCTYPE declaration
to my Layout component (or directly to a page).
The declaration I am using is directly copied from the documentation at
http://tapestry.apache.org/tapestry5/guide/templates.html and it looks
like this:
http://www.w3.o
| don't thin so, becouse TestBean.groovy is in right directory
emi...@localhost ~/coding/java/tapestry/myapp $ ls
src/main/java/org/example/entities/TestBean.groovy
Am I right?
It seems that the import of TestBean in the TestPage class specifies a wrong
package. Which package did you speci
It seems that the import of TestBean in the TestPage class specifies a wrong
package. Which package did you specify when generating the archetype?
2009/4/1 emilis
>
> Hello,
> I done all steps by this blog:
>
> blog url
>
>
> And have error on gorm stubs compilation:
>
>
> [INFO] [groovy:gener
On Wed, Apr 1, 2009 at 8:33 AM, Peter Kanze wrote:
> * Maybe the onActivate is not a could place to do my doSearch(), but how can
> I do this better? Because now my search query is called twice.
> That is not what I want!
I do not use event handler methods for that: if I'm using a Grid, for
examp
Hi Geof,
Thank you!
I think I understand it better now.
The first onActivate is called when the form submits.. The second is from
the page redirected by tapestry, in my case the same page*.
* Maybe the onActivate is not a could place to do my doSearch(), but how can
I do this better? Because now
Do these help?
http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/navigation/onactivateandonpassivate/3
http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/navigation/whatiscalledandwhen
Regards,
Geoff
On 01/04/2009, at 9:30 PM, Peter Kanze wrote:
To b
Hello,
I done all steps by this blog:
blog url
And have error on gorm stubs compilation:
[INFO] [groovy:generateStubs {execution: default}]
[INFO] Generated 2 Java stubs
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] C
Hello I'm having problems understanding how to make tapestry-hibernate to work:
I've created the following library module:
public class JFlyBusinessModule
{
public static void bind(ServiceBinder binder)
{
binder.bind(CAuditDAO.class, CAuditDAOImpl.class);
binder.bind(CCli
Hi!
I would like to share another mixin with you guys. Most of you probably know
how easy it is to create these, but maybe this can help beginners in
understanding things. I really love the mixin concept, it makes it so very
very easy to separate concerns in the view layer.
The mixin code below p
To be more clear I added a basic page with a simple form.
See below which methods are called. Why is the onActivate() called before
the onSuccess and onSubmit()?
In my onActivate I call a doSearch(), so basically for every form submit,
the search query is called twice.
This is very inefficient. Ho
On Wed, Apr 1, 2009 at 11:32 AM, Borut Bolčina wrote:
> Hello,
>
> I am wondering how are you monitoring the health of deployed
> applications? Do you use any tools or do you write some "services"
> which regularly check for the presence of some string in the generated
> html, or something comple
Hello,
I am wondering how are you monitoring the health of deployed
applications? Do you use any tools or do you write some "services"
which regularly check for the presence of some string in the generated
html, or something completely different?
Cheers,
Borut
---
Hello
Today I noticed that when I submit a form by clicking the submit button,
tapestry first calls the onActivate and then the onSuccesFromMyForm.
Is this normal tapestry behaviour? What is the reason behind it?
See my output after I clicked the submit button:
onActivate(String categoryName, i
Hello,
I create a component which used @EventListener, like this
public abstract class MonthDay extends BaseComponent implements
PageBeginRenderListener {
public abstract void setMonthModel(IPropertySelectionModel model);
public abstract int getMonth();
public abstract void setDa
On Tue, Mar 31, 2009 at 12:52 PM, Kasper wrote:
> Hi,
>
> I am trying to create a dispatcher to define the access levels for the
> current user. I have followed the steps from the Wiki pages:
Look at the access module of the ChenilleKit project:
http://tapestry.formos.com/nightly/chenille-kit/
25 matches
Mail list logo