dialog

primefaces :dialog does not show

帅比萌擦擦* 提交于 2019-12-12 22:17:19
问题 My Problem is p:dialog is not getting displayed. Listener is getting fired, no error messages. My requirement is: when I select a row, then the row details has to be displayed in dialog. Kindly help me out. Thanks in advance. <h:form id="form"> <p:dataTable id="cars" var="car" value="#{tableBean2.carsSmall}" paginator="true" rows="10" rowKey="#{car.model}" selection="#{tableBean2.selectedCar}" selectionMode="single"> <p:ajax event="rowSelect" listener="#{tableBean2.onRowSelect}" update="

How to suppress a dialog

偶尔善良 提交于 2019-12-12 22:12:49
问题 I have marked the following dialog as Hidden in WiX but yet it is still show on an uninstall when files are in use: <Dialog Id="FilesInUse" X="50" Y="50" Width="361" Height="177" Title="[ProductName] Files in Use" Hidden="yes"> <Control Id="RetryButton" Type="PushButton" X="99" Y="150" Width="81" Height="18" Text="{\VSI_MS_Sans_Serif13.0_0_0}&Try Again" TabSkip="no" Default="yes"> <Publish Event="EndDialog" Value="Retry" /> </Control> <Control Id="ContinueButton" Type="PushButton" X="186" Y=

How do I rebind the dialog after it is being rewritten by AJAX?

橙三吉。 提交于 2019-12-12 21:28:38
问题 I have a table of students and in each row are their names, a select list to select their attendance for their lesson and then a "Message" link when clicked will popup a a dialog to send a message to the student. The table is dynamically driven by a select list of courses. For example, a teacher selects a course and then the table is repopulated with all the students within that course. This is done through AJAX. The table body is basically getting written every time a course is selected. My

Android Java Time Picker Dialog

本小妞迷上赌 提交于 2019-12-12 20:19:58
问题 hey I am trying to make a TimepickerDialog. But the app crashes soon as I press the Set Time button. Here is the code. MainActivity: package com.wifitimer; import java.text.DateFormat; import java.util.Calendar; import android.app.Activity; import android.app.TimePickerDialog; import android.os.Bundle; import android.widget.TimePicker; public class MainActivity extends Activity { DateFormat formatDateTime=DateFormat.getDateTimeInstance(); Calendar dateTime=Calendar.getInstance(); @Override

jQuery UI - Dialog closes immediately when opened with onkeypress Enter/Space

萝らか妹 提交于 2019-12-12 19:41:12
问题 I want to open a jQuery UI dialog when a user presses enter or space on a given element. It appears that the enter/space keys are being processed by the dialog, however, causing the default element (the cancel button) to be pressed. The dialog is closed almost as soon as it opens. Here is a simplified demonstration: <script type="text/javascript"> function Go() { $("#dialog").text("Are you sure?").dialog({ modal: true, buttons: { Cancel: function() { $("#dialog").dialog("destroy"); }, OK:

Listen to click events inside CKEditor dialog

吃可爱长大的小学妹 提交于 2019-12-12 19:40:15
问题 I have a ckeditor instance, to which I added a custom dialog box using: CKEDITOR.dialog.add('quicklinkDialog', function(editor) { return { title: 'Quick Links', minWidth: 400, minHeight: 200, contents: [ { id: 'tab1', label: 'Add a quick link', elements: [ { type: 'html', html: '<p>This is some text and then: <a href="">Click me!</a></p>' }] }; }); I want to add a "click" event listener on the link inside my dialog box. When that link is clicked, content will be inserted into my textrea (the

Why do my radio buttons not work?

故事扮演 提交于 2019-12-12 18:13:33
问题 I'm working on an MFC dialog application in Visual C++ 2005. My radio buttons are m_Small, m_Medium, and m_Large. None of them display what they are supposed to in my m_Summary edit box. What could be wrong? Here's my code. // Pizza_ProgramDlg.cpp : implementation file // #include "stdafx.h" #include "Pizza_Program.h" #include "Pizza_ProgramDlg.h" #ifdef _DEBUG #define new DEBUG_NEW #endif // CAboutDlg dialog used for App About class CAboutDlg : public CDialog { public: CAboutDlg(); // Dialog

Show More Details Option in Windows Vista Progress Dialog

折月煮酒 提交于 2019-12-12 17:34:19
问题 I use the IProgressDialog interface in order to create a ProgressDialog with Windows-Vista style like this: Dialogs that are shown while copying, pasting and moving files in Windows Explorer usually offer an additional button "More Details" that provides further information about the current progress. Is there any possibility to display and work with this button regarding the IProgressDialog interface? Best regards 回答1: Second screenshot is screenshot of IOperationsProgressDialog dialog.

How to enable 'Insert Activex Control' in Visual Studio 2012 for a Win32 Dialog based application?

无人久伴 提交于 2019-12-12 15:23:53
问题 I am new to ActiveX Controls , though I have some basic background in COM/ATL programming. Steps The project is a simple Win32 project created using the Visual Studio 2012 wizard. I have selected all the default options. The dialog box is created using the resource editor dialog and then selecting new dialog option. Problem In my application I want to host the Internet Explorer (or some other) activex control in a dialog box. But the problem is that when I right click (as suggested by many

Matplotlib figures not working after Tkinter file dialog

别等时光非礼了梦想. 提交于 2019-12-12 13:18:45
问题 I'm using the following function which I found as a reply to this question to show a dialog window for file selection. [ Edit: Turns out the distro differences here are merely because Matplotlib is using gtk3agg on Fedora and TkAgg for drawing windows on each system ] On Fedora 18: Everything works fine. On Ubuntu 12.10: Matplotlib hangs after closing any figure displayed after the file dialog. For example, in the code below, on Ubuntu I can never get to the "made it" line. I am still able to