I have a custom form tied to list "Furniture Order Form" that looks like this
When I change the name of the form to "FormView", the controls on the form disappear.
Why is this happening and is there a way to fix it?
This caused by position&size changing.
My Test Result.
After you rename the form, you have to set every datacard's Width to: Parent.Width
See: https://powerusers.microsoft.com/t5/General-Discussion/Data-card-fields-disappear-after-renaming-form/m-p/352684#M101100
Related
Can some one please tell me how to use the result dialog mentioned in the
https://doc.orbeon.com/form-runner/advanced/buttons-and-processes/predefined.html#the-result-dialog
I want to know if this is a predefined dialog and if not where exactly I should define it, any coding samples and how to display it when a button is clicked? Where do I need to put the code? Is it in properties-local.xml file?
Please help. Thank you
You can't pass the message to be shown to the result-dialog. If you just use one of those dialogs, you could define a property to override the default message.
The value of the oxf.fr.detail.submit.go.uri-xpath.*.* property is an XPath expression. If you have a static URL you want to take users to, you can set it to that URL inside single quotes, say 'http://www.orbeon.com/'.
I need to hide Attachments & More button from form view. is it possible?
if yes please give me solution..
In the xml, you need to define the your field flag where your button is, and add into the button's defination somethig like this: attrs={'invisible':[('flag_fielf','=', False)]} , that means if your flag is 0(False) your button is hidden, otherwise is visible.
I hope this answer can be helpful for you.
I need to add a form exactly like this to my app, but I cannot find information because I do not know how do they are "called".
Form is like this:
My fault, I attached the action bar to the activity and it shows exactly as the picture.
Good Afternoon!
I have a situation and I don't know how solve it!
I'm using primefaces and I have a fieldSet with several fields and a commandButton called "Save" disabled inside it. So I need to enable the commandButton if any value of any field were modified. I know that there's the "onChange" event, but I have many fields, I would like to know if there's a way to check the whole form, I mean all fields at once, not field by field!
I'm using Primefaces 5.1
PS: If I wrote something wrong please sorry, just ask me and I will try to put it in other words!
Thank you all in advance
I am using a file download control and I would like to set the value of the "allowDelete" property dynamically depending on whether the document is in edit or read mode. However, this
property is computed onload of the page. I tried calling the function "setAllowDelete(boolean)" on the onclick event of a button or the "beforeRenderResponse" event of a custom control and a partial or full update to change the value of the property, but it didn't change.
Do you know if there is a way to do this?
Thanks a lot in advance!
I have encountered the same problem. There are two options to workaround it.
1) To use two controls, one with deletion enabled, the other with deletion disabled, and use rendered properties according to edit state (or user role).
2) Render download controls by your own, as data table or repeat. However, this solution has its own problems, too.
Have you tried just calculating the property like this?
<xp:fileDownload .... >
<xp:this.allowDelete><![CDATA[${javascript:
return document.isEditable()}]]>
</xp:this.allowDelete>
</xp:fileDownload>