Hello,
I want want to do a fileupload in a popup. But I get this error message:
2007-01-24 12:01:27 http-8080-Processor25 ERROR -
org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.FileRenderer:90
- Can't process multipart/form-data without TobagoRequest. Please check the
web.xml and define a TobagoMultipartFormdataFilter. See documentation for
<tc:file>
The fileupload works, when it is on the page.
This is the popup:
<tc:button id="anlagenInsertButton"
image="image/insert.gif">
<tc:attribute name="renderedPartially" value="uploadPopup"/>
<f:facet name="popup">
<tc:popup id="uploadPopup" width="600" height="200">
<tc:box label="Neue Anlage">
<f:facet name="layout">
<tc:gridLayout rows="*;fixed" columns="*;*;*"/>
</f:facet>
<tc:cell spanX="3">
<tc:file id="dateiname"
value="#{anlagenController.file}"/>
</tc:cell>
<tc:cell/>
<tc:button id="saveButton"
label="#{mainBundle.button_label_save}">
<tc:attribute name="popupClose" value="afterSubmit"/>
<tc:attribute name="renderedPartially"
value=":mainPage:detailView:anlagenView:panel"/>
</tc:button>
<tc:button id="cancelButton"
label="#{mainBundle.button_label_cancel}">
<tc:attribute name="popupClose" value="immediate"/>
<tc:attribute name="renderedPartially" value="uploadPopup"/>
</tc:button>
</tc:box>
</tc:popup>
</f:facet>
</tc:button>
Regards
Helmut