Hi Eddie,

Like I explained, pagination doesn't work. Only the first page is
displayed correctly. It displays X items on the page, and explains that
it is displaying X items out of TOTAL. The links "next"/"last" seem
actives. But when I click on any of them, the grid is emptied. Like if
the session was lost.

The case with BEA support was opened since January the 3rd, and I
finally got on Monday a CR. The backline engineer explained that he
reproduced the issue. 

FYI, it happens with Workshop (10.0.1)/Portal 10 MP 1. So it is not
necessarily related to the latest version of Beehive.

I also expected the basics to work....   :)


Best regards,
 
Philippe Camus
(801)542-9075

-----Original Message-----
From: Eddie O'Neil [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 06, 2008 1:55 PM
To: Beehive Users
Subject: Re: Datagrid Question

Philippe--

  There are several samples of paging a data grid that are included with
NetUI, so I'd expect the basics to work.  :)  What's the specific
problem that you're having?

Eddie



On Feb 6, 2008 9:06 AM, Phillippe Camus <[EMAIL PROTECTED]>
wrote:
>
> I should have RTFM before replying..  :)
>
> My issue is that clicking on "next/last" doesn't work. Only the first 
> page is displayed correctly. After that I cannot paginate. That is wah

> the CR.
>
> You're absolutely right: even if pagination was working, the tag 
> wouldn't keep track of information submitted in previous pages.
>
> Best regards,
>
> Philippe
>
>
> -----Original Message-----
> From: Eddie O'Neil [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, February 06, 2008 8:58 AM
> To: Beehive Users
> Subject: Re: Datagrid Question
>
> Dino / Philippe--
>
>   The data grid doesn't provide a mechanism to store state from 
> multiple grid views into either page flow scope or session scope.  A 
> single HTML page submit works by POSTing data back to the server for
the "current"
> page, but without custom application logic, the grid isn't tracking 
> any data that was submitted from previous pages, though this would be 
> a nice feature to have.
>
>   It should be possible to do something like this by writing 
> UI-specific application logic that tracks all of the checked 
> checkboxes submitted from the data grid and then processing them when 
> "Submit Orders" is clicked.  A good way to do this with Page Flow 
> would be to have the action submitted by the HTML form update a Page 
> Flow-scoped data structure that tracks an identifier for each row that

> was checked.  Just be sure that this identifier is unique and stable
> -- a primary key of some sort on the record would work probably work 
> better than the row index which can change if the grid is sorted /
etc.
> Also, be sure to add logic to checkbox rendering to correctly check 
> the box if a row has already been selected.
>
>   Hope that helps.
>
> Eddie
>
>
> On Feb 5, 2008 10:44 AM, Phillippe Camus <[EMAIL PROTECTED]>
> wrote:
> >
> > Hi Dino,
> >
> > Got the same issue in Portal. I opened a case with BEA support and 
> > got
>
> > a CR yesterday. FYI many customers are having the same issue.
> >
> > It looks like the tag simply looses the session information somehow.
> >
> >
> > Best regards,
> >
> > Philippe Camus
> >
> >
> > -----Original Message-----
> > From: Dino Ador Dionisio [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, February 05, 2008 10:30 AM
> > To: [email protected]
> > Subject: Datagrid Question
> >
> > Greetings.
> >
> > I have a question in regards to netui datagrid. I was wondering if 
> > you
>
> > can help. I have attached an image and a jsp for your reference. I 
> > am using Beehive 1.0.1 on BEA Workshop Studio.
> >
> > I have a situation where a user is able to select a checkbox under 
> > the
>
> > Buy column which selects the particular record to process in a 
> > particular page of a datagrid. However, the user should be able to 
> > select multiple rows from multiple pages in the datagrid by clicking

> > the "Next" link to go to the next page. Clicking on Submit Orders 
> > should process all records selected.
> >
> > I am able to process the selected records from a single page when 
> > the user clicks on Submit Orders. However, I don't know how to keep 
> > track of selected records from multiple pages when the user clicks 
> > on the
> "Next"
> > link to go to the next page. The user is essentially selecting 
> > records
>
> > from multiple pages. Of course the user should be able to submit all

> > orders selected from multiple pages.
> >
> > The <netuidata:renderPager> renders the "Page 1 of of 6 Previous
> Next".
> > I believe using an anchor to submit the form content is possible 
> > using
>
> > javascript. Processing the selected records from a single page when 
> > the user clicks on Submit Orders does use a form submission and
works.
> >
> > Any help is greatly appreciated.
> >
> > Thanks so much for your time.
> >
> > Regards,
> > Dino
> > Toronto, CANADA
> >
> >
>
>

Reply via email to