Need to add components dynamically to a page based on certain conditions....help!!!
Hi, i have a problem to move dataprovider cursorNext(). when i click the first time button next it will be work but the second time it same value and i trace the cursor is same value. if i use the cursorLast() and cursorFirst its works.Thanks
I have an ObjectListDataProvider and display the Data with a Table. This works with the hint I found here in the forum. But I have several Beans in this DP and so I want to display the Data from a Bean like this:#{currentRow.value['bean.property']}but than I get a "Property not found" ...
I have 2 pages...Page1 with two hyperlinks and Page2 with 3 text boxes. I need to display different data in the text boxes of Page 2 depending on which hyperlink the user clicks.I want to implement this with action listeners. The source of the action events are the 2 hyperlinks on Page1. How do ...
308 byte By
DenisTa at 2007-11-27 0:26:40
I develop a portlet for Sun Sun Java System Portal Server. This portlet can be inserted on one page two or more times. I need a solution for exact definition of html element, because in every of this portlets works JavaScript, which get and set values of html-elemnts in this portlet.Thank ...
3003 byte By
enskaa at 2007-11-27 0:32:08
Hi,My upload component works in IDE, but when I deploy my app to remote server, upload doesn't work.How to fix this? Thanks.public String buttonSaveImageFile_action() {// TODO: Process the button click action. Return value is a navigation// case name where null will return to the same ...
Hi all,We have developed a web application using sun java studio creator 2 update 1. We need to deploy the application in a remote server.Currently we are using the tomcat web server.We are facing some memory management problems,memory leaks etc.Hence we planned to use any powerful opensource ...
1. public class MPoll {private Vector<MQuestion> q1;... q1.add(1,y); // Raises NullPointerexception...2.... private MQuestion q2[];...q2[0] = new MQuestion(); .// Raises NullPointerException...Message was edited by: ...
303 byte By
enskaa at 2007-11-27 0:33:06
Hi,I have a search-page and when I click cursor to textbox, wrong button get focus. Then if I write searchword and push Enter, wrong buttonaction fires.I have looked these properties, but I haven't found where that "link" is.Where are these connections ...
How Can we connect the Creator to MsAccess;;;thanks
hello,I developed the small web based application by using java studio creator in JSF. Now, i want to prepare the report by using jasper report. so, i refer the following link http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/ reports.htmlbut i didn't get the clear ...
Running SJSC2.1 on XP w/DerbyI have an application which has a dropdown, a table and some static fieldsTwo static fields i want to be hyperlinks (go to another unique page) based on the db query. The field is populated correctly from the query how do I associate a specific url with the current ...
3378 byte By
gmoneya at 2007-11-27 0:37:50
All,Thought I'd post a solution to a problem I had recently. I have seen variations on a theme elsewhere on the net.IDE: Java Studio Creator 2, Update 1.Problem: The button action associated with a button component on a jspx page is not called when using IE 6, but is called using M. Firefox ...
Hi ,AllIn JSC 2.1 , web call Ejb's method, run fine on sun appserver 8.2,but happend error on jboss 4.0.2,as follows:=============================================================================== ===========================================2007-04-11 21:04:12,093 ERROR ...
1112 byte By
burferda at 2007-11-27 0:45:28
I am experiencing a problem that I have not seen before.I have an application that constructs a grid and displays that information. The application reads from a database into a local array. The data from that array is used to create the grid. The user can select one of the grid rows and the ...
I am testing a five page web page that connects to an SQL Server database.I am experiencing severe memory problems in debug mode. The application hangs after stepping through a some code.The debug screen goes all grey and I cannot get it to return to normal (see the code).I am developing on a ...
232 byte By
mfa786a at 2007-11-27 0:51:51
sir i install netbeans 5.5 and visual web pack sir how i connect my oracle 10g data base with my new vwp projectplease give me step for connection the database with grid ,combo,textboxthank'saamir
872 byte By
k6det6a at 2007-11-27 0:52:23
I am getting a ClassCastException on a multiple selection list box. This is what I am doing:String[] selections = (String[])listbox().getSelected();This is the error I am getting:javax.faces.el.EvaluationException: java.lang.ClassCastException: [Ljava.lang.Object; javax.faces.FacesException: ...
545 byte By
k6det6a at 2007-11-27 0:53:06
I have a RadioButtonGroup component with the "Auto-Submit on Change" turned on. This RadioButtonGroup has a default selection. And I have it setup with a value change listener.It all works fine, except for the default selection. If I select any other value, my listener gets called. When I ...
hello,is there any possibilities to draw a normal table (not data table) in java studio creator..
Hi, I'm using remote deployment server (Sun Java App Server 8.2). I'm able to deploy application from JSC, but when I try to redeploy I get such error:run-deploy:Redeploying C:\projects\test_project\dist\test_project.warStart registering the project's server resourcesFinished registering ...
545 byte By
Filipaa at 2007-11-27 0:58:53
I am developing a portlet application and I have the need to create an option to upload files to the server (in my case I am using the Tomcat server and the Liferay Portal). I have already read that the upload component does not work with portlets... but I have also found some documents saying ...
11071 byte By
garffa at 2007-11-27 0:59:00
I have created a creator app that uses embedded derby. I have deployed it sucessfully on Tomcat and am now trying to deploy on webshpere 5.1. I have modified the appbase.jar file according to the instuctions at http://developers.sun.com/jscreator/reference/techart/2/deploytowebsphere.htmlThe ...
I followed the tutorial "Creating Bookmarkable URLs" and I was able to pass 1 parameter OK with values from a database. I don't know the syntax for multiple parameters, though, when using the IDE Design view. I really would like to have bookmarkable URLs using multiple parameters.In the url ...
3531 byte By
burferda at 2007-11-27 1:00:22
I'm not sure if this is a JSF or JSC question, so I'll try here first.I have an application that uses a Blueprints Google Map component.At one time, this was working, but I had to remove that section and now I am having problems getting it back up.When I navigate to a page with the component, ...
I'm trying to use a Table component as a spreadsheet template in my app: I'd like the first column to be static-y labels (such as Sunday, Monday, etc.) and the rest of the columns to be bound to a relational data source. I thought that I could just create a simple String array of labels in ...
Does anyone know how to get a creator project to always start in a new browser window?Conversly, I would also like to add a button to close the browser window and end the session.
430 byte By
JohnHNa at 2007-11-27 1:01:45
During the Java web gui tutorial one drags a list box,binds a table from the travel db to it with typeid and displaydescription, then one tries to run.It builds fine but when attempting to send display to browser,I repeatedly get this error:at ...
396 byte By
Mr.JPa at 2007-11-27 1:02:26
Hey,I've got the Sun Java Studio Enterprise 8.1 installed and would like to upgrade the J2EE from 1.4 to J2EE 5.I've downloaded the J2EE sdk 5 and installed it and used the upgrade option within the installer, however I am not able to change the J2EE option within the IDE, only options are ...
14089 byte By
Nino_Ma at 2007-11-27 1:02:49
Hello all,I am trying to decompile .class files ok, i decompile it without any problems but when i open the java source i see weird string codes, and its not readable for the human, i tried lot of decompiling softwares but no software can make the file readable this is the problem that i ...
205 byte By
samanila at 2007-11-27 1:04:53
Hello! Does Any One Know How to Rename The Main Project In StudioCreator.2update1. Is it Possible to Rename?.OR should i copy paste All the jsp, jsf pages? & Name it what i want to
Hi,I facing a very problem.In my page prerender method is not executing.Even i put System.out.println statement. But in this page only init is executing and neither preprocess nor prerender methods are working.While previously it was working.Anybody have any idea,If any solution then i'll ...
Is it possible to develop complete software in SJSE 8.1 and create deployment or setup file from it....as we have in VS.net ?
352 byte By
samanila at 2007-11-27 1:09:16
hello! I have tried most of the things like Making a new folder & then Putting the whole project in that by renaming it! but it Did'nt work! Even when I renamed it & then run then also it was still Taking the old name. Does anybody know how to rename a The Main Project in Studio ...
Hello,I have an application which I want to offer in more than one language. On the Login-Page I have a DropDown with the language-Selections and I store the Selection in a SessionBean-Property. The content of this property is "de" or "en" (for deutsch [german] and english). I set the Locale ...
Hello,I am just trying Studio Creator with a simple project GridBagLayoutDemo.java.I can easily build an executable jar file with this using command line but when I build it as a project in Studio Creator it runs OK from the IDE but if I try to double-click the jar file I get the message, ...
Somewhere along the line I have lost the design-time libraries that were bundled with JSC2.For example, I can add a static text component to the page, but when I change to code/java mode, the methods valid for that component are not available. Only available are those methods which inherit from ...
Hello people, recently i took the challenge to work with NetBeans 5.5 and integrate Itext library to generate PDF files on the fly using servlets, JSchart components to generate reports, and java applets if anyone have some trouble with this, maybe i can help you, just post your ...
947 byte By
vuqphama at 2007-11-27 1:29:16
On pageA I have a button component and a hyperlink component. These two components ' actions return the same value "pageB" in order to navigate to page B.PageB has a button and a text field that I would like it (textfield) to take the focus when pageB is loaded. I use the onLoad to make ...
Hi all,I am having trouble writing a record to the db. Here is the error message I am getting back:Error: Number of conflicts while synchronizing: 1 SyncResolver.INSERT_ROW_CONFLICT row 2 Invalid data conversion: Parameter object type is invalid for requested conversion.Updates against existing ...
639 byte By
Derek50a at 2007-11-27 1:36:19
I need to prevent multiple logins on a Netbeans Visual Web Pack application.I have implemented a hashmap in the application bean, and clean out userids when the users either logout or the application times out, however I need to do this if the user closes the browser window.I have tried to find ...
Hi All,I am looking for an executable version of the JDK 1..3.1_20 to help with a problem I have been having can anyone help me by providing me with the exe or pointing me in the right direction.ThanksJohn
1817 byte By
popajcea at 2007-11-27 1:39:55
Hi,I have a problem setting up JNDi in my application, I looked for all topics on this forum about setting up JNDI on tomacat, but I didn't figured out what is wrong, or what I did wrong, so if anyone can help me, here is the content of my xml files:META_INF/context.xml :<?xml version="1.0" ...
922 byte By
BillVa at 2007-11-27 1:40:00
In my style sheet I define the mainnav class for links. If I do not use a page fragment I can call this class in the prerender (hyperlink1.setStyleClass("mainnav");), and in the link_action method, and it works.For a page fragment there is no prerender so the class cannot be set initially.How ...
Hi All,DID YOU KNOW?Practically all applications entail accessing data of some sort, often data stored in a relational database table or some sort of list, such as a vector or an array. Usually you need to read in data from the data source, but many times you have to update that data, too. The ...
348 byte By
dsva at 2007-11-27 1:41:45
OK - This is probably a very simple question but I have not been able to find the answer myself.I have a checkbox that I want to test.if (headersCheckBox().isChecked()) {// Write code here to unselect the checkbox}I'm looking for a method that will uncheck the box (or check it) on the ...
270 byte By
mfa786a at 2007-11-27 1:43:31
hi master 1.sir how i use vcr button for record navigation 2. sir how i use hyperlink both use in this link sample http://blogs.sun.com/divas/entry/links_in_tablesplease give me idea and sample thank's aamir
260 byte By
farmboya at 2007-11-27 1:45:58
Running SJSC2.1 on XPHow can I get the text within a static text field to display on multiple lines.It works within a text area field - using "\n" but not a static text field. The text is fed from a database (Derby/Oracle)?Thanks...
Two questions really, (1) If you minimize the Project, Files, and Runtime tabs, how do you get them back up in the same tabbed pane they were in when you first opened Netbeans? (2) If I download Java Studio Enterprise can I just remove netbeans and not worry about it. While I'm asking. (3) The ...
931 byte By
Yaquea at 2007-11-27 1:48:18
Hello, I hope somebody could help me... I'm developing a web application using JSF and MS SQL but I have a problem with a calendar component. I set minDate and maxDate in init() method:calendar1.setMinDate(new GregorianCalendar(2006, 0, 1).getTime());calendar1.setMaxDate(new ...