I am looking for the best way to validate fields before a save, i could care less about what they are before i save, like in partial refreshes messing up because a field is empty.
I discovered that simple action groups are conditional, that gave me the thought to use them to validate the form before a save, not only could i validate whether it was empty but i should be able to validate if a value existed in a table, as in type ahead entries. I could also validate the false statement and use the simple action confirm dialog to tell them what was wrong and that it did not save.
Is there a better way to do this? I know you could do it client side, but then how do you stop your serverside script from running?
I kind of like the tabbed panel as a UI for some applications, it seems to lend itself to being able to show more information horizontally than a navigator on the left hand side. Now in my xpage application, i have a different view on each tab. When you click on a document link it takes you to another page(the PO Form), and when you leave that page(the po form) the brwoser returns to this page, the tabbed panel.
To get back to the tab the user was on before they opened the po…
First i set the “Tab opened by default” to a computed value that = sessionScope.whichtab
Next i set a session variable whichtab to the tab id(the id on the properties of the tab) in the on click event.
Now every time you return to this page, or it refreshes, it will open the last tab that was clicked.
Sorry, forgot about the default local encryption, I updated the Designer Wiki(could not delete the first attachment though), also it has been placed below for a direct link to the updated file. Thanks Sean for getting me set up.
I have had several request for a download of the code used in my picklist example. I have a very simple database with the code in it, but don’t have a public place to post it. Can anyone help me out? thanks
here is a link to the download on the Designer wiki