Please paste more of the code from your dropdown box or form... How does
the field get set? Are you submitting a form after they change the
dropdown, or are you overriding the wantOnSelectionChangedNotifications()
and receiving a notification when they change it? Have you set a breakpoint
in your setConfigurationName setter to make sure it is getting set?
What URL is in your browser when you refresh? As mentioned below, if it is
still a bookmarkable one, the page will be recreated with a null value.
JT
On Sat, May 3, 2008 at 2:01 PM, Eyal Golan <[EMAIL PROTECTED]> wrote:
> Anyone?
> Any idea?
> I thought about keeping it in the Session but it seems too much.
>
> On Thu, May 1, 2008 at 1:22 PM, Eyal Golan <[EMAIL PROTECTED]> wrote:
>
> > I think it is ...
> > I have this in my application: mountBookmarkablePage("/entityBrowser",
> > EurekifyBrowserPage.class);
> > And my link is: new BookmarkablePageLink(MenuItem.LINK_ID, classLink)
> > ......
> >
> > So, is there a way to pass this problem?
> >
> >
> > On Thu, May 1, 2008 at 12:23 PM, Johan Compagner <[EMAIL PROTECTED]>
> > wrote:
> >
> > > What url do you refresh?
> > > A bookmarkable one?
> > > Then the page is recreated every time so field is null
> > >
> > > On 5/1/08, Eyal Golan <[EMAIL PROTECTED]> wrote:
> > > > Hello all,
> > > > I have a page that has a variable called configurationName (private
> > > String
> > > > configurationName;)
> > > > I set it using a DropDown component:
> > > > DropDownChoice namesSelect =
> > > > new DropDownChoice("confNames", new
> > > PropertyModel(this,
> > > > "configurationName"),
> > > > configurationNames);
> > > >
> > > > The problem is that when I reload the page (press F5 for example),
> the
> > > field
> > > > is set back to null.
> > > > What is the best way of keeping (remembering) the field?
> > > > (is it using Parameters or something else).
> > > >
> > > > thanks
> > > >
> > > >
> > > > --
> > > > Eyal Golan
> > > > [EMAIL PROTECTED]
> > > >
> > > > Visit: http://jvdrums.sourceforge.net/
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> > --
> > Eyal Golan
> > [EMAIL PROTECTED]
> >
> > Visit: http://jvdrums.sourceforge.net/
> >
>
>
>
> --
> Eyal Golan
> [EMAIL PROTECTED]
>
> Visit: http://jvdrums.sourceforge.net/
>