Create a thread?
Kalle
On Tue, Jun 18, 2013 at 11:42 PM, Rural Hunter wrote:
> Hi,
>
> Is there a "best practice" to implement continuously/long-run background
> jobs in Tapestry? I know there is PeriodicExecutor but my requirement is to
> have the job run continuously in the background. It sho
Hi,
Is there a "best practice" to implement continuously/long-run background
jobs in Tapestry? I know there is PeriodicExecutor but my requirement is
to have the job run continuously in the background. It should start when
the application starts and end when the application ends.
---
Thanks Howard.
On Tue, Jun 18, 2013 at 11:54 AM, Howard Lewis Ship wrote:
> You've got it. Real documentation coming Real Soon Now.
>
>
> On Tue, Jun 18, 2013 at 8:30 AM, George Christman
> wrote:
>
> > I believe I figured this out, if someone could confirm I'm doing this
> > correctly, I'd appre
You've got it. Real documentation coming Real Soon Now.
On Tue, Jun 18, 2013 at 8:30 AM, George Christman
wrote:
> I believe I figured this out, if someone could confirm I'm doing this
> correctly, I'd appreciate it.
>
> I added the following to the resource package,
> META-INF/modules/custom-au
I believe I figured this out, if someone could confirm I'm doing this
correctly, I'd appreciate it.
I added the following to the resource package,
META-INF/modules/custom-autocomplete.js
I removed @Import(library="context:js/custom-autocomplete.js")
and changed the require to
jsSupport.require("
Hello everyone, I'm trying to familiarize myself with some of t5.4. I've
been trying to build a sample mixin based off from the Tap autocomplete,
but seem to have stumbled on JavaScriptSupport require. I'm not sure how to
import my custom js and call the initialize method while still being able
to
You can write whatever you want. Why not just use the tool that was meant to
do this job.
Less maintenance, less hassle, someone else supports it, its tested. What's
not to like?
On Jun 18, 2013, at 10:53 AM, Thiago H. de Paula Figueiredo wrote:
> It's Taha implementing some additional transa
It's Taha implementing some additional transaction handling on the top of
Tapestry-Hibernate/Tapestry-JPA. :)
On Tue, Jun 18, 2013 at 11:49 AM, pico.dev . wrote:
> What about this?
> http://tawus.wordpress.com/2011/04/23/tapestry-magic-5-advising-services/
>
>
> 2013/6/18 Thiago H. de Paula Fig
What about this?
http://tawus.wordpress.com/2011/04/23/tapestry-magic-5-advising-services/
2013/6/18 Thiago H. de Paula Figueiredo
> Tapestry-Hibernate and Tapestry-JPA were created for simple scenarios, in
> which you don't need that much control on transactions. If you really need
> more than
Tapestry-Hibernate and Tapestry-JPA were created for simple scenarios, in
which you don't need that much control on transactions. If you really need
more than that, you'll be better served by EJB or Spring or something else
that deals with transactions in a more specifc way.
On Tue, Jun 18, 2013
Full JEE (i.e. Stateless EJBs) support nested transactions.
On Jun 18, 2013, at 4:13 AM, John wrote:
> I have some updating DAOs that refer to other updating DAOs. Both the top
> level and the lower level DAO update the same PU and use the following on
> their interfaces:
>
> @CommitAfter
>
>
Please post examples always considering the application being deployed as
root (/), so we don't need to guess whether MyApp is a page, package or
context name.
So, considering /MyPage/1 needs to be rewritten to /1 and MyPage is the
only one with URLs like that, the easiest way is to avoid URL rewr
On Mon, Jun 17, 2013 at 8:01 PM, Nomen Nomanum wrote:
> You are master, master of knowledge,
I just can say I'm a master at something because I have an master degree in
Computer Science. :P Not of much use, but I had lot of fun in getting it,
so it was well worth it. :)
> So, back to topic, wh
On Tue, Jun 18, 2013 at 9:11 AM, Nomen Nomanum wrote:
> Great proposal, @Lava! :)
> But for that method MappedConfiguration.override(...) I will have to
> include TypeCoercion so that Tapestry exactly knows how to handle with the
> following String --> long ( my entity Article has it's @Id positio
Great proposal, @Lava! :)
But for that method MappedConfiguration.override(...) I will have to include
TypeCoercion so that Tapestry exactly knows how to handle with the following
String --> long ( my entity Article has it's @Id positioned on id field, so
HibernateModule.contributeValueEncoderSo
I just created one: https://issues.apache.org/jira/browse/TAP5-2130
Am 17.06.2013 um 14:04 schrieb Muhammad Gelbana:
> Thanks a lot, this helped :)
> And it looks a lot like a bug ! Have you started a jira issue ?
>
>
> On Fri, Jun 14, 2013 at 10:53 AM, Christian Riedel
> wrote:
>
>> Yes, I d
Can you guarantee that name is unique and will never change?
If not, you might want to concatenate name and id in your ValueEncoder and
ignore the name in the lookup so that old bookmarks and duplicate names are
not broken.
As Thiago suggested, use MappedConfiguration.override(...) to override th
There's no support for nested transaction. JPA and Hibernate don't support
nested transactions also.
All you have is current transaction which begins with new request (well
maybe a little later, when its required), and is committed after execution
flow exits method with @CommitAfter.
If you have
this seems to be in the docs!
http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/corelib/components/Select.html
- Original Message -
From: John
To: users@tapestry.apache.org
Sent: Tuesday, June 18, 2013 8:59 AM
Subject: Internationalising enum values
Hi,
I h
I have some updating DAOs that refer to other updating DAOs. Both the top level
and the lower level DAO update the same PU and use the following on their
interfaces:
@CommitAfter
@PersistenceContext(unitName = "DBUnit")
Will the transactions be nested properly, i.e. will the lower levels DAO c
Hi Willy, you seem to have hijacked a thread to start a new topic.
I think your problem is caused because you are trying to flatten a grid
with no rows. You'll need to render at least one row (even if it contains
blank values) for it to be flattened. This could be done by wrapping your
GridDataSou
my problem is still the same. I am trying to use your Stitch Demo with
gridcollapse to display nested grids. This worked okay, then I suddenly got
this error message a wrote you about.
/*
Hi,
i have been trying to solve this problem for weeks now without any success. I
have some difficulties
Hi,
I have an enum type page property that is used for a select value.
Instead of decoding the enum values directly from the enum I'd like to have the
option to put them in the page properties file so they can be internationalised.
Is there an easy way to do that?
My hope is I can just do some
Even if this functionality changes, I still think that DefaultTreeModel is
flawed.
DefaultTreeModel requires the roots to be instantiated for the model to
exist (it's part of the constructor). If you source your data from a
database and don't store the model in the session or as a singleton this
w
24 matches
Mail list logo