users@woodstock.java.net

Problem with NB 6.1 Beta

From: Stephan Bardubitzki <stephan_at_bardubitzki.com>
Date: Mon, 17 Mar 2008 09:42:27 -0700

Since NB 6.1 Beta I can't do anything because the design view for pages
with accordion in it is empty. I didn't alter any pages which were OK
with NB 6.1 M1. All accordionTabs have a title.

If I run the project everything works fine as with NB 6.1 M1. But that
doesn't help very much because I have to further add content to the
pages at design time.

Here a code snippet:
[code]
<h:panelGrid binding="#{Surveillance.gridPanel23}" border="0"
cellpadding="0" cellspacing="0" id="gridPanel23"

onmouseover="setMenuVisibleFalse('popup1', 'popup2', 'popup3',
'popup4');return false;" style="width: 100%">
                                            <h:panelGrid
binding="#{Surveillance.gridPanel24}" border="0" cellpadding="0"
cellspacing="0" id="gridPanel24" style="height: 100%; text-align:
center; vertical-align: bottom; width: 100%">
                                                <webuijsf:image
id="image4" url="/resources/SampleUseCases.jpg"/>
                                            </h:panelGrid>
                                            <h:panelGrid
binding="#{Surveillance.gridPanel25}" border="0" cellpadding="0"
cellspacing="0" id="gridPanel25" style="width: 100%; height: 100%;">
                                                <webuijsf:accordion
id="accordion1" style="height: 500px; text-align: left; width: 100%"
toggleControls="true">

<webuijsf:accordionTab contentHeight="34px" id="accordionTab1"
selected="true" style="color: #c800ff"
title="#{msgs.accordion_surveillance_tab1}">

<webuijsf:panelLayout id="layoutPanel2" style="margin: 5px 10px 5px
10px; ">
                                                            <h:panelGrid
id="gridPanel33">

<webuijsf:staticText id="staticText9" onClick="return false;"

onMouseOver="document.getElementById('form1:bubbleHomes').open(event);"

style="text-decoration: underline"
text="#{msgs.accordion_surveillance_tab1_topic1}"/>

</h:panelGrid>

</webuijsf:panelLayout>

</webuijsf:accordionTab>

<webuijsf:accordionTab id="accordionTab2" selected="false" style="color:
#c800ff" title="#{msgs.accordion_surveillance_tab2}">

<webuijsf:panelLayout id="layoutPanel3" style="">
                                                            <h:panelGrid
id="gridPanel34" style="margin: 5px 10px 5px 10px; ">

<webuijsf:staticText id="staticText10" onClick="return false;"

onMouseOver="document.getElementById('form1:bubbleCarDealership').open(event);"

style="text-decoration: underline"
text="#{msgs.accordion_surveillance_tab2_topic2}"/>

<webuijsf:staticText id="staticText27" onClick="return false;"

onMouseOver="document.getElementById('form1:bubbleConstruction').open(event);"

style="text-decoration: underline"
text="#{msgs.accordion_surveillance_tab2_topic4}"/>

<webuijsf:staticText id="staticText26" onClick="return false;"

onMouseOver="document.getElementById('form1:bubbleHotelsMotels').open(event);"

style="text-decoration: underline"
text="#{msgs.accordion_surveillance_tab2_topic3}"/>

<webuijsf:staticText id="staticText21" onClick="return false;"

onMouseOver="document.getElementById('form1:bubbleRetailStores').open(event);"

style="text-decoration: underline"
text="#{msgs.accordion_surveillance_tab2_topic1}"/>

</h:panelGrid>

</webuijsf:panelLayout>

</webuijsf:accordionTab>

<webuijsf:accordionTab contentHeight="175px" id="accordionTab3"
selected="false" style="color: #c800ff"
title="#{msgs.accordion_surveillance_tab3}">

<webuijsf:panelLayout id="layoutPanel4" style="">
                                                            <h:panelGrid
id="gridPanel35" style="margin: 5px 10px 5px 10px; ">

