首页 \ 问答 \ JBOSS AS 5的JVM 6内存设置如何?(How is your JVM 6 memory setting for JBOSS AS 5?)

JBOSS AS 5的JVM 6内存设置如何?(How is your JVM 6 memory setting for JBOSS AS 5?)

我正在使用运行在JBOSS上的ICEFaces应用程序,我目前的heapsize设置为

-Xms1024m -Xmx1024m -XX:MaxPermSize = 256m

你有什么建议调整JBOSS AS 5(5.0.1 GA)JVM 6的内存参数?


I'm using an ICEFaces application that runs over JBOSS, my currently heapsize is set to

-Xms1024m –Xmx1024m -XX:MaxPermSize=256m

what is your recommendation to adjust memory parameters for JBOSS AS 5 (5.0.1 GA) JVM 6?


原文:https://stackoverflow.com/questions/1207140
更新时间:2023-11-19 08:11

最满意答案

你能不能只使用: $('.ui-dialog').dialog('close')

例如。 在条款和条件页面添加“关闭”按钮,然后在单击按钮时触发.dialog('close')

<button id="close-button">Close</button>

$('#close-button').click(function() {
  $('.ui-dialog').dialog('close');
});

http://jquerymobile.com/demos/1.0a4.1/docs/pages/docs-dialogs.html


Can you not just use: $('.ui-dialog').dialog('close')?

eg. add a 'close' button to your terms & conditions page and then trigger .dialog('close') when the button is clicked.

<button id="close-button">Close</button>

$('#close-button').click(function() {
  $('.ui-dialog').dialog('close');
});

http://jquerymobile.com/demos/1.0a4.1/docs/pages/docs-dialogs.html

相关问答

