This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

tiles  RSS feed

 
hamsageetha
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have tiles.xml file where i have define all the attributes under the <tiles-definition> tag
I have done the tile plugin in strutsconfig file also
Now how to invoke a jsp which has used the layout which is defined
 
Junilu Lacar
Sheriff
Posts: 10943
158
Android Debian Eclipse IDE IntelliJ IDE Java Linux Mac Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"hamsageetha",
Welcome to JavaRanch! Please edit your profile and change your publicly displayed name to comply with the JavaRanch Naming Policy.
Thanks for you cooperation.
Re tiles, you need to define an action mapping or forward that has the tiles name as its path.
 
Eric Sexton
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the struts config action tag, the path of the forward should correspond to one of your tiles definitions.

Here's the definition:

Is this what you meant?
 
vijaya bacina
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have done the same thing..
but im getting the error like "file not found @changedisplay##"
i think container is viewing it ( path="@changedi##" in struts-config.xml ) as a file not as a tile definition..
am i right???
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!