|
Re: Paging with repeat items: msg#00006text.xml.xforms.chiba.devel
Martin Tilma: > I have a form with may items (I use repeat) and want paging instead of > viewing all items on 1 page. > > The solutions I came up with: create a repeat and use the attributes > startindex and number. > > Then I would use setindex as implementation for the paging part. > > But on the chiba status page I read: > "9.3.1 The repeat Element - the 'startindex' and 'number' attributes are > not supported yet" > > I found one post in the mailing list, unfortunaly whitout an answer. > (http://sourceforge.net/mailarchive/message.php?msg_id=10408176) > > Is there a way to get some sort of paging? > > If I must implement it (startindex and number) myself, how should it be > done? Could it be done by just edditting the chiba xsl's? Or should the > ChibaBean be adjusted? Maybe you can use the solution I am employing: Showing only a single repeat item (containing many controls), and using navigation buttons to move to previous/next item. You can see some screenshots at http://www.ntnu.no/~engmark/personal/picture/LIMO/1.7.0/, and the XForms is at http://isscvs.cern.ch/cgi-bin/viewcvs-all.cgi/install/tomcat/webapps/chiba/forms/jobs.xhtml?rev=HEAD&cvsroot=moi&content-type=text/vnd.viewcvs-markup. Use as you want. -- Victor Engmark ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Tool Tips in html: 00006, Ulrich Nicolas Lissé |
|---|---|
| Next by Date: | Re: R: Web Services integration into Chiba: 00006, Ulrich Nicolas Lissé |
| Previous by Thread: | Paging with repeat itemsi: 00006, Martin Tilma |
| Next by Thread: | Re: ConnectorFactory ClassCastException in getProcessor: 00006, Ulrich Nicolas Lissé |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |