Alex Anagnos | 1 Dec 01:07
Picon

Re: will someone with a mac please check that my program runs

Can't tell you if it runs or not. However i will tell you the state of  
Java on the Mac is Java 1.5 or less. Java 1.6 is not yet an option.

looking quickly it does not seem your using anything that is 1.6  
specific except for the 1.6 built in layout. changing that out to the  
old 1.5 method should make it work.

On Nov 30, 2007, at 5:49 PM, little daddy love handles wrote:

>
> i have written a program and want to know if it runs ok on a mac i  
> was told
> that there could be problems with the gui and the size of  
> components. can
> someone please check that it seems ok please. you can download it from
> morganisteconomics.org.uk in the 'NEW WORK' section at the bottom of  
> the
> page.
>
> thank you peter morgan.
> -- 
> View this message in context: http://www.nabble.com/will-someone-with-a-mac-please-check-that-my-program-runs-tf4926017.html#a14098817
> Sent from the Netbeans - Users mailing list archive at Nabble.com.

Picon

Re: [VWP] Passing, retrieving parameters in VWP project

As for me you have 2 choices

one of them, create a property in one of the bean classes (SessionBean, ApplicationBean, RequestBean), or create an authentication class, where you can store and/or retrieve the user and password and other things such as the profile of the user or his real name, etc...

hope i can help ya!!

2007/11/30, HandyGeek <thompsonwd40 <at> comcast.net>:
Hello Javier, per your advice below I added a static text field to Page2
and changed the binding to Page1.username as follows:
  <webuijsf:staticText binding="#{Page1.username}" id="staticText1"

Run/Deploy - GlassFish gives error:
Caused by: java.lang.IllegalArgumentException: Cannot convert
com.sun.webui.jsf.component.TextField <at> adaf6a of type class
com.sun.webui.jsf.component.TextField to class
com.sun.webui.jsf.component.StaticText
        at com.sun.el.lang.ELSupport.coerceToType(ELSupport.java:381)
        at
com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:208)
        at
com.sun.faces.application.ApplicationImpl.createComponent (ApplicationImpl.java:229)
        ... 71 more

I'm sure this is something really simple.  Any advice?  Best, David


Javier A. Ortiz Bultrón wrote:
> HandyGeek escribió:
>> Greetings all:
>> I am using NB6 Visual Web Pack with Page1 and Page2 - both VisualWeb
>> JSP/JSF pages.
>> 1. Page1 has input textfields username, password, and uri. 2. Page1 -
>> Press submit button, which spawns Page2 (authentication page).
>> 3. Page2 needs to read in username, password, and uri from Page1.
>>
>> Question: How do I retrieve the values from Page1 into Page2? I have
>> been struggling several days with this one, sure appreciate some advice!
>>
>> Best, David
>>
> Use the bean classes. At least I do it that way.
>



--
Victor M. Ramirez A.
Ingeniero de Sistemas
Universidad del Norte
Barranquilla - Colombia
Picon

Re: Visual Web Pack and Internationalization

at design time it wont show you th text "Email adress", the best that the IDE can do is to show you the "abc" string which means that the text is binded to some string but cant show at design time the value of the foo variable. Think about it, it will have to compile first.


2007/11/30, cbritton <britton <at> texas.net>:

Is there a way to make localized strings in a jsp display in the visual web
design view?

For example, if I create a label and specify "Email Address" as the text, it
shows up in the design page and the rendered web page.  However, if I create
a resource bundle with the entry "foo=Email Address" and replace the label
text in the jsp with "#{msg.foo}", the rendered web page still displays
"Email Address" correctly, but the visual web design view displays a blank.

It seems like the design view is trying to resolve the "#{msg.foo}"
reference.  Otherwise, I would expect it to display the literal string
"#{msg.foo}" instead of blank.

Thanks in advance for any hints.

--
Chris Britton
britton <at> texas.net

--
View this message in context: http://www.nabble.com/Visual-Web-Pack-and-Internationalization-tf4921377.html#a14083932
Sent from the Netbeans - Users mailing list archive at Nabble.com.


Best regards
--
Victor M. Ramirez A.
Ingeniero de Sistemas
Universidad del Norte
Barranquilla - Colombia
Picon

Re: unsbubscribe

man, try again, you "misstiped", you wrote unsBusbcribe

2007/11/30, Brendan <brendan <at> flashmedia.co.za>:

 




--
Victor M. Ramirez A.
Ingeniero de Sistemas
Universidad del Norte
Barranquilla - Colombia
ITVGuy2000 | 1 Dec 01:41
Picon
Favicon

