Re: struts2 + Tiles, whypages shrink in top center ?

2010-03-29 Thread Lukasz Lenart
2010/3/29 A. Lotfi : > I put the  width attribute to 100% > > but look how it looks now : > http://osp105.mit.edu:8084/Struts2Tiles/welcomeLink.action It took the whole page width, as you wanted but you still mixing body elements as Sandeep Kotha showed you. Maybe you should start with some HTML t

Re: struts2 + Tiles, whypages shrink in top center ?

2010-03-29 Thread A. Lotfi
yes I want the page to occupy the whole screen.   thanks On Mon, 3/29/10, sandeep kotha wrote: From: sandeep kotha Subject: Re: struts2 + Tiles, whypages shrink in top center ? To: "Struts Users Mailing List" Date: Monday, March 29, 2010, 2:01 PM it occupies entire screen right

Re: struts2 + Tiles, whypages shrink in top center ?

2010-03-29 Thread sandeep kotha
eLink.action > > > --- On Mon, 3/29/10, sandeep kotha wrote: > > > From: sandeep kotha > Subject: Re: struts2 + Tiles, whypages shrink in top center ? > To: "Struts Users Mailing List" , > lukasz.len...@gmail.com > Date: Monday, March 29, 2010, 10:04 AM >

Re: struts2 + Tiles, whypages shrink in top center ?

2010-03-29 Thread A. Lotfi
I put the  width attribute to 100%   but look how it looks now : http://osp105.mit.edu:8084/Struts2Tiles/welcomeLink.action --- On Mon, 3/29/10, sandeep kotha wrote: From: sandeep kotha Subject: Re: struts2 + Tiles, whypages shrink in top center ? To: "Struts Users Mailing

Re: struts2 + Tiles, whypages shrink in top center ?

2010-03-29 Thread sandeep kotha
Hi Lenard Taking view source from your page i see width attribute is missing for your table. Set the width attribute to 100% that will fix your issue. Pasted is your view source with width attribute. This could help you. http://www.w3.org/TR/html4/loose.dtd";> Welco

Re: struts2 + Tiles, whypages shrink in top center ?

2010-03-28 Thread Lukasz Lenart
2010/3/29 A. Lotfi > > I tried all the browsers but still small, plz take a look here : > > http://osp105.mit.edu:8084/Struts2Tiles/welcomeLink.action Did check the source of your page in browser? It's a mess, duplicated body and so on. Check your tiles, only main page (the layout) should have bo

Re: struts2 + Tiles, whypages shrink in top center ?

2010-03-28 Thread A. Lotfi
I tried all the browsers but still small, plz take a look here :   http://osp105.mit.edu:8084/Struts2Tiles/welcomeLink.action   thanks --- On Sun, 3/28/10, Lukasz Lenart wrote: From: Lukasz Lenart Subject: Re: struts2 + Tiles, whypages shrink in top center ? To: "Struts Users Mailing

Re: struts2 + Tiles, whypages shrink in top center ?

2010-03-28 Thread Lukasz Lenart
2010/3/26 A. Lotfi : > when I put width ="100%" of the table, the width take the whole page fine, > but when I add height="100%" it does not work. It has nothing to do with Struts2 or Tiles, not all browser correctly interprets height attribute in a table. Please try with other browsers. Regard

Re: Struts2 :Tiles request page without action class

2010-01-22 Thread Shasha
Thank you both After incorporating both your comments it's working fine. :clap: DustFrog wrote: > > What about this line: > > > > Noticing that there is not a "/" in front of pages, but in your other > references, there is. Is this a typo or is this the way that you actually > have it in yo

Re: Struts2 :Tiles request page without action class

2010-01-22 Thread Antonio Petrelli
2010/1/22 Shasha : >  How do you configure the StrutsTilesListener? > web.xml > > > > org.apache.struts2.tiles.StrutsTilesListener > No context parameter? This means that it tries to load /WEB-INF/tiles.xml by default. > Where are Tiles definitions stored? > there are stored in tiles.xml and th

