Re: Struts1/Tiles and Struts2/tiles in same app

2012-09-04 Thread vsendhil
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Unknown Source) -- View this message in context: http://struts.1045723.n5.nabble.com/Struts1-Tiles-and

Rest Plugin with Tiles and Validation

2010-07-20 Thread Johannes Geppert
che.struts2.interceptor.MessageStoreInterceptor:57) - exit executing MessageStoreInterceptor 2010-07-15 14:03:29,845 DEBUG (org.apache.struts2.interceptor.MessageStoreIntercept Best Regards Johannes Geppert - --- web: http://www.

Re: best practices in struts 2.1 - Tiles and Convention - clean URLs with minimum number of actions

2009-12-24 Thread Wes Wannemacher
Charles, I haven't really found any way to get around the setup you are talking about... If you want validation, you pretty much have to map to different actionable URLs. From the framework's perspective, it really can't know that you want validation or not without different request URLs. The alte

Re: best practices in struts 2.1 - Tiles and Convention - clean URLs with minimum number of actions

2009-12-23 Thread Paweł Wielgus
Hi Chuck, i'm also addicted to convention and i do it like that: /register!input (i don't remember well if it is ! or some other character but that is possible for sure) If one call such an address his browser will land on input result with no validation being fired. Also if You want to depent on r

best practices in struts 2.1 - Tiles and Convention - clean URLs with minimum number of actions

2009-12-22 Thread Charles Parker
I'm using struts 2.1.8.1 here and have a question about best practices in the following situation: I have a form page, 'register'. It takes several fields, username, password, etc. I want the initial form page to be rendered via GET: http://my.server.net/register This shows the blank form (

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

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

2009-12-09 Thread Fran Hesser
Is there a way to use the convention plugin, and not specify the @Result annotation for the action classes with the result being tiles or will it only find .jsps and Freemarker templates? When I run this code I get the dreaded: com.opensymphony.xwork2.config.configurationexcept...@1199919 ==> No re

Re: Tiles and Validate

2008-11-28 Thread stanlick
Tiles and validations work fine together. Can you post some code? On Wed, Nov 26, 2008 at 5:39 AM, mthalis <[EMAIL PROTECTED]> wrote: > > It is possible to use tiles and validation(validation forms data) in same > project. if it is possible please give me reference or sample pr

Re: Tiles and Validate

2008-11-26 Thread Antonio
2008/11/26 mthalis <[EMAIL PROTECTED]>: > > It is possible to use tiles and validation(validation forms data) in same > project. if it is possible please give me reference or sample project. > please help me.. I don't see why not validator and Tiles can be used togethe

Tiles and Validate

2008-11-26 Thread mthalis
It is possible to use tiles and validation(validation forms data) in same project. if it is possible please give me reference or sample project. please help me.. Thank you -- View this message in context: http://www.nabble.com/Tiles-and-Validate-tp20699267p20699267.html Sent from the Struts

Re: OT: Tiles and Tags

2008-06-27 Thread Antonio Petrelli
2008/6/27 Marc Eckart <[EMAIL PROTECTED]>: > Sorry :-) > I want to set the attributes of the menu tag like menuBar or > menuItemKey from a tiles.xml Please ask the Tiles Users mailing list: http://tiles.apache.org/mail.html Antonio

Re: OT: Tiles and Tags

2008-06-27 Thread Marc Eckart
Sorry :-) I want to set the attributes of the menu tag like menuBar or menuItemKey from a tiles.xml I tried to set the attribute with: " menuItemKey="menu.item.customersearch" /> I get then /> in the menuBar member. I think nesting tiles tags in custom tags does not work? But how can I d

Re: OT: Tiles and Tags

2008-06-27 Thread Antonio Petrelli
2008/6/27 Marc Eckart <[EMAIL PROTECTED]>: > Now we want to make the attributes of the menu tag configurable with tiles. > I have no clue how to do this. What are you trying to accomplish? Be clearer please. Antonio - To unsubsc

OT: Tiles and Tags

