Jun, what does your binding look like?
regards,
Peter
- Original Message -
From: "Jun Tsai"
To: "Tapestry users"
Sent: Tuesday, 9 February, 2010 07:08:18 GMT +02:00 Athens, Beirut, Bucharest,
Istanbul
Subject: Re: web service problem
2010/2/8 Peter Stavrinides
> > Currently, Tapest
> I had tested it ,put the @WebService in implemention class,but it doesn't
> work.
Thats strange Jun, its definitely working for me... I wander what the
difference could be, and you are sure? because I am running fine at every
restart, I am using 5.1.0.5 on Jetty with the Metro web service stack
2010/2/8 Peter Stavrinides
> > Currently, Tapestry-IoC doesn't copy the annotations put in the service
> > implementation class and methods to the generated proxy. A workaround is
> > to put the annotation in the service interface.
> Do you mean put it in the implementation class rather? just tes
I've found a solution - use AJP (instead of HTTP) from Apache to Jetty/Tomcat.
Apache handles the SSL and AJP preserves the security info, so Tapestry knows a
secure channel was used and the @Secure annotation just works. Perfect.
For the record, the key lines for httpd-ssl.conf are like this:
Hi, I spent some time recently digging around in the URLRewrite code
to track down the bug with forms. I had used this interface previously
but didn't stop to think about it until I was knee deep in the code.
I'm curious about the inspiration for implementation and interface. It
really makes no se
Quite a few people have commented on Ten Years of Tapestry, many to
note some of the many other great projects being built with Tapestry as
a foundation.
We keep a list of tutorials and extensions on the Tapestry home page,
with many other sites noted on the wiki (here and here).
Meanwhile, a parti
Hi
Try to inject ComponentResources into your page, call getMessages(), this
will build a new Catalog hierarchy as you describe.
If you want to obtain this from a service, use ComponentSource service to
obtain an instance of page (implements Component), then call
getComponentResources() and then g
> Currently, Tapestry-IoC doesn't copy the annotations put in the service
> implementation class and methods to the generated proxy. A workaround is
> to put the annotation in the service interface.
Do you mean put it in the implementation class rather? just tested it and it
seems to work in t
Hi Dave et al,
Did you find an OK solution to this? I too am hoping to have Apache look after
https and feed only http to the web server, but any page marked @Secure will
reject http and redirect to https, so you end in a loop bouncing between
browser and webserver via Apache.
Cheers,
Geoff
On Mon, 08 Feb 2010 10:25:22 -0200, Dominik Gätjens
wrote:
To all others: I'm sorry I should have mentioned that doSave() points to
hibernates Session.SaveOrUpdate().
I strongly suggest you to use Session.merge() instead, as it never raises
the "there's another object with the same id in
Thank you Sven, I've found an working solution.
To all others: I'm sorry I should have mentioned that doSave() points to
hibernates Session.SaveOrUpdate().
P.S. i think with @PageContext you mean @PageActivationContext, didn't you?
-Ursprüngliche Nachricht-
Von: Sven Homburg [mailto:h
On Sun, 07 Feb 2010 02:52:37 -0200, Jun Tsai wrote:
hi,all
Hi!
Exception in thread "main" java.lang.IllegalArgumentException: class
$DataQueryService_126a6c0531a has neither @WebSerivce nor
@WebServiceProvider annotation
Currently, Tapestry-IoC doesn't copy the annotations put in the serv
Here a small page sample
class EditPage
{
@PageContext
@Property
private Configuration configuration;
@Inject
private ConfigurationDAO configDAO;
@OnEvent(value = EventConstants.PREPARE)
void onPrepare()
{
if (configuration == null)
entity = new de.leomedia.le
Sorry, through = true
with regards
Sven Homburg
Founder of the Chenille Kit Project
http://chenillekit.codehaus.org
2010/2/8 Sven Homburg
> Firlefanz!
>
> Of couse, Urlich sayed the through, but in this context its not right.
> Dominik, dont @Persist-ing the entity, you will see, it works.
>
Firlefanz!
Of couse, Urlich sayed the through, but in this context its not right.
Dominik, dont @Persist-ing the entity, you will see, it works.
with regards
Sven Homburg
Founder of the Chenille Kit Project
http://chenillekit.codehaus.org
2010/2/8 Ulrich Stärk
> You really should consult Hi
You really should consult Hibernate's documentation and especially understand the persistent object
lifecycle (Java Persistence with Hibernate is an excellent book). Saving an object will persist it
to the database (probably including generating an ID and updating the object). Saving it again wil
On Mon, 08 Feb 2010 08:39:59 -0200, Dominik Gätjens
wrote:
but this throws an "a different object with the same identifier value
was already associated with the session:" Exception.
Use Session.merge().
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate con
for sure, but if i persist an object in the http session, i've got the same
object again after page reload? So i should be able to save it in the hibernate
session because it is the same Object?
e.g.
first page load -> get ObjectA from DB -> save ObjectA in http-Session
second page load -> get O
@Persist is for persisting objects in the Http session, not for persisting
entities in a database.
Uli
On 08.02.2010 10:28 schrieb Dominik Gätjens:
I'm using the chenillekit hibernate daos, and there is no explicit update
method, so i thought save() should do this job.
I don't understand why
I'm using the chenillekit hibernate daos, and there is no explicit update
method, so i thought save() should do this job.
I don't understand why there is a new Object if I annotade the config with
@Persist. Shouldn't it be saved in the Session?
btw: i found a possible solution with page activa
You are trying to save a new object while using the old object id ,
what would end in two entities with same id - something not possible.
You should call your DAO update method , instead of save.
Hello List,
i'm trying to update an Hibernate-Object but alway get an "a different object wit
21 matches
Mail list logo