Re: Convention plug-in, tiles, and no @Result annotation

2009-12-10 Thread Konstantyn Harasevich
Hello Problem with Tiles 2: When try to deploy application standart wrapper exception Servlet.service() Problem with tiles for configuring locale. Exception tell that no definition for locale in tiles with null pointer exception . How to resolve this? Thanks. ---

Re: Convention plug-in, tiles, and no @Result annotation

2009-12-10 Thread Paweł Wielgus
Hi Fran and Wes, an alternative for what Wes has written is to use tiles inside jsp files like this, in my-action.jsp i have: [extra spaces added] < % @page contentType="text/html;charset=utf-8" language="java" % > < % @ taglib uri="http://tiles.apache.org/tags-tiles"; prefix="tiles" % > < % @ tag

Re: Convention plug-in, tiles, and no @Result annotation

2009-12-09 Thread Wes Wannemacher
I haven't tried it, but from the docs it looks like you can set the 'struts.convention.relative.result.types' variable. It defaults to 'dispatcher,velocity,freemarker' so add 'tiles' to it and see if that works. -Wes On Wed, Dec 9, 2009 at 8:34 AM, Fran Hesser wrote: > Is there a way to use the

Re: convention plug-in question

2009-05-30 Thread Wes Wannemacher
I'd have to test to be sure but I don't thinl the plug in cares about the method. It will do action-return.jsp the way it does for normal processing. On 5/29/09, Jim Collings wrote: > So if I use dynamic method invocation, like so: > > /admin/change-wingding!change > > How will the result urls fo

Re: convention plug-in question

2009-05-14 Thread Jim Collings
Musachy Barroso wrote: > if you add a "/" to the action name, it won't append the namespace to > it, but use it as the whole action name. If your namespace is > "myactions", and you set the name as "/action", the action name is > "/action", if you set it to "action" then the action name will be > "

Re: convention plug-in question

2009-05-14 Thread Musachy Barroso
if you add a "/" to the action name, it won't append the namespace to it, but use it as the whole action name. If your namespace is "myactions", and you set the name as "/action", the action name is "/action", if you set it to "action" then the action name will be "/myaction/action". musachy On T

Re: convention plug-in question

2009-05-14 Thread Jim Collings
So I have this working but I had to specify a value for @Action. I don't think I should have to do this. There should be a convention in the convention plugin of assuming that a result mapped the way I tried to map it is for the current method using it's conventional url when value is left blank.

Re: convention plug-in question

2009-05-14 Thread Jim Collings
Currently I have no unusual interceptors or changes thereto. I've been holding off trying to learn em just yet. First things, first. I'm using the default stack. Jim C. On Thu, May 14, 2009 at 1:34 PM, Musachy Barroso wrote: > Do you have a custom stack interceptor? If the fields are not > pop

Re: convention plug-in question

2009-05-14 Thread Musachy Barroso
Do you have a custom stack interceptor? If the fields are not populated in the action, then the params interceptor is not getting applied, it is hard to say without more details. musachy On Thu, May 14, 2009 at 1:30 PM, Jim Collings wrote: > I have an action with "execute" in the superclass (Act

Re: convention plug-in

2009-05-13 Thread Jim Collings
Dave Newton wrote: > Jim Collings wrote: >> A table of defaults for all of the conventions the convention plugin ... > Hmm, I guess that's what I thought that table of results and results > codes was. If you file a CLA you can update the wiki yourself. Thanks. I may just do that. :-) Jim C.

Re: convention plug-in

2009-05-13 Thread Dave Newton
Jim Collings wrote: A table of defaults for all of the conventions the convention plugin uses. I suppose you could call it a "conventions cheat sheet". For example: I create a foo.jsp that submits to "/place/wingding" foo.jsp -> /place/wingding -> wingding-[ success | fail | error ] Note: I th

Re: convention plug-in

2009-05-13 Thread Jim Collings
A table of defaults for all of the conventions the convention plugin uses. I suppose you could call it a "conventions cheat sheet". For example: I create a foo.jsp that submits to "/place/wingding" foo.jsp -> /place/wingding -> wingding-[ success | fail | error ] Note: I think this is right but

Re: convention plug-in

2009-05-13 Thread Dave Newton
Jim Collings wrote: I've read this many times but I'm not getting out of it what I should. When this happens to me, I seek alternate means. In college, I learned that not all instructors can teach all students and not all documentation can be read by all people. A simple table, X leads to Y lead

Re: convention plug-in

2009-05-13 Thread Jim Collings
I've read this many times but I'm not getting out of it what I should. When this happens to me, I seek alternate means. In college, I learned that not all instructors can teach all students and not all documentation can be read by all people. A simple table, X leads to Y leads to Z would be fantas

Re: convention plug-in

2009-05-13 Thread Lukasz Lenart
2009/5/13 Jim Collings : > Is there a place where I can see what the conventions are that the > convention plug-in uses? Did you read the documentation [1]? [1] http://cwiki.apache.org/WW/convention-plugin.html Regards -- Lukasz http://www.lenart.org.pl/ --