[jboss-user] [JBoss Seam] - exception handling in pages.xml: message params possible?

skanky78 do-not-reply at jboss.com
Fri Nov 2 10:42:06 EDT 2007


hi,

i tried the following way but without success:

pages.xml
<exception class="org.jboss.seam.web.FileUploadException">
  |  <redirect view-id="/pages/error.xhtml">
  |   <message severity="ERROR">#{messages['error.fileUpload']}</message>
  |  <param>#{org.jboss.seam.web.multipartFilter.maxRequestSize/1000}</param>
  |  </redirect>
  | </exception>

message.properties
anonymous wrote : error.fileUpload = maximum allowed size {0} kB. please select another file.

i'm using seam 2 cr3...is it somehow possible?

cheers,
sven

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101342#4101342

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101342



More information about the jboss-user mailing list