Hello,
Sorry for the delay I have been out off time...
Ok
The problem is that you can't not see which id are selected if
"multiple=True"
db.databasetable.field.requires=\
IS_IN_DB(db,'othertable.id',multiple=True)
crud.update(db.databasetable,1)
Will not show the multiples foreign id selected when not using any of the
existing plugin.
With the preceding web2py version it was possible to see the selected id,
the many id selected was highlighted without the requiring of any plugin.
So, it was possible to see our mistakes and correct them...
Hope it's clearer!
Richard
2010/8/21 mdipierro <[email protected]>
> sorry Richard,
>
> I do not fully understand the problem. Please list a number of steps
> to reproduce. Describe what you see and what you expect.
>
> Massimo
>
> On Aug 20, 10:19 am, Richard Vézina <[email protected]>
> wrote:
> > Ok, I made a few more check and I am pretty sure it coming from web2py
> > version... Do we lost this cause of list:integer, list:reference, etc.??
> >
> > Richard
> >
> > 2010/8/20 Richard Vézina <[email protected]>
> >
> > > Wrong report... I made some other test and I don't get anymore the
> > > highlighted multiselection with crud.update...
> >
> > > I change of version recently (1.81.4 -> 1.83.2). I look in my older app
> > > version and I have the highlighted multiselection with crud.update...
> >
> > > Not sure if it comes from my app or the web2py update... I look
> further.
> >
> > > Richard
> >
> > > 2010/8/20 Richard Vézina <[email protected]>
> >
> > >> Hello Massimo,
> >
> > >> I face a new problem. I have a postgresql text field that serves to
> store
> > >> a
> > >> multiple referenced id. I don't use jquery plugin or anything else in
> my
> > >> form to make the selection of the element (only CTRL+mouse clic over
> the
> > >> representation of the id in the nav). No problem when the field is
> populated
> > >> by web2py form... I am getting |1|2| in my text field and when I
> crud.update
> > >> over the record I get my selected ID representation highligthed. *But
> > >> when I update manually the field at the postgresql database level I
> loose
> > >> the highligthed ID representation on crud.update.*
> >
> > >> For example
> >
> > >> UPDATE mytab
> > >> SET othertab_id='|529|'
> >
> > >> I hope I am clear.
> >
> > >> Thanks
> >
> > >> Richard
>