Re: NB 6 B2 Crashes on Startup under Vista


Well I am sure it has everything to do with the project being worked on. I am
sure if I was still doing web development I would still be going after
whoever it is at the time saying that... "...well, I don't have those
performance problems on my computer...." as if to diminish your issue.  But
for now, working with a java desktop application, I am generally pleased
with the performance. The UI design (Matisse) tool takes a bit of getting
used to as it keeps crapping the UI when you try to nudge things just a
little bit. What nobody tells you is that you really do need to use the
layout managers and break your screens up into panels.

I am glad to hear that the NB6 team has found the memory leak in the Web
Applications. I definitely plan on being back doing distributed Java
development for the web... modifying my existing applications, and
developing new ones. And of course if there are performance issues, I will
be the first to whine here.

Just since I am rambling a bit about NB6. I really like the look and feel.
It is very logical, well laid out, and aesthetically pleasing. PLEASE NB6 UI
TEAM. DO NOT BE TEMPTED TO ADD CONFIGURABILITY OR DRAG AND DROP ABILITY
WHERE IT IS NOT NEEDED. MY MOTO SIMPLER IS BETTER AS LONG AS IT WORKS.

Ryan de Laplante-2 wrote:
> 
> ITVGuy2000 wrote:
>> I have been using NetBeans 6 Beta 2 for a while now, and have been very
>> pleased with its performance and stability.
>>   
> 
> I'm happy to hear that, I remember you used to have a lot of issues with 
> NB being slow.
> 
> I've been watching this ticket:
> 
> http://www.netbeans.org/issues/show_bug.cgi?id=123003
> 
> They have found the cause of the memory leak in Visual Web and fixed it 
> just in time for the final release!
> 
> 
> Ryan
> 
> 

--

-- 
View this message in context: http://www.nabble.com/NB-6-B2-Crashes-on-Startup-under-Vista-tf4904017.html#a14100781
Sent from the Netbeans - Users mailing list archive at Nabble.com.

Winston Prakash | 1 Dec 01:44
Picon

Re: [VWP] Passing, retrieving parameters in VWP project

Victor Manuel Ramirez wrote:
As for me you have 2 choices

one of them, create a property in one of the bean classes (SessionBean, ApplicationBean, RequestBean), or create an authentication class, where you can store and/or retrieve the user and password and other things such as the profile of the user or his real name, etc...
This article explains how to use the scoped Managed beans for this purpose
http://www.netbeans.org/kb/55/vwp-scopes.html

- Winston
http://blogs.sun.com

hope i can help ya!!

2007/11/30, HandyGeek <thompsonwd40 <at> comcast.net>:
Hello Javier, per your advice below I added a static text field to Page2
and changed the binding to Page1.username as follows:
  <webuijsf:staticText binding="#{Page1.username}" id="staticText1"

Run/Deploy - GlassFish gives error:
Caused by: java.lang.IllegalArgumentException: Cannot convert
com.sun.webui.jsf.component.TextField <at> adaf6a of type class
com.sun.webui.jsf.component.TextField to class
com.sun.webui.jsf.component.StaticText
        at com.sun.el.lang.ELSupport.coerceToType(ELSupport.java:381)
        at
com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:208)
        at
com.sun.faces.application.ApplicationImpl.createComponent (ApplicationImpl.java:229)
        ... 71 more

I'm sure this is something really simple.  Any advice?  Best, David


Javier A. Ortiz Bultrón wrote:
> HandyGeek escribió:
>> Greetings all:
>> I am using NB6 Visual Web Pack with Page1 and Page2 - both VisualWeb
>> JSP/JSF pages.
>> 1. Page1 has input textfields username, password, and uri. 2. Page1 -
>> Press submit button, which spawns Page2 (authentication page).
>> 3. Page2 needs to read in username, password, and uri from Page1.
>>
>> Question: How do I retrieve the values from Page1 into Page2? I have
>> been struggling several days with this one, sure appreciate some advice!
>>
>> Best, David
>>
> Use the bean classes. At least I do it that way.
>



--
Victor M. Ramirez A.
Ingeniero de Sistemas
Universidad del Norte
Barranquilla - Colombia

Witold Szczerba | 1 Dec 02:24
Picon
Gravatar

Re: Re: Java code formatting

Could anyone, please, support me with issue I've recently entered?
http://www.netbeans.org/issues/show_bug.cgi?id=122841
It is about formatting (ctrl+alt+f) of method call chain.
This (actually not only this, but this is the worst thing) makes this
feature 100% useless.
In NB 5.5.1 I was using auto-format all the time, in NB6 I have to
think 10 times before using it and in 90% - I have to undo the result.