<webuijsf:staticText id="staticText28" text="#{msgs.review}"/>

</h:panelGrid>

</webuijsf:panelLayout>

</webuijsf:accordionTab>

<webuijsf:accordionTab contentHeight="175px" id="accordionTab4"
selected="false" style="color: #c800ff"
title="#{msgs.accordion_surveillance_tab4}">

<webuijsf:panelLayout id="layoutPanel5" style="">
                                                            <h:panelGrid
id="gridPanel36" style="margin: 5px 10px 5px 10px; ">

<webuijsf:staticText id="staticText29" text="#{msgs.review}"/>

</h:panelGrid>

</webuijsf:panelLayout>

</webuijsf:accordionTab>

<webuijsf:accordionTab contentHeight="175px" id="accordionTab5"
selected="false" style="color: #c800ff"
title="#{msgs.accordion_surveillance_tab5}">

<webuijsf:panelLayout id="layoutPanel6" style="">
                                                            <h:panelGrid
id="gridPanel37" style="margin: 5px 10px 5px 10px; ">

<webuijsf:staticText id="staticText30" text="#{msgs.review}"/>

</h:panelGrid>

</webuijsf:panelLayout>

</webuijsf:accordionTab>
                                                </webuijsf:accordion>
                                            </h:panelGrid>
                                        </h:panelGrid>
 [/code]
 

Stephan




> Date: Sun, 16 Mar 2008 23:13:09 -0400
> From: Ratnadeep Bhattacharjee <Ratnadeep.Bhattacharjee_at_Sun.COM>
> Content-type: text/plain; format=flowed; charset=UTF-8
> Subject: Problem with NB 6.1 Beta
>
> What is it that you do in designtime that does not work anymore.? Can
> you please let me know you steps you take to generate your JSP page at
> design time? Does your accordionTab not have a title? The line throwing
> NPE has to do with coverting the tabTitle to a char array.
>
> -Deep.
>
> Stephan Bardubitzki wrote:
> > Sorry, I don't understand...
> >
> > The problem I have describe just came up with NB 6.1 Beta!!!
> >
> > Stephan
> >
> >> Hi Stephen,
> >>
> >> Good news! The problem has gone away on Netbeans 6.1 beta - this one
> >> looks like a much more stable version of Netbeans...
> >> Let me know if you have any issues...
> >>
> >> -Deep.
> >>
> >> Stephan Bardubitzki wrote:
> >> > Hi Deep,
> >> >
> >> > will there be a patch to fix it? Due to others bugs in NetBeans I
> >> > can't even go back to NB 6.1 M1 or NB 6.0.
> >> >
> >> > I'm hanging in the air with my project!!!
> >> >
> >> > Stephan
> >> >
> >> >> Someone else has also filed a similar bug. I will take a look. Looks
> >> >> like there has been a change in the way designtime behaves because the
> >> >> accordion code hasn't changed since 6.0!
> >> >>
> >> >> -Deep.
> >> >>
> >> >>
> >> >>
> >> >> Stephan Bardubitzki wrote:
> >> >> > Hi there,
> >> >> >
> >> >> > just downloaded NB 6.1 Beta and can't see certain pages of my project
> >> >> > in design view. It seem to be a problem with the accordion tab. I
> >> >> > should also mention that I have downloaded Woodstock 4.2 B3.
> >> >> >
> >> >> > It all worked well before with NB 6.1 M1 and Woodstock 4.2 B3.
> >> >> >
> >> >> > I have attached the output of the IDE log.
> >> >> >
> >> >> > Stephan
> >> >> > ------------------------------------------------------------------------
> >> >> >
> >> >> > ---------------------------------------------------------------------
> >> >> > To unsubscribe, e-mail: users-unsubscribe_at_woodstock.dev.java.net
> >> >> > For additional commands, e-mail: users-help_at_woodstock.dev.java.net
> >> >>
> >> >>
> >>
> >>
>
>
>
>