Hi!
I'm trying to use a combo box in my app. when I try to use the binding and the valueChangeListener properties, I get the following message:
"1: GENERIC: XML Parsing Error: Reference to undeclared namespace prefix: 'bf'. Location: Line Number 5, Column 57: Text:11: "\
The bf namespace prefix is already declared and used throught the app.
The console shows the next error:
781 ERROR - Servlet.service() for servlet jsp threw exception
javax.faces.el.PropertyNotFoundException: Base is null: testData
I'm working with backbase JSF edition.
Here is the code:
In the jsp:
<bf:comboBox id="url" value="#{testData.url}" binding="#{testData.urlCombo}" >
<f:selectItem itemValue="localhost"/>
<f:selectItem itemValue="142.160.4.101"/>
</bf:comboBox>
<f:selectItem itemValue="localhost"/>
<f:selectItem itemValue="142.160.4.101"/>
</bf:comboBox>
and in the bean:
public class TestDataBean {
private UIBackbaseComboBox urlCombo;
public UIBackbaseComboBox getUrlCombo() {
return urlCombo;
}
public void setUrlCombo(UIBackbaseComboBox urlCombo) {
this.urlCombo = urlCombo;
}
private UIBackbaseComboBox urlCombo;
public UIBackbaseComboBox getUrlCombo() {
return urlCombo;
}
public void setUrlCombo(UIBackbaseComboBox urlCombo) {
this.urlCombo = urlCombo;
}
I will apreciate any sugestions
Thanks!
Maty Rocha

combo Box properties
28 September, 2007 - 18:33 — AnonymousI already solved it. It seems that I need to have the client inside of my proyect (it was working with the client outside). Now, I have the full functionality. Maybe this could help to somebody else
Thank you
Maty Rocha