Re: Struts2 :Tiles request page without action class

2010-01-22 Thread DustFrog
What about this line: Noticing that there is not a "/" in front of pages, but in your other references, there is. Is this a typo or is this the way that you actually have it in your project? Could this be causing your problem? -- View this message in context: http://old.nabble.com/Struts2-%

Re: Struts2 :Tiles request page without action class

2010-01-22 Thread Shasha
Do you see an exception at the start of your app? no How do you configure the StrutsTilesListener? web.xml org.apache.struts2.tiles.StrutsTilesListener Where are Tiles definitions stored? there are stored in tiles.xml and the xml is avilable at the classpath. Antonio Petrell

Re: Struts2 :Tiles request page without action class

2010-01-22 Thread Antonio Petrelli
2010/1/22 Shasha : > I am trying to show welcome page using tiles so i am calling to call an > action where the action doesn't exists (since this a feature in struts2) it > thrown an error > > org.apache.tiles.definition.NoSuchDefinitionException: SUCCESS Usually this happens when your app failed

Re: Struts2 Tiles: specify the part of template that is to be rendered [SOLVED]

2010-01-17 Thread Stephan R. Mueller
Am 17.01.2010 um 09:08 schrieb Antonio Petrelli: > 2010/1/17 Stephan R. Mueller : >> Hi list. >> >> I'm playing with tiles and currently, I'm only able >> insert the full code of a template. Is there a way >> to define what part of a template is about to be >> inserted? like: >> >> template >>

Re: Struts2 Tiles: specify the part of template that is to be rendered

2010-01-17 Thread Antonio Petrelli
2010/1/17 Stephan R. Mueller : > Hi list. > > I'm playing with tiles and currently, I'm only able > insert the full code of a template. Is there a way > to define what part of a template is about to be > inserted? like: > >  template >   >  random stuff >   >    only this section will be inserted

RE: Struts2 Tiles - Error -There is no Action mapped for namespace / and action name

2009-10-06 Thread Raghuveer.V
This worked after adding context parameter, DEFINITIONS_CONFIG in web.xml -Original Message- From: Raghuveer.V [mailto:raghuve...@infotechsw.com] Sent: Monday, September 21, 2009 5:18 PM To: user@struts.apache.org Subject: RE: Struts2 Tiles - Error -There is no Action mapped for

RE: Struts2 Tiles - Error -There is no Action mapped for namespace / and action name - struts2-tiles-plugin-2.1.6

2009-09-21 Thread Raghuveer.V
-Original Message- From: Raghuveer.V [mailto:raghuve...@infotechsw.com] Sent: Monday, September 21, 2009 5:18 PM To: user@struts.apache.org Subject: RE: Struts2 Tiles - Error -There is no Action mapped for namespace / and action name -Original Message- From: Raghuveer.V

RE: Struts2 Tiles - Error -There is no Action mapped for namespace / and action name

2009-09-21 Thread Raghuveer.V
-Original Message- From: Raghuveer.V [mailto:raghuve...@infotechsw.com] Sent: Monday, September 21, 2009 5:18 PM To: 'Raghuveer.V' Subject: RE: Struts2 Tiles - Error -There is no Action mapped for namespace / and action name Sorry this has to be replied in ot

RE: Struts2 Tiles - Error -There is no Action mapped for namespace / and action name

2009-09-21 Thread Raghuveer.V
Hi Rouxel, I am using ScopedModelDriven. I am not using prepare,since ModelDSriven interceptor takes care of initializing model object. I have following implemented methods of ScopedModelDriven and other servlet config related methods in my Action class. public Object getMo

Re: struts2 + tiles

2009-02-18 Thread Пламен Узунов
Thanks, Antonio!!! This works perfectly! Greetings! 2009/2/18 Antonio Petrelli > 2009/2/17 Пламен Узунов : > > How will do it if you have a tiles list-attribute for title? > > Something like this: > > > > > > > > > > > > > > > > > > > > > > >

Re: struts2 + tiles