2008-06-27 Thread Marc Eckart
Hi, we use struts2 with tiles. We have a main layout with a custom tag: Now we want to make the attributes of the menu tag configurable with tiles. I have no clue how to do this. Or is there an other way with freemarker or something else? Thanks in advance. Best regards, Marc -

Re: Struts1/Tiles and Struts2/tiles in same app

2008-04-24 Thread Sandy143
e Tiles2 > definitions. > > Can any provide a sample app or config info on how its done? > > Many thanks > Darryl > > > -- View this message in context: http://www.nabble.com/Struts1-Tiles-and-Struts2-tiles-in-same-app-tp12331130p168

Re: tiles and waitAndExec working together?

2007-12-12 Thread Christopher Cheng
JIRA Issue created: https://issues.apache.org/struts/browse/WW-2375 "Antonio Petrelli" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > 2007/12/12, Christopher Cheng <[EMAIL PROTECTED]>: >> >> I have a problem of having tiles and waitAndExec wor

Re: tiles and waitAndExec working together?

2007-12-12 Thread Antonio Petrelli
2007/12/12, Christopher Cheng <[EMAIL PROTECTED]>: > > I have a problem of having tiles and waitAndExec working together. > WaitAndExec and the tag cannot generate the action request correctly > on the wait page. > > On the wait page "wait.jsp" uses the tiles

Re: tiles and waitAndExec working together?

2007-12-12 Thread Christopher Cheng
My success tiles is like this: "Antonio Petrelli" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > 2007/12/12, Christopher Cheng <[EMAIL PROTECTED]>: >> >> success >> ... >> >> >> >> >> >> >> >>

Re: tiles and waitAndExec working together?

2007-12-12 Thread Antonio Petrelli
2007/12/12, Christopher Cheng <[EMAIL PROTECTED]>: > > success > ... > > > > > > > > > Where is the "success" Tiles definition? Ciao Antonio

tiles and waitAndExec working together?

2007-12-11 Thread Christopher Cheng
I have a problem of having tiles and waitAndExec working together. WaitAndExec and the tag cannot generate the action request correctly on the wait page. On the wait page "wait.jsp" uses the tiles template file "http://localhost:8080/jsp/layout/layout.jsp"; as the

Re: Defining a controller for Tiles?.. and shouldn't we include a Tiles example app in the release?

2007-10-07 Thread Antonio Petrelli
2007/10/7, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > I'm writing a chapter to compare and contrast T1 and T2. As T2 is the > counterpart to S2, I would expect preparers to participate in object > injection. If they don't, I could see them largely unused T2 is not counterpart of anything, since it

Re: Defining a controller for Tiles?.. and shouldn't we include a Tiles example app in the release?

2007-10-07 Thread stanlick
I'm writing a chapter to compare and contrast T1 and T2. As T2 is the counterpart to S2, I would expect preparers to participate in object injection. If they don't, I could see them largely unused Scott. On 10/7/07, Antonio Petrelli <[EMAIL PROTECTED]> wrote: > > 2007/10/5, [EMAIL PROTECTED] <[

Re: Defining a controller for Tiles?.. and shouldn't we include a Tiles example app in the release?

2007-10-07 Thread Antonio Petrelli
2007/10/5, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > Has the problem been solved concerning injecting the T2 controllers > (preparers) with beans from the S2 beanFactory? I have written a > DelegatingTilesController that gets the job done, but I consider it a > workaround. Scott, you are writing a

Re: Defining a controller for Tiles?.. and shouldn't we include a Tiles example app in the release?

2007-10-05 Thread stanlick
Has the problem been solved concerning injecting the T2 controllers (preparers) with beans from the S2 beanFactory? I have written a DelegatingTilesController that gets the job done, but I consider it a workaround. On 10/5/07, Ted Husted <[EMAIL PROTECTED]> wrote: > > Good point. What has actuall

Re: Defining a controller for Tiles?.. and shouldn't we include a Tiles example app in the release?

2007-10-05 Thread Ted Husted
Good point. What has actually happened is that there was never a Tiles example for WebWork, and no one has volunteered to add an extensive example for Struts 2 yet. Though, we do have a small Tiles example in the ShowCase * http://www.planetstruts.org/struts2-showcase/tiles/index.action If some

Re: Defining a controller for Tiles?.. and shouldn't we include a Tiles example app in the release?

2007-10-05 Thread Rick Reumann
On 10/5/07, Antonio Petrelli <[EMAIL PROTECTED]> wrote: > > Volunteering to do something that is already outdated, and that will be > removed in favour of Tiles 2? > I think it's a waste of time IMHO, also because in Struts 1.4 there will be > support for Tiles 2. Cool. I didn't even know there wa

Re: Defining a controller for Tiles?.. and shouldn't we include a Tiles example app in the release?

2007-10-05 Thread Antonio Petrelli
2007/10/5, Ted Husted <[EMAIL PROTECTED]>: > > I believe the Tiles example we had migrated to tiles.apache.org with > the rest of the Tiles code, and no one has come up with another. This is not true, the original Tiles code resides under Struts. Antonio As always, it's just a matter of someon

Re: Defining a controller for Tiles?.. and shouldn't we include a Tiles example app in the release?

2007-10-05 Thread Ted Husted
I believe the Tiles example we had migrated to tiles.apache.org with the rest of the Tiles code, and no one has come up with another. The same holds true for the documentation. What we had was migrated, and no one has replaced it. As always, it's just a matter of someone volunteering to do the work

Defining a controller for Tiles?.. and shouldn't we include a Tiles example app in the release?

2007-10-05 Thread Rick Reumann
I'm working on using IDEA for a Struts1.3 project and IDEA was complaining about my Tiles definition that I had declared: It was complaining about not defining a controller (even though the code actually worked without it.) I decided to look at some examples that

Re: Tiles and struts tags

2007-08-27 Thread Antonio Petrelli
2007/8/11, Jim Reynolds <[EMAIL PROTECTED]>: > > Struts 1.29 app that uses tiles definitions. Question is: I am finding > myself having to call the taglib in the layout, and also in each > tile. If I take the taglib out of any of the jsp pages that is a tile, > then the page fails to display becau

Re: Struts1/Tiles and Struts2/tiles in same app - Works!

2007-08-26 Thread Darryl Thompson
: user@struts.apache.org Sent: Sunday, August 26, 2007 5:44:08 AM Subject: Re: Struts1/Tiles and Struts2/tiles in same app My previous post failed, presumably the attachment was blocked. Here is the contents of the document I created to define the process of using Tiles-2 as a standalone service with

Re: Struts1/Tiles and Struts2/tiles in same app

2007-08-26 Thread Darryl Thompson
y, August 26, 2007 5:44:08 AM Subject: Re: Struts1/Tiles and Struts2/tiles in same app My previous post failed, presumably the attachment was blocked. Here is the contents of the document I created to define the process of using Tiles-2 as a standalone service with Struts-1 and Struts-2. Sorry if i

Re: Struts1/Tiles and Struts2/tiles in same app

2007-08-26 Thread Ray Clough
-public="-//W3C//DTD XHTML 1.0 Transitional//EN" /> String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + request.getContextPath(); pageContext.setAttribute("BasePath",basePath);

Re: Struts1/Tiles and Struts2/tiles in same app

2007-08-26 Thread Ray Clough
I have prepared a pdf document describing this exact problem: Tiles-2 as a standalone service along with Struts-1 and Struts-2. The doc includes copies of the web.xml and struts.xml files. I am attaching the file in the hopes it is useful. - Ray Clough [EMAIL PROTECTED] ---

Re: Struts1/Tiles and Struts2/tiles in same app

2007-08-25 Thread Pavel Sapozhnikov
simple of a web app containing both s1/tiles1 > and s2/tiles2. > > If you know of such an example please send me the link > > Thanks > > > - Original Message > From: Pavel Sapozhnikov <[EMAIL PROTECTED]> > To: Struts Users Mailing List > Sent: Saturda

Re: Struts1/Tiles and Struts2/tiles in same app

2007-08-25 Thread Darryl Thompson
p containing both s1/tiles1 and s2/tiles2. If you know of such an example please send me the link Thanks - Original Message From: Pavel Sapozhnikov <[EMAIL PROTECTED]> To: Struts Users Mailing List Sent: Saturday, August 25, 2007 8:09:33 PM Subject: Re: Struts1/Tiles and Strut

Re: Struts1/Tiles and Struts2/tiles in same app

2007-08-25 Thread Pavel Sapozhnikov
Well there are definitely some tutorials on the net how to start this thing with Tiles2. You have to include a servlet in web.xml and make sure to put a result type to struts.xml and when you want to use tiles just use result type tiles. Also make sure all your necessary jars are in place. I heard

Struts1/Tiles and Struts2/tiles in same app

2007-08-25 Thread Darryl Thompson
Hello, I have production application written using Struts1.2 and Tiles 1, and I need to implement the new Struts2/Tiles 2 features within the same web app. I have not found any good documentation that explains how to do this. I have created a simple Struts1/Tiles1 app that also has Struts2/Tile

trouble with Tiles and EventActionDispatcher

2007-08-14 Thread ddu
return mapping.findForward("waterbodyList"); } struts-config.xml tiles-defs.xml thanks! David -- View this message in context: http://www.nabble.com/tr

Tiles and struts tags

2007-08-10 Thread Jim Reynolds
Struts 1.29 app that uses tiles definitions. Question is: I am finding myself having to call the taglib in the layout, and also in each tile. If I take the taglib out of any of the jsp pages that is a tile, then the page fails to display because it cannot find the taglib from the template layout.

Re: Tiles and

2007-05-21 Thread Jim Theodoridis
Thanx Antonio Petrelli wrote: 2007/5/21, Jim Theodoridis <[EMAIL PROTECTED]>: Because i allready have a template like this value="/tiles/footers/admin/footer.jsp" /> ...

Re: Tiles and

2007-05-21 Thread Antonio Petrelli
2007/5/21, Jim Theodoridis <[EMAIL PROTECTED]>: Because i allready have a template like this ... and i want the toolbar definition n

Re: Tiles and

2007-05-21 Thread Jim Theodoridis
Because i allready have a template like this path="/tiles/layouts/templates/admin/blackplazza_admin/mainLayout.jsp"> value="/tiles/layouts/templates/admin/blackplazza_admin/mainMenu.jsp" /> .

Re: Tiles and

2007-05-21 Thread Antonio Petrelli
2007/5/21, Jim Theodoridis <[EMAIL PROTECTED]>: Antonio Petrelli wrote: > 2007/5/21, Jim Theodoridis <[EMAIL PROTECTED]>: >> >> Hello >> >> I am having the follwoing definition at tiles-defs.xml >> >> >> >> >> >> >> >> how can i set that "toolbar" definition will be nu

Re: Tiles and

2007-05-21 Thread Jim Theodoridis
Antonio Petrelli wrote: 2007/5/21, Jim Theodoridis <[EMAIL PROTECTED]>: Hello I am having the follwoing definition at tiles-defs.xml how can i set that "toolbar" definition will be null? What is that "{$1}"? I really cannot understand it. Antonio I was just l

Re: Tiles and

2007-05-21 Thread Antonio Petrelli
2007/5/21, Jim Theodoridis <[EMAIL PROTECTED]>: Hello I am having the follwoing definition at tiles-defs.xml how can i set that "toolbar" definition will be null? What is that "{$1}"? I really cannot understand it. Antonio

Tiles and

2007-05-21 Thread Jim Theodoridis
Hello I am having the follwoing definition at tiles-defs.xml how can i set that "toolbar" definition will be null? at tomcat 5.1.8 the works fine but at tomcat 5.5 i am getting an error like The requested resource (/tera/tiles/layouts/templates/admin/blackplazza_admin

Re: Tiles and Struts not using same local initially

2006-12-12 Thread Antonio Petrelli
Matthias Stoll ha scritto: Hi there. I have a Tiles / Struts application. When using i18n in Struts (property files) everything works fine, even if the user has selected a language in his browser (e.g. en as preferred language, struts loads the property_en file). Tiles is not doing so. It loa

Tiles and Struts not using same local initially

2006-12-12 Thread Matthias Stoll
Hi there. I have a Tiles / Struts application. When using i18n in Struts (property files) everything works fine, even if the user has selected a language in his browser (e.g. en as preferred language, struts loads the property_en file). Tiles is not doing so. It loads the default definition fil

Re: Using tiles and validator framework

2006-12-07 Thread Deep Blue
Hi, But it is a component (or portlet) in my main.jsp page. The poll may appear in any jsp page, so I cannot specify a fixed page to forward inside struts-config.xml. Thanks for your answer! Best Regards, Guang Sheng On 12/7/06, Niall Pemberton <[EMAIL PROTECTED]> wrote: On 12/5/06, Deep Bl

Re: Using tiles and validator framework

2006-12-07 Thread Niall Pemberton
On 12/5/06, Deep Blue <[EMAIL PROTECTED]> wrote: Hi, I'm using tiles component in my .jsp page (eg. main.jsp). It is a poll component, which user can submit the vote. Commons validator framework is used to validate the poll submission. When the validation failed on the tiles component, the tiles

Using tiles and validator framework

2006-12-05 Thread Deep Blue
Hi, I'm using tiles component in my .jsp page (eg. main.jsp). It is a poll component, which user can submit the vote. Commons validator framework is used to validate the poll submission. When the validation failed on the tiles component, the tiles component's jsp (e.g. poll.jsp) is showed, instea

Re: struts tiles and validator framework

2006-11-07 Thread Antonio Petrelli
erent forms that use the same layout tile will need to have fields uniquely named? I thought this was a big ask and therefore wanted to know how tiles and struts validator framework work together. The problem is that the validator framework and Tiles do not work together! You should se

Re: struts tiles and validator framework

2006-11-07 Thread Madhav Bhargava
tile will need to have fields uniquely named? I thought this was a big ask and therefore wanted to know how tiles and struts validator framework work together. Thanks for the reply. ~madhav On 11/7/06, Antonio Petrelli <[EMAIL PROTECTED]> wrote: Madhav Bhargava ha scritto: > Since i a

Re: struts tiles and validator framework

2006-11-06 Thread Antonio Petrelli
Madhav Bhargava ha scritto: Since i am using struts tiles there is always going to be one form. How can i then use these 2 together? Wait a moment, what's the connection between Tiles and the use of only one form? That's not true. Probably you wanted to say that you have one fo

struts tiles and validator framework

2006-11-06 Thread Madhav Bhargava
Hi All, I am using struts tiles for laying out all the pages. I am wondering how i can use struts client validator framework with struts tiles. The validation.xml file requires form name and then within the form tag we define the individual fields along with the respective validations. Since i a

Re: tiles and resource bundle

2006-11-01 Thread Adam Hardy
Rick Schumeyer on 01/11/06 02:51, wrote: In struts 1.3.x, what is the best way to use resource bundle keys together with tiles? I found the following feature request, but it is a couple of years old...I don't know whether this was ever implemented...but basically this is what I'm trying to do:

tiles and resource bundle

2006-10-31 Thread Rick Schumeyer
In struts 1.3.x, what is the best way to use resource bundle keys together with tiles? I found the following feature request, but it is a couple of years old...I don't know whether this was ever implemented...but basically this is what I'm trying to do: It would be convenient to implement

Re: Tiles and Struts

2006-06-27 Thread Alex Rodrigues da Silva
Thanks, the error was the name. i changed to portal.index where was /jsp/frameset.jsp. Monkeyden wrote: Your forward's path needs to point to the tile-def name (portal.index), not the JSP page that defines the tile-def (/jsp/frameset.jsp). Also, be sure you are using either the tiles plug

Re: Tiles and Struts

2006-06-27 Thread Monkeyden
Your forward's path needs to point to the tile-def name (portal.index), not the JSP page that defines the tile-def (/jsp/frameset.jsp). Also, be sure you are using either the tiles plugin or the TilesRequestProcessor. OR On 6/27/06, Alex Rodrigues da Silva <[EMAIL PROTECTED]> wrot

Tiles and Struts

2006-06-27 Thread Alex Rodrigues da Silva
Hi, I´m trying to use tiles with struts. in my tiles-defs.xml i have in my struts-config i have path="/logonAction" scope="request" type="br.com.stasolutions.login.WSFLogonAction" validate="true"> in my

Re: Getting the definition a tile is in (WAS: tiles and forwards)

2006-06-13 Thread Antonio Petrelli
navin mca ha scritto: It won't give the definiton which content the current page but u have to give the definition name which contains the current page. OK just a case of misunderstanding. It is needed to do exactly the opposite, i.e. getting a definition name given the current page...

Re: Getting the definition a tile is in (WAS: tiles and forwards)

2006-06-13 Thread navin mca
>Do you mean that, inside a JSP page, you are able to get the definition >that contains the current JSP page? It won't give the definiton which content the current page but u have to give the definition name which contains the current page. U have to pass the definition name to the Defini

Re: Getting the definition a tile is in (WAS: tiles and forwards)

2006-06-13 Thread Antonio Petrelli
navin mca ha scritto: Hi, We can get the whole defition at run time and can also get its attributes and their value. Let me know if this help you then i will post the code. Do you mean that, inside a JSP page, you are able to get the definition that contains the current JSP page

Re: Getting the definition a tile is in (WAS: tiles and forwards)

2006-06-13 Thread navin mca
Hi, We can get the whole defition at run time and can also get its attributes and their value. Let me know if this help you then i will post the code. regards, Novin Antonio Petrelli <[EMAIL PROTECTED]> wrote: Sorry again, for a mistake I hijacked TWICE my own thr

Getting the definition a tile is in (WAS: tiles and forwards)

2006-06-13 Thread Antonio Petrelli
Sorry again, for a mistake I hijacked TWICE my own thread! Ugh this is a very bad day! If it doesn't work now I will give up, I swear! I am starting a new thread to rephrase a question from Rudolph Lang, so that other users can see this question, because I don't know the answer. Rudolph Lang (an

Getting the definition a tile is in (WAS: tiles and forwards)

2006-06-13 Thread Antonio Petrelli
Sorry, for a mistake I hijacked my own thread! Ugh I am starting a new thread to rephrase a question from Rudolph Lang, so that other users can see this question, because I don't know the answer. Rudolph Lang (and I am pretty curious about the answer :-) ) wants to know if there is a way to get t

Getting the definition a tile is in (WAS: tiles and forwards)

2006-06-13 Thread Antonio Petrelli
I am starting a new thread to rephrase a question from Rudolph Lang, so that other users can see this question, because I don't know the answer. Rudolph Lang (and I am pretty curious about the answer :-) ) wants to know if there is a way to get the Tiles definition that contains the current JSP

Re: tiles and forwards

2006-06-13 Thread Rudolf Lang
Do you mean that you want to get the definition the file "locale.jsp" is in? If yes I think it is better to start a new thread, because I don't know the answer and I would like someone else to see this question. Otherwise, please explain what you mean. That's exactly what i mean, thanks. Rudo

Tiles and recursive putLists

2006-06-12 Thread Kenneth Østby
Hi.. Please forgive me if this isn't the right mailinglist for Tiles. I'm trying a little hack using recursive putLists and items.. It looks like this http://www.vg.no"/> And in my JSP file I have something that looks like ( Warning, Spring code ) : // Output

Re: tiles and forwards

2006-06-12 Thread Antonio Petrelli
Rudolf Lang ha scritto: The next is, how can I get the actual tilesDefintion in the locale.jsp (perhaps by jstl and EL) or in the LocaleAction.java ? Do you mean that you want to get the definition the file "locale.jsp" is in? If yes I think it is better to start a new thread, because I don't

Re: tiles and forwards

2006-06-09 Thread Rudolf Lang
Antonio Petrelli ha scritto: Can you post the code of your action? At least the part when you return the forward in the "execute" method? I have a suspect. Now I use my own LocaleAction (extends Action !) with the following returns : if (page != null && page.length() > 0) return new Act

Re: tiles and forwards

2006-06-09 Thread rula2005
tonio Petrelli" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Friday, June 09, 2006 12:45 PM Subject: Re: tiles and forwards Can you post the code of your action? At least the part when you return the forward in the "ex

Re: tiles and forwards

2006-06-09 Thread rula2005
e); } } - Original Message - From: "Antonio Petrelli" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Friday, June 09, 2006 1:00 PM Subject: Re: tiles and forwards Antonio Petrelli ha scritto: Can you post the code of your action? At least the part