Thanks,
Witold Sz.

2007/11/30, Alex Lam S.L. <alexlamsl <at> gmail.com>:
> By "neither worked" you mean it doesn't do code formatting at all, or
> do you mean the code is formatted but not the way you want it?
>
> Alex.
>
> On Nov 30, 2007 8:21 AM,  <javame.developer <at> gmail.com> wrote:
> > Hi, I installed NB;
> >   Product Version: NetBeans IDE 6.0 RC2 (Build 200711201000)
> >   Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05
> >   System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)
> >   Userdir: C:\Documents and Settings\erica\.netbeans\6.0rc2
> >
> > Then I installed Jalopy using the site that you specified earlier in this posting. but when I try to format
code the settings i set for jalopy were not used. I tried "Alt+Shift+F" and "Ctrl+Shift+F10" and neither
worked. What Am I doing wrong?
> >
> > Alex Lam S.L.-2 wrote:
> > >
> > > That's probably because the dev UC that I tend to use (I'm currently
> > > on 6.1-200711260000) is different from the "stable" UC then.
> > >
> > > Here are the 2 UCs found in my IDE:
> > >
> > > Additional Development Plugins:
> > > http://www.netbeans.org/updates/dev_1.23_.xml.gz
> > >
> > > Latest Development Build:
> > > http://deadlock.netbeans.org/hudson/job/javadoc-nbms/lastSuccessfulBuild/artifact/nbbuild/nbms/updates.xml.gz
> > >
> > >
> > > Alex.
> > >
> > > On Nov 26, 2007 10:08 PM, Aaron Bruegl <abruegl <at> nighthawkrad.net> wrote:
> > >> Yes NB 6.0 RC2 on Ubuntu. I only have 49 plugins available. Do I need to
> > >> add a New Provider to my update center?
> > >>
> > >>
> > >> Alex Lam S.L. wrote:
> > >> > Oh - which version of 6.0 are you using? RC2?
> > >> >
> > >> > Alex.
> > >> >
> > >> > On Nov 26, 2007 9:56 PM, Aaron Bruegl <abruegl <at> nighthawkrad.net> wrote:
> > >> >
> > >> >> I don't see this available in the Plugins...
> > >> >>
> > >> >>
> > >> >> Alex Lam S.L. wrote:
> > >> >>
> > >> >>> Well there is a Jalopy plugin for NetBeans which you can download
> > >> from
> > >> >>> the update centre - at least for 6.0 anyway.
> > >> >>>
> > >> >>> Alex.
> > >> >>>
> > >> >>> On Nov 26, 2007 8:36 PM, Aaron Bruegl <abruegl <at> nighthawkrad.net>
> > >> wrote:
> > >> >>>
> > >> >>>
> > >> >>>> Where and what are the names of these related filed?
> > >> >>>>
> > >> >>>> For now, I can use a Jalopy ant task to format all of a projects
> > >> code -
> > >> >>>> would much rather have this option in NB though.
> > >> >>>>
> > >> >>>> -Aaron
> > >> >>>>
> > >> >>>>
> > >> >>>> Jiri Prox wrote:
> > >> >>>>
> > >> >>>>
> > >> >>>>> Hi,
> > >> >>>>>
> > >> >>>>> export/import of formatting setting is not yet implemented, but it
> > >> is
> > >> >>>>> planned for next release. Now, as temporary workaround you can copy
> > >> >>>>> related files from your userdir.
> > >> >>>>>
> > >> >>>>> There is already an enhancement filed asking reformatting all
> > >> project
> > >> >>>>> files  - see issue 67397. You can vote for it.
> > >> >>>>>
> > >> >>>>> Regards
> > >> >>>>> Jirka
> > >> >>>>>
> > >> >>>>>
> > >> >>>>>
> > >> >>>>> Aaron Bruegl wrote:
> > >> >>>>>
> > >> >>>>>
> > >> >>>>>
> > >> >>>>>> Is there any way to export/import your java code formatting
> > >> preferences?
> > >> >>>>>>
> > >> >>>>>> Is there any way to format all the java source code in your entire
> > >> >>>>>> project?
> > >> >>>>>>
> > >> >>>>>>
> > >> >>>>>> These sure would be nice options to have!
> > >> >>>>>> Thank you
> > >> >>>>>>
> > >> >>>>>>
> > >> >>>>>>
> > >> >>
> > >> >>
> > >> ------------------------------------------------------------------------
> > >> >>
> > >>
> > >
> > >
> > Quoted from:
> > http://www.nabble.com/Java-code-formatting-tf4824327.html#a13961142
> >
> >
>

