338 byte By
vsabaria at 2007-11-26 23:59:38
hai all,i am new to JSF. i need a suggestions to convert all my HTML pages to JSF pages bcoz i was already created more pages in HTML and now i want to convert all the pages to JSF. can u give any suggestion plz post it here or send me a mail to mrvsabari@yahoo.co.inthanks in ...
Hello,I have a table with several columns. I fill them with a CachedRowSetDataProvider. That works all with no problem. Now I want t o make one Table-Column with more fields of the DP. No problem in general. I create a Column as a "Group Panel" and put all my elemnts in there.But now my problem ...
Have you experienced something like this? I have a cacherowset and I access it via dataprovider. When I try to update the value like this:xxDataProvider.setValue("INVOICENO",lval);the value of lval is not updated to the rowset. I debug it and set a watch over the xxDataProvider. I step on those ...
1167 byte By
pajfra at 2007-11-27 0:00:51
Hi,This is a repost of http://forum.java.sun.com/thread.jspa?threadID=5156578 mistakenly posted in Sun Studio C++ forum.I'm using the example code given in the following article (and the Linker and Library Guide) to define my own time function as a shared ...
I need to display 4 items where each item has 5 properties say ID, color,Height,weight in a tabular format. Which component in studio creator will help me do that....I tried using table coomponent, but it seemed very confusing. when i drop a hypertext or a label in one column, it gets displayed ...
2627 byte By
bonizaka at 2007-11-27 0:03:56
I'm having a problem with a valuechange for a dropdown I hope someone can help me solve. I have a single page app used to track golfs scores and handicaps with the data stored in a MYSQL db. The user comes into the page, selects their name from a drop down list ( populated with a query to the ...
380 byte By
epp-665a at 2007-11-27 0:04:56
I have some checkBoxes in a portletPage and while initializing the page i want to make some of them checked(But without user Action).What i do is to call the: ckeckbox1.setSelected(new Boolean(true)); to make it checked.The problem is that no selection is visible to the UI.Is there any method ...
343 byte By
JagXa at 2007-11-27 0:05:40
L.S.I have got an Image Hyperlink and wonder what is the best way to implement its behaviour, double clicking it and replace return null with return "pageXXX" or using the JavaScript onClick option in the Image Hyperlink's properties and add something like ...
692 byte By
lishena at 2007-11-27 0:06:20
Dear allRecently, I hava a task to analysis the performance issue under Solaris built by SunStudio 11. I find that collect is quite a powerful tool, but it still have some limitations:for example, I want to collect the performance data of process 123 for 10 sec. it seems that collect doesn't ...
I have a large program I am loading into dbx (or the Studio gui). I get dbx: forward reference `_Rb_tree<cmri::Registry::Local*,std::pair><cmri::Registry::Local* const, std::map><utcp::String, int, std::less><utcp::String>, std::allocator<std::pair><const ...
I am using SunStudio12 and have stopped the program while in the debugger. I seem to have misplaced the source code window (as I can not find it). Any idea where I can find this as it's difficult to use without this. In the breakpoints windows, I can not select the "Show source" option and ...
806 byte By
walid.ka at 2007-11-27 0:08:20
Hi,i use table binded with list data provider, in table if i change checkbox or text field value and i want to retrieve new value it don't work. I use this code to d this: try{this.getSessionBean1().getZipEntryListDataProvider().cursorFirst();do { String dest = ...
95 byte By
kc8pdra at 2007-11-27 0:08:35
what other files do I need to upload with my war file ? Dose any one run the linux ver ?
599 byte By
k6det6a at 2007-11-27 0:08:45
Is it possible to reset the form submit state? I have a page with many input components, some of which are set to "Auto-Submit on Change". When submitting, a new window is opened with the report results.I need the user to go back to the original input page and change some of the original input ...
What is wrong with that thing?I can't get it to accept the answer to the final question. I paste the text in but it does absolutely nothing.
694 byte By
bPawna at 2007-11-27 0:09:23
Hi all,-I use kubuntu linux 6.10 32bit-uname -a, says:Linux PCNAME 2.6.17-11-generic #2 SMP Thu Feb 1 19:52:28 UTC 2007 i686 GNU/Linux-ls -l, says:-rwxr-xr-x 1 USERNAME USERNAME 276094976 2007-04-05 19:53 creator-2_1-linux-ml.bin-I start the installation:./creator-2_1-linux-ml.bin-the last ...
967 byte By
binla at 2007-11-27 0:10:37
I'm using openmp and want to insert an inline assembly code. But I don't want the compiler to optimize my inline assembly code. This is my test code:#include <stdio.h>#include <omp.h>void magic_break (void){ asm (搒ethi 0x40000, %g0?;}main () {int tid;magic_break;#pragma omp ...
friends,in sun java enterprise edition 8.1, i create database schema mapped that schame to etitiy beans. at runtime there is problem occured.but when i stat debuging the application, at that time SJEE 8.1 regenerate database schema re-mapping the cmp fields according to the new gen schema.how ...
818 byte By
lushua at 2007-11-27 0:13:50
When I tried to check the current work directory of a process, it failed with the message as shown in the title.I looked up some articles saying this is because the program I launched from within a directory that is later removed. But I don't think the directory is removed. So I am confused ...
1209 byte By
shock_ua at 2007-11-27 0:13:57
Hi , I know little about the system callI write a test file hello.c[code]#include<stdio.h>int main(){printf("hello");return 0;}[/code]I use the dtrace to probe the system call mmap, and found this syscall has been invoked twice during the execution, and I print tout he stack.first invoke ...
Hi,Iam developing a web application for cars.While i am developing the site every time i add some new code, i need to restart Sun server in order to see the changes.If i dont restart then the web application does not work at all.That is clicking on the web page which reflects the added code, it ...
Hi Folks,Take a look, feel free to give your feedback http://www.netbeans.org/kb/55/dropdowncomp.htmlThanksK
I am trying to port an application which till now was being compiled with older sun compiler 5.3. to a new compiler 5.6. But while linking I get undefined symbol error message Undefined Symbol - long __rwstd::InterlockedIncrement(long*) equivalence_MTI went through all the posted message in ...
78 byte By
kc8pdra at 2007-11-27 0:17:57
I got how to make a war file. Now how do I upload the site to my site ?
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 ...
206 byte By
re.tfa at 2007-11-27 0:30:27
Hi,Any one have any demo that show how to create an Dynamic lib and use it.and how load lib after software is loaded, lake an plug-in.Have way to do this?how?thanks
I am using a C library (Solstice FTAM v9.0) in my C++ program. One of the library header files has a declrartionshort class;in one of the structures.The C++ compiler (Sun C++ 5.4 on Solaris 8) gives error. What we should do to compile and link this library in C++.
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 ...
2565 byte By
B.V.a at 2007-11-27 0:32:24
Hello,I think this will be a very easy question:I am using dbx for investigating memory leaks in a C++ program on a SUN machine. As the memory leak is located in an (internal) platform piece of code, the depth of the stack trace is only two levels (one lowlevel and one internal platform ...
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 ...
Hello,I am trying to use automatic parallelization with -xautopar. I noticed that nothing but the simplest loops gets parallelized because I use unsafe functions. Adding the pragmas does_not_read/write_global_data or __attribute__((const)) lets the compiler consider these functions as safe. I ...
When building on Linux rh4 SunStudio 12, CC -c test.c -xlang=c99gives warningCC: -xlang=c99 is unavailable on Solaris 6I do not think this is correct for Linux?Message was edited by: Brett_Tiplitz
Building code with using llabs, I get the error"utioHeader.cc", line 4224: Error: The function "llabs" must have a prototype.I am working in Linux rf4 with SunStudio 12.This is defined in stdlib.h, but is defined as#ifdef __USE_ISOC99__extension__ extern long long int llabs (long long int ...
Building on Linux rh4, Sunstudio12"Mutex.cc", line 18: Error: PTHREAD_MUTEX_RECURSIVE is not defined.Looking at the Solaris 9, 10 manuals, this is a valid option for pthread_mutexattr_settype.On Linux, this is contained inside #ifdef __USE_UNIX98in ...
Building on Studio12 rh4,undefined reference to ushort.This is within the __USE_MISC block of types.hI might change my code to use posix types, but thought I would mention this one.
In SunStudio12 rh4, I get the following warning"/xxx.h", line 92: Warning: Types cannot be declared in anonymous union.Code is fromunion{struct{doublexStart;/* 256 - 263 */doublexDelta;/* 264 - 271 */uint32_t xUnits;/* 272 - 275 */} adjunct_1000;struct{doublerowStart;/* 256 - 263 ...
When building 32 bit apps for 64 bit files.getconf LFS_CFLAGS return-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64When building, I get an error"ptvalidate.cc", line 1414: Error: O_LARGEFILE is not defined.This is defined within#ifdef __USE_LARGEFILE64# define O_LARGEFILE0100000#endifSo I am ...
Using SunStudio12 rh4, get the following errors"cmriSockaddr.cc", line 107: Error: The function "gethostbyname_r" must have a prototype."cmriSockaddr.cc", line 181: Error: The function "getservbyname_r" must have a prototype.These both seem to be defined within #ifdef __USE_MISCThe linux man ...
SunStudio12 rh4 (yet again)/storage/temp2/sunstudio12/prod/lib/ld: Dwarf Error: mangled line number sectionSo what file is bad or what do I do with this?
On Solaris, one runs CC -xar to produce an archive on C++.How about on Linux?
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 ...