Re: tiles and forwards

2006-06-09 Thread Antonio Petrelli
Antonio Petrelli ha scritto: Can you post the code of your action? At least the part when you return the forward in the "execute" method? I have a suspect. Uh sorry, I didn't notice that you used an internal Struts action! Anyway let me think about it --

Re: tiles and forwards

2006-06-09 Thread Antonio Petrelli
rula2005 ha scritto: Hi, sorry, i misunderstood the meaning of "specified filename", i have already used the tiles-plugin with the tiles-def.xml in the struts-config.xml like this: Mmm... this is strange... Can you post the code of your action? At least the

Re: tiles and forwards

2006-06-09 Thread rula2005
ocessor.java:386) at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:318) regards rula - Original Message - From: "Antonio Petrelli" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Friday, June 09, 2006 8:08 AM Subject: Re: tiles and fo

Re: tiles and forwards

2006-06-09 Thread Antonio Petrelli
rula2005 ha scritto: I specified no filenames in struts-config.xml That's funny, how do you think that Tiles knows what definition file to use? http://struts.apache.org/struts-action/struts-tiles/installation.html As you can see it states: * *Using Tiles With Struts Action* - You will als

Re: tiles and forwards

2006-06-08 Thread rula2005
s Mailing List" Sent: Friday, June 09, 2006 7:21 AM Subject: RE: tiles and forwards Where do you define the tiles? (Filename) How did you specify the filename to the tiles request processor/struts config? -DAvid -Original Message- From: rula2005 [mailto:[EMAIL PROTECTED] Sent: Fri

