Johan,
Wonderful, it worked. All I did was:
mount(new HybridUrlCodingStrategy("/entityBrowser",
EurekifyBrowserPage.class));
I'm going to investigate this class, but it actually did the job!

Jeremy,
As you can see, the filed get set by the PropertyModel:
new DropDownChoice("confNames", new PropertyModel(this,
"configurationName"),
                        configurationNames);

This is what i do in the setter:
    public void setConfigurationName(String configurationName) {
        this.configurationName = configurationName;
        setConfigurationToBrowserTabbedPanel();
    }
I have put a breakpoint in the setter and it works.
As I mentioned, only refresh the page had the problem.
Anyway, the Hybrid stuff did the work :)

Thanks guys !!



On Sat, May 3, 2008 at 11:19 PM, Johan Compagner <[EMAIL PROTECTED]>
wrote:

> Mount it with the HybridUrlCoding strategy
> i think that should work because then a redirect to a bookmarkable page is
> done but that still has some state in the url for a refresh
>
>
> On Sat, May 3, 2008 at 9: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/
> >
>



-- 
Eyal Golan
[EMAIL PROTECTED]

Visit: http://jvdrums.sourceforge.net/

Reply via email to