tiles:insert attribute=content /
On 5 Feb 2004, at 06:47, Anand Stephen wrote:
Any idea what would cause this exception?
500 Servlet Exception
java.lang.NullPointerException
at
org.apache.struts.taglib.tiles.InsertTag.processName(InsertTag.java:
528)
at
Any idea what would cause this exception?
500 Servlet Exception
java.lang.NullPointerException
at
org.apache.struts.taglib.tiles.InsertTag.processName(InsertTag.java:528)
at
org.apache.struts.taglib.tiles.InsertTag.createTagHandler(InsertTag.java
:487)
at
Hmm...
Looks like you got yourself a null pointer mate!
;-)
-Original Message-
From: Anand Stephen [mailto:[EMAIL PROTECTED]
Sent: Thursday, 5 February 2004 13:48
To: Struts-User
Subject: Basic Tiles question!
Any idea what would cause this exception?
500 Servlet Exception
.
At 09:46 PM 2/4/2004, you wrote:
Hmm...
Looks like you got yourself a null pointer mate!
;-)
-Original Message-
From: Anand Stephen [mailto:[EMAIL PROTECTED]
Sent: Thursday, 5 February 2004 13:48
To: Struts-User
Subject: Basic Tiles question!
Any idea what would cause this exception
Hi,
A tile attribute is only visible in its tile, not in its parent, not
in the sub tiles.
You should pass the attribute explicitly from the current tile to the
inserted tile, or put the value in the request context:
tiles:insert attribute=header
tiles:put name=title beanName=title
How do I get the contents of a variable which is clearly available
inside the layout file
to be available inside a tile?
In my layout file, I can have something like tiles:getAsString
name=title/ which works just fine.
If I put the same tag in a tile, I get this error message:
6 matches
Mail list logo