2008-01-23から1日間の記事一覧

S2JSFファイルアップロードのHTMLを書くときの注意

1. xmlns:x="http://myfaces.apache.org/tomahawk" をつける <html xmlns:m="http://www.seasar.org/maya" xmlns:x="http://myfaces.apache.org/tomahawk" m:extends="/WEB-INF/layout/layout.html"> 2. enctypeをつける <form id="formHoge" enctype="multipart/form-data"> 3. inputタグに、m:inject="x:inputFileUpload"をつける </form></html>