I just do a simple DB search to get the list of models. (calling business
tier --> to hibernate).

and then : * new RefreshingView(ID, MODELs){ };*

I tried, changing above to : *new RefreshingView(ID, new Model(
(Serializable) models) { };
*But to no effect. =(
*
Rick.
*
On Tue, Jun 10, 2008 at 11:13 AM, Igor Vaynberg <[EMAIL PROTECTED]>
wrote:

> you dont actually show how you feed data to these dataviews. my guess
> is that you cache the data you feed them and that is why it doesnt
> refresh.
>
> -igor
>
> On Tue, Jun 10, 2008 at 6:41 AM, Ricky <[EMAIL PROTECTED]> wrote:
> > Ok, I have tried to keep it as simple as possible, hopefully this should
> > give enough details to know as to what is happening:
> >
> > //////////////////  Page Code here ///////////////////
> > public ReviewPlanPage(final PageParameters pageParameters) {
> >        // get MODEL from session, code removed for clarity.
> >        setModel(new Model((MODELfromSession)));
> >        final Form sectionAForm = new
> > Form("form-review-plan-page-section-a");
> >        sectionAForm.add(new
> > SectionAPanel("panel-review-plan-page-section-a", MODEL));
> >        add(sectionAForm);
> >        final Form behaviorsForm = new Form("form-behavior-standards-b");
> >        behaviorsForm.add(new SectionBPanel("panel-behaviors-section-b",
> > MODEL));
> >        add(behaviorsForm);
> >    }
> >
> >    public final boolean isVersioned() {
> >        return true;
> >    }
> >
> >    ////////////////// Panel Code here ///////////////////
> >    // Panel A Code
> >    public SectionAPanel(final PageParameters pageParameters){
> >            super(id);
> >        setOutputMarkupId(true);
> >        addDataView(reviewPlan);
> >        // add buttons here.
> >    }
> >
> >    // add data view code :
> >    addPerspectiveDataView(createPerspectiveDataView(BACKINGModelList));
> >    // in create Perspective Data View I have another refreshing view
> >    createNestedDataView(NestedBackingModelListForPerspective);
> >
> >
> > Thanks
> > Rick
> >
> > On Mon, Jun 9, 2008 at 8:20 PM, Igor Vaynberg <[EMAIL PROTECTED]>
> > wrote:
> >
> >> paste your code
> >>
> >> -igor
> >>
> >> On Mon, Jun 9, 2008 at 3:34 PM, Ricky <[EMAIL PROTECTED]> wrote:
> >> > Hi,
> >> >
> >> > My page class consists of :
> >> > 1.) Panel -A  2.) Panel - B.
> >> >
> >> > Just for FYI - Panel A has Refreshing View and a refreshing view
> nested
> >> > within it (nested tables).
> >> >
> >> > When I do a refresh (F5 or simple refresh clicked on browser) on a
> page,
> >> and
> >> > nothing seems to happen and all data that was present is lost in
> process.
> >> > Nothing seems to happen as in:
> >> > 1.) No query is executed (it is expected to do thing that it was doing
> at
> >> > the time of clicking the link to the page).
> >> > 2.) I put in debug points on the page constructor, refreshing views in
> >> the
> >> > panel, panel constructor, but it doesn't go anywhere.
> >> > 3.) The page version doesn't seem to be changing either?! (it does
> show
> >> > everything normally when i click the link to the page again).
> >> >
> >> > I am overriding isVersioned( ) on the page to return true but to no
> >> effect;
> >> > ( I checked, all children components are getting isVersioned with the
> >> same).
> >> > I tried isVersioned to false (just to see if something else happens :)
> ),
> >> > but no change ...
> >> > (the versionManager behaves as it should, meaning, when the page
> returns
> >> > false, it is not added to the version manager).
> >> >
> >> > Am i missing something!!? any help would be appreciable.
> >> >
> >> > Thanks
> >> > Rick
> >> >
> >>
> >> ---------------------------------------------------------------------
> >> 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]
>
>

Reply via email to