--- [EMAIL PROTECTED] wrote:
> stack = (ValueStack)
> tilesContext.getRequestScope().get(
> ServletActionContext.STRUTS_VALUESTACK_KEY);
>
> works from within the Tiles controller!
Yeah, that's why I posted it :/
> It appears to be in the zero element, but I'd
> like to be certain of this.
AF
stack = (ValueStack) tilesContext.getRequestScope().get(
ServletActionContext.STRUTS_VALUESTACK_KEY);
works from within the Tiles controller! Now then, stack.getRoot() returns a
CompoundRoot which appears to be a Collection. Is there a way to know which
element the Action is in? It appears to
--- [EMAIL PROTECTED] wrote:
> In short... workflow.
Oh. I just know about the Tiles/OGNL stuff :)
d.
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-
In short... workflow. I am trying to leverage XML validation, wildcards,
tiles, and a Spring injected Action. Also, I'm trying to wire the results
in the action mapping in such a way that I am not recreating the wheel each
time I need another CRUD. It just seems like some of the parts within thi
--- [EMAIL PROTECTED] wrote:
> Actions work with beans/OGNL in a custom tag
friendly
> way; tiles does not. The ViewPreparer works fine
for
> stashing collections of beans in the request
> scope and then manually working them into the JSP.
I don't think the list supports attachments; at least
I
Thanks Dave --
Perhaps if I explain this in a different context we can arrive at the
optimum solution. To begin, I am writing a generic CRUD where all my
results are complex "tiles" pages. I have a single Action that handles each
of the CRUD user gestures as follows:
{1}Cour
For the sake of completeness, this appears to work
fine.
I can access values using the S2 tags from ValueStack
from the tile's JSP, setting the values via either
setValue() or push().
That said, given I'm not sure I see a
huge advantage to doing so; I was thinking about this
several months ago a
--- [EMAIL PROTECTED] wrote:
> Antonio --
Not directed towards me so I'm somewhat hesitant to
answer given responses in the past, but:
./views/jsp/TagUtils.java:
ValueStack stack = (ValueStack)
req.getAttribute(ServletActionContext.STRUTS_VALUESTACK_KEY);
Perhaps the stack is accessible
Antonio --
Does the ViewPreparer (aka Tiles Controller) has access to the OGNL stack?
I am trying to figure out a way to push beans on the root of the tree (like
S2 does) so the S2 custom tags will implicitly link up with them from my
page parts. The only thing I have been able to figure out so
2007/4/12, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
Thanks Antonio. This is what I decided after searching through the Tiles
jar for "prepare". Can you tell me if Tiles2 is documented somewhere.
Documentation is on the way, since we were busy preparing a release
(and having Easter holidays :-)
Thanks Antonio. This is what I decided after searching through the Tiles
jar for "prepare". Can you tell me if Tiles2 is documented somewhere.
Also, is there a guide that explains the required changes when migrating
Tiles1 to Tiles2? This looks like some really nice work and I'm happy to
see th
2007/4/11, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
Also what supersedes the controllerClass tag?
"preparer" attribute, and it must implement the "ViewPreparer" interface.
Anyway this kind of question should be asked in the Tiles mailing list:
http://tiles.apache.org/mail.html
Antonio
-
Thanks Torsten --
This is what I finally got to work after snooping around in the jars. Too
bad the online documentation shows the wrong URI! That was my problem.
Scott
On 4/11/07, Torsten Römer <[EMAIL PROTECTED]> wrote:
This one works for me:
http://tiles.apache.org/tags-tiles
Torsten
This one works for me:
http://tiles.apache.org/tags-tiles
Torsten
[EMAIL PROTECTED] schrieb:
> I'm starting to realize this! I had a nice S1 Tiles application just die
> under S2 tiles. Should the taglib be:
>
> http://struts.apache.org/tags-tiles or http://tiles.apache.org/tags-tiles
>
> A
I'm starting to realize this! I had a nice S1 Tiles application just die
under S2 tiles. Should the taglib be:
http://struts.apache.org/tags-tiles or http://tiles.apache.org/tags-tiles
Also what supersedes the controllerClass tag?
Scott
April 11, 2007 10:12 AM
To: Struts Users Mailing List
Subject: Tiles 2 woes
I'm trying to migrate a S1 web app to S2. Most things are working with
the
exception of Tiles. Here is the list of things I did in case someone
might
detect a glitch;
1. Had to download commons-digester-1.8.jar be
2007/4/11, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
After reviewing
http://struts.apache.org/2.x/docs/tiles-plugin.html it appears the tiles tag
names have been changed so I updated them accordingly. Any clues before I
jump?
Tiles 2 is a complete rewrite of Struts-Tiles, we tried to clean up
API
I was recently doing the same and what gave me a headache was that even
though my IDE complains about it, it has to be
rather than
which gave me a
11-Apr-2007 17:42:15 org.apache.tiles.impl.BasicTilesContainer render
SEVERE:
I'm trying to migrate a S1 web app to S2. Most things are working with the
exception of Tiles. Here is the list of things I did in case someone might
detect a glitch;
1. Had to download commons-digester-1.8.jar because it was not
included in \struts-2.0.6\lib
2. Added the three struts ti
19 matches
Mail list logo