voyent
Messages posted by: lindabaja  XML
Profile for lindabaja -> Messages posted by lindabaja [7]
Author Message
Sorry. Figured it out. I did not have partialSubmit="true" Added it and it works

Thanks
Karthik
Hi,
I am implementing a selectBooleanCheckbox and it has a valueChangeListener but the listener is not getting called at all.

Please let me know what I am doing wrong. Code attached:

JSP:
Code:
 <ice:dataTable id="compareElementsResultsTbl" 	var="row" value="#{compareElementDialogMB.rows}" 	rows="25"				style="width: 100%; ">
 

Code:
 
 					<ice:column id="col0" value="1" style="width: 20%;">
 

Code:
 <ice:selectBooleanCheckbox id="checkBoxCellBoolean0" valueChangeListener="#{compareElementDialogMB.disableOrEnableOtherCheckBoxes }" value="#{row.column[0].checked}" title="#{row.column[0].longName}" rendered="true">
 							
 .....
 
 						</ice:selectBooleanCheckbox>
                		</ice:column>

.......
</ice:dataTable>

BackinbgBean:

public void disableOrEnableOtherCheckBoxes(ValueChangeEvent event) {
System.out.println("Called");
}
[/code]
Here is why I need this code.

I am looking to use ice:inputFile for file upload, but the requirement is that the data should NOT be stored in the disk but it should be read as a stream.
IS there any way to do this other than to re-write a servlet similar to FileUploadServlet, that reads the stream instead of saving to disk.
If not, is there any way to get the FileUploadServlet source code, so that it is possible to identify where to make the necessary changes.

Thanks
Karthik

jmind wrote:
try downloading the src distro. Also missing are all the sources for the tag handlers. see the other topic for details 

The source distro does not have the code (Actually FileUploadServlet code is missing in the distro since 1.6.0 release. This is when the class started extending BlockingServlet instead of icefaces...FileUploadServlet)
So, if anyone has access to the latest source code, and can upload or point to it, that would be great.

Thanks
Karthik
Hi,
Is there any place where I could get the source code for the FileUploadServlet class for IceFaces 1.7.1
The source zips do not have the source from release 1.6 onwards, and it looks like the implementation has significantly changed.

Thanks in advance for any pointers

karthik

lindabaja wrote:
Hi,
I am having the same issue. I looked at the FileUploadServlet API and there doesn't seem to be a saveFile() method listed.

Can you please elaborate, as our requirement is such that we cannot save the uploaded (Excel) file to disc before processing.

Thx
Karthik 


Sorry. Found the method in the 1.5.1 source code. Will make the cahnges and see if it works. Will post results here!
Thx
Karthik
Hi,
I am having the same issue. I looked at the FileUploadServlet API and there doesn't seem to be a saveFile() method listed.

Can you please elaborate, as our requirement is such that we cannot save the uploaded (Excel) file to disc before processing.

Thx
Karthik
 
Profile for lindabaja -> Messages posted by lindabaja [7]
Go to:   
Powered by JForum 2.1.7ice © JForum Team