hi!
now , I use jsf_4_0_1_client.war
I have code below:
JSP:
<bjsf:fileUpload id="reportPic" value="#{statBean.selectedReport.picResource}" binding="#{statBean.file2Upload}" valueChangeListener="#{statBean.updatePic}" immediate="true"/>
-------------------------------------------
JAVA:
public void updatePic(ValueChangeEvent event)
{
if(event.getNewValue()!=null && ((byte[])event.getNewValue()).length > 0)
{
this.selectedReport.setPicResource((byte[])event.getNewValue());
this.generatePicByStatResult(selectedReport);
reportPic.setValue(this.selectedReport.getPicTempPath());
}
}
when click brower,select an file. but updatePic not be invoked!

now , I Using jsf_4_0_1_client.war
2 July, 2009 - 07:48 — txj301now , I Using jsf_4_0_1_client.war
I want to update the vesion to 4.3,
can I do the update? it is easy or not?
Hi txj301, Yes you can
2 July, 2009 - 08:37 — SenakaHi txj301,
Yes you can migrate to the latest Backbase JSF release which currently is (4.3.1), which we strongly advice. The JSF 4.3.1 download includes a "release notes" document that you should refer to which lists all the changes to the edition from ver 4.0.1.
The issue regarding the valueChangeListner not triggering in a fileUpload has been administered into our internal issue tracking system, we will keep you fully informed.
If you require any extra assistance for the migration please let us know.
Thanks,
-Senaka
my leader do'nt agree to update the version of Backbase!
3 July, 2009 - 08:43 — txj301my leader do'nt agree to update the version of Backbase!
is there other way to trigger valueChangeListner,in ver 4.0.1??
if use javaScript can do that?
thanks!