RE: tiles and forwards

2006-06-08 Thread David Friedman
Where do you define the tiles? (Filename) How did you specify the filename to the tiles request processor/struts config? -DAvid -Original Message- From: rula2005 [mailto:[EMAIL PROTECTED] Sent: Friday, June 09, 2006 3:06 AM To: user@struts.apache.org Subject: tiles and forwards Hi, I

tiles and forwards

2006-06-08 Thread rula2005
Hi, I use struts 1.2 with tiles. There are a template layout.jsp, a tile locale.jsp and 2 tileDefinitions a.page and b.page. With the org.apache.struts.actions.LocaleAction there are problems. In the locale.jsp: (language switch) If the page attribute is set to a tilesDefintions

Tiles and .inc file

2006-04-25 Thread Raghuveer
In my web application.I have struts tiles layout which include header,body,footer. In my hader.jsp i have a <[EMAIL PROTECTED] file="test.inc"%> In test.inc file i have variable strUserLoginID. How to make variable value available to all jsp's in Tiles Layout ? --

Re: tiles and best practice

2006-03-29 Thread Greg Reddin
On Mar 29, 2006, at 2:58 PM, Rolando Martinez wrote: The question is: Where Can I define the form that encapsulates defined fields in forms? Is it better to define it in a JSP page that contains the layout or to define a form for each JSP page that instances the layout? I'm not sure I fully

Re: tiles and best practice

2006-03-29 Thread Ted Husted
people use the XML configuration file. For more about Tiles, you can visit Introduction to struts and tiles with a working example * http://www.laliluna.de/first-steps-struts-tiles-tutorial.html Reuse Tiles and Simplify UI * http://www.oracle.com/technology/oramag/oracle/04-may/o34dev_s

tiles and best practice

2006-03-29 Thread Rolando Martinez
Hi everyone, I'm working in a Project using Struts and tiles. Right now I have a problem and I don't know what the best way to solve it is. The problem is : there is only one layout and many JSP pages that can build the page The question is: Where Can I define the form that encapsulates defi

Re: Tiles and Validator Framework

2006-02-28 Thread Shiby Maria John
<[EMAIL PROTECTED]To: Struts Users Mailing List com> cc:

Re: Tiles and Validator Framework

2006-02-28 Thread Dave Newton
Shiby Maria John wrote: > Anyone has an answer to my problem ?? > > I want to use both Tiles and Validator in my application. > Any tips why it is not working for me?? > I use Tiles and the validation framework all the time with no

Tiles and Validator Framework

2006-02-28 Thread Shiby Maria John
Hi, Anyone has an answer to my problem ?? I want to use both Tiles and Validator in my application. Any tips why it is not working for me?? Regards, Shiby - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Re: Tiles and Validator

2006-02-27 Thread Shiby Maria John
Sent by: newsSubject: Re: Tiles and Validator <[EMAIL PROTECTED]

Re: Tiles and Validator

2006-02-27 Thread Laurie Harper
Shiby Maria John wrote: I have a tiles application. I tried to introduce validator framework into it for validations. But it is not working. If i change the tiles to make a single jsp page, the validator worked. Will the both not work together?? Tiles and validator will work together fine

Tiles and Validator

2006-02-27 Thread Shiby Maria John
Hi, I have a tiles application. I tried to introduce validator framework into it for validations. But it is not working. If i change the tiles to make a single jsp page, the validator worked. Will the both not work together?? Please help me . regards, Shiby --

Re: using tiles and setting a cookie

2006-02-22 Thread brian papa
Well it looks like I've found the cause of the problem. The ServletResponse object passed into my Controller's execute is wrapped inside of ServletResponseWrapperInclude, which wraps an instance of org.apache.catalina.core.ApplicationHttpResponse. In that class, the addCookie() method is overidden

Re: using tiles and setting a cookie

2006-02-21 Thread brian papa
Oops, meant to question the presence of the Response there. On 2/21/06, Dave Newton <[EMAIL PROTECTED]> wrote: > brian papa wrote: > > I'm starting to think now that perhaps I'm doing this in the wrong > > place. After all the purpose of a controller should simply be to > > prepare data for render

Re: using tiles and setting a cookie

2006-02-21 Thread Dave Newton
brian papa wrote: > I'm starting to think now that perhaps I'm doing this in the wrong > place. After all the purpose of a controller should simply be to > prepare data for rendering in a JSP tile. I'm wondering though if this > is the case what the purpose is of having the HttpServletRequest as a

Re: using tiles and setting a cookie

2006-02-21 Thread brian papa
gt; -Original Message- > From: brian papa [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 21, 2006 6:59 PM > To: Struts Users Mailing List > Subject: Re: using tiles and setting a cookie > > > Yeah that doesn't seem to be the problem, and the ".mysite.com"

RE: using tiles and setting a cookie

2006-02-21 Thread David G. Friedman
: brian papa [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 21, 2006 6:59 PM To: Struts Users Mailing List Subject: Re: using tiles and setting a cookie Yeah that doesn't seem to be the problem, and the ".mysite.com" is working with an Action anyway... setting the cookie the same

Re: using tiles and setting a cookie

2006-02-21 Thread brian papa
gt; -Original Message- > From: brian papa [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 21, 2006 6:42 PM > To: Struts Users Mailing List > Subject: Re: using tiles and setting a cookie > > > I was unaware of that actually. But, even outside of the debugger the > cooki

RE: using tiles and setting a cookie

2006-02-21 Thread David G. Friedman
d into that and tried that already. I made that suggestion since I've previously read of problems like that on this list. Regards, David -Original Message- From: brian papa [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 21, 2006 6:42 PM To: Struts Users Mailing List Subject: Re: using

  1   2   3   >