Lotus Notes Dialog box with Minimize option - dialog

I have Lotus notes Dialog box.. Is there any option to give minimize option for dialog box?
#DialogBox( form ; [AUTOHORZFIT] : [AUTOVERTFIT] : [NOCANCEL] : [NONEWFIELDS] : [NOFIELDUPDATE] : [READONLY] : [SIZETOTABLE] : [NOOKCANCEL] : [OKCANCELATBOTTOM] : [NONOTE] ; title )
The syntax does not have an option for minimize. (like a general minimize option for any other windows )

You have to desgin a table in the form and put your field, button and so on inside the table. over the option [SIZETOTABLE], the table is then similar to the size of the dialogbox.
I hope this answer your question.
if you like to minimize your dialogbox and work in an other domino window, this doesnt work in the domino enviroment. the dialogbox is the current window which have to be close before you can do something else in the domino enviroment.

Related

Specify which panned tab to be opened in ADF

Is there a way to specify which tabbed panel to be opened in an ADF project. For example, we have a view page with tabbed panel. We have a button which leads to a new task flow and when we return from it we should be on a particular panel box in the tabbed panel.
Any suggestions? Thank you!
Firstly , always mention your Jdev version.
You can create a binding for panel Tabbed component like
RichPanelTabbed rpt = getMyPanelTabbedBinding();
Next , you would have to find which ShowDetailItem to show and then you can call setDisclosed() on RichShowDetailItem's object like below :
List<UiComponent> myChildList = richPanelTabbed.getChildren();
RichShowDetailItem sdi = myChildList.get(0);
sdi.setDisclosed(true);
From this you can set disclosed tab as per your wish.
For more, search with "open panel tab programatically in ADF".
-Sid

Is there a way to automatically answer a dialog box using formula coding?

Is there a way to automatically answer a dialog box using formula coding? In IBM notes domino - I would like to have some formula code behind a button to automatically answer a dialog box. Is this possible?
Avoid the "would you like to save?" dialog box.
Save your document after you changed all fields in your button.
#Command([EditDocument]; 1);
FIELD Counter := Counter + 1;
#PostedCommand([FileSave]);
#PostedCommand([EditDocument]; 0);
you really have to REWRITE your question which is unclear!
The response with your new comment is:
add in your code : FIELD SAVEOPTIONS:="0" if you want to automatically close the doc WITHOUT saving (look for other options of SaveOptions)
If you have Lotus script code look at The third SaveOptions value, or How to suppress the "Do you want to save this document?" message box in Notes

lotus notes outline element not shown when the application is opened

There is an outline which contains many view displayed. The oultine is contained by a frame from a main frameset.
The users are complaining the fact that when they open the Lotus Client ( IBM Notes 9 ) and then open a Notes application, this outline is not displayed, in fact they see all the views like in the Designer.
If they close and (re)open the application the issue is gone, but still the issue appears again and again.
Thanks for your time.
This is most probably because you do not use the default frame- names in your frameset. Name them NotesView (for the view) and NotesNavigator for the outline, then this will most probably fix your issue.

How to : customize messages on an advanced combo box (GXT 3)?

I am using an advanced comboBox like this one : http://www.sencha.com/examples/#ExamplePlace:advancedcombobox.
I would like to change the label displayed at the bottom of the result list : Displaying 1 - 10 of 274.
How is it possible? I saw that PagingToolBar exposes its Messages via getters/setters but I don't know how to get it from the ComboBox.
Any idea?
I finally found it :
ComboBox.getCell().getPagingToolBar()

Can an audio object be embedded in an InfoPath form?

Is it possible to embed an audio object (mp3, wma, whatever) in a web-enabled InfoPath form ?
If it is, how do you do it ?
#Martin
That works for local forms that open in InfoPath. Nathan was asking about web-enabled forms. ActiveX controls are disabled for web forms, as evidenced by the informational label at the bottom of the design controls when the form compatability has been set to the web.
Now, I will admit that I know nothing about the HTML tags to play audio in a browser, but I have something else that might work. I had an InfoPath form that I needed to dynamically load an image into for a web-enabled form. Similar to the ActiveX issue, the Picture control was also disabled. What I did was put some managed code behind the form and execute the following when the form loaded.
public void FormEvents_Loading(object sender, LoadingEventArgs e)
{
string imgPath = "http://yoursite/yourimage.jpeg";
XPathNodeIterator xpni = MainDataSource.CreateNavigator().SelectSingleNode("/my:FormName/my:RichTextControlName", NamespaceManager).SelectChildren(XPathNodeType.All);
xpni.Current.InnerXml = "<img xmlns=\"http://www.w3.org/1999/xhtml\" src=\"" + filePath + "\" width=\"200px\" height=\"55px\" />";
}
I don't see why you couldn't take the same approach and load audio rather than an image.
It looks like you can't embed <object> tags in a richtext field. I'm getting nothing when I do it.
Have you tried manually modifying the XSL in order to generate HTML which embedds your audio file?
I don't think there is a way to do this using the InfoPath Designer, but if it ends up in the XSL; it may just get passed through to the web enabled form.
Edit: My apologies, I missed that the question was about Web forms - for which the below does not work. Must learn to read the question fully!
Go to menu View
Click on Design Tasks
Select Controls in the 'Design Tasks' Task pane
Click on the 'add or remove custom controls' button to install your custom
control
Click on the Add button and select ActiveX Control
Select the Windows Media Player control
Select the necessary properties for databinding and finish the wizard.
After you have added the control, you can drag and drop the control on your screen.
Right-Click on the control and select the 'Windows Media Player properties'
Fill in the URL to automatically embed the file to play.

Resources