Hi Howard,
I am on 5.0.6. The behavior you described here is what I expected to
see (I have onActivate() with one parameter, and onActivate() with 0
parameters, and I expected to see onActivate() with one parameter
executed first...but that was not the case).
Should I file a JIRA? It sounds lik
You are using 5.0.5? I believe 5.0.6 has a fix for this, wherein the
method invocation order is by number of parameters, decreasing.
You may have to do:
Object onActivate(Object[] context)
{
...
}
And check the context count explicitly, and convert the context values
explicitly, if you are on
In that case, the informal parameters are the block parameters used to
override the editor row for a particular property.
In your case, you may want to "explode" BeanEditForm into a Form and a
BeanEditor component, which will give you more precise control over
the rendered markup.
On Nov 24, 200
Alexander,
This link appears to have been taken down. Is the book still on
schedule?
Thanks,
Andy
On Wed, 2007-11-14 at 09:45 +, Kolesnikov, Alexander GNI wrote:
> It can be pre-ordered from the publisher's website:
>
> http://www.packtpub.com/tapestry5/book
>
> Cheers,
>
> Alexander
>
Hello,
I'm having a problem with onActivate(). Here are my questions:
1) Why is onActivate() called when a context variable is included in the
URL?
2) Is there a way to prevent onActivate() from being called until AFTER
onActivate(Integer prmPrimaryKey) is called?
Here's my dilemma: I want to us
Hi,
I need to create a page link with an anchor, for example
/app/news/read#comments. In T4 PageLink and friends had an anchor
parameter, which made it easy to do this, but it's missing from T5
counterparts.
I filed https://issues.apache.org/jira/browse/TAPESTRY-1879 - PageLink
does not hav
I am using the BeanEditForm with informal parameters but they do not
seem to be rendering correctly.
In my page template I have:
And the rendered output becomes:
...
I noticed that the BeanEditorForm has the SupportsRenderInformals
annotation on it, but does not render them
See https://issues.apache.org/jira/browse/TAPESTRY-1931
On Nov 24, 2007 9:49 AM, Eko S.W. <[EMAIL PROTECTED]> wrote:
> Ouch.
> Now that was hurt ^_^
> Well, as this is my lecture's order, than I should told him about it.
> Thanks.
> This is a reliev anyway
>
> Thank you Mr. Howard
>
> 2007/11/24
Ouch.
Now that was hurt ^_^
Well, as this is my lecture's order, than I should told him about it.
Thanks.
This is a reliev anyway
Thank you Mr. Howard
2007/11/24, Kevin Menard <[EMAIL PROTECTED]>:
>
> Yes. That was my mistake. The snippet I posted will work in a
> BeanEditForm
> but does not a
Hi Lasitha,
Here is how I handle this. Again, I'm not sure if it's best practice,
I'd be interested in comments:
1) In @PageAttached, I NULL out entity.
2) In OnActivate() (which is executed a few times), I set entity to a
new, empty Entity (useful if this page was called with no primary key,
t
Yes. That was my mistake. The snippet I posted will work in a BeanEditForm
but does not appear to work for a BeanEditor.
--
Kevin
On 11/23/07 10:44 PM, in article
[EMAIL PROTECTED], "Eko S.W."
<[EMAIL PROTECTED]> wrote:
> I am not quite understand, but I'll try it anyway
> I'll report soon
>
Andy, thanks s much, that did the trick. I fixed the prototype.js file not
to include the X-Prototype-Version in the header, and swsh the file appeared
as it should. I cannot thank you enough
Best wishes
Henrik
-
To uns
Ok - i haven't really used prototype in Tapestry, but i took a quick look
at PrototypeResponseContributorImpl in org.apache.tapestry.services.impl
and it looks like that ResponseBuilder overrides the default one if it finds
X-Prototype-Version
in the request headers...
So, assuming that prototype
Andreas Andreou gmail.com> writes:
>
> But, what happens when you GET that url directly? Do you see anything
> returned?
Yes, I get the full page as I expect it to be loadede through the ajax call.
I can even see - when I try to load through the AjaxUploader - that the page I
want to load is
But, what happens when you GET that url directly? Do you see anything returned?
On Nov 24, 2007 12:17 PM, Henrik Schlanbusch <[EMAIL PROTECTED]> wrote:
> Hi I have problem with my ajax code. I try
> to run the code in my tapestry app, but
> when I read the results in firebug from my calls, I get a
Hi I have problem with my ajax code. I try
to run the code in my tapestry app, but
when I read the results in firebug from my calls, I get an
empty string "" from the tapestry servlet,
when I indeed expect to see a well formed html
page. I have tried to run the url that I call
directly through th
I'm trying to integrating tapestry 5.0.6 + spring 2.5 rc.
Everything looks ok, but, as I'm a Chinese user I should input some Chinese.
I use knowledge from "http://wiki.apache.org/tapestry/Tapestry5Utf8Encoding";
to solve encoding problem.
It DOES work.
But , the strange thing is I MUST name the f
17 matches
Mail list logo