2009-02-18 Thread Antonio Petrelli
2009/2/17 Пламен Узунов : > How will do it if you have a tiles list-attribute for title? > Something like this: > > > > > > > > > HTH Antonio - To unsubscribe, e-mail: u

Re: struts2 + tiles

2009-02-18 Thread Пламен Узунов
The problem is that I can't put multiple values from 'tab' list attribute as a values from properties file which have internationalized text (it I use for menus, tabs, etc.)

RE: struts2 + tiles

2009-02-18 Thread David Kerwick
Not sure Can you not add in Before your To pass the title to the template. Dave -Original Message- From: Пламен Узунов [mailto:puzun...@gmail.com] Sent: 17 February 2009 17:28 To: Struts Users Mailing List Subject: Re: struts2 + tiles How will do it if you have a tiles list-attribute

Re: struts2 + tiles

2009-02-17 Thread Пламен Узунов
How will do it if you have a tiles list-attribute for title? Something like this: Papi. On Tue, Feb 17, 2009 at 4:19 PM, David Kerwick wrote: > I had a similar issue and solved it like this > > In the definition I had > > > > And in the

RE: struts2 + tiles

2009-02-17 Thread David Kerwick
I had a similar issue and solved it like this In the definition I had And in the template I put Dave -Original Message- From: Tom Pop [mailto:tom@email.cz] Sent: 17 February 2009 10:56 To: Struts Users Mailing List Subject: struts2 + tiles Hello, please, how to insert locali

RE: Struts2 + tiles + i18n, getText issue

2009-02-11 Thread David Kerwick
w...@hse.ie] Sent: 09 February 2009 15:57 To: Struts Users Mailing List Subject: RE: Struts2 + tiles + i18n, getText issue Hi, Just discovered this also happens with I don't know how to get around that as I can't put s:text in its place. Am I just doing something wrong? If so what s

RE: Struts2 + tiles + i18n, getText issue

2009-02-09 Thread David Kerwick
Hi, Just discovered this also happens with I don't know how to get around that as I can't put s:text in its place. Am I just doing something wrong? If so what should I be doing? Any help would be great Thanks Dave -Original Message- From: David Kerwick [mailto:david.kerw...@hs

RE: Struts2 + tiles +OC4J

2009-02-08 Thread Ramez Hassan
petre...@gmail.com] Sent: Friday, February 06, 2009 10:06 AM To: Struts Users Mailing List Subject: Re: Struts2 + tiles +OC4J 2009/2/5 hesham : > java.lang.IllegalArgumentException: Resource > /portalframework/renderContents.action not found Does this resource exis

Re: Struts2 + tiles +OC4J

2009-02-06 Thread Antonio Petrelli
2009/2/5 hesham : > java.lang.IllegalArgumentException: Resource > /portalframework/renderContents.action not found Does this resource exist? Antonio - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional co

Re: Struts2 Tiles question

2007-08-24 Thread Pavel Sapozhnikov
. > > I'll put together a document at work tomorrow. My app uses Struts-1, > Struts-2, and JSF, all using Tiles to render the view. > > - Ray Clough > > - Original Message - > From: "Pavel Sapozhnikov" > To: "Struts Users Mailing Lis

Re: Struts2 Tiles question

2007-08-23 Thread Ray Clough
el Sapozhnikov" To: "Struts Users Mailing List" Subject: Re: Struts2 Tiles question Date: Thu, 23 Aug 2007 20:12:59 -0400 Ray thank you so much. So what steps should I take in order to do that. Could you help? Basically I remove the jar right I probably have to do

Re: Struts2 Tiles question

2007-08-23 Thread Pavel Sapozhnikov
layers do not provide any added value. > - Ray Clough > > > > - Original Message - > > From: "Chris Pratt" <[EMAIL PROTECTED]> > > To: "Struts Users Mailing List" > > Subject: Re: Struts2 Tiles question > > Date: Thu, 23 Aug

Re: Struts2 Tiles question

