Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

html:errors and frames

 
Brian Quinn
Ranch Hand
Posts: 32
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a struts application that uses frames, templates and <html:errors>. The problem is if an error occurs, the forward sends the error to the parent frame, but the parent frame does not get the error to the body frame, which contains the html: form and html:error tags. If I change the forward directly to the body page, the error pops up, but the page is missing the header and footer provided by the template. How do I get the error to the proper page through frames?
 
Junilu Lacar
Bartender
Pie
Posts: 6529
21
Java Linux Mac Scala Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can't say for sure without seeing some of your frame/html source. I would imagine you'd have to specify a target for each link and button action. I haven't done Frames with Struts though. Have you ever considered using Tiles instead?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic