[jboss-user] [JBoss Seam] - Re: Decorating with a fileUpload tag

utiba_davidr do-not-reply at jboss.com
Wed Jun 27 01:36:10 EDT 2007


Hey,

  You need to set the "for" parameter to the id of the field that the label is for. In this case it's "upload_#{idx}". You should be able to pass this to the template your decorating via a parameter (see the facelets documentation). I am not entirely sure whether decorate can take parameters, if it cannot - you may be better using a composition / insert combination.



Cheers,

David

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

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



More information about the jboss-user mailing list