BootsFaces-OSP icon indicating copy to clipboard operation
BootsFaces-OSP copied to clipboard

Ajax call on b:tree

Open Sprechen opened this issue 8 years ago • 1 comments

Hi guys,

I'm using the b:tree component with links enabled on my web page, with the following code:

		<h:form prependId="false">
			<b:tree
				render-root="false"
				value="#{geographicAreaList.tree}"
				showCheckbox="false"
				enableLinks="true"
				showBorder="true"  />
		</h:form>

Unfortunately, when I click on an element of the tree which opens a new link, on Safari a popup message is displayed, saying:

httpError: The Http Transport returned a 0 status code.  This is usually the result of mixing ajax and full requests.  This is usually undesired, for both performance and data integrity reasons.

I followed the documentation and the code example in the github repositories. I also attach a screenshot of the popup.

Any ideas or solution in order not to show the popup?

Thanks!

bug

Sprechen avatar Jul 21 '17 09:07 Sprechen

In your example, you don't seem to be using a node-selection-listener="#{geographicAreaList}". This listener must implement TreeNodeEventListener.

kvj2020 avatar Oct 04 '17 22:10 kvj2020

I'm afraid development of BootsFaces has slowed down considerably. We'll never manage to address this issue. Let's close it.

stephanrauh avatar Aug 12 '24 15:08 stephanrauh