TreeNodes text inline with Icon

746 byte By JonPena at 2007-11-26 19:16:51
I'm programaticaly adding tree nodes to a tree but i don't see to be able to get the text to appear on the same line as the icon. It ends up putting the text on the line below interupting the links between the nodes.I would like:|__[] node1||__[] node2||__[] node3I get:|__[] node1|__[] ...

Dynamic Page Redirection

467 byte By Mitzya at 2007-11-26 19:17:25
i have a login page that authenticates the user and then stores his information in the session bean.The issue is,for other page i have a script that checks whether the session bean value for a user are null , (which means he has still not logged in)on this condition returning true, i want to ...

Login form using JSC n MySql

76 byte By ustaada at 2007-11-26 19:18:15
please send me full code for a simple login page using my jsc n mysql

Configuring acceskey properties on ImageHyperlink elements

426 byte By MarceloNunesPOAa at 2007-11-26 19:18:16
Hi, everyone!I'm intending to configure the accesskey property on an ImageHiperlink element but the JSP encoder doesn't recognizes it as a valid property. In other words, I'd my final HTML to look like this:<input id="btnSave" type="image" .... acesskey="s" />Is there a way to do this ...

Can Not Edit JSP Page

487 byte By farmboya at 2007-11-26 19:19:49
Running SJSC2.1 on XPI have a project which uses tables and DBI can not edit the JSP page (the tab for the Page1.jsp page has an asterisk) after the name.The IDE can not edit the page either, I add a table column for display and the design mode shows the added column but the JSP page does not ...

How to execute javascript on page load

415 byte By ndzpaca at 2007-11-26 19:20:31
I want to execute javascript function load() on page loading.But I am getting exception when I specified in body:<ui:body binding="#{MarkOnMap.body1}" id="body1" onload="load()">Exception Details: org.apache.jasper.JasperExceptionAttribute onload invalid for tag body according to TLDAny ...

Why can't I debug my JSF Portlet application after inserting an IFrame

881 byte By marcnikkoa at 2007-11-26 19:21:17
Hi,1) I created a jsf portlet application2) I add a button in my jsf portlet application3) I can debug my button's action method4) Now I open my jsp editor and add an iframe<iframe height="500" id="ifWindow" name="ifWindow"/>5) I try to debug my button's action method but the debug ...

Where are my servlets being stored?

287 byte By Mitzya at 2007-11-26 19:24:47
i have created a servelet named authenticateit is stored in the src folder of my projecthowever i dunno wat path is it accesed at wen i run the projectit says cannot find the resource..can anyone tell me where is my servlet being stored and how do i access it

Another SunStudio Exp. bug

674 byte By Rangara at 2007-11-26 19:25:18
A major bug I am having to fight right now is the ide debugger locking SSE solid.Either through step in to project, debug executable or debug project. IDE brings up a dialog msg box where you can see it's doing it's loading and setting up. A purple line goes through the first line of the code ...

Calendar Data Picker bug or problem

816 byte By Whitemerovingiana at 2007-11-26 19:26:01
Hi all i am having a problem with the calendar component.here the context:tool: Sun Java Studio Creator 2framework: Java Server Facesi put several components, on the page, and several buttons.i insert code in the button action of every button on the page, i test the applicaction, everyting ...

installation problem (power suply failure) plz help me

275 byte By samanila at 2007-11-26 19:26:33
I was installing studio creator when my system got some problem & it shut down when i tried 2 reinstall it after removin' all the folders that it had made &uninstalled it . ?Than i some problem occured in it. now it iz not bieng installed. plz helpme any 1...

two validators on same component