2007-08-23 Thread Ray Clough
alue. - Ray Clough > - Original Message - > From: "Chris Pratt" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" > Subject: Re: Struts2 Tiles question > Date: Thu, 23 Aug 2007 10:58:13 -0700 > > > Yes, but then you wouldn't use type=

Re: Struts2 Tiles question

2007-08-23 Thread Pavel Sapozhnikov
And then import the jsp right? So how would I tell the tile jsp to use a certain definition? On 8/23/07, Chris Pratt <[EMAIL PROTECTED]> wrote: > > > Can I instead of pointing to a definition point to actual jsp? And this > jsp > will have like more tile:insertAttribute and yea? Could I do that? >

Re: Struts2 Tiles question

2007-08-23 Thread Chris Pratt
> And then import the jsp right? So how would I tell the tile jsp to use a > certain definition? The normal way to integrate the two is to use the type="tiles" result type, and have your result reference a definition that points to the layout that it needs. It's also possible to point to a .jsp p

Re: Struts2 Tiles question

2007-08-23 Thread Chris Pratt
> Can I instead of pointing to a definition point to actual jsp? And this jsp will have like more tile:insertAttribute and yea? Could I do that? >Great and how do I tell the tile jsp to use the specified definition? Also definitions can only be in tiles.xml right? You can put the definition righ

Re: Struts2 Tiles question

2007-08-23 Thread Pavel Sapozhnikov
Sorry tell* haha On 8/23/07, Pavel Sapozhnikov <[EMAIL PROTECTED]> wrote: > > Great and how do I tile the tile jsp to use the specified definition? Also > definitions can only be in tiles.xml right? > > On 8/23/07, Chris Pratt < [EMAIL PROTECTED]> wrote: > > > > Yes, but then you wouldn't use type

Re: Struts2 Tiles question

2007-08-23 Thread Pavel Sapozhnikov
Great and how do I tile the tile jsp to use the specified definition? Also definitions can only be in tiles.xml right? On 8/23/07, Chris Pratt <[EMAIL PROTECTED]> wrote: > > Yes, but then you wouldn't use type="tiles" > (*Chris*) > > On 8/23/07, Pavel Sapozhnikov <[EMAIL PROTECTED]> wrote: > > Y

Re: Struts2 Tiles question

2007-08-23 Thread Chris Pratt
Yes, but then you wouldn't use type="tiles" (*Chris*) On 8/23/07, Pavel Sapozhnikov <[EMAIL PROTECTED]> wrote: > Yeah I think thats what I was looking for, um but actually I was wondering > in struts.xml I say: > > method="presentEntryLogin"> > swiss.not_authenticated > >

Re: Struts2 Tiles question

2007-08-23 Thread Pavel Sapozhnikov
Yeah I think thats what I was looking for, um but actually I was wondering in struts.xml I say: swiss.not_authenticated Can I instead of pointing to a definition point to actual jsp? And this jsp will have like more tile:insertAttribute and yea? Could I do that? On 8/23/07

RE: Struts2 Tiles question

2007-08-23 Thread Jiang, Jane (NIH/NCI) [C]
I don't think you need tile-config.xml. You can just add your tiles definition to tiles.xml in WEB-INF. -Original Message- From: Pavel Sapozhnikov [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 22, 2007 3:09 PM To: user@struts.apache.org Subject: Struts2 Tiles question Hi everybody.

RE: Struts2 Tiles question

2007-08-23 Thread Dinwiddie, George
Is http://svn.apache.org/viewvc/struts/struts2/trunk/apps/showcase/src/main /webapp/WEB-INF/tiles.xml?view=markup (http://tinyurl.com/2p4adw) what you're looking for? George Dinwiddie, iDIA Computing, LLC http://iDIAcomputing.com/ http://blog.gdinwiddie.com/ -Original Message- From:

Re: Struts2, Tiles, Velocity

2007-04-18 Thread Antonio Petrelli
2007/4/18, Charlie Rehor <[EMAIL PROTECTED]>: So, the question is, can you use Struts2, Velocity, and Tiles together right now? Struts 2 uses Tiles 2, but currently there is no support for Velocity templates with Tiles 2, I am sorry. Antonio ---

