netbeans-7

primefaces Datatable filter is not working

荒凉一梦 提交于 2019-12-13 01:18:50
问题 After doing two days resarch on this issue i ve decided to seek some help from you guys. Filter of datatable is not working. I ll be grateful. My code for datatable is <p:dataTable widgetVar="#{ctrbean.list}" id="hhh" editMode="row" disabledSelection="true" rowKey="#{p.ID}" scrollable="true" value="#{ctrbean.list}" var="p" style="width: 800px ; position: absolute; top:150px ; left:250px" filteredValue="#{ctrbean.list}"> <p:column id="r" headerText="ID" filterBy="#{p.ID}" filterMatchMode=

JavaFX background-image works in scenebuilder and win but not on osx

泪湿孤枕 提交于 2019-12-13 00:42:34
问题 I have a simple FXML which has a background-image defined for a tab-pane in an external css-file. The background-images is located in a image-directory which is placed in the same folder as in the .FXML The problem is that this background-image is being displayed in SceneBuilder (Win 7 and OSX Mountain Lion) but when running the application, only on Windows 7. I'm using Netbeans 7.2 and also tried updating to JDK 7.0_06 on OSX. I also made sure that my project is being build with 7.0_06.

Java Control Panel on Windows 8.1

随声附和 提交于 2019-12-12 12:16:48
问题 I work with NetBeans 7.4 + Java Update 45 installed on Windows 8.1. I've tried to get to the Java Control Panel, by using the Windows search charm. This does, indeed, lead me to a java icon for the Java Control panel. However, when I click on the icon, something flashes by and then nothing. Does anyone know a work around? 回答1: Try running C:\Program Files (x86)\Java\jdk1.7.0_45\jre\bin\javacpl.exe if using 32-bit Java, or C:\Program Files\Java\jdk1.7.0_45\jre\bin\javacpl.exe if using 64-bit

Netbeans: move a text file into dist folder when compiling

微笑、不失礼 提交于 2019-12-12 08:54:08
问题 I have a text file (let's say textfile.txt ) stored in the project folder in Netbeans 7.3 , e.g. project folder textfile.txt src package package.subpackage MyClass.java When I compile I get a dist folder where the jar file is put in, e.g. project folder textfile.txt dist MyProject.jar src package package.subpackage MyClass.java How can I edit the build.xml file to make the file textfile.txt being copied under dist folder? 回答1: Edit the "-post-compile" target inside the build.xml as follows:

How to do HTML comments in NetBeans

爱⌒轻易说出口 提交于 2019-12-12 08:49:55
问题 In NetBeans, for javascript and php files/code, you can easily comment lines of code by just selecting them and then clicking on the comment button as shown in this picture. Is possible to perform the same action for HTML code? If yes, how? 回答1: To comment out html code (and javascript/php code), select the section of code you want to comment out and use the Ctrl + Shift + C ( Cmd + Shift + C for Mac) keyboard shortcut. For html code this adds the <!-- --> tags around your code. To uncomment,

Access to Tomcat server has not been authorized

与世无争的帅哥 提交于 2019-12-12 07:17:23
问题 I have used glassfish server in netbeans, now I changed to tomcat and when I run my web application that I have created in glassfish gives me the error : Deployment error: Access to Tomcat server has not been authorized. Set the correct username and password with the "manager-script" role in the Tomcat customizer in the Server Manager. I have added a role with name "manager-script" in conf/tomcat-user.xml but where is my Server Manager? I did'nt find it. Please help me. thanks... 回答1: Add

NetBeans 7.3 customise/Edit Toolbar positions

て烟熏妆下的殇ゞ 提交于 2019-12-12 06:08:56
问题 I have create new TopComonent for a client and then added new icon click action to the main toolbar and in view folder from main menu drop down list. But my problem is that what every position I set the action to it always puts it at start of toolbar but I need it at the end. @ActionID( category = "Build", id = "some.action") @ActionRegistration( iconBase = "path.to.icom.image", displayName = "someName") @ActionReferences({ @ActionReference(path = "Menu/View", position = 400),

Suddenly my spring.xml won't instantiate my classes and Error Exception occurs

会有一股神秘感。 提交于 2019-12-12 04:44:55
问题 I encountered a weird error that I could not understand... When I run my web project... My jsp displayed. But after clicking the submit bottom, it hangs then error results. I could not understand what I do wrong.. it is like 3hours trying to check my problem. But right now i need some help.. Thanks guys. Unable to instantiate Action, lotmovement.action.RegisterAction, defined for 'register' in namespace '/'Error creating bean with name 'registeraction' defined in class path resource [spring

How can I use Stroustrup's graphics libraries (Simple_window.h, Graph.h, …) in Netbeans 7.3 in Ubuntu 12.10?

一笑奈何 提交于 2019-12-12 03:46:11
问题 everyone. I am learning Bjarne Stroustrup's "Programming principle and practice using C++" book. I'm working with Netbeans 7.3 in Ubuntu 12.10. I want to build and run this simple graphics program in this book's chapter 12. The program is like this: #include "Simple_window.h" // get access to our window library #include "Graph.h" // get access to our graphics library facilities int main() { using namespace Graph_lib; // our graphics facilities are in Graph_lib Point tl(100,100); // to become

Netbeans7.1.1 - tomcat 6.0.35 Deployment Error - Deployment error: Access to Tomcat server has not been authorized

假装没事ソ 提交于 2019-12-12 02:05:46
问题 I created a Java Web project in Netbeans and index.jsp file was created by default which has "Hello World". I tried to run it but getting the below error - Deployment error: Access to Tomcat server has not been authorized. Set the correct username and password with the "manager" role in the Tomcat customizer in the Server Manager.See the server log for details. After reading some blogs, I modified tomcat-users.xml file and currently it appears like - <tomcat-users> <!-- <role rolename="tomcat