更多
  • 首先不要相信w3schools显示正确的信息 如果你想使用jquery-ui库,就像小提琴正在使用浮动对话框只需将jquery-ui js文件包含到你的页面中,并使用你想要的选项调用.dialog() , api文档 $("#savedialog").dialog({ //options would go here }); 否则,如果你想在没有库的情况下进行操作,则需要将元素位置设置为固定并设置其顶部,左侧,底部或右侧样式。 所以你可以像下面一样给你的css添加一个类 .dialog { wid ...
  • $(".close").live("click", function (e) { e.preventDefault(); $('#yourdivId').closest(".dialog").dialog("close"); }); 尝试这个... $(".close").live("click", function (e) { e.preventDefault(); $('#yourdiv ...
  • 正如我在上面的评论中所写,解决方案与运行jquery的实例有关。 创建对话框对象时,它位于父窗体的jquery实例的上下文中。 在iFrame中,创建了第二个jquery实例,因此对话框不在范围内。 调用$("#structureDialog", window.parent.document).dialog('close'); 使用jquery的本地实例搜索父级的DOM,因此由于没有在那里初始化对话框,所以不能在那里关闭它。 解决方案是通过重新排列术语来引用父项的jquery实例,如下所示: parent. ...
  • 您可以做的是在DoModal()新对话框时隐藏父对话框,并在新对话框结束后将其销毁。 我没有测试过下面的ShowWindow()但是你明白了,如果它没有隐藏对话框寻找另一个类似的功能。 void CMachine2Dlg::OnBnClickedNewmc() { ShowWindow( SW_HIDE); NameDlg Dlg; Dlg.DoModal(); EndDialog( 0 ); } What you can do is hide the parent dial ...
  • 你不需要 close: function(ev, ui) { $(this).hide(); }, 因为$('#login-box').dialog('close'); 将为您隐藏对话框,无需自己指定。 You don't need close: function(ev, ui) { $(this).hide(); }, Because $('#login-box').dialog('close'); will hide the dialog for ...
  • 根据jquery UI Dialog doc,你的对话框按钮定义是错误的: 试试: $(".divConfirm").dialog({ [...] buttons: [ { text: "Yes", click: function() { $(this).dialog('close'); btnSubmit_click(true); } ...
  • 这似乎是一个错误。 这是jQuery Mobile的close方法的一个片段: // Close method goes back in history close: function() { window.history.back(); } 发生了什么事情是某些浏览器连续多次调用window.history.back()问题,所以调用$(".ui-dialog").dialog("close")只返回历史一次。 但是,调用window.history.go(-2)似乎可行。 看看: http : ...
  • 由于您的对话框是一个页面,您可以使用: $.mobile.back(); 在你的点击处理程序中 小提琴: http : //jsfiddle.net/azmjwy4z/ As your dialog is a page, you could use: $.mobile.back(); inside your click handler. Fiddle: http://jsfiddle.net/azmjwy4z/
  • 你能不能只使用: $('.ui-dialog').dialog('close') ? 例如。 在条款和条件页面添加“关闭”按钮,然后在单击按钮时触发.dialog('close') 。 $('#close-button').click(function() { $('.ui-dialog').dialog('close'); }); http://jquerymobile.com/demos/1.0a4.1/docs/ ...
  • 希望这可能对你有所帮助。 使用这行if ($(e.target).find('#dialog').length !== 0) {})我们询问我们点击的元素是不是我们的$(dialog) $("body").click(function(e) { if ($(e.target).find('#dialog').length !== 0) { $("#dialog").dialog({ title: "Tistle here", buttons: [{ ...

相关文章

更多

最新问答

更多
  • h2元素推动其他h2和div。(h2 element pushing other h2 and div down. two divs, two headers, and they're wrapped within a parent div)
  • 创建一个功能(Create a function)
  • 我投了份简历,是电脑编程方面的学徒,面试时说要培训三个月,前面
  • PDO语句不显示获取的结果(PDOstatement not displaying fetched results)
  • Qt冻结循环的原因?(Qt freezing cause of the loop?)
  • TableView重复youtube-api结果(TableView Repeating youtube-api result)
  • 如何使用自由职业者帐户登录我的php网站?(How can I login into my php website using freelancer account? [closed])
  • SQL Server 2014版本支持的最大数据库数(Maximum number of databases supported by SQL Server 2014 editions)
  • 我如何获得DynamicJasper 3.1.2(或更高版本)的Maven仓库?(How do I get the maven repository for DynamicJasper 3.1.2 (or higher)?)
  • 以编程方式创建UITableView(Creating a UITableView Programmatically)
  • 如何打破按钮上的生命周期循环(How to break do-while loop on button)
  • C#使用EF访问MVC上的部分类的自定义属性(C# access custom attributes of a partial class on MVC with EF)
  • 如何获得facebook app的publish_stream权限?(How to get publish_stream permissions for facebook app?)
  • 如何防止调用冗余函数的postgres视图(how to prevent postgres views calling redundant functions)
  • Sql Server在欧洲获取当前日期时间(Sql Server get current date time in Europe)
  • 设置kotlin扩展名(Setting a kotlin extension)
  • 如何并排放置两个元件?(How to position two elements side by side?)
  • 如何在vim中启用python3?(How to enable python3 in vim?)
  • 在MySQL和/或多列中使用多个表用于Rails应用程序(Using multiple tables in MySQL and/or multiple columns for a Rails application)
  • 如何隐藏谷歌地图上的登录按钮?(How to hide the Sign in button from Google maps?)
  • Mysql左连接旋转90°表(Mysql Left join rotate 90° table)
  • dedecms如何安装?
  • 在哪儿学计算机最好?
  • 学php哪个的书 最好,本人菜鸟
  • 触摸时不要突出显示表格视图行(Do not highlight table view row when touched)
  • 如何覆盖错误堆栈getter(How to override Error stack getter)
  • 带有ImageMagick和许多图像的GIF动画(GIF animation with ImageMagick and many images)
  • USSD INTERFACE - > java web应用程序通信(USSD INTERFACE -> java web app communication)
  • 电脑高中毕业学习去哪里培训
  • 正则表达式验证SMTP响应(Regex to validate SMTP Responses)