[OT] RE: [Struts2] Tiles: TLD location.

2006-12-01 Thread Dave Newton
From: David H. DeWolf [mailto:[EMAIL PROTECTED] On Behalf Of David H. > No worries, I just created it a week or so ago. I think that you > submitted this before that ;) *lol* Usually I'm just oblivious; nice to know I wasn't for once! ;) Dave --

Re: [Struts2] Tiles: TLD location.

2006-12-01 Thread David H. DeWolf
No worries, I just created it a week or so ago. I think that you submitted this before that ;) Dave Newton wrote: From: Don Brown [mailto:[EMAIL PROTECTED] On 10/12/06, Dave Newton <[EMAIL PROTECTED]> wrote: (For future reference, what component should I have ticketed this under? I wasn't su

RE: [Struts2] Tiles: TLD location.

2006-12-01 Thread Dave Newton
From: Don Brown [mailto:[EMAIL PROTECTED] > On 10/12/06, Dave Newton <[EMAIL PROTECTED]> wrote: >> (For future reference, what component should I have ticketed >> this under? I wasn't sure so I put "unknown," sorry!) > > Use "Plugins". Hmm, you'd think I'd have thought of that, huh :/ Dave

Re: [Struts2] Tiles: TLD location.

2006-12-01 Thread Don Brown
On 10/12/06, Dave Newton <[EMAIL PROTECTED]> wrote: From: Don Brown [mailto:[EMAIL PROTECTED] > Hm..when extracting tiles into a plugin, we could have misplaced the > TLD. Add a JIRA ticket for the issue so we don't forget it. Done. (For future reference, what component should I have ticketed t

Re: Struts2 Tiles Integration

2006-10-19 Thread Antonio Petrelli
Dean Crothers ha scritto: The Struts documentation I'm following doesnt mention a servlet - just the listener and TilesResult? ... SEVERE: Exception sending context initialized event to listener instance of class org.apache.struts2.tiles.StrutsTilesListener java.lang.RuntimeException: Source o

RE: Struts2 Tiles Integration

2006-10-19 Thread Dean Crothers
sers Mailing List" To: "Struts Users Mailing List" Subject: RE: Struts2 Tiles Integration Date: Thu, 19 Oct 2006 07:12:03 -0400 From: Dean Crothers [mailto:[EMAIL PROTECTED] > What I'd like to know is how do I configure Struts2 to find the > tiles-def.xml? Hmm, I must

Re: Struts2 Tiles Integration

2006-10-19 Thread David H. DeWolf
Dave Newton wrote: From: Dean Crothers [mailto:[EMAIL PROTECTED] What I'd like to know is how do I configure Struts2 to find the tiles-def.xml? Hmm, I must have missed the listener; I'm using the servlet. The StrutsTiles listener adds some extra feature, such as allowing you to utilize

RE: Struts2 Tiles Integration

2006-10-19 Thread Dave Newton
From: Dean Crothers [mailto:[EMAIL PROTECTED] > What I'd like to know is how do I configure Struts2 to find the > tiles-def.xml? Hmm, I must have missed the listener; I'm using the servlet. What's the symptom? I'm using Tiles with no issues on Struts2. Dave

RE: [Struts2] Tiles: TLD location.

2006-10-12 Thread Dave Newton
From: Don Brown [mailto:[EMAIL PROTECTED] > Hm..when extracting tiles into a plugin, we could have misplaced the > TLD. Add a JIRA ticket for the issue so we don't forget it. Done. (For future reference, what component should I have ticketed this under? I wasn't sure so I put "unknown," sorry!)

Re: [Struts2] Tiles: TLD location.

2006-10-11 Thread Don Brown
Hm..when extracting tiles into a plugin, we could have misplaced the TLD. Add a JIRA ticket for the issue so we don't forget it. Thanks, Don On 10/11/06, Dave Newton <[EMAIL PROTECTED]> wrote: Before I updated to Struts 2.0.1 I had the tiles-core.tld in the JAR (in META-INF) as distributed. I