<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:www.nabble.com,2006:forum-24581</id>
	<title>Nabble - Visual Web - Development</title>
	<updated>2008-07-17T23:44:48Z</updated>
	<link rel="self" type="application/atom+xml" href="http://www.nabble.com/Visual-Web---Development-f24581.xml" />
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Visual-Web---Development-f24581.html" />
	<subtitle type="html">The main list for developers to discuss module development issues/artifacts and requirements for version control.</subtitle>
	
<entry>
	<id>tag:www.nabble.com,2006:post-18523516</id>
	<title>Web Design</title>
	<published>2008-07-17T23:44:48Z</published>
	<updated>2008-07-17T23:44:48Z</updated>
	<author>
		<name>Ignacio36</name>
	</author>
	<content type="html">It is good that everyone should have a personal project, like building a tree house, playing sports, or even cleaning the house. What's better for everyone is that they make money off their personal hobbies. &lt;b&gt;&lt;a href=&quot;http://www.wspgweb.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Professional website design&lt;/a&gt;&lt;/b&gt;&amp;nbsp;is one of the best opportunities to make money and have fun while you're at it. After working for nine years, I decided to take on something on the side. I started web design after a friend who works exclusively in computers recommended it. After learning HTML from www.htmlschool.org, I started to create my own website. I also started making money off the site, so I decided to keep with my new project.
&lt;br&gt;&lt;br&gt;Web design is one of the easiest skills to learn. Once you are able to code HTML, using other websites as guides, you should be able to create your own website. And if you decide to put advertising in your websites, you may even make a little money on the side. Of course, it can never substitute a real income, but as you learn more complex forms of web design, you can build on your earnings with more professional style websites. Besides, web design promotes the user's creativity, intelligence, and determination. These qualities are paramount in establishing a useful hobby.
&lt;br&gt;&lt;br&gt;The fact that the internet is one of the most rapidly growing attractions in society is reason enough to begin web design. As more information is added onto the internet, the number of websites increases. It is also likely that one's website will be popular if it holds just the right information that people demand, so it may prove to be profitable for the designer. It's like owning a small business in some aspects, as you are your own boss, you earn money, and you supply a product for the people. Web design is suitable for all ages. A great first step for children to take in starting a job is to begin on the internet, a field that they are both familiar to and talented in. Others may find it as a healthy alternative to a restricted lifestyle, or some may even consider it to be a little financial helper. In any perspective, however, web design is one of the most interesting and popular types of work in the world of today and tomorrow
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Web-Design-tp18523516p18523516.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18455539</id>
	<title>Re: Is relative addressing possible with a hyperlink component?</title>
	<published>2008-07-14T16:47:54Z</published>
	<updated>2008-07-14T16:47:54Z</updated>
	<author>
		<name>fieyr2002</name>
	</author>
	<content type="html">Just figured it out! Apparently you have to say /faces/upload/images/picture.gif. Nevermind :P
&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;fieyr2002 wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;I've been trying to figure it out with /../../ bla bla but not having much luck.
&lt;br&gt;&lt;br&gt;I'm trying to link a hyperlink component to a picture stored in my project files by setting the url property. Currently it's set to &lt;a href=&quot;http://localhost:8080/Uploading4/faces/upload/images/500k.gif&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:8080/Uploading4/faces/upload/images/500k.gif&lt;/a&gt;&amp;nbsp;but I'd like to say something along the lines of /upload/images/500k.gif but I can't get it to work.
&lt;br&gt;&lt;br&gt;Any ideas?
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Is-relative-addressing-possible-with-a-hyperlink-component--tp18454714p18455539.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18454714</id>
	<title>Is relative addressing possible with a hyperlink component?</title>
	<published>2008-07-14T15:36:33Z</published>
	<updated>2008-07-14T15:36:33Z</updated>
	<author>
		<name>fieyr2002</name>
	</author>
	<content type="html">I've been trying to figure it out with /../../ bla bla but not having much luck.
&lt;br&gt;&lt;br&gt;I'm trying to link a hyperlink component to a picture stored in my project files by setting the url property. Currently it's set to &lt;a href=&quot;http://localhost:8080/Uploading4/faces/upload/images/500k.gif&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:8080/Uploading4/faces/upload/images/500k.gif&lt;/a&gt;&amp;nbsp;but I'd like to say something along the lines of /upload/images/500k.gif but I can't get it to work.
&lt;br&gt;&lt;br&gt;Any ideas?</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Is-relative-addressing-possible-with-a-hyperlink-component--tp18454714p18454714.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18450359</id>
	<title>Looking for help to set the keyword for website!!</title>
	<published>2008-07-14T11:43:06Z</published>
	<updated>2008-07-14T11:43:06Z</updated>
	<author>
		<name>brook.brian55</name>
	</author>
	<content type="html">Hi all,
&lt;br&gt;I’m new in online business and looking for a help to give good keyword to my website so that I can get good traffic. I know the correct keyword helps in increasing the online business. If you people have any idea in this or you may have any experience that can help me in selecting the correct key word then please suggest me. Any help will be highly appreciated. &amp;nbsp;
&lt;br&gt;&lt;br&gt;Thanks in advance!!!!
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Looking-for-help-to-set-the-keyword-for-website%21%21-tp18450359p18450359.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18104574</id>
	<title>SINGLE PAGE CRUD WITH TABLE EXAMPLE</title>
	<published>2008-06-24T21:03:44Z</published>
	<updated>2008-06-24T21:03:44Z</updated>
	<author>
		<name>sysboss1</name>
	</author>
	<content type="html">I found a number of errors in this sample app. using Visual Java Server Faces in Netbeans 6.1. This example uses the sample travel data base that comes with the IDE. When running the app, you can select a row to delete and press the delete button, but often times the wrong row gets deleted and the results are often inconsistant; sometimes it works like it should and deletes the proper row, sometimes it doesn't. &amp;nbsp;The add button sometimes adds a new row, sometimes it doesn't. I read the jave code behind the two buttons, and can't figure out what's wrong. Here it is:
&lt;br&gt;&lt;br&gt;public String deleteButton_action() {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // TODO: Process the action. Return value is a navigation
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // case name where null will return to the same page.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Iterator rowKeys = selectedTrips.iterator(); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; while (rowKeys.hasNext()) { &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; RowKey rowKey = (RowKey) rowKeys.next();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println(&amp;quot;rowKey: &amp;quot; + rowKey);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; try {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tripDataProvider.removeRow(rowKey);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } catch (Exception e) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; error(&amp;quot;Cannot delete trip with row key &amp;quot; + rowKey);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // do outside loop because commitChanges() invalidates rowkeys
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; try {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tripDataProvider.commitChanges();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } catch (Exception ex) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; error(&amp;quot;Cannot commit deletions.&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return null;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; /**
&lt;br&gt;&amp;nbsp; &amp;nbsp;* Returns true if the trip for the current row is selected.
&lt;br&gt;&amp;nbsp; &amp;nbsp;*/ 
&lt;br&gt;&amp;nbsp; &amp;nbsp;public boolean isSelectedTrip() {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;TableRowDataProvider trdp = (TableRowDataProvider) getBean(&amp;quot;currentRow&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (trdp == null) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return false;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;RowKey rowKey = trdp.getTableRow(); &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return selectedTrips.contains(rowKey);
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp;/**
&lt;br&gt;&amp;nbsp; &amp;nbsp; * Records whether or not the current trip should be marked as selected,
&lt;br&gt;&amp;nbsp; &amp;nbsp; * based on the state of the checkbox.
&lt;br&gt;&amp;nbsp; &amp;nbsp; */
&lt;br&gt;&amp;nbsp; &amp;nbsp;public void setSelectedTrip(boolean b) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;TableRowDataProvider trdp = (TableRowDataProvider) getBean(&amp;quot;currentRow&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;RowKey rowKey = trdp.getTableRow(); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (selectedTripCheckbox.isChecked()) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;selectedTrips.add(rowKey);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} else {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;selectedTrips.remove(rowKey);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; public String addButton_action() {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // TODO: Process the action. Return value is a navigation
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // case name where null will return to the same page.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if ( tripDataProvider.canAppendRow() ) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; try {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; RowKey rowKey = tripDataProvider.appendRow();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tripDataProvider.setCursorRow(rowKey);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tripDataProvider.setValue(&amp;quot;TRIP.TRIPID&amp;quot;, rowKey, &amp;nbsp;nextPK());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tripDataProvider.setValue(&amp;quot;TRIP.PERSONID&amp;quot;, rowKey, personId.getSelected()); 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; java.util.Date depDate = (java.util.Date) departureDate.getValue();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if ( depDate != null ) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; java.sql.Date date = new java.sql.Date( depDate.getTime() );
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tripDataProvider.setValue(&amp;quot;TRIP.DEPDATE&amp;quot;, rowKey, date);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } else {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tripDataProvider.setValue(&amp;quot;TRIP.DEPDATE&amp;quot;, rowKey, null);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tripDataProvider.setValue(&amp;quot;TRIP.DEPCITY&amp;quot;, rowKey, departureCity.getValue());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tripDataProvider.setValue(&amp;quot;TRIP.DESTCITY&amp;quot;, rowKey, destinationCity.getValue());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tripDataProvider.setValue(&amp;quot;TRIP.TRIPTYPEID&amp;quot;, rowKey, tripType.getSelected());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tripDataProvider.commitChanges();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } catch (Exception e) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; error(&amp;quot;Cannot append new trip: &amp;quot; + e);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } else {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; error(&amp;quot;Cannot append a new row&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //clear fields
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; departureDate.setValue(null);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; departureCity.setText(null);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; destinationCity.setText(null);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tripType.setForgetValue(true);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; form1.discardSubmittedValues(&amp;quot;saveChanges&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return null;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/SINGLE-PAGE-CRUD-WITH-TABLE-EXAMPLE-tp18104574p18104574.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17892661</id>
	<title>Re: problem in dataprovider NetBean 5.5</title>
	<published>2008-06-17T05:11:00Z</published>
	<updated>2008-06-17T05:11:00Z</updated>
	<author>
		<name>LG.</name>
	</author>
	<content type="html">ok the cause of problem that name of table was written in small letters , 
&lt;br&gt;and it must be in CAPITAL letters
&lt;br&gt;i capotalize the name and it works fine&lt;img class='smiley' src='http://www.nabble.com/images/smiley/anim_claps.gif' /&gt;&lt;img class='smiley' src='http://www.nabble.com/images/smiley/anim_claps.gif' /&gt;&lt;img class='smiley' src='http://www.nabble.com/images/smiley/anim_claps.gif' /&gt;&lt;img class='smiley' src='http://www.nabble.com/images/smiley/anim_claps.gif' /&gt;&amp;nbsp; 
&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;LG. wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;hi , 
&lt;br&gt;I have problem in connecting my database to Table
&lt;br&gt;I use netbean 5.5+visual web pack 
&lt;br&gt;database is connected and when i drag it in to Table component nothing happen 
&lt;br&gt;when right click on Table-&amp;gt;Bind to Data , the dataprovider &amp;nbsp;shows in red 
&lt;br&gt;this error occur when I choose it 
&lt;br&gt;javax.el.ELException: javax.faces.el.EvaluationException: javax.el.ELException: javax.faces.el.PropertyNotFoundException: defaultTableDataProvider
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at javax.faces.component.ValueExpressionValueBindingAdapter.getValue(ValueExpressionValueBindingAdapter.java:76)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.sun.webui.jsf.component.TableRowGroup.getSourceData(TableRowGroup.java:3030)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.sun.webui.jsf.component.TableRowGroup.getTableRowDataProvider(TableRowGroup.java:1251) …….
&lt;br&gt;&lt;br&gt;But when I work with Travel DB that comes with visual web pack it works fine.
&lt;br&gt;&lt;br&gt;i hope any one can help me in this 
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;img class='smiley' src='http://www.nabble.com/images/smiley/smiley_sad.gif' /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/problem-in-dataprovider-NetBean-5.5-tp17822473p17892661.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17822473</id>
	<title>problem in dataprovider NetBean 5.5</title>
	<published>2008-06-13T05:40:26Z</published>
	<updated>2008-06-13T05:40:26Z</updated>
	<author>
		<name>LG.</name>
	</author>
	<content type="html">hi , 
&lt;br&gt;I have problem in connecting my database to Table
&lt;br&gt;I use netbean 5.5+visual web pack 
&lt;br&gt;database is connected and when i drag it in to Table component nothing happen 
&lt;br&gt;when right click on Table-&amp;gt;Bind to Data , the dataprovider &amp;nbsp;shows in red 
&lt;br&gt;this error occur when I choose it 
&lt;br&gt;javax.el.ELException: javax.faces.el.EvaluationException: javax.el.ELException: javax.faces.el.PropertyNotFoundException: defaultTableDataProvider
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at javax.faces.component.ValueExpressionValueBindingAdapter.getValue(ValueExpressionValueBindingAdapter.java:76)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.sun.webui.jsf.component.TableRowGroup.getSourceData(TableRowGroup.java:3030)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.sun.webui.jsf.component.TableRowGroup.getTableRowDataProvider(TableRowGroup.java:1251) …….
&lt;br&gt;&lt;br&gt;But when I work with Travel DB that comes with visual web pack it works fine.
&lt;br&gt;&lt;br&gt;i hope any one can help me in this 
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;img class='smiley' src='http://www.nabble.com/images/smiley/smiley_sad.gif' /&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/problem-in-dataprovider-NetBean-5.5-tp17822473p17822473.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17693013</id>
	<title>New component request: Need a new component: a List of Values like ORACLE ADF or MyFaces inputListOfValues</title>
	<published>2008-06-06T03:41:01Z</published>
	<updated>2008-06-06T03:41:01Z</updated>
	<author>
		<name>Liviu Delureanu</name>
	</author>
	<content type="html">&lt;table cellspacing='0' cellpadding='0' border='0' background='none' style='font-family:arial;font-size:10pt;color:#000000;background-color:#ffffff;width:100%;'&gt;&lt;tr&gt;&lt;td valign='top' style='font: inherit;'&gt;&lt;P&gt;Hi all!&lt;/P&gt;
&lt;P&gt;If you consider usefull, please vote my request for a new feature :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href=&quot;http://visualweb.netbeans.org/issues/show_bug.cgi?id=136620&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://visualweb.netbeans.org/issues/show_bug.cgi?id=136620&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Need a new component: a List of Values like ORACLE ADF or MyFaces inputListOfValues&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This component is already in MyFaces-Trinidad and Oracle ADF.&lt;BR&gt;See it on:&lt;/P&gt;
&lt;P&gt;&lt;A href=&quot;http://www.myfaces.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.myfaces.org/&lt;/A&gt;&amp;nbsp;&amp;nbsp; &amp;gt;&amp;gt;Trinidad&amp;nbsp; &amp;gt;&amp;gt;LiveDemos &amp;gt;&amp;gt; Components &lt;BR&gt;&amp;gt;&amp;gt; inputListOfValues , or follow the link : &lt;BR&gt;&lt;A href=&quot;http://www.irian.at/trinidad-demo/faces/componentDemos.jspx;jsessionid=BCA114F361E51B2E7B60E3577C612044&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.irian.at/trinidad-demo/faces/componentDemos.jspx;jsessionid=BCA114F361E51B2E7B60E3577C612044&lt;/A&gt;#&lt;BR&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br&gt;



      </content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/New-component-request%3A-Need-a-new-component%3A-a-List-of-Values-like-ORACLE-ADF-or-MyFaces-inputListOfValues-tp17693013p17693013.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17520887</id>
	<title>Re: Netbeans design guide</title>
	<published>2008-05-28T13:00:44Z</published>
	<updated>2008-05-28T13:00:44Z</updated>
	<author>
		<name>Jayashri Visvanathan</name>
	</author>
	<content type="html">Nothing has changed in the Design time API, so Creator design time API 
&lt;br&gt;still holds. Are you saying that the component library worked in 6.0.1 
&lt;br&gt;but doesn't work in 6.0 ?
&lt;br&gt;&lt;br&gt;regards
&lt;br&gt;-Jayashri
&lt;br&gt;&lt;br&gt;jjmarini wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; The project I work on develops a component library for Creator, which I have
&lt;br&gt;&amp;gt; ported to NetBeans 5.5.1. 
&lt;br&gt;&amp;gt; and now Netbeans 6.0.1. Creator had a design time guide. Has NetBeans
&lt;br&gt;&amp;gt; updated and released its design time guide? &amp;nbsp;I am having issues with
&lt;br&gt;&amp;gt; Netbeans 6.1 during design time drag and drop.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17520887&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17520887&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Netbeans-design-guide-tp17519087p17520887.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17519087</id>
	<title>Netbeans design guide</title>
	<published>2008-05-28T11:29:48Z</published>
	<updated>2008-05-28T11:29:48Z</updated>
	<author>
		<name>jjmarini</name>
	</author>
	<content type="html">The project I work on develops a component library for Creator, which I have ported to NetBeans 5.5.1. 
&lt;br&gt;and now Netbeans 6.0.1. Creator had a design time guide. Has NetBeans updated and released its design time guide? &amp;nbsp;I am having issues with Netbeans 6.1 during design time drag and drop.
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Netbeans-design-guide-tp17519087p17519087.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17519037</id>
	<title>Issues with 6.1, drag and drop and component library</title>
	<published>2008-05-28T11:26:59Z</published>
	<updated>2008-05-28T11:26:59Z</updated>
	<author>
		<name>jjmarini</name>
	</author>
	<content type="html">The project I work on has developed a component library first for Creator, which I have ported to NetBeans 5.5.1 and now Netbeans 6.0.1. All works fine. When I try to use Netbeans 6.1 drag drop at first seems to work fine. Howeve when I compile the project or Netbeans tries to reparse the project the property page looses all its attribute values for the tag. Though the JSP page still contains the correct attribute values. Does anyone know what is going on? 
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Issues-with-6.1%2C-drag-and-drop-and-component-library-tp17519037p17519037.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17511469</id>
	<title>error with jpa - &quot; is not a known entity type&quot;</title>
	<published>2008-05-28T05:25:58Z</published>
	<updated>2008-05-28T05:25:58Z</updated>
	<author>
		<name>ics</name>
	</author>
	<content type="html">hi, iven trying to use jpa, but when i try to persists , im getting the error &amp;quot;xx is not a known entity type&amp;quot;, its like the class im using its not in the persistence.xml file, but if i look there the checkbox named &amp;quot;include all classess in ....&amp;quot; its checked, 
&lt;br&gt;&lt;br&gt;another anoying thing its that if i try to use hibertnate instead toplink , the error its the same and it says that the provider its toplink...</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/error-with-jpa---%22-is-not-a-known-entity-type%22-tp17511469p17511469.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17338216</id>
	<title>Visual Editor causes problems when not directly extending AbstractPageBean</title>
	<published>2008-05-20T04:30:07Z</published>
	<updated>2008-05-20T04:30:07Z</updated>
	<author>
		<name>Stefan Bley</name>
	</author>
	<content type="html">I created a more generic class for my page beans which includes some common properties. This class extends AbstractPageBean and is itself extended by the beans created by the Visual Editor.
&lt;br&gt;&lt;br&gt;In the JSP view I can bind the component values to properties of the parent class. But when I try to open the Design view, it says that it can't find these properties in the bean.
&lt;br&gt;&lt;br&gt;Is this a bug?
&lt;br&gt;&lt;br&gt;Regards, Stevy</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Visual-Editor-causes-problems-when-not-directly-extending-AbstractPageBean-tp17338216p17338216.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-16965752</id>
	<title>Re: Null Source in custom component library</title>
	<published>2008-04-29T10:27:00Z</published>
	<updated>2008-04-29T10:27:00Z</updated>
	<author>
		<name>mr.meyers</name>
	</author>
	<content type="html">So I finally found out what was wrong! &amp;nbsp;Our project is using a content management system that makes everything read-only, and there is a file called index.xml in the lib/complib folder under the project folder that was read-only, so Netbeans couldn't write to it to add the component library to the project, and instead of giving us an error saying that it couldn't write to the file like it usually does, it give us the cryptic (and grammatically incorrect) message, &amp;quot;Unable to embedded a complib into project&amp;quot;.
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;mr.meyers wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;I'm using Netbeans 6.0.1. &amp;nbsp;I have a visual web custom component library (.complib) that I made that extends some ICEFaces components, and when I go to Component Libraries I can import the library, but it doesn't show up on the Palette. &amp;nbsp;When I right click the palette and click Add Component Library, it shows up in the list and I click add. &amp;nbsp;When I click add, Netbeans reports the exception at the end of this message and doesn't add it to the palette. &amp;nbsp;Then I right click the palette and click refresh, and it shows up. &amp;nbsp;I used to not get this message. &amp;nbsp;Does anyone know what could cause an exception like this?
&lt;br&gt;&lt;br&gt;The exception:
&lt;br&gt;&lt;br&gt;java.lang.IllegalArgumentException: null source
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.util.EventObject.&amp;lt;init&amp;gt;(EventObject.java:38)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.netbeans.modules.visualweb.complib.api.ComplibEvent.&amp;lt;init&amp;gt;(ComplibEvent.java:53)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.netbeans.modules.visualweb.complib.ComplibServiceProvider.replaceProjectComplib(ComplibServiceProvider.java:1244)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.netbeans.modules.visualweb.complib.ComplibServiceProvider.addProjectComplib(ComplibServiceProvider.java:1286)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.netbeans.modules.visualweb.complib.ui.ComplibsRootNode$AddComplibAction.actionPerformed(ComplibsRootNode.java:267)
&lt;br&gt;Caused: java.lang.Throwable: Unable to embedded a complib into project
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.netbeans.modules.visualweb.complib.IdeUtil.logError(IdeUtil.java:117)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.netbeans.modules.visualweb.complib.ui.ComplibsRootNode$AddComplibAction.actionPerformed(ComplibsRootNode.java:269)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1216)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1257)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.awt.Component.processMouseEvent(Component.java:6038)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.awt.Component.processEvent(Component.java:5803)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.awt.Container.processEvent(Container.java:2058)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.awt.Component.dispatchEventImpl(Component.java:4410)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.awt.Container.dispatchEventImpl(Container.java:2116)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.awt.Component.dispatchEvent(Component.java:4240)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.awt.Container.dispatchEventImpl(Container.java:2102)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.awt.Window.dispatchEventImpl(Window.java:2429)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.awt.Component.dispatchEvent(Component.java:4240)
&lt;br&gt;[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
&lt;br&gt;&lt;br&gt;Thanks.
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Null-Source-in-custom-component-library-tp16850205p16965752.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-16850205</id>
	<title>Null Source in custom component library</title>
	<published>2008-04-24T05:08:32Z</published>
	<updated>2008-04-24T05:08:32Z</updated>
	<author>
		<name>mr.meyers</name>
	</author>
	<content type="html">I'm using Netbeans 6.0.1. &amp;nbsp;I have a visual web custom component library (.complib) that I made that extends some ICEFaces components, and when I go to Component Libraries I can import the library, but it doesn't show up on the Palette. &amp;nbsp;When I right click the palette and click Add Component Library, it shows up in the list and I click add. &amp;nbsp;When I click add, Netbeans reports the exception at the end of this message and doesn't add it to the palette. &amp;nbsp;Then I right click the palette and click refresh, and it shows up. &amp;nbsp;I used to not get this message. &amp;nbsp;Does anyone know what could cause an exception like this?
&lt;br&gt;&lt;br&gt;The exception:
&lt;br&gt;&lt;br&gt;java.lang.IllegalArgumentException: null source
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.util.EventObject.&amp;lt;init&amp;gt;(EventObject.java:38)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.netbeans.modules.visualweb.complib.api.ComplibEvent.&amp;lt;init&amp;gt;(ComplibEvent.java:53)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.netbeans.modules.visualweb.complib.ComplibServiceProvider.replaceProjectComplib(ComplibServiceProvider.java:1244)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.netbeans.modules.visualweb.complib.ComplibServiceProvider.addProjectComplib(ComplibServiceProvider.java:1286)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.netbeans.modules.visualweb.complib.ui.ComplibsRootNode$AddComplibAction.actionPerformed(ComplibsRootNode.java:267)
&lt;br&gt;Caused: java.lang.Throwable: Unable to embedded a complib into project
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.netbeans.modules.visualweb.complib.IdeUtil.logError(IdeUtil.java:117)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.netbeans.modules.visualweb.complib.ui.ComplibsRootNode$AddComplibAction.actionPerformed(ComplibsRootNode.java:269)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1216)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1257)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.awt.Component.processMouseEvent(Component.java:6038)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.awt.Component.processEvent(Component.java:5803)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.awt.Container.processEvent(Container.java:2058)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.awt.Component.dispatchEventImpl(Component.java:4410)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.awt.Container.dispatchEventImpl(Container.java:2116)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.awt.Component.dispatchEvent(Component.java:4240)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.awt.Container.dispatchEventImpl(Container.java:2102)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.awt.Window.dispatchEventImpl(Window.java:2429)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.awt.Component.dispatchEvent(Component.java:4240)
&lt;br&gt;[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
&lt;br&gt;&lt;br&gt;Thanks.</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Null-Source-in-custom-component-library-tp16850205p16850205.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-16544968</id>
	<title>Re: [Help] Upload File Component Problem</title>
	<published>2008-04-07T18:16:01Z</published>
	<updated>2008-04-07T18:16:01Z</updated>
	<author>
		<name>dodgers188</name>
	</author>
	<content type="html">I tried not to use it but it won't display the image I uploaded.
&lt;br&gt;I guess this servlet has something to do with showing the image.
&lt;br&gt;Anything I can do?
&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;avbravo wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;can you used the fileupload without:
&lt;br&gt;&lt;br&gt;ServletContext theApplicationsServletContext = (ServletContext) this.getExternalContext().getContext();
&lt;br&gt;this.realImageFilePath = theApplicationsServletContext.getRealPath(IMAGE_URL);
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-Help--Upload-File-Component-Problem-tp16410318p16544968.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-16542543</id>
	<title>Re: [Help] Upload File Component Problem</title>
	<published>2008-04-07T16:10:27Z</published>
	<updated>2008-04-07T16:10:27Z</updated>
	<author>
		<name>avbravo</name>
	</author>
	<content type="html">can you used the fileupload without:
&lt;br&gt;&lt;br&gt;ServletContext theApplicationsServletContext = (ServletContext) this.getExternalContext().getContext();
&lt;br&gt;this.realImageFilePath = theApplicationsServletContext.getRealPath(IMAGE_URL);
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-Help--Upload-File-Component-Problem-tp16410318p16542543.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-16532392</id>
	<title>Re: [Help] Upload File Component Problem</title>
	<published>2008-04-06T18:50:03Z</published>
	<updated>2008-04-06T18:50:03Z</updated>
	<author>
		<name>dodgers188</name>
	</author>
	<content type="html">I did fix imports and it says nothing to imports
&lt;br&gt;What I don't get is reformat, I tried Ctrl + Shift + F but it will display Find Dialog Box..
&lt;br&gt;&lt;quote author=&quot;avbravo&quot;&gt;&lt;br&gt;. You add import statements to fix these errors 
&lt;br&gt;Right-click in the Java Editor and choose Fix Imports
&lt;br&gt;, you can press Ctrl-Shift-F to reformat the code.
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;dodgers188 wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Dear gurus,
&lt;br&gt;I tried to follow example given in netbeans 6.0 kb about file upload component.
&lt;br&gt;I have an error on line:
&lt;br&gt;&lt;b&gt;ServletContext theApplicationsServletContext = (ServletContext) this.getExternalContext().getContext();&lt;/b&gt;&lt;br&gt;it says cannot find symbol getContext();
&lt;br&gt;I tried to remove the getContext() but it says inconvertible types.
&lt;br&gt;Anybody can please help me?
&lt;br&gt;&lt;br&gt;/*
&lt;br&gt;* Page1.java
&lt;br&gt;*
&lt;br&gt;* Created on Mar 27, 2008, 12:55:24 PM
&lt;br&gt;*/
&lt;br&gt;&lt;br&gt;package uploadfile;
&lt;br&gt;&lt;br&gt;import com.sun.rave.web.ui.appbase.AbstractPageBean;
&lt;br&gt;import com.sun.webui.jsf.component.Body;
&lt;br&gt;import com.sun.webui.jsf.component.Button;
&lt;br&gt;import com.sun.webui.jsf.component.Form;
&lt;br&gt;import com.sun.webui.jsf.component.Head;
&lt;br&gt;import com.sun.webui.jsf.component.Html;
&lt;br&gt;import com.sun.webui.jsf.component.Link;
&lt;br&gt;import com.sun.webui.jsf.component.MessageGroup;
&lt;br&gt;import com.sun.webui.jsf.component.Page;
&lt;br&gt;import com.sun.webui.jsf.component.StaticText;
&lt;br&gt;import com.sun.webui.jsf.component.Upload;
&lt;br&gt;import javax.faces.FacesException;
&lt;br&gt;import javax.servlet.ServletContext;
&lt;br&gt;&lt;br&gt;/**
&lt;br&gt;*
&lt;br&gt;&lt;br&gt;Page bean that corresponds to a similarly named JSP page. This
&lt;br&gt;* class contains component definitions (and initialization code) for
&lt;br&gt;* all components that you have defined on this page, as well as
&lt;br&gt;* lifecycle methods and event handlers where you may add behavior
&lt;br&gt;* to respond to incoming events.
&lt;br&gt;*
&lt;br&gt;* @author Dwi Pamudji Soetedjo
&lt;br&gt;*/
&lt;br&gt;public class Page1 extends AbstractPageBean {
&lt;br&gt;// &amp;lt;editor-fold defaultstate=&amp;quot;collapsed&amp;quot; desc=&amp;quot;Managed Component Definition&amp;quot;&amp;gt;
&lt;br&gt;&lt;br&gt;/**
&lt;br&gt;*
&lt;br&gt;&lt;br&gt;Automatically managed component initialization. WARNING:
&lt;br&gt;* This method is automatically generated, so any user-specified code inserted
&lt;br&gt;* here is subject to being replaced.
&lt;br&gt;*/
&lt;br&gt;private void _init() throws Exception {
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;private Page page1 = new Page();
&lt;br&gt;&lt;br&gt;public Page getPage1() {
&lt;br&gt;return page1;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;public void setPage1(Page p) {
&lt;br&gt;this.page1 = p;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;private Html html1 = new Html();
&lt;br&gt;&lt;br&gt;public Html getHtml1() {
&lt;br&gt;return html1;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;public void setHtml1(Html h) {
&lt;br&gt;this.html1 = h;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;private Head head1 = new Head();
&lt;br&gt;&lt;br&gt;public Head getHead1() {
&lt;br&gt;return head1;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;public void setHead1(Head h) {
&lt;br&gt;this.head1 = h;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;private Link link1 = new Link();
&lt;br&gt;&lt;br&gt;public Link getLink1() {
&lt;br&gt;return link1;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;public void setLink1(Link l) {
&lt;br&gt;this.link1 = l;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;private Body body1 = new Body();
&lt;br&gt;&lt;br&gt;public Body getBody1() {
&lt;br&gt;return body1;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;public void setBody1(Body b) {
&lt;br&gt;this.body1 = b;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;private Form form1 = new Form();
&lt;br&gt;&lt;br&gt;public Form getForm1() {
&lt;br&gt;return form1;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;public void setForm1(Form f) {
&lt;br&gt;this.form1 = f;
&lt;br&gt;}
&lt;br&gt;private Upload fileUpload1 = new Upload();
&lt;br&gt;&lt;br&gt;public Upload getFileUpload1() {
&lt;br&gt;return fileUpload1;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;public void setFileUpload1(Upload u) {
&lt;br&gt;this.fileUpload1 = u;
&lt;br&gt;}
&lt;br&gt;private Button button1 = new Button();
&lt;br&gt;&lt;br&gt;public Button getButton1() {
&lt;br&gt;return button1;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;public void setButton1(Button b) {
&lt;br&gt;this.button1 = b;
&lt;br&gt;}
&lt;br&gt;private StaticText staticText1 = new StaticText();
&lt;br&gt;&lt;br&gt;public StaticText getStaticText1() {
&lt;br&gt;return staticText1;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;public void setStaticText1(StaticText st) {
&lt;br&gt;this.staticText1 = st;
&lt;br&gt;}
&lt;br&gt;private StaticText staticText2 = new StaticText();
&lt;br&gt;&lt;br&gt;public StaticText getStaticText2() {
&lt;br&gt;return staticText2;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;public void setStaticText2(StaticText st) {
&lt;br&gt;this.staticText2 = st;
&lt;br&gt;}
&lt;br&gt;private StaticText staticText3 = new StaticText();
&lt;br&gt;&lt;br&gt;public StaticText getStaticText3() {
&lt;br&gt;return staticText3;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;public void setStaticText3(StaticText st) {
&lt;br&gt;this.staticText3 = st;
&lt;br&gt;}
&lt;br&gt;private MessageGroup messageGroup1 = new MessageGroup();
&lt;br&gt;&lt;br&gt;public MessageGroup getMessageGroup1() {
&lt;br&gt;return messageGroup1;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;public void setMessageGroup1(MessageGroup mg) {
&lt;br&gt;this.messageGroup1 = mg;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;// &amp;lt;/editor-fold&amp;gt;
&lt;br&gt;&lt;br&gt;/**
&lt;br&gt;*
&lt;br&gt;&lt;br&gt;Construct a new Page bean instance.
&lt;br&gt;*/
&lt;br&gt;public Page1() {
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;/**
&lt;br&gt;*
&lt;br&gt;&lt;br&gt;Callback method that is called whenever a page is navigated to,
&lt;br&gt;* either directly via a URL, or indirectly via page navigation.
&lt;br&gt;* Customize this method to acquire resources that will be needed
&lt;br&gt;* for event handlers and lifecycle methods, whether or not this
&lt;br&gt;* page is performing post back processing.
&lt;br&gt;*
&lt;br&gt;*
&lt;br&gt;&lt;br&gt;Note that, if the current request is a postback, the property
&lt;br&gt;* values of the components do not represent any
&lt;br&gt;* values submitted with this request. Instead, they represent the
&lt;br&gt;* property values that were saved for this view when it was rendered.
&lt;br&gt;*/
&lt;br&gt;&lt;br&gt;private String realImageFilePath;
&lt;br&gt;private static final String IMAGE_URL = &amp;quot;/resources/image-file&amp;quot;;
&lt;br&gt;@Override
&lt;br&gt;public void init() {
&lt;br&gt;// Perform initializations inherited from our superclass
&lt;br&gt;super.init();
&lt;br&gt;// Perform application initialization that must complete
&lt;br&gt;// before managed components are initialized
&lt;br&gt;// TODO - add your own initialiation code here
&lt;br&gt;&lt;br&gt;// &amp;lt;editor-fold defaultstate=&amp;quot;collapsed&amp;quot; desc=&amp;quot;Managed Component Initialization&amp;quot;&amp;gt;
&lt;br&gt;// Initialize automatically managed components
&lt;br&gt;// Note - this logic should NOT be modified
&lt;br&gt;try {
&lt;br&gt;_init();
&lt;br&gt;} catch (Exception e) {
&lt;br&gt;log(&amp;quot;Page1 Initialization Failure&amp;quot;, e);
&lt;br&gt;throw e instanceof FacesException ? (FacesException) e: new FacesException(e);
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;// &amp;lt;/editor-fold&amp;gt;
&lt;br&gt;// Perform application initialization that must complete
&lt;br&gt;// after managed components are initialized
&lt;br&gt;// TODO - add your own initialization code here
&lt;br&gt;ServletContext theApplicationsServletContext = (ServletContext) this.getExternalContext().getContext();
&lt;br&gt;this.realImageFilePath = theApplicationsServletContext.getRealPath(IMAGE_URL);
&lt;br&gt;&lt;br&gt;}
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;/quote&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-Help--Upload-File-Component-Problem-tp16410318p16532392.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-16517763</id>
	<title>Re: [Help] Upload File Component Problem</title>
	<published>2008-04-05T13:51:48Z</published>
	<updated>2008-04-05T13:51:48Z</updated>
	<author>
		<name>avbravo</name>
	</author>
	<content type="html">. You add import statements to fix these errors 
Right-click in the Java Editor and choose Fix Imports
, you can press Ctrl-Shift-F to reformat the code.

&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;dodgers188 wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;
Dear gurus,
I tried to follow example given in netbeans 6.0 kb about file upload component.
I have an error on line:
ServletContext theApplicationsServletContext = (ServletContext) this.getExternalContext().getContext();
it says cannot find symbol getContext();
I tried to remove the getContext() but it says inconvertible types.
Anybody can please help me?

/*
* Page1.java
*
* Created on Mar 27, 2008, 12:55:24 PM
*/

package uploadfile;

import com.sun.rave.web.ui.appbase.AbstractPageBean;
import com.sun.webui.jsf.component.Body;
import com.sun.webui.jsf.component.Button;
import com.sun.webui.jsf.component.Form;
import com.sun.webui.jsf.component.Head;
import com.sun.webui.jsf.component.Html;
import com.sun.webui.jsf.component.Link;
import com.sun.webui.jsf.component.MessageGroup;
import com.sun.webui.jsf.component.Page;
import com.sun.webui.jsf.component.StaticText;
import com.sun.webui.jsf.component.Upload;
import javax.faces.FacesException;
import javax.servlet.ServletContext;

/**
*

Page bean that corresponds to a similarly named JSP page. This
* class contains component definitions (and initialization code) for
* all components that you have defined on this page, as well as
* lifecycle methods and event handlers where you may add behavior
* to respond to incoming events.
*
* @author Dwi Pamudji Soetedjo
*/
public class Page1 extends AbstractPageBean {
// &lt;editor-fold defaultstate=&quot;collapsed&quot; desc=&quot;Managed Component Definition&quot;&gt;

/**
*

Automatically managed component initialization. WARNING:
* This method is automatically generated, so any user-specified code inserted
* here is subject to being replaced.
*/
private void _init() throws Exception {
}

private Page page1 = new Page();

public Page getPage1() {
return page1;
}

public void setPage1(Page p) {
this.page1 = p;
}

private Html html1 = new Html();

public Html getHtml1() {
return html1;
}

public void setHtml1(Html h) {
this.html1 = h;
}

private Head head1 = new Head();

public Head getHead1() {
return head1;
}

public void setHead1(Head h) {
this.head1 = h;
}

private Link link1 = new Link();

public Link getLink1() {
return link1;
}

public void setLink1(Link l) {
this.link1 = l;
}

private Body body1 = new Body();

public Body getBody1() {
return body1;
}

public void setBody1(Body b) {
this.body1 = b;
}

private Form form1 = new Form();

public Form getForm1() {
return form1;
}

public void setForm1(Form f) {
this.form1 = f;
}
private Upload fileUpload1 = new Upload();

public Upload getFileUpload1() {
return fileUpload1;
}

public void setFileUpload1(Upload u) {
this.fileUpload1 = u;
}
private Button button1 = new Button();

public Button getButton1() {
return button1;
}

public void setButton1(Button b) {
this.button1 = b;
}
private StaticText staticText1 = new StaticText();

public StaticText getStaticText1() {
return staticText1;
}

public void setStaticText1(StaticText st) {
this.staticText1 = st;
}
private StaticText staticText2 = new StaticText();

public StaticText getStaticText2() {
return staticText2;
}

public void setStaticText2(StaticText st) {
this.staticText2 = st;
}
private StaticText staticText3 = new StaticText();

public StaticText getStaticText3() {
return staticText3;
}

public void setStaticText3(StaticText st) {
this.staticText3 = st;
}
private MessageGroup messageGroup1 = new MessageGroup();

public MessageGroup getMessageGroup1() {
return messageGroup1;
}

public void setMessageGroup1(MessageGroup mg) {
this.messageGroup1 = mg;
}

// &lt;/editor-fold&gt;

/**
*

Construct a new Page bean instance.
*/
public Page1() {
}

/**
*

Callback method that is called whenever a page is navigated to,
* either directly via a URL, or indirectly via page navigation.
* Customize this method to acquire resources that will be needed
* for event handlers and lifecycle methods, whether or not this
* page is performing post back processing.
*
*

Note that, if the current request is a postback, the property
* values of the components do not represent any
* values submitted with this request. Instead, they represent the
* property values that were saved for this view when it was rendered.
*/

private String realImageFilePath;
private static final String IMAGE_URL = &quot;/resources/image-file&quot;;
@Override
public void init() {
// Perform initializations inherited from our superclass
super.init();
// Perform application initialization that must complete
// before managed components are initialized
// TODO - add your own initialiation code here

// &lt;editor-fold defaultstate=&quot;collapsed&quot; desc=&quot;Managed Component Initialization&quot;&gt;
// Initialize automatically managed components
// Note - this logic should NOT be modified
try {
_init();
} catch (Exception e) {
log(&quot;Page1 Initialization Failure&quot;, e);
throw e instanceof FacesException ? (FacesException) e: new FacesException(e);
}

// &lt;/editor-fold&gt;
// Perform application initialization that must complete
// after managed components are initialized
// TODO - add your own initialization code here
ServletContext theApplicationsServletContext = (ServletContext) this.getExternalContext().getContext();
this.realImageFilePath = theApplicationsServletContext.getRealPath(IMAGE_URL);

}
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;

</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-Help--Upload-File-Component-Problem-tp16410318p16517763.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-16410318</id>
	<title>[Help] Upload File Component Problem</title>
	<published>2008-03-31T20:20:54Z</published>
	<updated>2008-03-31T20:20:54Z</updated>
	<author>
		<name>dodgers188</name>
	</author>
	<content type="html">Dear gurus,
&lt;br&gt;I tried to follow example given in netbeans 6.0 kb about file upload component.
&lt;br&gt;I have an error on line:
&lt;br&gt;ServletContext theApplicationsServletContext = (ServletContext) this.getExternalContext().getContext();
&lt;br&gt;it says cannot find symbol getContext();
&lt;br&gt;I tried to remove the getContext() but it says inconvertible types.
&lt;br&gt;Anybody can please help me?
&lt;br&gt;&lt;br&gt;/*
&lt;br&gt;* Page1.java
&lt;br&gt;*
&lt;br&gt;* Created on Mar 27, 2008, 12:55:24 PM
&lt;br&gt;*/
&lt;br&gt;&lt;br&gt;package uploadfile;
&lt;br&gt;&lt;br&gt;import com.sun.rave.web.ui.appbase.AbstractPageBean;
&lt;br&gt;import com.sun.webui.jsf.component.Body;
&lt;br&gt;import com.sun.webui.jsf.component.Button;
&lt;br&gt;import com.sun.webui.jsf.component.Form;
&lt;br&gt;import com.sun.webui.jsf.component.Head;
&lt;br&gt;import com.sun.webui.jsf.component.Html;
&lt;br&gt;import com.sun.webui.jsf.component.Link;
&lt;br&gt;import com.sun.webui.jsf.component.MessageGroup;
&lt;br&gt;import com.sun.webui.jsf.component.Page;
&lt;br&gt;import com.sun.webui.jsf.component.StaticText;
&lt;br&gt;import com.sun.webui.jsf.component.Upload;
&lt;br&gt;import javax.faces.FacesException;
&lt;br&gt;import javax.servlet.ServletContext;
&lt;br&gt;&lt;br&gt;/**
&lt;br&gt;*
&lt;br&gt;&lt;br&gt;Page bean that corresponds to a similarly named JSP page. This
&lt;br&gt;* class contains component definitions (and initialization code) for
&lt;br&gt;* all components that you have defined on this page, as well as
&lt;br&gt;* lifecycle methods and event handlers where you may add behavior
&lt;br&gt;* to respond to incoming events.
&lt;br&gt;*
&lt;br&gt;* @author Dwi Pamudji Soetedjo
&lt;br&gt;*/
&lt;br&gt;public class Page1 extends AbstractPageBean {
&lt;br&gt;// &amp;lt;editor-fold defaultstate=&amp;quot;collapsed&amp;quot; desc=&amp;quot;Managed Component Definition&amp;quot;&amp;gt;
&lt;br&gt;&lt;br&gt;/**
&lt;br&gt;*
&lt;br&gt;&lt;br&gt;Automatically managed component initialization. WARNING:
&lt;br&gt;* This method is automatically generated, so any user-specified code inserted
&lt;br&gt;* here is subject to being replaced.
&lt;br&gt;*/
&lt;br&gt;private void _init() throws Exception {
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;private Page page1 = new Page();
&lt;br&gt;&lt;br&gt;public Page getPage1() {
&lt;br&gt;return page1;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;public void setPage1(Page p) {
&lt;br&gt;this.page1 = p;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;private Html html1 = new Html();
&lt;br&gt;&lt;br&gt;public Html getHtml1() {
&lt;br&gt;return html1;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;public void setHtml1(Html h) {
&lt;br&gt;this.html1 = h;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;private Head head1 = new Head();
&lt;br&gt;&lt;br&gt;public Head getHead1() {
&lt;br&gt;return head1;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;public void setHead1(Head h) {
&lt;br&gt;this.head1 = h;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;private Link link1 = new Link();
&lt;br&gt;&lt;br&gt;public Link getLink1() {
&lt;br&gt;return link1;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;public void setLink1(Link l) {
&lt;br&gt;this.link1 = l;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;private Body body1 = new Body();
&lt;br&gt;&lt;br&gt;public Body getBody1() {
&lt;br&gt;return body1;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;public void setBody1(Body b) {
&lt;br&gt;this.body1 = b;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;private Form form1 = new Form();
&lt;br&gt;&lt;br&gt;public Form getForm1() {
&lt;br&gt;return form1;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;public void setForm1(Form f) {
&lt;br&gt;this.form1 = f;
&lt;br&gt;}
&lt;br&gt;private Upload fileUpload1 = new Upload();
&lt;br&gt;&lt;br&gt;public Upload getFileUpload1() {
&lt;br&gt;return fileUpload1;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;public void setFileUpload1(Upload u) {
&lt;br&gt;this.fileUpload1 = u;
&lt;br&gt;}
&lt;br&gt;private Button button1 = new Button();
&lt;br&gt;&lt;br&gt;public Button getButton1() {
&lt;br&gt;return button1;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;public void setButton1(Button b) {
&lt;br&gt;this.button1 = b;
&lt;br&gt;}
&lt;br&gt;private StaticText staticText1 = new StaticText();
&lt;br&gt;&lt;br&gt;public StaticText getStaticText1() {
&lt;br&gt;return staticText1;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;public void setStaticText1(StaticText st) {
&lt;br&gt;this.staticText1 = st;
&lt;br&gt;}
&lt;br&gt;private StaticText staticText2 = new StaticText();
&lt;br&gt;&lt;br&gt;public StaticText getStaticText2() {
&lt;br&gt;return staticText2;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;public void setStaticText2(StaticText st) {
&lt;br&gt;this.staticText2 = st;
&lt;br&gt;}
&lt;br&gt;private StaticText staticText3 = new StaticText();
&lt;br&gt;&lt;br&gt;public StaticText getStaticText3() {
&lt;br&gt;return staticText3;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;public void setStaticText3(StaticText st) {
&lt;br&gt;this.staticText3 = st;
&lt;br&gt;}
&lt;br&gt;private MessageGroup messageGroup1 = new MessageGroup();
&lt;br&gt;&lt;br&gt;public MessageGroup getMessageGroup1() {
&lt;br&gt;return messageGroup1;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;public void setMessageGroup1(MessageGroup mg) {
&lt;br&gt;this.messageGroup1 = mg;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;// &amp;lt;/editor-fold&amp;gt;
&lt;br&gt;&lt;br&gt;/**
&lt;br&gt;*
&lt;br&gt;&lt;br&gt;Construct a new Page bean instance.
&lt;br&gt;*/
&lt;br&gt;public Page1() {
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;/**
&lt;br&gt;*
&lt;br&gt;&lt;br&gt;Callback method that is called whenever a page is navigated to,
&lt;br&gt;* either directly via a URL, or indirectly via page navigation.
&lt;br&gt;* Customize this method to acquire resources that will be needed
&lt;br&gt;* for event handlers and lifecycle methods, whether or not this
&lt;br&gt;* page is performing post back processing.
&lt;br&gt;*
&lt;br&gt;*
&lt;br&gt;&lt;br&gt;Note that, if the current request is a postback, the property
&lt;br&gt;* values of the components do not represent any
&lt;br&gt;* values submitted with this request. Instead, they represent the
&lt;br&gt;* property values that were saved for this view when it was rendered.
&lt;br&gt;*/
&lt;br&gt;&lt;br&gt;private String realImageFilePath;
&lt;br&gt;private static final String IMAGE_URL = &amp;quot;/resources/image-file&amp;quot;;
&lt;br&gt;@Override
&lt;br&gt;public void init() {
&lt;br&gt;// Perform initializations inherited from our superclass
&lt;br&gt;super.init();
&lt;br&gt;// Perform application initialization that must complete
&lt;br&gt;// before managed components are initialized
&lt;br&gt;// TODO - add your own initialiation code here
&lt;br&gt;&lt;br&gt;// &amp;lt;editor-fold defaultstate=&amp;quot;collapsed&amp;quot; desc=&amp;quot;Managed Component Initialization&amp;quot;&amp;gt;
&lt;br&gt;// Initialize automatically managed components
&lt;br&gt;// Note - this logic should NOT be modified
&lt;br&gt;try {
&lt;br&gt;_init();
&lt;br&gt;} catch (Exception e) {
&lt;br&gt;log(&amp;quot;Page1 Initialization Failure&amp;quot;, e);
&lt;br&gt;throw e instanceof FacesException ? (FacesException) e: new FacesException(e);
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;// &amp;lt;/editor-fold&amp;gt;
&lt;br&gt;// Perform application initialization that must complete
&lt;br&gt;// after managed components are initialized
&lt;br&gt;// TODO - add your own initialization code here
&lt;br&gt;ServletContext theApplicationsServletContext = (ServletContext) this.getExternalContext().getContext();
&lt;br&gt;this.realImageFilePath = theApplicationsServletContext.getRealPath(IMAGE_URL);
&lt;br&gt;&lt;br&gt;}</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-Help--Upload-File-Component-Problem-tp16410318p16410318.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-16186295</id>
	<title>Re: DropDowns inside Table Component</title>
	<published>2008-03-20T11:55:15Z</published>
	<updated>2008-03-20T11:55:15Z</updated>
	<author>
		<name>gary101</name>
	</author>
	<content type="html">Thanks for the info. &amp;nbsp;It was just what I needed.
&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;krysP wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;Check out this sample app... download the plugin &amp;quot;Visual Web JSF Post Release samples&amp;quot; , then File&amp;gt;NewProject&amp;gt;Samples&amp;gt;Web&amp;gt;Visual JSF&amp;gt;Single Page CRUD with table.
&lt;br&gt;&lt;br&gt;HTH
&lt;br&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/DropDowns-inside-Table-Component-tp15598160p16186295.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-15809444</id>
	<title>Invalidate sessionBean</title>
	<published>2008-03-03T09:48:02Z</published>
	<updated>2008-03-03T09:48:02Z</updated>
	<author>
		<name>jimmykelso</name>
	</author>
	<content type="html">Hi All,
&lt;br&gt;&lt;br&gt;I have searched around looking for information on invalidating a users session such that the browsers back button cannot be used to revisit pages. Using
&lt;br&gt;&lt;br&gt;FacesContext context = FacesContext.getCurrentInstance();
&lt;br&gt;HttpSession session = (HttpSession) context.getExternalContext().getSession(false);
&lt;br&gt;session.invalidate();
&lt;br&gt;&lt;br&gt;I thought may work but the browsers back button can still access page information. I also use a filter to check on users status which works as it should to make sure the user has logged in correctly. Properly invalidating the session is a problem.
&lt;br&gt;&lt;br&gt;Any guidance appreciated.
&lt;br&gt;&lt;br&gt;Jim</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Invalidate-sessionBean-tp15809444p15809444.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-15703465</id>
	<title>Re: javascript menu issues</title>
	<published>2008-02-26T16:34:28Z</published>
	<updated>2008-02-26T16:34:28Z</updated>
	<author>
		<name>krysP</name>
	</author>
	<content type="html">Try using css style property z-index on the menu, with value set to a high number, such as 10. 
&lt;br&gt;&lt;br&gt;HTH,
&lt;br&gt;&lt;br&gt;/krys
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/javascript-menu-issues-tp15591078p15703465.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-15703396</id>
	<title>Re: DropDowns inside Table Component</title>
	<published>2008-02-26T16:27:24Z</published>
	<updated>2008-02-26T16:27:24Z</updated>
	<author>
		<name>krysP</name>
	</author>
	<content type="html">Check out this sample app... download the plugin &amp;quot;Visual Web JSF Post Release samples&amp;quot; , then File&amp;gt;NewProject&amp;gt;Samples&amp;gt;Web&amp;gt;Visual JSF&amp;gt;Single Page CRUD with table.
&lt;br&gt;&lt;br&gt;HTH
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/DropDowns-inside-Table-Component-tp15598160p15703396.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-15696725</id>
	<title>How can I get hold of sessionbean1 in a servlet?</title>
	<published>2008-02-26T12:45:25Z</published>
	<updated>2008-02-26T12:45:25Z</updated>
	<author>
		<name>Jimmy200012</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;Say, I have a sessionbean1, which has bunch of cached rowsets. I have a servlet, I'd like to reuse the cached rowset in the sessionbean1. How can I get a reference of sessionbean1 so I can get the rowset?
&lt;br&gt;&lt;br&gt;tried this:
&lt;br&gt;&amp;nbsp; &amp;nbsp; FacesContext cont = FacesContext.getCurrentInstance(); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; SessionBean1 sessBean1 = (SessionBean1) cont.getExternalContext().getSessionMap().get(&amp;quot;SessionBean1&amp;quot;);
&lt;br&gt;&lt;br&gt;but won't work.
&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;Jimmy</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/How-can-I-get-hold-of-sessionbean1-in-a-servlet--tp15696725p15696725.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-15598160</id>
	<title>DropDowns inside Table Component</title>
	<published>2008-02-20T12:47:25Z</published>
	<updated>2008-02-20T12:47:25Z</updated>
	<author>
		<name>gary101</name>
	</author>
	<content type="html">I am trying to access the value in the dropdowns on each row inside table. &amp;nbsp;It should be a simple answer but I can not find an example anywhere. &amp;nbsp;I have a table that I added a column to through table layout that has it component type set to dropdown. &amp;nbsp;So basically a table where each row for that column will be a dropdown. &amp;nbsp;Then I selected the dropdown and use Bind to data to bind it to a database provider or query ( this step is done outside of Table Layout ). &amp;nbsp;All I want to do is get the values for each dropdown in each row when I press a button. &amp;nbsp;There is an expression in Value Expression field in Table Layout that is set for each column when you use static text as component type for column. &amp;nbsp;Should I set this to something in order to get value from dropdown or is there another way to access theses values?</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/DropDowns-inside-Table-Component-tp15598160p15598160.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-15591078</id>
	<title>javascript menu issues</title>
	<published>2008-02-20T08:12:50Z</published>
	<updated>2008-02-20T08:12:50Z</updated>
	<author>
		<name>Jimmy200012</name>
	</author>
	<content type="html">Hi, 

I am using netbeans6 and trying to add a javascript menu (tigra) to the page. It added just fine, but can't bring the submenu to the foreground (See the image). Does anyone know how to fix it? Thanks in advance. Jimmy&lt;img src=&quot;http://www.nabble.com/file/p15591078/tmp.gif&quot; border=&quot;0&quot; /&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/javascript-menu-issues-tp15591078p15591078.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-15514204</id>
	<title>Re: How to use formatted text in a static text/laben(or other) component?</title>
	<published>2008-02-15T18:36:11Z</published>
	<updated>2008-02-15T18:36:11Z</updated>
	<author>
		<name>krysP</name>
	</author>
	<content type="html">Try using a StaticText component and uncheck the Escape property.
&lt;br&gt;&lt;br&gt;/krys</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/How-to-use-formatted-text-in-a-static-text-laben%28or-other%29-component--tp15457620p15514204.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-15467574</id>
	<title>Use Bean properties for dynamic select statements</title>
	<published>2008-02-13T12:53:03Z</published>
	<updated>2008-02-13T12:53:03Z</updated>
	<author>
		<name>spiderp2351</name>
	</author>
	<content type="html">Hi There,
&lt;br&gt;&lt;br&gt;It´s possible to use Bean properties for my select .... where = ? queries.
&lt;br&gt;It need it for a master detail table for my vpw project.
&lt;br&gt;&lt;br&gt;In my master table there are a buttons for each row. when i klick the button, the bean propertie is set for my second select query for my detail table.
&lt;br&gt;&lt;br&gt;Thanks for help
&lt;br&gt;Markus
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Use-Bean-properties-for-dynamic-select-statements-tp15467574p15467574.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-15457620</id>
	<title>How to use formatted text in a static text/laben(or other) component?</title>
	<published>2008-02-13T05:07:10Z</published>
	<updated>2008-02-13T05:07:10Z</updated>
	<author>
		<name>agerigk</name>
	</author>
	<content type="html">Hello everyone,
&lt;br&gt;&lt;br&gt;my web application reads a String from a SQL Server database which is bound to a static text/label component. The problem is that I don't manage to include line breaks this way.
&lt;br&gt;Is there any way to do it? It doesn't have to be using a static text or label component, I just want to display formatted text on a web page which was read from a database. 
&lt;br&gt;&lt;br&gt;Thank you very much for your help,
&lt;br&gt;&lt;br&gt;Arthur</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/How-to-use-formatted-text-in-a-static-text-laben%28or-other%29-component--tp15457620p15457620.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-15446208</id>
	<title>Re: known issue with Table Layout Context Menu</title>
	<published>2008-02-12T15:42:21Z</published>
	<updated>2008-02-12T15:42:21Z</updated>
	<author>
		<name>Frank Ye</name>
	</author>
	<content type="html">Not sure if this is the correct approach
&lt;br&gt;&lt;br&gt;replace the handlerMethodSource in HtmlDataTableState 
&lt;br&gt;actionEvent.setHandlerMethodSource(handlerMethodSource);
&lt;br&gt;&lt;br&gt;with the following update....
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ContextMethod preprocessMethod =
&lt;br&gt;pageContext.getContextMethod(methodName, null);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String tmp = preprocessMethod.getMethodBodyText();
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;On Mon, 2008-02-11 at 16:52 -0700, Frank Ye wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; h:dataTable has a Table Layout... Context Menu since Netbeans 5.5....
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Once click on text button option to set the new source from design
&lt;br&gt;&amp;gt; event.... It has the following exception:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Is this a known exception or a bug ... (Source code is not created
&lt;br&gt;&amp;gt; yet...) Any help appreciated ....
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; thanks,
&lt;br&gt;&amp;gt; Frank 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; SEVERE [global]
&lt;br&gt;&amp;gt; java.lang.NullPointerException
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; org.netbeans.modules.java.source.save.CasualDiff.diffLiteral(CasualDiff.java:1335)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; org.netbeans.modules.java.source.save.CasualDiff.diffTree(CasualDiff.java:2548)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; org.netbeans.modules.java.source.save.CasualDiff.diffTree(CasualDiff.java:2417)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; org.netbeans.modules.java.source.save.CasualDiff.diffReturn(CasualDiff.java:1019)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; org.netbeans.modules.java.source.save.CasualDiff.diffTree(CasualDiff.java:2509)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; org.netbeans.modules.java.source.save.CasualDiff.diffTree(CasualDiff.java:2417)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; org.netbeans.modules.java.source.save.CasualDiff.diffList(CasualDiff.java:2218)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; org.netbeans.modules.java.source.save.CasualDiff.diffBlock(CasualDiff.java:716)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; org.netbeans.modules.java.source.save.CasualDiff.diffTree(CasualDiff.java:2461)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; org.netbeans.modules.java.source.save.CasualDiff.diffTree(CasualDiff.java:2417)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; org.netbeans.modules.java.source.save.CasualDiff.diffMethodDef(CasualDiff.java:571)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; org.netbeans.modules.java.source.save.CasualDiff.diffTree(CasualDiff.java:2454)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; org.netbeans.modules.java.source.save.CasualDiff.diffTree(CasualDiff.java:2417)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; org.netbeans.modules.java.source.save.CasualDiff.diffList(CasualDiff.java:2202)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; org.netbeans.modules.java.source.save.CasualDiff.diffClassDef(CasualDiff.java:433)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; org.netbeans.modules.java.source.save.CasualDiff.diffTree(CasualDiff.java:2451)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; org.netbeans.modules.java.source.save.CasualDiff.diff(CasualDiff.java:169)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; org.netbeans.api.java.source.WorkingCopy.processCurrentCompilationUnit(WorkingCopy.java:387)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; org.netbeans.api.java.source.WorkingCopy.getChanges(WorkingCopy.java:448)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; org.netbeans.api.java.source.JavaSource.runModificationTask(JavaSource.java:843)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; org.netbeans.modules.visualweb.insync.java.WriteTaskWrapper.execute(WriteTaskWrapper.java:92)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; org.netbeans.modules.visualweb.insync.java.WriteTaskWrapper.execute(WriteTaskWrapper.java:80)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; org.netbeans.modules.visualweb.insync.java.Method.replaceBody(Method.java:387)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; org.netbeans.modules.visualweb.insync.live.BeansDesignEvent.setHandlerMethodSource(BeansDesignEvent.java:183)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; org.netbeans.modules.visualweb.faces.dt_1_2.component.html.HtmlDataTableState.createNavPanel(HtmlDataTableState.java:1259)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;&amp;gt; org.netbeans.modules.visualweb.faces.dt_1_2.component.html.HtmlDataTableState.saveState(HtmlDataTableState.java:1127)
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=15446208&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=15446208&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/known-issue-with-Table-Layout-Context-Menu-tp15425444p15446208.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-15433596</id>
	<title>two standard validators on the same component</title>
	<published>2008-02-12T05:52:59Z</published>
	<updated>2008-02-12T05:52:59Z</updated>
	<author>
		<name>etamburini</name>
	</author>
	<content type="html">..is it possbile?
&lt;br&gt;For example: to attach Leangth validator and a DoubleRange Validator on the same textfield?
&lt;br&gt;&lt;br&gt;TX!!!!</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/two-standard-validators-on-the-same-component-tp15433596p15433596.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-15425444</id>
	<title>known issue with Table Layout Context Menu</title>
	<published>2008-02-11T15:52:36Z</published>
	<updated>2008-02-11T15:52:36Z</updated>
	<author>
		<name>Frank Ye</name>
	</author>
	<content type="html">h:dataTable has a Table Layout... Context Menu since Netbeans 5.5....
&lt;br&gt;&lt;br&gt;&lt;br&gt;Once click on text button option to set the new source from design
&lt;br&gt;event.... It has the following exception:
&lt;br&gt;&lt;br&gt;&lt;br&gt;Is this a known exception or a bug ... (Source code is not created
&lt;br&gt;yet...) Any help appreciated ....
&lt;br&gt;&lt;br&gt;thanks,
&lt;br&gt;Frank 
&lt;br&gt;&lt;br&gt;&lt;br&gt;SEVERE [global]
&lt;br&gt;java.lang.NullPointerException
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.netbeans.modules.java.source.save.CasualDiff.diffLiteral(CasualDiff.java:1335)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.netbeans.modules.java.source.save.CasualDiff.diffTree(CasualDiff.java:2548)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.netbeans.modules.java.source.save.CasualDiff.diffTree(CasualDiff.java:2417)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.netbeans.modules.java.source.save.CasualDiff.diffReturn(CasualDiff.java:1019)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.netbeans.modules.java.source.save.CasualDiff.diffTree(CasualDiff.java:2509)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.netbeans.modules.java.source.save.CasualDiff.diffTree(CasualDiff.java:2417)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.netbeans.modules.java.source.save.CasualDiff.diffList(CasualDiff.java:2218)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.netbeans.modules.java.source.save.CasualDiff.diffBlock(CasualDiff.java:716)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.netbeans.modules.java.source.save.CasualDiff.diffTree(CasualDiff.java:2461)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.netbeans.modules.java.source.save.CasualDiff.diffTree(CasualDiff.java:2417)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.netbeans.modules.java.source.save.CasualDiff.diffMethodDef(CasualDiff.java:571)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.netbeans.modules.java.source.save.CasualDiff.diffTree(CasualDiff.java:2454)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.netbeans.modules.java.source.save.CasualDiff.diffTree(CasualDiff.java:2417)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.netbeans.modules.java.source.save.CasualDiff.diffList(CasualDiff.java:2202)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.netbeans.modules.java.source.save.CasualDiff.diffClassDef(CasualDiff.java:433)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.netbeans.modules.java.source.save.CasualDiff.diffTree(CasualDiff.java:2451)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.netbeans.modules.java.source.save.CasualDiff.diff(CasualDiff.java:169)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.netbeans.api.java.source.WorkingCopy.processCurrentCompilationUnit(WorkingCopy.java:387)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.netbeans.api.java.source.WorkingCopy.getChanges(WorkingCopy.java:448)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.netbeans.api.java.source.JavaSource.runModificationTask(JavaSource.java:843)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.netbeans.modules.visualweb.insync.java.WriteTaskWrapper.execute(WriteTaskWrapper.java:92)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.netbeans.modules.visualweb.insync.java.WriteTaskWrapper.execute(WriteTaskWrapper.java:80)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.netbeans.modules.visualweb.insync.java.Method.replaceBody(Method.java:387)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.netbeans.modules.visualweb.insync.live.BeansDesignEvent.setHandlerMethodSource(BeansDesignEvent.java:183)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.netbeans.modules.visualweb.faces.dt_1_2.component.html.HtmlDataTableState.createNavPanel(HtmlDataTableState.java:1259)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.netbeans.modules.visualweb.faces.dt_1_2.component.html.HtmlDataTableState.saveState(HtmlDataTableState.java:1127)
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=15425444&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=15425444&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/known-issue-with-Table-Layout-Context-Menu-tp15425444p15425444.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-15395938</id>
	<title>Deploy netbeans 5.51 war file to external Tomcat 5.5 + mysql Problem</title>
	<published>2008-02-10T04:43:27Z</published>
	<updated>2008-02-10T04:43:27Z</updated>
	<author>
		<name>spiderp2351</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;My Development PC:
&lt;br&gt;Windows XP 
&lt;br&gt;Netbeans 5.5.1 with tomcat 5.5.17
&lt;br&gt;Mysql Database on external machine 192.168.158.240
&lt;br&gt;&lt;br&gt;When I test my Page1.jsp with a table (table data from external mysql DB), all it´s ok in my xp netbeans 5.5.1 develompent environment.
&lt;br&gt;&lt;br&gt;My Production Server (192.168.158.240):
&lt;br&gt;&lt;br&gt;Linux Suse 10.2 Standard Installation 64bit with
&lt;br&gt;Mysql Database
&lt;br&gt;Tomcat5.5-0.30-53
&lt;br&gt;Apache2-2.2
&lt;br&gt;&lt;br&gt;When i deploy the war file to this server i get following error, when i test it.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.lang.Thread.run(Thread.java:595)
&lt;br&gt;Cannot create JDBC driver of class '' for connect URL 'null'
&lt;br&gt;java.sql.SQLException: No suitable driver
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.sql.DriverManager.getDriver(DriverManager.java:243)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.commons.dbcp.Basic
&lt;br&gt;&lt;br&gt;&lt;br&gt;I put the mysql-connector-java-3.1.12.jar into /usr/share/tomcat5/common/lib but the error is always there.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Here is my context.xml from the application
&lt;br&gt;&lt;br&gt;/srv/www/tomcat5/base/webapps/test/META-INF/context.xml
&lt;br&gt;&lt;br&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;
&lt;br&gt;&amp;lt;Context path=&amp;quot;/test&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;Resource auth=&amp;quot;Container&amp;quot; driverClassName=&amp;quot;com.mysql.jdbc.Driver&amp;quot; maxActive=&amp;quot;20&amp;quot; maxIdle=&amp;quot;10&amp;quot; maxWait=&amp;quot;-1&amp;quot; name=&amp;quot;jdbc/dataSource5&amp;quot; password=&amp;quot;xxxxx&amp;quot; type=&amp;quot;javax.sql.DataSource&amp;quot; url=&amp;quot;jdbc:mysql://192.168.158.240:3306/jamal&amp;quot; username=&amp;quot;xxxx&amp;quot;/&amp;gt;
&lt;br&gt;&amp;lt;/Context&amp;gt;
&lt;br&gt;&lt;br&gt;Whenn i create a JNDI Datasoure mit the TOMCAT admin WEB Interface, the error is always there.
&lt;br&gt;&lt;br&gt;JNDI Name: &amp;nbsp;jdbc/dataSource5 &amp;nbsp; 
&lt;br&gt;Data Source URL: &amp;nbsp;jdbc:mysql://localhost:3306/jamal &amp;nbsp;
&lt;br&gt;JDBC Driver Class: &amp;nbsp; &amp;nbsp;com.mysql.jdbc.Driver
&lt;br&gt;User Name: &amp;nbsp; &amp;nbsp;xxxxx
&lt;br&gt;Password: &amp;nbsp; &amp;nbsp;xxxxxxx
&lt;br&gt;Max. Active Connections: &amp;nbsp; &amp;nbsp;20
&lt;br&gt;Max. Idle Connections: &amp;nbsp; &amp;nbsp;2
&lt;br&gt;Max. Wait for Connection: &amp;nbsp; &amp;nbsp;5000
&lt;br&gt;Validation Query: &amp;nbsp; &amp;nbsp;SELECT 1
&lt;br&gt;&lt;br&gt;&lt;br&gt;Please Help, 
&lt;br&gt;Thanks Markus
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Deploy-netbeans-5.51-war-file-to-external-Tomcat-5.5-%2B-mysql-Problem-tp15395938p15395938.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-15306332</id>
	<title>Re: webuijsf:dropDown Set Selected value via Javascript</title>
	<published>2008-02-06T01:35:23Z</published>
	<updated>2008-02-06T01:35:23Z</updated>
	<author>
		<name>samotage</name>
	</author>
	<content type="html">&lt;br&gt;samotage banged his head against a hard surface and came up with an answer that may help some other poor stuck developer...
&lt;br&gt;&lt;br&gt;function setVal( state)
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; stateElement=document.getElementById(form1:stateDD_list);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var len = stateElement.length;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for (var idx=0;idx &amp;lt; len;idx++) 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (state==stateElement.options[idx].value) 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; stateElement.selectedIndex=idx;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; stateElement.options[idx].selected=true;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } 
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;Sam.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/webuijsf%3AdropDown-Set-Selected-value-via-Javascript-tp15284862p15306332.html" />
</entry>

</feed>
