2212 byte By
virkofa at 2007-11-27 1:48:50
Hello everyone, I am doing a project for university and I抦 having troubles with a method. I try to explain what it is?br>I have two classes, one is a book class and the other is a catalogue which uses an ArrayList. Each book has a String description and a borrower number. I have to do a method ...
410 byte By
samanila at 2007-11-27 1:50:13
Hello Every one, I'm having problem with tables that I'm not able to Add data from One table to another in a jsf page while the same coding is working fine for another page in the same poject****************************************************************************************Some one plz ...
339 byte By
Eke_nya at 2007-11-27 1:52:17
Hi folks,Assume that there are two pages; Page A and Page B. Page A has two buttons and both buttons cause the navigation handler to direct Page B depending on the case. Button 1 returns "case1" and Button 2 returns "case2". How can I find depending on what navigation case cause Page B to be ...
644 byte By
rfencla at 2007-11-27 1:56:25
I don't know what happened. I was working through the tutorials and had just finished populating the database. When I tried to run the example again I get the error The Sun Java Application Server 8.2 could not start. Possible reasons include: Port Conflicts, Incorrect Server Configuration, ...
my webapp reads data from a sql server 2000 db, everithing works fine, but if I try to export in tomcat it doesn't workI've set with tomcat administration datasource information, downloaded a jdbc driver from msn and copyed jars into webapp lib directory and commo lib directory , but doesn't ...
327 byte By
Sabira at 2007-11-27 2:01:47
In Java BluePrints for Java EE 5, Sun is promoting Java Persistence API (JPA) for object persistence. However, in all the tutorials and documentation on JSC / Visual Web Pack, they are using direct JDBC without JPA. SUN, please update the tutorials and documentation to reflect your own new ...
9236 byte By
HoBaa at 2007-11-27 2:08:31
i neeed some help in the following Problem :-how can i bind data to Sun Creator table here is the problem:-i have table with 2 columns "PID" "PName" and i have 2 ArrayList pid & pname how can i put in each cell in PID column just only one value from the pid ArrayList then in the 2nd cell ...
532 byte By
bemmya at 2007-11-27 2:10:39
I can open the administration console. The problem is when I want to open the link "Web applications". I receveid this message:A "com.sun.enterprise.tools.guiframework.exception.FrameworkError" was caught. The message from the exception: "Unable to get View for ViewDescriptor ...
304 byte By
RonLa at 2007-11-27 2:10:46
Does anyone know how to put data from one type of data provider (ObjectListDataProvider) into another, say (TableDataProvider)? I guess my issue is that I do not understand the structure of these data providers that well. I have read some articles, but an example would help me ...
689 byte By
Jacona at 2007-11-27 2:13:30
I've got 3 platforms in Platform Manager:JDK 1.6.0 (default)Hotspot 1.5.xHotspot 1.4.xi tried to compile a "ProgressBarSample.java" of the online-tutorial, but the studio returns me error in line:class Task extends SwingWorker<Void, Void> {@Overrideand on the out says:generics are not ...
467 byte By
PDeva1a at 2007-11-27 2:20:28
When writing my webapp in JSC i test it on a local mysql database, but when i want to deploy to a production server, it has a different database name, user name and password.How do i modify this in the war file that java studio creator generates. I can see no file that contains any reference to ...
254 byte By
cmainooa at 2007-11-27 2:21:57
Hi,How do I change the URL of a web service client in code.i.e. I want to read the location of the web service from the deployment descriptor to easily switch between test and live versions.How do I do it?ThanksK
Hello forum -Due to a lack of documentation on UML to code mapping (see this bug http://www.netbeans.org/issues/show_bug.cgi?id=79555), I am having to learn by trial and error. I would like to model an aggregation that is translated into a HashMap. Now, I see that I can change the UML ...
Hi,I am a newbie on JSF and working with a JSF application development. I have a problem with a data type: DATE. Here is what had happened; I tried to write a new record to a table, in my "write" paragraphs I have the following codes:.....tabelOneDataProvider.setValue("joindate", rowKey, ...
Noticed quite a few threads on this. Tried the tutorial on oracle database. The workaround was simple. To exclude the table namefirstPersonId = ...
984 byte By
bwootena at 2007-11-27 2:30:01
Using NetBeans 5.5:Let's say I have created an Enterprise Application with an EJB called MyEJB.I have also created a Web Application that is a client or consumer of MyEJB. While editing the Web Application I can right click inside my java file and select Enterprise Resources->call ...
203 byte By
kylema at 2007-11-27 2:33:27
I am not a legal guru. If I create software using the Sun Java Studio Enterprise am I able to sell the software? Also is there is any requirements like providing source code, license requirements?
Hi,AllI want to move focus by direction key in datatable,now,left & right be ok,up or down be not,code as folloing:<ui:table augmentTitle="false" binding="#{inputData.table1}" id="table1"style="left: 195px; top: 155px; position: absolute; width: 805px" ...
430 byte By
retelaba at 2007-11-27 2:36:50
HelloI have a little problem with Sun Java Studio Enterprise 8.1. I am doing a UML diagrams but If I make a Use case in some level diagram and after I use the Use case in a different level. It will be represented with the use case name plus its "path", for example.."From UML project". I don't ...
Hello, I'm using the Tree, adding the nodes dinamically, following the example: http://www.netbeans.org/kb/55/vwp-databasetree.html This Tree shows the access permissions from the users, and show a red icon on the itens without permissions and a green icon on the itens with permissions.In the ...
861 byte By
mfa786a at 2007-11-27 2:41:38
hi mastersir i use your given sample with my 10g table i fasing porblem in SessionBean1 for query parametersir how i pass value in query for where class this is my SessionBean1 query SELECT ALL MUHAMMAD.VOUDETAIL.VNO, MUHAMMAD.VOUDETAIL.ACCID, MUHAMMAD.VOUDETAIL.NARRATION, ...
195 byte By
yukelma at 2007-11-27 2:42:32
in the datatable can i change numeric value to date format . in database date value is like 1070131 (CYYMMDD). I want to see 31/01/07(DD/MM/YY) or 31 Jan 07 . Is it possible?Thanks,
I am using netbeans 5.5.Let's say i have a webiste.../page1.jspWhen i click on a button in page1.jsp to go to page page2.jsp. It correctly goes to page2.jsp but the url still shows .../page1.jsp. So when i reload the page, it goes back to page 1.I use "Page Navigation" to go from one page to ...
I'm building a "CRUD"-type app. My "create" screen works fine, and includes an AddRemove List component.My "update" screen needs to pre-populate the ARL, both the items to select from and the already selected items previously saved.I've tried this 2 ways:1) Pre-populating the list pointed to ...
127 byte By
enskaa at 2007-11-27 2:48:05
Hi,I'm using dropdown and standard datatable to show data. How I put parameter to query?Thanks in advance
361 byte By
Ty_a at 2007-11-27 2:51:22
Hey, I need something like a MapListDataProvider... however, if I look at the source code (com.sun.data.provider.impl.MapListDataProvider) I see a class declaration and a bunch of unfinished code that has been commented out. So, my question is... is there a completed MapListDataProvider, or am ...
370 byte By
Sabira at 2007-11-27 2:53:43
I have "played" with many properties of the GridPanal style but can't figure out how to align i so that it shows up in the center of the page -- just like HTML tables have align="center" property. I don't want to hard code pixels or absolute/relative position using %, but I just want ...
545 byte By
mfa786a at 2007-11-27 2:56:35
hi master sir i use listbox this name is personIdDD and link with master tableand for detail i use table i use this code String dsName = (String) personIdDD.getValue();getSessionBean1().getVoudetailRowSet().setObject(1,dsName);but secount line give me errorthis line give me ...
730 byte By
Derek50a at 2007-11-27 2:57:19
I have a page fragment I use in all my web pages, this contains a number of buttons I use for navigation between the pages. I have a page with a table in it, I need to enable the table navigation buttons to navigate between data in the table. If I define a navigation rule in the navigation xml ...
2172 byte By
chunyia at 2007-11-27 2:57:58
Hi,I am running into an error with my jsp built using Sun Studio Creator. When I first deployed the war file, and then access the page, it rendered fine. I can also go back and forth to the same page and it worked fine. Once I logged out, and then logged back in, whenever I tried to go to this ...
I am using the Databound Component tutorial against a modified travel schemaHow can I provide a table column for an on-the-fly computed value.I added a current cost and previous cost to a table and compute the difference. I want the difference to be displayed in the second to the end column of ...
Trying to use buttons without themes I downloaded and installed neutered theme injsc update 2 but doesn't work... any idea? http://blogs.sun.com/gjmurphy/category/Negotium
508 byte By
mfa786a at 2007-11-27 3:04:46
hi mastersir i have big problem how i get selected data as per user input from textbox, listbox or variable how i pass that value in sessionbeen query that use in where class such as select * from abc where id = textboxvalueand how i desgin the user logn form user give userid and password and ...
Actually am developing web application that uses Hibernate Spring and jsf technologies and tomcat server, for the UI designing am using SunStudio here i have a doubt 1.after designing the UI part in SunStudio that code can run on tomcat server ? this is my main doubt and also 2.how can i ...
I need to generate a gui interface to a webpage.This gui will send and retrive information from a file. This gui will have a graphical interface. Is sun java studio creator the best approach and roughly what I need to do to get started on this. I plan on accessing the gui from a class file on a ...
415 byte By
chamea at 2007-11-27 3:08:47
I have an appliccation which compiles and builds correctly. I am able to run it without any problem. However if i Click the Design tab of class to open designer, it shows Loading on the pane and just locks up. Nothing happens thereafter, i have to shut down the Sun Studio and restart it. I ...
** cross posted on SDN JSC Forum and Netbeans J2EE Nabble forum ** I'm trying to automatically create a 7 row table that's bound to a database with the first column of type DATE (MySQL.) The dates are static text fields that I populate with the dates of a given week and are saved to the ...
I am getting the following error:C:\Selenium\java\com\thoughtworks\selenium\ClientDriverPISuite.java:51: generics are not supported in -source 1.4(try -source 1.5 to enable generics)I have tried all of the solutions found in this forum that I could find. I have changed all of the files that I ...
278 byte By
env4a at 2007-11-27 3:10:35
I'm trying to check and learn the java system portal server, I didn't make any segnificant move yet, I just can't start it, I'm working on netBeans 5.5.1 beta with sun java system portal server 7.x but the "start" popup entry is disabled !Any ideas?10x.
414 byte By
Tazcy06a at 2007-11-27 3:11:11
Can anyone has a suggestion on how to improve the performance of Java Studio Creator? JSC works fine when you have a less than 50 java files but when your building a large project JSC IDE works slow in terms of loading the whole project, modify the page in design layout, drag and drop a ...
Following code works fine:try {FileInputStream inp = new FileInputStream("C:\\MPolls\\dbconnection.properties");props.load(inp);inp.close();DriverName = props.getProperty("jdbc.drivers");DBURL = props.getProperty("jdbc.url");} catch (FileNotFoundException ex) {ex.printStackTrace(out);}Is it ...
218 byte By
farmboya at 2007-11-27 3:14:16
How can I prevent real (floating point - whatever) numbers from displaying (within a table) in scientific notation. Appears to be for numbers > 9999999.. The number 27000000 is displayed as 2.7E7Thanks
I m new in Java studio creator.I Have problem problem in Formattings controls on pages.1.Group Panel does not work if i place control in panel it could not be repostioned.2.i have placed data table on page and after that i have placed any other control when table grows with papulated data the ...
I have a project page with some pretty simple code to open a table and update it. The fields are all open for update and virtual forms configured to participate in a save action. The save works and commits the changes to the database (oracle) when using the creator studio to build/run the ...
334 byte By
chamea at 2007-11-27 3:16:08
When I am starting the project I am coming across the following exception.org.netbeans.javacore] INFORMATIONAL *********** Exception occurred ************ at 1:24 PM on May 3, 2007java.lang.RuntimeException: Inconsistent storage. (mdrList.size == 0, infos.size == 44) any clues will be ...
2678 byte By
chamea at 2007-11-27 3:16:11
I get this exception when restarting ide. i deleted the previous userdir and restarted ide, upon restart ide creates a new userdir and comes across the ArrayIndexOutofBoundsException.java.lang.ArrayIndexOutOfBoundsException: 512at java.awt.GridBagLayout.GetLayoutInfo(GridBagLayout.java:906)at ...
I tried to update a row based on the cursor position, but I got confused.String rkid = "" + 5;RowKey rowkey = new RowKey(rkid);info("rowkey: " + rowkey.getRowId()); 5abcDataProvider.setCursorRow(rowkey);RowKey rk = abcDataProvider.getCursorRow();info("rk: " + rk.getRowId());0I am just ...
3779 byte By
mb_agfaa at 2007-11-27 3:20:43
I am using NetBeans 5.5 with the webserver pack to use the JSF technology.When I am putting the JAX-WS 2.1 jars in the war, Ik get the following deployment error:WEB0100: Loading web module [__JWSappclients:sys.war] in virtual server [server] at [/__JWSappclients]Exception occured in J2EEC ...
Hi,I am working on one JSF project using Java Studio Creator.I have requirement where I have one table and print button.By clicking the print button, I want the contents of table to be printed.I have configured all the required properties of this button but still by clicking this print button, ...
Is there a possibility to set accept-charset in html form using ui:form?