I got this NPE too, but seems at different place:
Request time: 16 ms
[ERROR] RequestExceptionHandler Processing of request failed with
uncaught exception: java.lang.NullPointerException
java.lang.NullPointerException
at
org.apache.tapestry5.dom.Element.createNamespaceURIToPrefix(Element.
Ok,
I'm sure the tapestry list will still be here to help in two years when
they get to phase 3 and have to start from scratch ;)
-dh
On Thu, Feb 19, 2009 at 4:38 PM, Borut Bolčina wrote:
> Today the official winner was announced. The corporate mind decided we will
> use PHP Zend. The deciding
Today the official winner was announced. The corporate mind decided we will
use PHP Zend. The deciding factor was
http://www.zend.com/en/products/platform/customers
Nonetheless, I hope I will post a better news in a few of months which will
go directly into success stories.
-Borut
2009/2/18 Boru
Em Thu, 19 Feb 2009 17:44:54 -0300, Elmer Smith
escreveu:
I first thought of somehow using getClientId(). The problem is that I
need the id in the JavaScript function (the onCompleteCallback one) to
then try and determine which select put values into.
I have also needed to know what compon
I first thought of somehow using getClientId(). The problem is that I
need the id in the JavaScript function (the onCompleteCallback one) to
then try and determine which select put values into.
If I could call getClientId() when in the Java @OnEvent method, then I
could sneak it in as the first e
Em Thu, 19 Feb 2009 17:28:16 -0300, gladstone
escreveu:
Once this is placed
inside an AjaxFormLoop, the client id for the select elements are made
unique by having a unique number appended to it. Inside the JavaScript
function, it can no longer find the select element to update as it
doesn
I am desperately looking for a solution to get a select element that is
dependent on another select element to work inside an AjaxFormLoop. Outside
of an AjaxFormLoop, I can use @OnEvent mixin from T5Components to implement
the dependent select (i.e. the value selected in the first select is used
I am actually completely stuck on a problem that would be solved by being
able to get the component id in this fashion.
I am implementing a form. The form uses an ajaxformloop to add/remove
fields. The fields are elements. What's more, I am using the
@OnEvent mixin + javascript to make one se
It's very simple.
When the Grid component renders, it is keeping the book property up-to
date as the components in its body render. Thus, if you look at the
rendered output, you'll see an element and a URL that references
the component and the displayImage custom event.
Now what happens when th
Hi,
When Grid is in a form, even though 'volatile' parameter is set to 'false'
(by default), I can see the datasource provider method is called during form
submit.
My understanding is that, if 'volatile' is false, it should not be called in
form submitted, am I missing something?
Object setupRen
If there are no other ideas, whether it should work or not (and why), the way
I have done it, aside from the alternative solution hints, maybe I should
try to create a bug issue in T5 jira. For me it is still not clear, why it
does not work. Any other ideas?
--
iren
Thiago H. de Paula Figueire
Hi Thiago,
Thanks for the reply, I have modified the code as you sugested, looks neat.
the problem seems having to do with @ApplicationState, I have this for the
same class in two places, also create it in a service, in one page, I have A
@ApplicationState SessionDat _dat, in the same time I cal
Hi all,
I have a page class, which in "beginRender" pushes a class into the
environment. Then a component uses that environmental value. This works
fine, and I use it in the page activation and passivation methods and
all is well.
In the component, I have a form which sets some values. When
On Tue, Feb 10, 2009 at 2:11 PM, Petros Petrou wrote:
>
> I just changed my dependencies from t5components 0.5.18 to
> chenillekit-tapestry 1.0.0 and the following code that used to work fine now
> throws the exception shown below. Switching back to t5components 0.5.18
> fixes the problem
Chenil
On Thu, Feb 19, 2009 at 10:45 AM, Davor Miku wrote:
> Are you sure this is going to work?
Ooops, I've found an error: it should be
, not test="isInstanceOfA"
> If Foo is B, and I'm:
>
> B doesn't have isInstanceOfA().
> Is it going to false that or to throw exception?
False, the If
Thank you both very much, both solutions work fine!
On Thu, Feb 19, 2009 at 8:45 AM, Davor Miku wrote:
> Are you sure this is going to work?
>
> If Foo is B, and I'm:
>
>
>
> B doesn't have isInstanceOfA().
>
> Is it going to false that or to throw exception?
>
>
>
> On Thu, Feb 19, 200
Are you sure this is going to work?
If Foo is B, and I'm:
B doesn't have isInstanceOfA().
Is it going to false that or to throw exception?
On Thu, Feb 19, 2009 at 8:41 AM, Thiago H. de Paula Figueiredo <
thiag...@gmail.com> wrote:
> On Thu, Feb 19, 2009 at 10:37 AM, Davor Miku wrote:
With a delegate component.
in your template:
and in your page class:
@InjectComponent
private Block compAblock;
@InjectComponent
private Block compBblock;
@InjectComponent
private Block compCblock;
public Block getRenderBlock()
{
if(item instanceof A)
return compAb
On Thu, Feb 19, 2009 at 10:37 AM, Davor Miku wrote:
> So, how could I accomplish this?
Add methods to your page or component class:
public boolean isInstanceOfA() {
return item instanceof A;
}
public boolean isInstanceOfB() {
return item instanceof B;
}
--
Thiago
--
Hi!
Let's say I have:
public interface Foo {
getId();
}
public class A implements Foo {
}
public class B implements Foo {
}
public class C implements Foo {
}
public class Index {
private Map foos = new TreeMap();
}
Let there be components for classes A,B,C, also
etc.
I want in In
Please post the class that contains the snippet you posted here. By
the way, you don't need to asm.set(MySession.class, null), as you're
invalidating the session. You can also inject HttpServletRequest
directly and instead of getting it from RequestGlobals. Better yet,
inject Tapestry's Request and
Hi,
I have following code used to logout a user:
asm.set(MySession.class, null);
global.getHTTPServletRequest().getSession().invalidate();
cookies.removeCookieValue("my.login");
but I'm getting this error with a Tomcat 5.25,but not all, any idea why?
Thanks,
Angelo
[ERROR] [
Hi,
Has anyone seen this problem?
I am still not able to fix it?
Petros
Petros Petrou wrote:
>
> I just changed my dependencies from t5components 0.5.18 to
> chenillekit-tapestry 1.0.0 and the following code that used to work fine
> now throws the exception shown below. Switching back to t5c
23 matches
Mail list logo