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
5 comments
Comment actions Permalink

You need to configure a ]]> element with (sub)class TilesRequestProcessor in order to make Tiles work.

0
Comment actions Permalink

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.

0
Comment actions Permalink

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?


]]>

0
Comment actions Permalink

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

0

Please sign in to leave a comment.