On 24.09.2007 6:07 Uhr, thuertas wrote:
I tried to store beans in a database using Generator, Tansformer and
Serializer.
That's ok for Generator and Serializer but there's nothing in database
when I use a Transformer!
So why doesn't it work with a transformer? Is the spring transaction
initi
Hi,
I tried to store beans in a database using Generator, Tansformer and
Serializer.
That's ok for Generator and Serializer but there's nothing in database
when I use a Transformer!
That's what I did:
The above line should be
o.a.c.generati
Hi,
Many thanks,
that did the trick.
Raphaël
Jason Johnston a écrit :
On Thu, 13 Sep 2007 17:56:27 +0200, Raphaël Piéroni
<[EMAIL PROTECTED]> wrote:
Thanks,
I tried, but it doesn't work.
Here what i did exactly:
...
export defines it's spring stuff in
src/main/resources/META-IN
On Thu, 13 Sep 2007 17:56:27 +0200, Raphaël Piéroni
<[EMAIL PROTECTED]> wrote:
> Thanks,
> I tried, but it doesn't work.
> Here what i did exactly:
...
> export defines it's spring stuff in
> src/main/resources/META-INF/cocoon/spring/
> It defines the block and the generator i try to test
> like
Thanks,
I tried, but it doesn't work.
Here what i did exactly:
I got 4 maven projects: common, storage, export, and webapp
obviously storage depends on common, export on storage and webapp
depends on export.
webapp does not contain any java code nor any sitemap.
common defines it's spring conf
So general advice for all people: if you develop new components don't declare
them in a sitemap.
So, in order to use saxon transformer (XSLT 2.0), we have to declare it
as spring component ?
How ? (newbie in spring...)
Thanks Grek !!
--
Sébastien Geindre
DPREVI/AERO/DEV
sebastien.geindre
Raphaël Piéroni pisze:
> Do you mean something like this:
> in my jar defining my block sitemap, i do
> META-INF/c/s/myGenerators-services.xml
> in which i do
>
> and in my sitemap i do
>
>
>
>
>
>
> and also in the sitemap,
Grzegorz Kossakowski a écrit :
Raphaël Piéroni pisze:
And this transformer have to access the database (DAO w/ transaction)
that is defined with spring.
But i can't manage to link the 2 information.
Is this transformer a Spring bean? Do you want to inject Spring bean
(
Raphaël Piéroni pisze:
>>
>>> And this transformer have to access the database (DAO w/ transaction)
>>> that is defined with spring.
>>> But i can't manage to link the 2 information.
>>>
>>
>> Is this transformer a Spring bean? Do you want to inject Spring bean
>> (a DAO) into some property
Grzegorz Kossakowski a écrit :
Raphaël Piéroni pisze:
Hi Guys,
I have a transformer defined in the sitemap.xmap.
Is it your own transformer?
Yep, IIRC, we also have some custom generators.
And this transformer have to access the database (DAO w/ transaction)
that is defined w
Raphaël Piéroni pisze:
> Hi Guys,
>
>
> I have a transformer defined in the sitemap.xmap.
Is it your own transformer?
> And this transformer have to access the database (DAO w/ transaction)
> that is defined with spring.
> But i can't manage to link the 2 information.
Is this transformer a Spr
Hi Guys,
I have a transformer defined in the sitemap.xmap.
And this transformer have to access the database (DAO w/ transaction)
that is defined with spring.
But i can't manage to link the 2 information.
Is there any documentation or example?
Regards,
Raphaël Piéroni
-
12 matches
Mail list logo