Why is IDEA stating "missing <controller> definition for use with tiles."
Not sure why I'm getting this message in my struts-config:
"missing ]]> definition for use with tiles."
Screen shot attached.
Attachment(s):
tiles_pic.gif
Please sign in to leave a comment.
You need to configure a ]]> element with (sub)class TilesRequestProcessor in order to make Tiles work.
Can you elaborate a bit more? I've never had to declare a controller element ever before, and Tiles seems to work fine without it. Thanks for any more info.
I added this and IDEA doesn't complain any more.Interesting, though, I've never done this before in the past. I'm guessing by default Struts uses TilesRequestProcessor if you don't have one defined?
]]>
see description here:
http://struts.apache.org/1.3.8/apidocs/org/apache/struts/tiles/TilesPlugin.html
Thanks - actually you spotted a bug here: for using Tiles with Struts 1.3 you don't need to override ]]>, see http://wiki.apache.org/struts/StrutsUpgradeNotes12to13 section 4.3
will try to fix this behaviour for 1.3+ ASAP
Edit: fixed in next build