RE: Bug introduced somewhere after 1.2.2 is still in 1.3.3

2008-05-12 Thread Frank Silbermann
I added https://issues.apache.org/jira/browse/WICKET-1621 to say that
the Component Example for RadioGroup, which contains a ListView of Form
components, ought to call #setReuseItems(true).

The example as written works, of course, but not when I put two such
RadioGroups on the page.  A person who adapts the examples without
reading the JavaDoc can get into trouble, as I did.

/Frank 

-Original Message-
From: Igor Vaynberg [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 09, 2008 12:52 PM
To: users@wicket.apache.org
Subject: Re: Bug introduced somewhere after 1.2.2 is still in 1.3.3

call setReuseItems(true) on the listview that contains radio components.
javadoc of listview recommends this for listviews inside forms that
contain formcomponents.

-igor


On Thu, May 8, 2008 at 1:49 PM, Frank Silbermann
<[EMAIL PROTECTED]> wrote:
> Here's the URL of my jira issue.
>
> https://issues.apache.org/jira/browse/WICKET-1601
>
> The issue has attached a quickstart project and a screen print.
>
> -Original Message-
> From: Igor Vaynberg [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 08, 2008 12:13 PM
> To: users@wicket.apache.org
> Subject: Re: Bug introduced somewhere after 1.2.2 is still in 1.3.3
>
> On Thu, May 8, 2008 at 10:06 AM, Frank Silbermann 
> <[EMAIL PROTECTED]> wrote:
>> I wrote earlier about my problems going from Wicket 1.2.2 to Wicket 
>> 1.2.6.  This has to do with a RadioGroup component that I built; 
>> whenever I used it on more than one page, clicking on one RadioGroup 
>> caused the marker to disapper from all the other RadioGroups on the 
>> page.
>>
>>  I wasn't given much help because Wicket 1.2 is end-of-life.  Today I
>
>> tried the example on Wicked 1.3.3.  I downloaded the QuickStart 
>> application for Wicket 1.3.3, installed an upgraded version of my 
>> RadioGroup component, modified the home page to show my RadioGroup 
>> panel  twice, and the bad behavior is still there.
>>
>>  By the way, the only change in the generated HTML that I could see 
>> was  that in Wicket 1.2.2 the buttons were defined:
>>
>> >
>>  -- with the numbers starting over again for each RadioGroup, whereas

>> in  Wicket 1.2.6 and Wicket 1.3.3 it was more like:
>>
>> >
>>  with the numbers _not_ starting over for each RadioGroup.  Clicking 
>> on  one radio group causes the marker to disappear from the other 
>> radio  group -- as if part of Wicket were treating the buttons as 
>> though they  all belonged to the same radio group.
>>
>>  I'd like the Wicket 1.3 developers either to fix the bug in a future
>
>> release (after which I'll upgrade my entire application to 1.3), or 
>> tell  me what I'm doing wrong.  How do I get the process started?
>
> the usual way, create a jira issue and attach a quickstart project 
> that demonstrates the problem. than post the jira url back into this
thread.
> it is not very helpful when you post huge fragments of code and markup

> into an email.
>
> -igor
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Bug introduced somewhere after 1.2.2 is still in 1.3.3

2008-05-09 Thread Igor Vaynberg
this only mainly affects components that recreate hierarchies - eg
repeaters. refreshingview has an iitemreusestrategy you would have to
set.

-igor


On Fri, May 9, 2008 at 11:50 AM, Frank Silbermann
<[EMAIL PROTECTED]> wrote:
> I can search my application for ListView occuring in a form and do this.
> Are there any other components that require something like this when
> used in a Form?  E.g. in Wicket Extensions?
>
> -Original Message-
> From: Igor Vaynberg [mailto:[EMAIL PROTECTED]
> Sent: Friday, May 09, 2008 12:52 PM
> To: users@wicket.apache.org
> Subject: Re: Bug introduced somewhere after 1.2.2 is still in 1.3.3
>
> call setReuseItems(true) on the listview that contains radio components.
> javadoc of listview recommends this for listviews inside forms that
> contain formcomponents.
>
> -igor
>
>
> On Thu, May 8, 2008 at 1:49 PM, Frank Silbermann
> <[EMAIL PROTECTED]> wrote:
>> Here's the URL of my jira issue.
>>
>> https://issues.apache.org/jira/browse/WICKET-1601
>>
>> The issue has attached a quickstart project and a screen print.
>>
>> -Original Message-
>> From: Igor Vaynberg [mailto:[EMAIL PROTECTED]
>> Sent: Thursday, May 08, 2008 12:13 PM
>> To: users@wicket.apache.org
>> Subject: Re: Bug introduced somewhere after 1.2.2 is still in 1.3.3
>>
>> On Thu, May 8, 2008 at 10:06 AM, Frank Silbermann
>> <[EMAIL PROTECTED]> wrote:
>>> I wrote earlier about my problems going from Wicket 1.2.2 to Wicket
>>> 1.2.6.  This has to do with a RadioGroup component that I built;
>>> whenever I used it on more than one page, clicking on one RadioGroup
>>> caused the marker to disapper from all the other RadioGroups on the
>>> page.
>>>
>>>  I wasn't given much help because Wicket 1.2 is end-of-life.  Today I
>>
>>> tried the example on Wicked 1.3.3.  I downloaded the QuickStart
>>> application for Wicket 1.3.3, installed an upgraded version of my
>>> RadioGroup component, modified the home page to show my RadioGroup
>>> panel  twice, and the bad behavior is still there.
>>>
>>>  By the way, the only change in the generated HTML that I could see
>>> was  that in Wicket 1.2.2 the buttons were defined:
>>>
>>> >>
>>>  -- with the numbers starting over again for each RadioGroup, whereas
>
>>> in  Wicket 1.2.6 and Wicket 1.3.3 it was more like:
>>>
>>> >>
>>>  with the numbers _not_ starting over for each RadioGroup.  Clicking
>>> on  one radio group causes the marker to disappear from the other
>>> radio  group -- as if part of Wicket were treating the buttons as
>>> though they  all belonged to the same radio group.
>>>
>>>  I'd like the Wicket 1.3 developers either to fix the bug in a future
>>
>>> release (after which I'll upgrade my entire application to 1.3), or
>>> tell  me what I'm doing wrong.  How do I get the process started?
>>
>> the usual way, create a jira issue and attach a quickstart project
>> that demonstrates the problem. than post the jira url back into this
> thread.
>> it is not very helpful when you post huge fragments of code and markup
>
>> into an email.
>>
>> -igor
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Bug introduced somewhere after 1.2.2 is still in 1.3.3

2008-05-09 Thread Igor Vaynberg
too much magic imho

-igor


On Fri, May 9, 2008 at 11:57 AM, Johan Compagner <[EMAIL PROTECTED]> wrote:
> we could make this automatic?
> search for a parent that is a Form?
>
> johan
>
>
> On Fri, May 9, 2008 at 7:52 PM, Igor Vaynberg <[EMAIL PROTECTED]>
> wrote:
>
>> call setReuseItems(true) on the listview that contains radio
>> components. javadoc of listview recommends this for listviews inside
>> forms that contain formcomponents.
>>
>> -igor
>>
>>
>> On Thu, May 8, 2008 at 1:49 PM, Frank Silbermann
>> <[EMAIL PROTECTED]> wrote:
>> > Here's the URL of my jira issue.
>> >
>> > https://issues.apache.org/jira/browse/WICKET-1601
>> >
>> > The issue has attached a quickstart project and a screen print.
>> >
>> > -Original Message-
>> > From: Igor Vaynberg [mailto:[EMAIL PROTECTED]
>> > Sent: Thursday, May 08, 2008 12:13 PM
>> > To: users@wicket.apache.org
>> > Subject: Re: Bug introduced somewhere after 1.2.2 is still in 1.3.3
>> >
>> > On Thu, May 8, 2008 at 10:06 AM, Frank Silbermann
>> > <[EMAIL PROTECTED]> wrote:
>> >> I wrote earlier about my problems going from Wicket 1.2.2 to Wicket
>> >> 1.2.6.  This has to do with a RadioGroup component that I built;
>> >> whenever I used it on more than one page, clicking on one RadioGroup
>> >> caused the marker to disapper from all the other RadioGroups on the
>> >> page.
>> >>
>> >>  I wasn't given much help because Wicket 1.2 is end-of-life.  Today I
>> >
>> >> tried the example on Wicked 1.3.3.  I downloaded the QuickStart
>> >> application for Wicket 1.3.3, installed an upgraded version of my
>> >> RadioGroup component, modified the home page to show my RadioGroup
>> >> panel  twice, and the bad behavior is still there.
>> >>
>> >>  By the way, the only change in the generated HTML that I could see
>> >> was  that in Wicket 1.2.2 the buttons were defined:
>> >>
>> >> > >>
>> >>  -- with the numbers starting over again for each RadioGroup, whereas
>> >> in  Wicket 1.2.6 and Wicket 1.3.3 it was more like:
>> >>
>> >> > >>
>> >>  with the numbers _not_ starting over for each RadioGroup.  Clicking
>> >> on  one radio group causes the marker to disappear from the other
>> >> radio  group -- as if part of Wicket were treating the buttons as
>> >> though they  all belonged to the same radio group.
>> >>
>> >>  I'd like the Wicket 1.3 developers either to fix the bug in a future
>> >
>> >> release (after which I'll upgrade my entire application to 1.3), or
>> >> tell  me what I'm doing wrong.  How do I get the process started?
>> >
>> > the usual way, create a jira issue and attach a quickstart project that
>> > demonstrates the problem. than post the jira url back into this thread.
>> > it is not very helpful when you post huge fragments of code and markup
>> > into an email.
>> >
>> > -igor
>> >
>> >
>> > -
>> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > For additional commands, e-mail: [EMAIL PROTECTED]
>> >
>> >
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Bug introduced somewhere after 1.2.2 is still in 1.3.3

2008-05-09 Thread Frank Silbermann
That sounds convenient.  But what if someone wants his Form to contain a
ListView that _doesn't_ contain form components?  

-Original Message-
From: Johan Compagner [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 09, 2008 1:57 PM
To: users@wicket.apache.org
Subject: Re: Bug introduced somewhere after 1.2.2 is still in 1.3.3

we could make this automatic?
search for a parent that is a Form?

johan


On Fri, May 9, 2008 at 7:52 PM, Igor Vaynberg <[EMAIL PROTECTED]>
wrote:

> call setReuseItems(true) on the listview that contains radio 
> components. javadoc of listview recommends this for listviews inside 
> forms that contain formcomponents.
>
> -igor
>
>
> On Thu, May 8, 2008 at 1:49 PM, Frank Silbermann 
> <[EMAIL PROTECTED]> wrote:
> > Here's the URL of my jira issue.
> >
> > https://issues.apache.org/jira/browse/WICKET-1601
> >
> > The issue has attached a quickstart project and a screen print.
> >
> > -Original Message-
> > From: Igor Vaynberg [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, May 08, 2008 12:13 PM
> > To: users@wicket.apache.org
> > Subject: Re: Bug introduced somewhere after 1.2.2 is still in 1.3.3
> >
> > On Thu, May 8, 2008 at 10:06 AM, Frank Silbermann 
> > <[EMAIL PROTECTED]> wrote:
> >> I wrote earlier about my problems going from Wicket 1.2.2 to Wicket

> >> 1.2.6.  This has to do with a RadioGroup component that I built; 
> >> whenever I used it on more than one page, clicking on one 
> >> RadioGroup caused the marker to disapper from all the other 
> >> RadioGroups on the page.
> >>
> >>  I wasn't given much help because Wicket 1.2 is end-of-life.  Today

> >> I
> >
> >> tried the example on Wicked 1.3.3.  I downloaded the QuickStart 
> >> application for Wicket 1.3.3, installed an upgraded version of my 
> >> RadioGroup component, modified the home page to show my RadioGroup 
> >> panel  twice, and the bad behavior is still there.
> >>
> >>  By the way, the only change in the generated HTML that I could see

> >> was  that in Wicket 1.2.2 the buttons were defined:
> >>
> >>  >>
> >>  -- with the numbers starting over again for each RadioGroup, 
> >> whereas in  Wicket 1.2.6 and Wicket 1.3.3 it was more like:
> >>
> >>  >>
> >>  with the numbers _not_ starting over for each RadioGroup.  
> >> Clicking on  one radio group causes the marker to disappear from 
> >> the other radio  group -- as if part of Wicket were treating the 
> >> buttons as though they  all belonged to the same radio group.
> >>
> >>  I'd like the Wicket 1.3 developers either to fix the bug in a 
> >> future
> >
> >> release (after which I'll upgrade my entire application to 1.3), or

> >> tell  me what I'm doing wrong.  How do I get the process started?
> >
> > the usual way, create a jira issue and attach a quickstart project 
> > that demonstrates the problem. than post the jira url back into this
thread.
> > it is not very helpful when you post huge fragments of code and 
> > markup into an email.
> >
> > -igor
> >
> >
> > 
> > - To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Bug introduced somewhere after 1.2.2 is still in 1.3.3

2008-05-09 Thread Johan Compagner
we could make this automatic?
search for a parent that is a Form?

johan


On Fri, May 9, 2008 at 7:52 PM, Igor Vaynberg <[EMAIL PROTECTED]>
wrote:

> call setReuseItems(true) on the listview that contains radio
> components. javadoc of listview recommends this for listviews inside
> forms that contain formcomponents.
>
> -igor
>
>
> On Thu, May 8, 2008 at 1:49 PM, Frank Silbermann
> <[EMAIL PROTECTED]> wrote:
> > Here's the URL of my jira issue.
> >
> > https://issues.apache.org/jira/browse/WICKET-1601
> >
> > The issue has attached a quickstart project and a screen print.
> >
> > -Original Message-
> > From: Igor Vaynberg [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, May 08, 2008 12:13 PM
> > To: users@wicket.apache.org
> > Subject: Re: Bug introduced somewhere after 1.2.2 is still in 1.3.3
> >
> > On Thu, May 8, 2008 at 10:06 AM, Frank Silbermann
> > <[EMAIL PROTECTED]> wrote:
> >> I wrote earlier about my problems going from Wicket 1.2.2 to Wicket
> >> 1.2.6.  This has to do with a RadioGroup component that I built;
> >> whenever I used it on more than one page, clicking on one RadioGroup
> >> caused the marker to disapper from all the other RadioGroups on the
> >> page.
> >>
> >>  I wasn't given much help because Wicket 1.2 is end-of-life.  Today I
> >
> >> tried the example on Wicked 1.3.3.  I downloaded the QuickStart
> >> application for Wicket 1.3.3, installed an upgraded version of my
> >> RadioGroup component, modified the home page to show my RadioGroup
> >> panel  twice, and the bad behavior is still there.
> >>
> >>  By the way, the only change in the generated HTML that I could see
> >> was  that in Wicket 1.2.2 the buttons were defined:
> >>
> >>  >>
> >>  -- with the numbers starting over again for each RadioGroup, whereas
> >> in  Wicket 1.2.6 and Wicket 1.3.3 it was more like:
> >>
> >>  >>
> >>  with the numbers _not_ starting over for each RadioGroup.  Clicking
> >> on  one radio group causes the marker to disappear from the other
> >> radio  group -- as if part of Wicket were treating the buttons as
> >> though they  all belonged to the same radio group.
> >>
> >>  I'd like the Wicket 1.3 developers either to fix the bug in a future
> >
> >> release (after which I'll upgrade my entire application to 1.3), or
> >> tell  me what I'm doing wrong.  How do I get the process started?
> >
> > the usual way, create a jira issue and attach a quickstart project that
> > demonstrates the problem. than post the jira url back into this thread.
> > it is not very helpful when you post huge fragments of code and markup
> > into an email.
> >
> > -igor
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


RE: Bug introduced somewhere after 1.2.2 is still in 1.3.3

2008-05-09 Thread Frank Silbermann
I can search my application for ListView occuring in a form and do this.
Are there any other components that require something like this when
used in a Form?  E.g. in Wicket Extensions?

-Original Message-
From: Igor Vaynberg [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 09, 2008 12:52 PM
To: users@wicket.apache.org
Subject: Re: Bug introduced somewhere after 1.2.2 is still in 1.3.3

call setReuseItems(true) on the listview that contains radio components.
javadoc of listview recommends this for listviews inside forms that
contain formcomponents.

-igor


On Thu, May 8, 2008 at 1:49 PM, Frank Silbermann
<[EMAIL PROTECTED]> wrote:
> Here's the URL of my jira issue.
>
> https://issues.apache.org/jira/browse/WICKET-1601
>
> The issue has attached a quickstart project and a screen print.
>
> -Original Message-
> From: Igor Vaynberg [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 08, 2008 12:13 PM
> To: users@wicket.apache.org
> Subject: Re: Bug introduced somewhere after 1.2.2 is still in 1.3.3
>
> On Thu, May 8, 2008 at 10:06 AM, Frank Silbermann 
> <[EMAIL PROTECTED]> wrote:
>> I wrote earlier about my problems going from Wicket 1.2.2 to Wicket 
>> 1.2.6.  This has to do with a RadioGroup component that I built; 
>> whenever I used it on more than one page, clicking on one RadioGroup 
>> caused the marker to disapper from all the other RadioGroups on the 
>> page.
>>
>>  I wasn't given much help because Wicket 1.2 is end-of-life.  Today I
>
>> tried the example on Wicked 1.3.3.  I downloaded the QuickStart 
>> application for Wicket 1.3.3, installed an upgraded version of my 
>> RadioGroup component, modified the home page to show my RadioGroup 
>> panel  twice, and the bad behavior is still there.
>>
>>  By the way, the only change in the generated HTML that I could see 
>> was  that in Wicket 1.2.2 the buttons were defined:
>>
>> >
>>  -- with the numbers starting over again for each RadioGroup, whereas

>> in  Wicket 1.2.6 and Wicket 1.3.3 it was more like:
>>
>> >
>>  with the numbers _not_ starting over for each RadioGroup.  Clicking 
>> on  one radio group causes the marker to disappear from the other 
>> radio  group -- as if part of Wicket were treating the buttons as 
>> though they  all belonged to the same radio group.
>>
>>  I'd like the Wicket 1.3 developers either to fix the bug in a future
>
>> release (after which I'll upgrade my entire application to 1.3), or 
>> tell  me what I'm doing wrong.  How do I get the process started?
>
> the usual way, create a jira issue and attach a quickstart project 
> that demonstrates the problem. than post the jira url back into this
thread.
> it is not very helpful when you post huge fragments of code and markup

> into an email.
>
> -igor
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Bug introduced somewhere after 1.2.2 is still in 1.3.3

2008-05-09 Thread Igor Vaynberg
call setReuseItems(true) on the listview that contains radio
components. javadoc of listview recommends this for listviews inside
forms that contain formcomponents.

-igor


On Thu, May 8, 2008 at 1:49 PM, Frank Silbermann
<[EMAIL PROTECTED]> wrote:
> Here's the URL of my jira issue.
>
> https://issues.apache.org/jira/browse/WICKET-1601
>
> The issue has attached a quickstart project and a screen print.
>
> -Original Message-
> From: Igor Vaynberg [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 08, 2008 12:13 PM
> To: users@wicket.apache.org
> Subject: Re: Bug introduced somewhere after 1.2.2 is still in 1.3.3
>
> On Thu, May 8, 2008 at 10:06 AM, Frank Silbermann
> <[EMAIL PROTECTED]> wrote:
>> I wrote earlier about my problems going from Wicket 1.2.2 to Wicket
>> 1.2.6.  This has to do with a RadioGroup component that I built;
>> whenever I used it on more than one page, clicking on one RadioGroup
>> caused the marker to disapper from all the other RadioGroups on the
>> page.
>>
>>  I wasn't given much help because Wicket 1.2 is end-of-life.  Today I
>
>> tried the example on Wicked 1.3.3.  I downloaded the QuickStart
>> application for Wicket 1.3.3, installed an upgraded version of my
>> RadioGroup component, modified the home page to show my RadioGroup
>> panel  twice, and the bad behavior is still there.
>>
>>  By the way, the only change in the generated HTML that I could see
>> was  that in Wicket 1.2.2 the buttons were defined:
>>
>> >
>>  -- with the numbers starting over again for each RadioGroup, whereas
>> in  Wicket 1.2.6 and Wicket 1.3.3 it was more like:
>>
>> >
>>  with the numbers _not_ starting over for each RadioGroup.  Clicking
>> on  one radio group causes the marker to disappear from the other
>> radio  group -- as if part of Wicket were treating the buttons as
>> though they  all belonged to the same radio group.
>>
>>  I'd like the Wicket 1.3 developers either to fix the bug in a future
>
>> release (after which I'll upgrade my entire application to 1.3), or
>> tell  me what I'm doing wrong.  How do I get the process started?
>
> the usual way, create a jira issue and attach a quickstart project that
> demonstrates the problem. than post the jira url back into this thread.
> it is not very helpful when you post huge fragments of code and markup
> into an email.
>
> -igor
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Bug introduced somewhere after 1.2.2 is still in 1.3.3

2008-05-08 Thread Frank Silbermann
Here's the URL of my jira issue.  

https://issues.apache.org/jira/browse/WICKET-1601

The issue has attached a quickstart project and a screen print. 

-Original Message-
From: Igor Vaynberg [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 08, 2008 12:13 PM
To: users@wicket.apache.org
Subject: Re: Bug introduced somewhere after 1.2.2 is still in 1.3.3

On Thu, May 8, 2008 at 10:06 AM, Frank Silbermann
<[EMAIL PROTECTED]> wrote:
> I wrote earlier about my problems going from Wicket 1.2.2 to Wicket  
> 1.2.6.  This has to do with a RadioGroup component that I built;  
> whenever I used it on more than one page, clicking on one RadioGroup  
> caused the marker to disapper from all the other RadioGroups on the  
> page.
>
>  I wasn't given much help because Wicket 1.2 is end-of-life.  Today I

> tried the example on Wicked 1.3.3.  I downloaded the QuickStart  
> application for Wicket 1.3.3, installed an upgraded version of my  
> RadioGroup component, modified the home page to show my RadioGroup 
> panel  twice, and the bad behavior is still there.
>
>  By the way, the only change in the generated HTML that I could see 
> was  that in Wicket 1.2.2 the buttons were defined:
>
> 
>  -- with the numbers starting over again for each RadioGroup, whereas 
> in  Wicket 1.2.6 and Wicket 1.3.3 it was more like:
>
> 
>  with the numbers _not_ starting over for each RadioGroup.  Clicking 
> on  one radio group causes the marker to disappear from the other 
> radio  group -- as if part of Wicket were treating the buttons as 
> though they  all belonged to the same radio group.
>
>  I'd like the Wicket 1.3 developers either to fix the bug in a future

> release (after which I'll upgrade my entire application to 1.3), or 
> tell  me what I'm doing wrong.  How do I get the process started?

the usual way, create a jira issue and attach a quickstart project that
demonstrates the problem. than post the jira url back into this thread.
it is not very helpful when you post huge fragments of code and markup
into an email.

-igor


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Bug introduced somewhere after 1.2.2 is still in 1.3.3

2008-05-08 Thread Per Newgro
Hello Frank Silbermann:
> Well, then, as I am a beginner who hasn't worked much with open source,
> could you please point me to a reference that explains what a jira issue
> is and how to create one?  (I'm guessing that it's an entry into some
> sort of bug tracking database.)
Sure you can. You could use the mailing list search at nabble.com because the 
question was asked and answered once a month :-)

Use http://issues.apache.org/jira/browse/ - goto wicket - login (you have to 
get an account) - press new issue and follow instructions.
Its realy easy and helps alot to stay in touch with the open issues. 

>
> Also, by "attaching a quickstart Project" do you mean simply a zipped
> archive of a project directory that was created by installing the
> quickstart project and minimally modifying it to create a web
> application that exhibits the bug?
Yes.

Cheers
Per

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Bug introduced somewhere after 1.2.2 is still in 1.3.3

2008-05-08 Thread Frank Silbermann
Well, then, as I am a beginner who hasn't worked much with open source,
could you please point me to a reference that explains what a jira issue
is and how to create one?  (I'm guessing that it's an entry into some
sort of bug tracking database.)

Also, by "attaching a quickstart Project" do you mean simply a zipped
archive of a project directory that was created by installing the
quickstart project and minimally modifying it to create a web
application that exhibits the bug?

-Original Message-
From: Igor Vaynberg [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 08, 2008 12:13 PM
To: users@wicket.apache.org
Subject: Re: Bug introduced somewhere after 1.2.2 is still in 1.3.3

On Thu, May 8, 2008 at 10:06 AM, Frank Silbermann
<[EMAIL PROTECTED]> wrote:
> I wrote earlier about my problems going from Wicket 1.2.2 to Wicket  
> 1.2.6.  This has to do with a RadioGroup component that I built;  
> whenever I used it on more than one page, clicking on one RadioGroup  
> caused the marker to disapper from all the other RadioGroups on the  
> page.
>
>  I wasn't given much help because Wicket 1.2 is end-of-life.  Today I

> tried the example on Wicked 1.3.3.  I downloaded the QuickStart  
> application for Wicket 1.3.3, installed an upgraded version of my  
> RadioGroup component, modified the home page to show my RadioGroup 
> panel  twice, and the bad behavior is still there.
>
>  By the way, the only change in the generated HTML that I could see 
> was  that in Wicket 1.2.2 the buttons were defined:
>
> 
>  -- with the numbers starting over again for each RadioGroup, whereas 
> in  Wicket 1.2.6 and Wicket 1.3.3 it was more like:
>
> 
>  with the numbers _not_ starting over for each RadioGroup.  Clicking 
> on  one radio group causes the marker to disappear from the other 
> radio  group -- as if part of Wicket were treating the buttons as 
> though they  all belonged to the same radio group.
>
>  I'd like the Wicket 1.3 developers either to fix the bug in a future

> release (after which I'll upgrade my entire application to 1.3), or 
> tell  me what I'm doing wrong.  How do I get the process started?

the usual way, create a jira issue and attach a quickstart project that
demonstrates the problem. than post the jira url back into this thread.
it is not very helpful when you post huge fragments of code and markup
into an email.

-igor



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Bug introduced somewhere after 1.2.2 is still in 1.3.3

2008-05-08 Thread Igor Vaynberg
On Thu, May 8, 2008 at 10:06 AM, Frank Silbermann
<[EMAIL PROTECTED]> wrote:
> I wrote earlier about my problems going from Wicket 1.2.2 to Wicket
>  1.2.6.  This has to do with a RadioGroup component that I built;
>  whenever I used it on more than one page, clicking on one RadioGroup
>  caused the marker to disapper from all the other RadioGroups on the
>  page.
>
>  I wasn't given much help because Wicket 1.2 is end-of-life.  Today I
>  tried the example on Wicked 1.3.3.  I downloaded the QuickStart
>  application for Wicket 1.3.3, installed an upgraded version of my
>  RadioGroup component, modified the home page to show my RadioGroup panel
>  twice, and the bad behavior is still there.
>
>  By the way, the only change in the generated HTML that I could see was
>  that in Wicket 1.2.2 the buttons were defined:
>
> 
>  -- with the numbers starting over again for each RadioGroup, whereas in
>  Wicket 1.2.6 and Wicket 1.3.3 it was more like:
>
> 
>  with the numbers _not_ starting over for each RadioGroup.  Clicking on
>  one radio group causes the marker to disappear from the other radio
>  group -- as if part of Wicket were treating the buttons as though they
>  all belonged to the same radio group.
>
>  I'd like the Wicket 1.3 developers either to fix the bug in a future
>  release (after which I'll upgrade my entire application to 1.3), or tell
>  me what I'm doing wrong.  How do I get the process started?

the usual way, create a jira issue and attach a quickstart project
that demonstrates the problem. than post the jira url back into this
thread. it is not very helpful when you post huge fragments of code
and markup into an email.

-igor


>
>  /Frank
>
>  -Original Message-
>  From: Johan Compagner [mailto:[EMAIL PROTECTED]
>  Sent: Tuesday, April 29, 2008 12:31 PM
>  To: users@wicket.apache.org
>  Subject: Re: Change to API between Wicket 1.2 releases?
>
>  I dont know what this is, but 1.2 is pretty much end of life, so you
>  should try to debug what it is and patch your version Or just use a 1.2
>  version that works for you
>
>  On 4/29/08, Frank Silbermann <[EMAIL PROTECTED]> wrote:
>  > I'm not sure what you mean by "what part it really is"?  Are you
>  > asking me to find a simpler example exhibiting the problem?  I mean,
>  > the panel class follows the RadioGroup component example quite
>  closely:
>  >
>  > http://wicketstuff.org/wicket13/compref/;jsessionid=C6F7701B6426601795
>  > 63
>  > 84008732211C?wicket:bookmarkablePage=%3Aorg.apache.wicket.examples.com
>  > pr
>  > ef.RadioGroupPage
>  >
>  > The only significant difference is that instead of using a submit
>  > button I override wantOnSelectionChangedNotification() to return true.
>  >
>  >  public class MyPanel extends Panel {
>  >
>  >  public MyPanel( String id,
>  >  String caption,
>  >  PropertyModel groupModel,
>  >  ChoiceOption[] options ) {
>  >
>  >   super(id, groupModel);
>  >
>  >   add( new Label("caption", caption) );
>  >
>  >   final RadioGroup group = new RadioGroup("group", groupModel)
>  {
>  >  //THIS IS THE ONLY PART THAT CHANGED FROM THE
>  > COMPONENT EXAMPLE
>  >  protected boolean
>  > wantOnSelectionChangedNotifications()
>  > {
>  >  return true;
>  >  }
>  >  //IT POSTS BACK ON ANY SELECTION
>  >   };
>  >   add(group);
>  >
>  >   List optionList = Arrays.asList( options );
>  >
>  >   ListView radios = new ListView("radios", optionList) {
>  >protected void populateItem(ListItem listItem) {
>  >  listItem.add( new Radio("radio",
>  >new PropertyModel(
>  > listItem.getModel(),
>  >   "value")
>  >)
>  >  );
>  >  listItem.add( new Label("option",
>  >new PropertyModel(
>  > listItem.getModel(), "label" )
>  > )
>  >  );
>  >}
>  >   };
>  >
>  >   group.add(radios);
>  >  }
>  >
>  > Did I do something wrong, or is that feature of RadioGroup indeed
>  > broken in current releases of Wicket 1.2?
>  >
>  > I really don't know enough about the Wicket internals to debug Wicket.
>  > Can you suggest anything simpler that I could try to narrow down the
>  > location of the problem?  Would it work in Wicket 1.3?
>  >
>  >
>  > -Original Message-
>  > From: Johan Compagner [mailto:[EMAIL PROTECTED]
>  > Sent: Tuesday, April 29, 2008 3:54 AM
>  > To: users@wicket.apache.org
>  > Subject: Re: Change to API between Wicket 1.2 releases?
>  >
>  > 1.2 is a long time ago
>  > I have no id

Bug introduced somewhere after 1.2.2 is still in 1.3.3

2008-05-08 Thread Frank Silbermann
I wrote earlier about my problems going from Wicket 1.2.2 to Wicket
1.2.6.  This has to do with a RadioGroup component that I built;
whenever I used it on more than one page, clicking on one RadioGroup
caused the marker to disapper from all the other RadioGroups on the
page.

I wasn't given much help because Wicket 1.2 is end-of-life.  Today I
tried the example on Wicked 1.3.3.  I downloaded the QuickStart
application for Wicket 1.3.3, installed an upgraded version of my
RadioGroup component, modified the home page to show my RadioGroup panel
twice, and the bad behavior is still there.  

By the way, the only change in the generated HTML that I could see was
that in Wicket 1.2.2 the buttons were defined: 

mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 29, 2008 12:31 PM
To: users@wicket.apache.org
Subject: Re: Change to API between Wicket 1.2 releases?

I dont know what this is, but 1.2 is pretty much end of life, so you
should try to debug what it is and patch your version Or just use a 1.2
version that works for you

On 4/29/08, Frank Silbermann <[EMAIL PROTECTED]> wrote:
> I'm not sure what you mean by "what part it really is"?  Are you 
> asking me to find a simpler example exhibiting the problem?  I mean, 
> the panel class follows the RadioGroup component example quite
closely:
>
> http://wicketstuff.org/wicket13/compref/;jsessionid=C6F7701B6426601795
> 63 
> 84008732211C?wicket:bookmarkablePage=%3Aorg.apache.wicket.examples.com
> pr
> ef.RadioGroupPage
>
> The only significant difference is that instead of using a submit 
> button I override wantOnSelectionChangedNotification() to return true.
>
>  public class MyPanel extends Panel {
>
>  public MyPanel( String id,
>  String caption,
>  PropertyModel groupModel,
>  ChoiceOption[] options ) {
>
>   super(id, groupModel);
>
>   add( new Label("caption", caption) );
>
>   final RadioGroup group = new RadioGroup("group", groupModel)
{
>  //THIS IS THE ONLY PART THAT CHANGED FROM THE
> COMPONENT EXAMPLE
>  protected boolean 
> wantOnSelectionChangedNotifications()
> {
>  return true;
>  }
>  //IT POSTS BACK ON ANY SELECTION
>   };
>   add(group);
>
>   List optionList = Arrays.asList( options );
>
>   ListView radios = new ListView("radios", optionList) {
>protected void populateItem(ListItem listItem) {
>  listItem.add( new Radio("radio",
>new PropertyModel( 
> listItem.getModel(),
>   "value")
>)
>  );
>  listItem.add( new Label("option",
>new PropertyModel( 
> listItem.getModel(), "label" )
> )
>  );
>}
>   };
>
>   group.add(radios);
>  }
>
> Did I do something wrong, or is that feature of RadioGroup indeed 
> broken in current releases of Wicket 1.2?
>
> I really don't know enough about the Wicket internals to debug Wicket.
> Can you suggest anything simpler that I could try to narrow down the 
> location of the problem?  Would it work in Wicket 1.3?
>
>
> -Original Message-
> From: Johan Compagner [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 29, 2008 3:54 AM
> To: users@wicket.apache.org
> Subject: Re: Change to API between Wicket 1.2 releases?
>
> 1.2 is a long time ago
> I have no idea what change did break yours (and what did it fix) If 
> you could figure out what part it really is?
>
> johan
>
>
> On Tue, Apr 29, 2008 at 12:09 AM, Frank Silbermann < 
> [EMAIL PROTECTED]> wrote:
>
> > I completed a Wicket 1.2 project a couple of years ago, and I've 
> > been maintaining it since then. I've been using Version 1.2.2 
> > successfully,
>
> > and figured I might as well use the lastest release of that version 
> > (1.2.7). Well, I'm trying to figure out why Wicket 1.2.7 broke my
> code.
> > (I scrounged up a Wicket 1.2.6 release, and that also breaks it.)
> >
> > Am I using the Wicket 1.2 API incorrectly?  When it works in Wicket 
> > 1.2.2, am I using it in an unintended way?  Let me illustrate what 
> > I've been doing with a small example.
> >
> > This is a simplified version of a component for creating and 
> > displaying radio button groups without having to write HTML every 
> > time.  I give the
> > constructor:
> >
> > (1) a wicket-id,
> >
> > (2) a PropertyModel that initializes the component and keeps track 
> > of the current choice, and
> >
> > (3) an array of ChoiceOption.  -- The array of choice options 
> > defines the set of values offered by the radio buttons, and the 
> > corresponding labels to be displayed.
> >
> >