-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Did my e-mail from almost 15 hours ago not get through to everyone on
the list? :P
To quote myself, "Inject the ComponentSource service, get a page from
it, then get its ComponentResources."
I've got a dedicated service for this, it gets the Componen
possible it helps
public class ImportEmailToArchive implements Job
{
private final Logger logger =
LoggerFactory.getLogger(ImportEmailToArchive.class);
@CommitAfter
public void execute(JobExecutionContext jobExecutionContext) throws
JobExecutionException
{
PerthreadManager
I think this is the "standard" way of getting the clientId of the mixin's
container:
@InjectContainer
private ClientElement container;
On Tue, Mar 31, 2009 at 10:24 PM, Thiago H. de Paula Figueiredo <
thiag...@gmail.com> wrote:
> Em Tue, 31 Mar 2009 17:21:07 -0300, Fernando Padilla
> escrev
Thanks, but that works for 5.1.x, not for 5.0.18. I'm eagerly expecting the
release of 5.1.x stable version.
Howard Lewis Ship wrote:
>
> http://tapestry.formos.com/nightly/tapestry5/faq/general.html#create-page-link-from-service
>
> On Tue, Mar 31, 2009 at 2:54 AM, Angelo Chen
> wrote:
>>
>>
Em Tue, 31 Mar 2009 17:21:07 -0300, Fernando Padilla
escreveu:
What is the best way to get the component a mixin i applied to, from
within the mixin?
I want to access the clientId of the component that the mixin has been
tied to. How would I do that?
I guess it is by using @InjectComp
What is the best way to get the component a mixin i applied to, from
within the mixin?
I want to access the clientId of the component that the mixin has been
tied to. How would I do that?
pseudo-code:
mixin {
afterRender {
getComponent().getClientId();
}
}
-
On Tue, Mar 31, 2009 at 2:36 PM, Yancey Yeargan wrote:
>
> Tapestry 5.1 does handle this correctly. I checked by changing ""
> to "" within the Layout.tml template of the quickstart example
> project and it worked as expected.
That is correct for 5.1.0.0, but this bug is specific to 5.1.0.1.
Tapestry 5.1 does handle this correctly. I checked by changing
"" to "" within the Layout.tml template of the
quickstart example project and it worked as expected.
Yancey
On Mar 31, 2009, at 1:57 PM, Howard Lewis Ship wrote:
Please add a bug; Tapestry should not be case sensitive about
TAP5-615
Thanks,
-Luther
On Tue, Mar 31, 2009 at 1:57 PM, Howard Lewis Ship wrote:
> Please add a bug; Tapestry should not be case sensitive about this
> (regardless about what the schema says). t:body and t:Body should be
> equivalent. Tapestry 5.1 may already do this correctly.
>
> On Mon,
Dan,
I can't call this elegant, but I prefer it to passing dao's in the
JobDataMap..
I use Spring with Tapestry, and the SpringAwareStatefulJob from Spring that
makes it easy to access the Spring application context. So, I still need to
look up things that I'm accustomed to having injected, but
Please add a bug; Tapestry should not be case sensitive about this
(regardless about what the schema says). t:body and t:Body should be
equivalent. Tapestry 5.1 may already do this correctly.
On Mon, Mar 30, 2009 at 9:28 AM, Luther Baker wrote:
> For some reason, my brain likes to keep a consist
Is there a more elegant solution than this? If so please share!
Cheers,
Dan
--
View this message in context:
http://www.nabble.com/T5---Chenillekit-Quartz---Services-tp22787045p22805264.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---
If you want to stay away from extending the internals then a decorator /
advisor of the ComponentEventLinkEncoder service would be the best route, as
Thiago suggested. You will still have a reference to LinkImpl which is an
internal implementation since you'll need to create a new link. I don't
Hello all,
I've been developing locally on Tomcat, but will have to ultimately deploy onto
Glassfish .
My app works as expected while on Tomcat, but once deployed to Glassfish I get
an exception:
java.lang.RuntimeException: Exception constructing service 'TemplateParser':
Error invoking co
Hey Levi,
That's almost identical to what I need for my application. Sorry I missed your
post back in Feb, I had a two week holiday mid feb so I wasn't following. You
did this the same way as me by creating your own PageRenderDispatcher and
LinkFactory. My scenario is possibly a little more
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 u
Just a suggestion: please quote the messages you're answering with >.
Without them, it's hard to figure out what's the answer and what's being
answered. ;)
Hi Thiago,
I'm just using nabble.com to access and post to this list and the quoting
features of nabble. Perhaps try viewing your e
http://tapestry.formos.com/nightly/tapestry5/faq/general.html#create-page-link-from-service
On Tue, Mar 31, 2009 at 2:54 AM, Angelo Chen wrote:
>
> Hi,
>
> I'd like to createPageLink inside a services, but ComponentResource can't be
> injected into a service, any other way around? Thanks,
>
> Ang
On Tue, Mar 31, 2009 at 11:53 AM, Thiago H. de Paula Figueiredo
wrote:
> On Tue, Mar 31, 2009 at 11:40 AM, Howard Lewis Ship wrote:
>> Another option would be to combine the URLRewriterRule with an enum to
>> define when it is in effect (INCOMING, OUTGOING, BOTH).
>
> I still prefer the context p
On Tue, Mar 31, 2009 at 11:40 AM, Howard Lewis Ship wrote:
> Another option would be to combine the URLRewriterRule with an enum to
> define when it is in effect (INCOMING, OUTGOING, BOTH).
I still prefer the context parameter option, so it can differentiate
page links from action links.
--
Thi
exists() looks for an instance in the HttpSession ... what is supposed
to be creating this instance?
On Tue, Mar 31, 2009 at 3:52 AM, 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:
> htt
Another option would be to combine the URLRewriterRule with an enum to
define when it is in effect (INCOMING, OUTGOING, BOTH).
On Mon, Mar 30, 2009 at 8:43 PM, Robert Zeigler wrote:
> Yeah, I definitely think there needs to be at least /some/ disambiguation
> between request and response.
> A num
I'm in the process of migrating from T5.0.18 to T5.1 and I'm using the T5.1.0.2
release currently being voted on. I've fixed all the compilation errors and
disabled enough of our custom stuff to get pages rendering, although most of
our javascript seems to be broken (I'll be looking into this is
> > I'm leaning towards a custom implementation of
> > ComponentEventLinkEncoder (possibly extending the internal T5.1 impl)
> since the URL analysis which is going on in here is what I need to
> figure out what (if
> > anything) needs doing to the URL.
>
> As Fernando Padilla would point out and
On Tue, Mar 31, 2009 at 6:26 AM, Blower, Andy
wrote:
> Now I am and I can see what Thiago means but I don't think URL rewriting is
> the right place to do this.
I don't think I said that. :)
> I'm leaning towards a custom implementation of
> ComponentEventLinkEncoder (possibly extending the int
On Tue, Mar 31, 2009 at 1:21 AM, Robert Zeigler wrote:
> As a sort of nitpicky aside... does URLRewriterService have to be called
> that? (Since we're still in new feature api-change mode, here... :).
> What about just URLRewriter? Or URLRewriteHandler? Either of those seem to
> gel a little more
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:
http://wiki.apache.org/tapestry/Tapestry5HowToCreateADispatcher
http://wiki.apache.org/tapestry/Tapestry5HowToCreateADispatcher2
This seems to work. But as I
Hi all,
I am working on a different BeanEditForm, which takes layout parameters as a
String and creates a multicolumn layout for a form. A bit like the idea of
JGoodies forms. Now I go first for tables, since it is an internal
application and accessibility is not an issue, but regardless if I go f
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Angelo,
Inject the ComponentSource service, get a page from it, then get its
ComponentResources.
/Filip
On 2009-03-31 11:54, Angelo Chen wrote:
> Hi,
>
> I'd like to createPageLink inside a services, but ComponentResource can't be
> injected int
Hi,
I'd like to createPageLink inside a services, but ComponentResource can't be
injected into a service, any other way around? Thanks,
Angelo
--
View this message in context:
http://www.nabble.com/t5%3A-create-a-page-link-inside-a-service-tp22801831p22801831.html
Sent from the Tapestry - User
Hey Levi,
That's almost identical to what I need for my application. Sorry I missed your
post back in Feb, I had a two week holiday mid feb so I wasn't following. You
did this the same way as me by creating your own PageRenderDispatcher and
LinkFactory. My scenario is possibly a little more com
On Tue, Mar 31, 2009 at 7:58 AM, Inge Solvoll wrote:
> Is that thread safe, putting the service in a map in non-service class?
JobExecutionContext is made available by Quarz just to store job's
context information and while jobs are executed in an separate thread
i think that should be the case,
32 matches
Mail list logo