有没有人用过t:inputFileUpload??

07-03-08 hhz
使用a4j的时候文件总是传不上去,用t标签库正常

代码在下面,懂的朋友帮我看看那里有问题,谢了

<a4j:form id="upload" enctype="multipart/form-data" >

<h:dataTable id="data" value="#{fileList.fileList}" var="list">

<t:column>

<t:inputFileUpload value="#{list.myFile}" storage="file" immediate="true"/>

</t:column>

</h:dataTable>

<a4j:commandLink title="submit" value="提交" action="#{fileList.processMyFile}" />

</a4j:form>

hhz
2007-03-08 19:24
晕了,代码怎么没发出来

		<a4j:form id="upload" enctype="multipart/form-data" ajaxSubmit="true" reRender="data" >
			<h:dataTable id="data" value="#{fileList.fileList}" var="list">
				<t:column>
					<t:inputFileUpload value="#{list.myFile}" storage="file" />
				</t:column>
			</h:dataTable>
			<a4j:commandLink title="submit" value="提交" action="#{fileList.processMyFile}" />
		</a4j:form>
<p>

猜你喜欢