-
1. Re: rich:fileUpload, the upload button disappeared, my god.
492637511 Sep 10, 2012 11:26 PM (in response to 492637511)oh my god, who can help me?
-
2. Re: rich:fileUpload, the upload button disappeared, my god.
tungtrum17 Sep 11, 2012 12:43 AM (in response to 492637511)Do not know if that helps you?
<rich:fileUpload id="uploadDoc1" style="width:100%;border:none;height:100%"
onuploadcomplete="self.parent.location.href='#{uploadController.time}'"
acceptedTypes="#{uploadController.type}"
uploadControlLabel="#{locale.upload}"
addControlLabel="#{locale.select_file}"
clearAllControlLabel="#{locale.delete_all}"
clearControlLabel="#{locale.delete}"
cancelEntryControlLabel="#{locale.remove}"
doneLabel=""
sizeErrorLabel="#{locale.size_mismatch}."
transferErrorLabel="#{locale.error_upload_process}"
progressLabel="#{locale.uploading} ..."
maxFilesQuantity="10"
fileUploadListener="#{uploadController.uploadDocListener}"
listHeight="108px"
allowFlash="true"
uploadListClass="uploadListClass">
<f:facet name="label">
<h:outputText value="#{locale.Uploaded} {_KB}#{locale.from_kb} {KB}KB --- {mm}:{ss}"></h:outputText>
</f:facet>
<f:param value="#{uploadController.pagereload}" name="page"/>
<f:param value="#{uploadController.table}" name="table"/>
<f:param value="#{uploadController.fs200}" name="fs200"/>
</rich:fileUpload>
-
3. Re: rich:fileUpload, the upload button disappeared, my god.
492637511 Sep 11, 2012 1:17 AM (in response to tungtrum17) -
4. Re: rich:fileUpload, the upload button disappeared, my god.
bleathem Sep 11, 2012 4:06 AM (in response to 492637511)Hi Janil, sounds like you have uncovered a bug. Please file a jira issue, and include some short/simple/self-contained sample code to re-produce the problem. We'll see if we can get that fixed for an upcoming release.
https://community.jboss.org/wiki/SubmittingEffectiveIssueReports
Brian
-
5. Re: rich:fileUpload, the upload button disappeared, my god.
waleedo-t Sep 27, 2012 9:19 AM (in response to bleathem)i fix it by
<script>
function resetClear(id)
{
var container = id;
for (var i = 0; i!=1; i++) {
var child = container.childNodes[i];
if(child.childNodes[0]!=null)
{
var childChild = child.childNodes[0];
childChild.childNodes[0].style.display ='inherit';
}
}
}
</script>
and then i wil call this function on onclear event in fileUpload such as :
<rich:fileUpload onclear="resetClear(this);"/>
and all things are done !!!!!!!!!!!