The binding format options for multi check and multi select controls in 3.1.2 is one of the few areas that needs to run on the updated platform JARs for 3.1.2 rather than the 3.1.1 versions.
As you have upgraded from 3.1.1, I would check to make sure that the JARs on the server you are publishing to are the latest versions.
The important files to check are xplatform.jar, xengine.jar, and sxforms.jar, and for a BizFlow WebMaker installation these can be found under Tomcat 6.0\webapps\bizflowwebmaker\WEB-INF\lib on the server
You can check the version of each jar by checking the manifest file contained within it.
For the 3.1.2 release, each of these files should have an Implementation-Version date of August 12 2010
If you have also installed all the published patches (up to MVC_3.1.2.0007) then the date for xplatform.jar will be March 1 2011 and for xengine.jar will be August 21 2010.
If you do need to update these server jars, you can take the latest versions from your local studio installation at ..../design/tomcat-design/common/lib
The binding format options for multi check and multi select controls in 3.1.2 is one of the few areas that needs to run on the updated platform JARs for 3.1.2 rather than the 3.1.1 versions.
As you have upgraded from 3.1.1, I would check to make sure that the JARs on the server you are publishing to are the latest versions.
The important files to check are xplatform.jar, xengine.jar, and sxforms.jar, and for a BizFlow WebMaker installation these can be found under Tomcat 6.0\webapps\bizflowwebmaker\WEB-INF\lib on the server
You can check the version of each jar by checking the manifest file contained within it.
For the 3.1.2 release, each of these files should have an Implementation-Version date of August 12 2010
If you have also installed all the published patches (up to MVC_3.1.2.0007) then the date for xplatform.jar will be March 1 2011 and for xengine.jar will be August 21 2010.
If you do need to update these server jars, you can take the latest versions from your local studio installation at ..../design/tomcat-design/common/lib
I hope this helps.
The binding kind of works now. If I save the data it saves it as expected. if I then try to unselect all of the items and save it then it writes the last item value to all of the option elements.
Can you provide a project export that demonstrates this? Or at least share some more details about how your page is constructed, and what binding options you have selected?
Can you provide a project export that demonstrates this? Or at least share some more details about how your page is constructed, and what binding options you have selected?
I am having the same issue. Running version 3.1.2
I've attached screenshots.
By the way Image2 shows an error that pops up when viewing the action bindings. The bindings themselves seem to actually work fine, but the tree does not show on the right and the error is not very helpful.
I would like to resolve this as well.
[hr][/hr]
Attaching the rest of the screenshots...
You can see that even though I selected 3 items in the select box only 1 of them(the last one) got databound.
I have had a look through these screenshots, and although I can see that only one value is getting bound it is hard to say what could be causing it.
Are you able to change the platform log level to debug, and then rerun this transaction? If you can provide these logs to look through it might help to track down what is going on.
With regards to the issue with the document tree not showing for your userList action, it would probably be easiest if you could provide a project export for me to look at. As you mention, the error message you are getting is not very helpful!
If this is not possible, some things to check would be whether the document displays when looking at the bindings for the ClientAdmin parent page rather than the AttributeList partial page, and whether there are any configuration options being used for this action (eg maintain additional data) that you could try turning off to see if they make a difference. I would also make sure that the document trying to be viewed contains valid XML.
I have had a look through your project and have been able to replicate the two issues you are seeing.
Unfortunately these both seem to be bugs within 3.1.2, but hopefully you can work around them.
The document tree display seems to be a cross browser issue. With my testing, it displays fine in IE9, but I get the error you are seeing in Firefox?
What browser are you using for your development? Can you try using IE to see if that renders OK for you?
With regards to the multi select binding, I think this is related to the fact that your AJAX submission action on the btnSave button on the AttributeList partial page is using the 'Submit specific group' option.
Although you should be able to do this, in my testing if I change this to 'Submit all form data' then the multiple values get bound correctly.
Hopefully you should be able to use this option in your application without it casing too many issues.
I hope this helps.
I will make sure both these issues are resolved in the forthcoming v4 release.
RE: Multi-checkboxes not binding with XML structure
The binding format options for multi check and multi select controls in 3.1.2 is one of the few areas that needs to run on the updated platform JARs for 3.1.2 rather than the 3.1.1 versions.
As you have upgraded from 3.1.1, I would check to make sure that the JARs on the server you are publishing to are the latest versions.
The important files to check are xplatform.jar, xengine.jar, and sxforms.jar, and for a BizFlow WebMaker installation these can be found under Tomcat 6.0\webapps\bizflowwebmaker\WEB-INF\lib on the server
You can check the version of each jar by checking the manifest file contained within it.
For the 3.1.2 release, each of these files should have an Implementation-Version date of August 12 2010
If you have also installed all the published patches (up to MVC_3.1.2.0007) then the date for xplatform.jar will be March 1 2011 and for xengine.jar will be August 21 2010.
If you do need to update these server jars, you can take the latest versions from your local studio installation at ..../design/tomcat-design/common/lib
I hope this helps.
RE: Multi-checkboxes not binding with XML structure
The binding kind of works now. If I save the data it saves it as expected. if I then try to unselect all of the items and save it then it writes the last item value to all of the option elements.
RE: Multi-checkboxes not binding with XML structure
Can you provide a project export that demonstrates this? Or at least share some more details about how your page is constructed, and what binding options you have selected?
RE: Multi-checkboxes not binding with XML structure
I am having the same issue. Running version 3.1.2
I've attached screenshots.
By the way Image2 shows an error that pops up when viewing the action bindings. The bindings themselves seem to actually work fine, but the tree does not show on the right and the error is not very helpful.
I would like to resolve this as well.
[hr][/hr]
Attaching the rest of the screenshots...
You can see that even though I selected 3 items in the select box only 1 of them(the last one) got databound.
RE: Multi-checkboxes not binding with XML structure
I have had a look through these screenshots, and although I can see that only one value is getting bound it is hard to say what could be causing it.
Are you able to change the platform log level to debug, and then rerun this transaction? If you can provide these logs to look through it might help to track down what is going on.
With regards to the issue with the document tree not showing for your userList action, it would probably be easiest if you could provide a project export for me to look at. As you mention, the error message you are getting is not very helpful!
If this is not possible, some things to check would be whether the document displays when looking at the bindings for the ClientAdmin parent page rather than the AttributeList partial page, and whether there are any configuration options being used for this action (eg maintain additional data) that you could try turning off to see if they make a difference. I would also make sure that the document trying to be viewed contains valid XML.
Regards,
Gerard
RE: Multi-checkboxes not binding with XML structure
I have had a look through your project and have been able to replicate the two issues you are seeing.
Unfortunately these both seem to be bugs within 3.1.2, but hopefully you can work around them.
The document tree display seems to be a cross browser issue. With my testing, it displays fine in IE9, but I get the error you are seeing in Firefox?
What browser are you using for your development? Can you try using IE to see if that renders OK for you?
With regards to the multi select binding, I think this is related to the fact that your AJAX submission action on the btnSave button on the AttributeList partial page is using the 'Submit specific group' option.
Although you should be able to do this, in my testing if I change this to 'Submit all form data' then the multiple values get bound correctly.
Hopefully you should be able to use this option in your application without it casing too many issues.
I hope this helps.
I will make sure both these issues are resolved in the forthcoming v4 release.
Regards,
Gerard
RE: Multi-checkboxes not binding with XML structure
I do use Firefox for development. I'll see if I can change to submit all form data to get around the issue for now.