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...
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 ...
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 ...
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 ...
406 byte By
loweca at 2007-11-26 20:12:25
Try the suggested registry tweak. It was part of the recent JDK7 weekly, but the comment says that any version of Java will benefit from it: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6499242As with any reg tweak, only try it if you're comfortable with modifying the registry and backup ...
I try to populate cached rowset from non-sql result set, in my case from SAP resource adapter. Object returning from this resource adapter is basically sql result set, which does not support all operations, in which case the adapter's rowset raises java.lang.UnsupportedOperationException. When ...
120 byte By
lucky_a at 2007-11-26 20:14:31
Can anyone tell me if there is any webhostingf service that uses Sun Applications Server...pls pls pls....
705 byte By
DenisTa at 2007-11-26 20:14:59
When I put only button in page:<ui:form binding="#{Page1.form1}" id="form1"><ui:button action="#{Page1.okButton_action}" binding="#{Page1.okButton}" id="okButton" text="#{nl.OKButton}"/></ui:form>It works. But if I add any input controls:<ui:form binding="#{Page1.form1}" ...
361 byte By
sotota at 2007-11-26 20:16:00
Hello forum,Is it possible to display an "Alert" or "Confirm Message Box " with an event handler method in the Java code, and perform an action according to the "Confirm Message Box" OK or CancelI know that it's possible in JavaScript, but I need this action after checking data in a ...
Hi,I have several portlets that share the same jar files. In my tomcat, I'd like to load those jar files from shared/lib when tomcat starts up. Currently, to accomplish this, I export the war file from jsc, deploy to tomcat, then manually delete the jar files from WEB-INF/lib.Is there a way I ...
833 byte By
PatHaasa at 2007-11-26 20:17:41
Hi all and sorry if this seems like a very stupid question but I really can't figure this out easily on my own, which may show my lack of intelligence to the world. I'm very new with using the sun java studio creator and cannot figure out how to use the web browser to test the pages i'm ...
Hi,I am developing an Automobile database where some of the vehicles are marked as "On The Specials"What i want to do is to retrieve just this cars on the SPECIALS and display a picture of them in rotation.Lets say 10 cars are on the specials, display the picture of the first for 30 seconds, ...
Hi I抳e developed a java application in eclipse. How do I deploy it so that it can be used by others without the help of eclipse? I can run it in eclipse but how do I deliver it to my customers and how can they use it without the help of eclipse or using java runtime commands. Please give me ...
897 byte By
shannua at 2007-11-26 20:22:29
Hi,i am using sun stdio creator and i designed a page <script>function forward(){ alert("forward"); history.go(+1);} function back(){alert("back");history.go(-1); } </script> <sun stdio code ><ui:button name="farword"onclick=" forward(); " /><ui:button ...
Hi,There seems to be a big issue with having multiple session beans in different packages, particularly with database access.I have created a 2nd session bean named AdminSessionBean in a sub package of my main package. I also created a page in this same sub package and dropped a table component ...
2488 byte By
sotota at 2007-11-26 20:30:16
Hi all,I've a problem sending mail using this code in Sending Email tutorialpublic String fwd_SPOC_action() {String from = "*******@yahoo.com"; // from addressString to = "******@myComponey.com"; // to addressString mailserver = "*****.**.***.myComponey.com";String fullName = ...
I think I've already read about this issue, but I can't find where, if it is discussed anywhere else, please let me know.I have a serious problem. I am using JSC to create a JSF portlet. It is plugged in somebody else's Sun Portal Server 7. The CSS from JSC overriders some defined CSS ...
I added a Table(com.sun.rave.web.ui.component.Table) on my page and a button outside of that table to add new object rows. My problem is that I want the table to move to the last page when I add a new object. Instead the default bahaviour is showing the first page. Even if the newly added row ...
HiI've written about this problem already, but still I didn't find solution. The problem is that my components on the pages somehow are saving values that are assigned to them for the first time. So, when I am first time at page A and set hidden field value to 3, then go to B, and then once ...
24191 byte By
NewLitusa at 2007-11-26 20:38:10
Hi, I have this errors with all components that I bind to my DataBase (table,dropdown,etc).I'm working with mysql but with the traveldb also fails.:Sjava.lang.RuntimeException: java.sql.SQLExceptionat com.sun.data.provider.impl.CachedRowSetDataProvider.setCursorRow(CachedRowSetDa ...
Hi;I'm new to this forum. I'm having trouble installing JDK US DST Timezone update tool-1.0.1 that is required for the Mcafee epolicy orchestrator 3.6.0. When I run the command this is what i get....C:Program Files\Common Files\McAFeeJava\bin>Java -jar tzupdater.jar -uException in thread ...
I have put together a bare-bones, "neutered" theme for Creator web projects. This can be useful if you can't style components individually because the theme styles get in the way, or if you are writing a portlet app and are experiencing conflicts with portal-wide ...
Hi, I have table component bound to dataprovider. One of the table columns contains radiobutton component. How can I select row programatically and set corresponding radiobutton? Thanks in advancebest regards Grzegorz
Hi , How to get the ID or Name of rendered tabelColumn in JSC 2 ? If we use browser view source then you could see that the name is like"form1:tabSet1:tab2:tblDetail:tableRowGroup1:0:DTDetailColumn" this name i would like to grab for javascript thing ... ...
I downloaded ICEFaces Netbeans modules and I installed them on my Netbeans 5.5.I enabled ICEFaces on my project and I ran it. On the first page I noticed that some Javascript and Stylesheet link elements of the Rave components are missing from the page in the browser.I suppose that the Theme ...
Netbeans 6.0 beta is to be released on May 2007. Will there be a new version of VWP with it?Thank you very much.
Hello,Anybody know in which condition sun java studio enterprise can be used to develop open source applications?I post this question because I asked the sun licensing center (email to license@sun.com) but it seems than nobody know the answer to this question. The response from the center is: ...
The easy answer is, put the code at the end of the prerender() method. But what about a correct answer? :)I am developing a JSR-168 JSF portlet in JSC. I have four fragments included in a page. Every fragments does something, that can result in a message or messages when fetching data. The page ...
Hi,I have a jsp page which has a calendar component. The snippet of code is shown below:<ui:calendar binding="#{ReportParameter.calendar1}" id="calendar1"/>When I click a hyper link I need my javascript to access the value in the calendar component. I can access the calendar compenent in ...
749 byte By
burferda at 2007-11-26 20:49:35
I have a form with an h:command Button.I set the action to the default value for this button of "okBtn_action()"When I push the button, 'okBtn_action()' appears that it is notcalled. When I place a break point in the function, it does not breakin the debugger.If I check the 'immediate' ...
101 byte By
burferda at 2007-11-26 20:49:37
How can I get the date string?Do I need to get a Date object and extract it from there?
645 byte By
Jandera at 2007-11-26 20:52:46
Hi all!I抦 using Sun Java System Application Server Edition 9 with Netbeans 5.5 and VWP, and I have the following problem:I抦 trying to create a simple table feeded from a MySQL query. I don't have any problem in the design view, I just pick a control (like a table,dropdown) and drop it to the ...
Hi,Please can anyone tell me if there is a way to change the settings/install location in Studio Creator and NetBeans?This is not the project location.As a default settings etc end up under :-C:\Documents and Settings\user_name\.Creator\2_1\*I have looked in Tools etc but am not able to find ...
Hi, Can anyone help with me in the following error:"A java.lang,NullPointerException exception has occurred." This error is encountered when I wanted to fill in the URL of a hyperlink. However, whenever I click on the properties of URL to state the linkage, I was prompt with the above-mentioned ...
I am trying to use a page fragment to contain an h:messages like that described in this article: http://wiki.apache.org/myfaces/Displaying_Errors/Infos/Warnings_in_JSF_PagesI can get the h:messages to display correctly but the value ofgetFacesContext().getMaximumSeverity()is always null. I ...
guys,am basically Microsoft .Net Developer with 5 years of experience. I was impressed with the new release of Sun Java Studio by Sun and Google Web Toolkit by Google. I want to develop a commercial Global Web Application. Before i make my decision to buy Dev Support Package for Sun Studio ...
If I understand it correctly, I should be able to use the getSelected() method to get the ID of a node in a portlet, when I set the Immediate property of the Tree to TRUE. But it doesn't work! Should it work? If not, is there any way, how to achieve correct behaviour of the getSelected() ...
Problem: I have a gridpanel in a PORTLET that I fill with components dynamically. I do it in the init() method. After submitting the page, the components are created from scratch in the init() (I write their values in the log and everything is OK). Then the page should be rerendered. But it is ...
Hi, Expert:How can I position two objects on the page relatively? Say, I have two data tables, or one data table and after the table, some other object (button?, etc). B/c I don't know how many rows will return from the database, if I placed two tables too close, the first table will overlay ...
Hi, Is there a way to nest tablerowgroups in a table? I saw a tutorial has two table row groups but there display one after other. Say, I have a person list, l'd like to group the person based on the last name, and the table will look like this:Last name First NameAddresssome other stuffgrp ...
my intention is insert menus or dinamic's bannersthans you
1073 byte By
mummga at 2007-11-26 21:07:58
With Netbeans 5.5 I suddenly (worked yesterday) get an error whenstarting Tomcat 5.5.17: --org.apache.commons.digester.Digester - Parse Error at line 9 column 116: Document root element "faces-config", must match DOCTYPE root "null".org.xml.sax.SAXParseException: Document root element ...
365 byte By
bduttaa at 2007-11-26 21:08:26
Hi,I tried to follow the instruction in the Help section, i.e. by selecting multiple items while keeping CTRL or SHIFT pressed, and then do it by right clicking etc.I am able to do all these changes for individual classes, but that's a pain. I'd like to have a way to do it for all classes in ...
2081 byte By
poshjosha at 2007-11-26 21:09:17
Created enterprise app with web and ejb modules. Created a CMP Entity Bean with local interface. Created session bean with a remote interface, then used the process: enterprise resources> call enterprisebeans to generate lookup code for the entity bean. Tried using the session bean from the ...
I have an Apache2 web server and Studio Creator on the same server.I have developed and run Web Applications within S.C. but can't figure out how to deploy the application in a way that I can invoke them from a browser pointed at my Apache Server. FYI. Just learning Studio Creator and ...
2448 byte By
bduttaa at 2007-11-26 21:15:05
Hi,1) Sequence Diagram:I've been reading some posts in the past 2 days on the abilities, capabilities and issues with JSE8, and the "Skewed Sequence-Diag" issue etc, and it was written that v8.1 fixes it. I believe that the fixes overlooked some conditions, because yesterday, I encountered the ...
500 byte By
leon82a at 2007-11-26 21:16:17
Hi.I have found some problem with button_action in my jsf. I'm usin a table, filling it with data from database by ObjectArrayDataProvider. For each row of data, I added button, which will allow to remove data from databse. Table is filled in properly (this is done in prerender() ), but button ...
2136 byte By
cmainooa at 2007-11-26 21:17:06
Hi,I am using page navigation but this is not working on Safari. Version 1.0 and 2.0.4 have been tested on OSX 10.2 and 10.4.7. I am left with a page with nothing visible that I assume is meant to submit the form.The source of the page follows.Anyone know how to fix this?<body ...
Hello,I have a table with a datetime field. And according to this field other fields are either input and output (Textfield) or only output (Static Text). Is there any possibility to realise this?Thanks and regards,Thomas
HiIn my save button there is a code for insertion of data in database.In my application when i press save button first time the IE progress bar shows progress but if suppose the user presses the button againthen the data wil get saved twice.Now if i put a code in button action method to disable ...