1326 byte By Samara@kka at 2007-11-26 19:27:02
Heya.I have radio button group, label, 2x validators, button and textfield component on page. When i click on radio button text in label before input text component changes:public void radioButtonGroup1_processValueChange(ValueChangeEvent event) {// change text on label1String newValue = ...

How to add components in java studio creator (htmLib)

286 byte By marcnikkoa at 2007-11-26 19:27:59
Hi,I'd like to add htmLib.jar into the palette of Java Studio Creator or at least into my project. Does anyone know of a tutorial or know how to do this? In particular, I need help in adding htmLib into my project: http://jsftutorials.net/htmLib/Thanks,Marc

URGENT, please help !!! IndexOutOfBoundsException at javax.faces.component.

4446 byte By Sushma_Sharma79a at 2007-11-26 19:30:41
Hi, I am using JSF1.1 RI and tomahawk 1.1.3 and application server is Weblogic 8.1I am getting this exception in one of my pages. It does not happen everytime, but appears once in a blue moon... My project goes live in couple of days and I have no clue why is this happening... could not find ...

how to access 64 bit multiplication

257 byte By weidaia at 2007-11-26 19:30:56
Does Sun's compiler offer any way to access the x64 instruction (mulq) that multiplies two 64-bit integers together and produces a 128-bit result? Either a 128-bit integer type like GCC's __uint128_t, or an intrinsic function like MSVC's _umul128?

User input by telephone and call transfer

504 byte By MISS_DUKEa at 2007-11-26 19:31:06
I need to implement the following feature in my JSC project:(1) The user rings a telephone number (2) A voice menu is presented to the user from the other end(3) The user selects a choice by pressing a button in the telephone keypad(4) Now, the user is connected to another telephone number ...

Ajax autocomplete component

319 byte By CandideECa at 2007-11-26 19:33:29
Every auto complete I have ever seen lets you press the down arrow to select a suggestion except for the creator one. I saw a post about it before and the reply said that this is coming soon...is that still the case? Learning to develop components myself seems like quite a bit of work just for ...

Java Studio Enterprise 8.1 hangs when executed as non-root

1790 byte By Doug.Doana at 2007-11-26 19:33:36
I've tried this both on Solaris Express and Linux, and the results are the same. I have no trouble running the IDE as root, but it hangs on "Loading Modules..." as non-root. For example,# ./jstudio_ent81/ide/bin/jstudio.sh java.io.IOException: Permission deniedat ...

Does anybody know what Crun::zero_ints does?

786 byte By clarkbt36a at 2007-11-26 19:33:38
I'm debugging a core dump from an optimized C++ application, so I don't have any debugging information and have only the capability to dissasemble the SPARC machine code inside the frames of my application's statck. I realize that knowing what "zero_ints" does may not seem important, but ...

Import XMI

83 byte By H_Charlesa at 2007-11-26 19:34:41
Hi all,Does SJSE 8.1 supports XMI import?Thanks-Charles

Sun Team: UNACCEPTABLE BUGS !!!!!!!!!!!!!!!!

1994 byte By InfoSysExpertsa at 2007-11-26 19:36:15
to anyone who reads this, please excuse my lack of politeness and patience for this issue. it is simply unnacceptable for this bug to occur, since it renders the IDE completely useless, along with the hours of work spent on development.i am using VWP. there is a single page that simply reads ...

debugging crash dump in dbx-host

997 byte By aladeena at 2007-11-26 19:37:55
I was debugging a core generated from the live box and faced following error.The dbx is not able to map the address and giving following errorscore file header read successfullyReading ld.so.1dbx: core file read error: address 0xffffffff7f725d48 not availabledbx: core file read error: address ...

How to forward all the errors to a static page of JSP?

97 byte By anikhindia at 2007-11-26 19:38:22
I want forward all the errors to a static page of JSP. how can i do that in creator

Sun Studio 11 on AMD64

312 byte By Nir_Gala at 2007-11-26 19:39:26
Hi,I have installed "studio-lin-x86.tar.bz2" on my AMD64 machine.After installation is done I can't find anyccCCor any other compiler ? I saw them when I installed the "sunstudio11-ii-20060829-sol-x86.tar.Z" version ?Can someone help ?ThanksNir ...

buttons doen't work sometimes

306 byte By jordi-koroa at 2007-11-26 19:39:56
Hi everybody!I have an aplication on jsf framework. Is working normaly, but sometimes (exactly on 15th click on a commandButton aprox) my buttons stop working. Can be for some configuration in web.xml about listeners or something like that?...Any Ideas?Thanks in ...

Tree Node and Ampersand

612 byte By bardubitzkia at 2007-11-26 19:41:42
Hi, I need to place ampersands in tree node text property. To get the textrendered right I need to provide the text as, for example, Bed '&+amp+;'Breakfast.This tree node is rendering well in the browser as "Bed & Breakfast".But if an action is associated with the tree node and I run ...

suse 9.2: can't open include file<stdio.h>

1393 byte By rgaaa at 2007-11-26 19:42:23
Hi there,I'm just starting with studio express in linux and have strange error, I don't know how to solve. Is easy to see:hello.c:#include <stdio.h>int main(int argc, char **argv){printf("start with studio express for linux\n"); fflush(stdout);return 0;}>CC -o hello.bin ...

How to compile a c program with sunstudio11

557 byte By unix_solarisa at 2007-11-26 19:42:55
I just start learning to program in C, i got Sunstudio11 to compile the programs, but when i want to compile a program i get this message:cc program.c /usr/ucb/cc: language optional software package not installedand i go to the Sunstudio tutorial but is very confusing, can somebody please tell ...

Comprehensive User Guide for Creator now available

353 byte By vspurlina at 2007-11-26 19:43:21
A superb PDF user guide on Creator has just been released at http://developers.sun.com/prodtech/javatools/jscreator/reference/pdf/creator_pr og_guide.pdf. It's an all-in-one reference. The Introduction chapter gives an excellent overview of what Creator is and can do. This chapter guides the ...

Setting Application server 8.1 to Sun java studio enterprise editi 6 2004Q1

132 byte By arunmoyala at 2007-11-26 19:46:05
drear frients can any one tell me how to attach application server 8.1 to sun java studio enterprise edition 6 2004Q1?

redirection problems

1952 byte By Asmodeana at 2007-11-26 19:47:07
hi,i have been searching for a while in the forums for a previus response but i have not found any answer for mi problem. but sorry if this is an old and very discussed issue.i have two pages, and i have to navigate from one to another using a command button (one for "going" in one page, and ...

Not seeing the webapplication framework creation Icon

378 byte By toLearna at 2007-11-26 19:48:31
Hi,I have installed the Java studio 8.1I'm not able to see the web application framework creation iconpleas refer to the help given - http://developers.sun.com/prodtech/javatools/jsenterprise/learning/tutorials/js e7/webapp.htmlAm I missing something while installing or do i have to do ...

How to call overriden methods from AbstractPageBean

1786 byte By Ingmara at 2007-11-26 19:50:48
I have overriden beforeProcessValidations() in a PageBean derived from AbstractPageBean but this method is never called. In a postback (this happens during every request except for the first) init(), preprocess(), ..._action(), prerender(), beforePhase and afterPhase() where called but not ...

woodstock components

150 byte By walid.ka at 2007-11-26 19:51:06
Hi,i download th woodstock components, how to use it, i dont see new components in the palette. I have netbeans 5.5 with visual web pack

starting the application server PE on windows XP

3582 byte By poshjosha at 2007-11-26 19:51:27
Introduction-I installed JStudio Enterprise 8 with SJS AppServer 8.1Later uninstalled JStudio Enterprise 8 but the server directory ie C:\Program Files\Sun\jstudio_ent8\Appserv8.1UR2\ remained intact. The server icon had been removed from the windows startup menu but the server could still be ...

How to NOT submit a form from hyperlinks

1370 byte By Sabira at 2007-11-26 19:52:41
I have set the immediate property of hyperlinks to TRUE.In spite of that, it appears that my form is getting submitted. I have a DATATABLE in the form. When a user clicks on column header to sort anything, the sorting gets cleared out (goes to default) as soon as I click on any hyper link on ...

ActionListener and Navigation PROBLEM

737 byte By dElaya at 2007-11-26 19:52:54
Here's my problem. I hope it's easy to solve.I'v got action listener set to an image hyper link. After clicking it some logic is executed thanks to myActionListener. public void myActionListener(ActionEvent ae) {// my bussines logic code here which works fine}I want also so this action ...

CVS files checked out have execute bit cleared?

322 byte By hdbaddoga at 2007-11-26 19:52:59
Greetings,I just checked out my build tree, which includes some scripts.Those scripts have their execute bit cleared.If I remove those files and do a cvs update in that dir manually, the scripts are checked out with execute bit set.Anyone else run into this?How can this be ...

Jumping to the last page of a table

353 byte By apersona at 2007-11-26 19:53:58
Hi there,At the moment, if you add a new row using dataProvider.appendRow(), on a table with multiple pages of rows, you may not be able to see the newly added row. This happens when the row is added to the last page,while you are still looking at the first.Does anyone know a way to make the ...

Ant targets, more environments, HOW?

1369 byte By Martin777a at 2007-11-26 19:56:06
I have a following situation: I am developing an app. for Sun Portal Server 7 on Sun One Web Server 6.1 (lets call it remote version, using j2EE 1.3). I am using JSC2 and AS8.2 + Pluto as a devel env (local, J2EE 1.4). Now I have two versions of the app.: stable one and a devel version. Stable ...

Unknown problem

4796 byte By damoce81a at 2007-11-26 19:56:16
This is the error:Exception HandlerDescription: An unhandled exception occurred during the execution of the web application. Please review the following stack trace for more information regarding the error.Exception Details: java.lang.ClassCastException ...

HOWTO: Call method on nested fragment

228 byte By cmainooa at 2007-11-26 19:57:10
Hi, How do I get a reference from a page to a fragment that is included within another fragment.To make it more fun, both fragments are in a sub folder of the one that contains the page.ThanksC

How to check if the record exists in database table using dataProviders

1018 byte By dElaya at 2007-11-26 20:00:53
Hi All!This is kind of simple but tricky for me.I was wondering how to check if there is a record in DB table using dataProviders. I couldn't find any obvious method performing this check so i did sth like this.RowKey rk=articleDataProvider.findFirst("article.memberId", ID);boolean ...

hundreds of database connections left open

649 byte By apersona at 2007-11-26 20:01:11
Hi,Today I watched the connection handling of our project using sysinternals TCPView (similar to a graphical netstat -n). Our project is constantly opening new connections to the database, but never closing them.Does anyone have any idea what could be going on?Each page gets a helper class to ...

Linking Libraries

86 byte By The_Beekeepera at 2007-11-26 20:03:25
I am unable to find a way to add libraries using the make wizard. Thanks

Help with JSC + Hibernate.

279 byte By glauber.vicaria at 2007-11-26 20:06:26
Hi...I need to know about a tutorial of studio creator + hibernate.The pdf who exists in Sun website, uses an example (TravelPOJO) to show this integration, but I need a tutorial more easy.Sorry for my poor english... I'm brazilian....Thanx...

Displaying Flag in a table corresponding to a DB value ?!

3266 byte By sotota at 2007-11-26 20:07:06
Hi forum,It's somehow a complicated problem !!I don't know to start from whereI want to get a field value from each record in a table DataProviderand according to each value I want to perform an action on the tableIn more details I want to display a flag image instead of the value itself ...

problem with libumem

409 byte By hnardmanna at 2007-11-26 20:07:31
Hi together,I have an application which needs about 60MB memory when run with my test data on Linux. When run on Solaris it stops with about 2GB memory eaten with the error message 'no memory'. The problem disappears when libumem is used with this program.So my question: what does libumem ...

My nightmare ...Statement parameter 1 not set.

4706 byte By _3AM_KMETa at 2007-11-26 20:10:23
Yes i know that one of the parameters of the rowset is not set.My page contains more than 10 rowsets and prowiders. And i don't know how to find which is the rowset.... just know that it's "one of them" ...04:31:53,984 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw ...

how to give hyperlink for sql server fields in jsp

645 byte By a1ba at 2007-11-26 20:11:10
Hi all,I am pulling some datas from the database and displaying on a report. One of the fields in that report is the DATA. How can I give Hyperlink to that data value and then when I click on that DATA one of the form to be triggered.(for example if the data value is "red" it should link ...