Ryan de Laplante | 1 Dec 02:26

Re: NB 6 B2 Crashes on Startup under Vista


> Well I am sure it has everything to do with the project being worked on. I am
> sure if I was still doing web development I would still be going after
> whoever it is at the time saying that... "...well, I don't have those
> performance problems on my computer...." as if to diminish your issue.  But
>   
Yes I think that's 100% right.  Specifically I think the major 
performance problems are opening and closing the Visual Editor for JSF.  
I think if you did a plain Java web project with whichever framework 
(including JSF, but not Visual Web JSF), things would be snappy like 
regular Java SE apps.  I have some suspicions about the JSP editor 
though, it might have some performance issues too. 

My next web project will still be in NetBeans 6, with JSF + Facelets + 
Seam, but not using the Visual Web JSF editor.  I'll look at it again 
once they have re-organized the code in a way that enables them to 
re-use it for other frameworks such as Facelets, Wicket, etc.  Hopefully 
the simplification of the code will improve performance.

> for now, working with a java desktop application, I am generally pleased
> with the performance. The UI design (Matisse) tool takes a bit of getting
> used to as it keeps crapping the UI when you try to nudge things just a
> little bit. What nobody tells you is that you really do need to use the
> layout managers and break your screens up into panels.
>   
Thanks for the tip.
> I am glad to hear that the NB6 team has found the memory leak in the Web
> Applications. I definitely plan on being back doing distributed Java
> development for the web... modifying my existing applications, and
> developing new ones. And of course if there are performance issues, I will
> be the first to whine here.
>
>   
>> http://www.netbeans.org/issues/show_bug.cgi?id=123003
>>     

Well unfortunately the patch didn't fix 100% of the problem.  I helped 
test it.  The developer didn't seem surprised, I think he knew there 
were multiple leaks and fixed one or two of them.  They're still working 
hard on it now.  One of them told me that it won't make it into NB 6.0 
FCS, but will be in the first patch release.  I wonder when that will 
be?  Hopefully 6.1 isn't the patch release, because Roumen said that is 
scheduled around JavaOne 2008 (May).  I think NB 5.5.1 was released 2-3 
months after 5.5 FCS.

Ryan

Re: NB 6.0 RC2 - JUnit 4.1 and JUnit 3.8.2 working together - bug?


This does makes sense. It is just that when a library goes away without user
request/concent, it does not feel being correct. Thanks

Marian Petras wrote:
> 
> No, this is not a bug. In fact, the set of JUnit libraries defines which 
> type of tests should be created for the given project. If there is just 
> JUnit 4.1 library, JUnit 4 tests are generated. If there is just JUnit 
> 3.8.2 library, JUnit 3.8 tests are generated. If there are both JUnit 
> libraries or if no library is present, the user is asked for the desired 
> type of tests. Once the user answers the question, the set of JUnit 
> libraries is modified such that just one JUnit library is present.
> 
> JUnit 4.1 library is a superset of the JUnit 3.8.2 library so removing 
> the JUnit 3.8.2 library from the project should not cause any harm 
> except that JDK 1.5+ is required (the JUnit 4.1 library imposes this 
> restriction). The fact that you were allowed to choose the JUnit 4.1 
> library means that your project's source level is set to 1.5 or higher, 
> anyway, so removing the JUnit 3.8.2 library should be completely 
> harmless for you.
> 
> Let me know if you encounter any problems caused by removing the JUnit 
> 3.8.2 library.
> 
> Marian
> 
> 
> Leonid Shchervinsky wrote:
>> When I have both JUnit 4.1 and JUnit 3.8.2 in the Test Libraries, when I
>> am
>> do "Create JUnit Tests" I am asked which version of test cases to
>> generate,
>> 4.1 or 3.8.2.
>> When it finishes generating, 4.1 tests, JUnit 3.8.2 library is no longer
>> is
>> listed under Test Libraries for the project.
>> Is this a bug?
>> Thanks
>> Leonid
> 
> 

--

-- 
View this message in context: http://www.nabble.com/NB-6.0-RC2---JUnit-4.1-and-JUnit-3.8.2-working-together---bug--tf4899315.html#a14101403
Sent from the Netbeans - Users mailing list archive at Nabble.com.

Ibrahim Foudah | 1 Dec 04:26
Picon

getting the project name

Hey
 
I need to get the name of the file I am working on to use it to create name another file that I will create.

Gmane