Re: Struts2 and Tiles, still not clear for me :(

2007-04-06 Thread Pedro-1

Many thanks Dave Newton-4, 
I understand better how it works with the different configuration files :)


-- 
View this message in context: 
http://www.nabble.com/Struts2-and-Tiles%2C-still-not-clear-for-me-%3A%28-tf3535994.html#a9871359
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Struts2 and Tiles, still not clear for me :(

2007-04-06 Thread Dave Newton
--- Pedro-1 <[EMAIL PROTECTED]> wrote:
> Could some one give me a pointer to a simple example
> showing all the configuration files, and where to
put
> them?

-- web.xml fragment



  definitions-config
  
/WEB-INF/tiles.xml,
/WEB-INF/classes/com/foo/bar/bar-tiles.xml,
/WEB-INF/classes/com/foo/baz/baz-tiles.xml
  
  
CSV list of Tiles 2.0 configuration files.
  



  
org.apache.struts2.tiles.StrutsTilesListener
  


-- tiles.xml fragment



http://struts.apache.org/dtds/tiles-config_2_0.dtd";>


  

  

  

  

  


  

  


-- layout.jsp (just to show insertions of attributes)

<%@ taglib prefix="tiles"
uri="http://struts.apache.org/tags-tiles"%>

  

  
  

  


d.



 

Don't get soaked.  Take a quick peek at the forecast
with the Yahoo! Search weather shortcut.
http://tools.search.yahoo.com/shortcuts/#loc_weather

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Struts2 and Tiles, still not clear for me :(

2007-04-06 Thread Pedro-1

Hi, I'm new in Struts, and bought the complete reference (second edition) to
start with it.
I discovered that Struts2 is different, and begin to understand how to
develop some struts2 on Eclipse.
Now, my problem is that I am completly lost with Tiles, and
http://struts.apache.org/2.x/docs/tiles-plugin.html does not help me.
It seem's that in the previous version of struts, it was mandatory to
declare struts as a  within struts-config.xml, and now as a
listener within web.xml. But within the doc of
org.apache.struts2.views.tiles.TilesResult they say that it must be declared
as a servlet I am lost :(
Could some one give me a pointer to a simple example (without other things
like freemaker)  showing all the configuration files, and where to put them?
Thanks in advance for your help




-- 
View this message in context: 
http://www.nabble.com/Struts2-and-Tiles%2C-still-not-clear-for-me-%3A%28-tf3535994.html#a9869976
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]