Roundup Tracker - Issues

Message5624

Author rouilj
Recipients ajaksu2, rouilj, tobias-herp
Date 2016-06-25.22:39:50
Message-id <1466894391.51.0.179510701336.issue1513369@psf.upfronthosting.co.za>
In-reply-to
I like the idea behind the patch. I think having id's should be
required. However with this patch, what happens if the same field is
referenced in multiple forms on the page?

IIUC that breaks things,( id must be unique on the page) so we need a
way to disable the addition of id's or allow the template designer to
pass (or remove) the id field when calling the templating function.
Maybe set a default id and allow passing a different value in if the
field is used a more than once will work.

Also consider an index page where every row has editable fields, E.G.
bulk updates. So you get an id=title from issue1, issue2 etc.
Using an id that depends on the issue number works for this case, but
not if the same field for the same issue is reused on a page.

I thought there was a way via python:....field(id="field") and menu()
etc, that unknown arguments were passed through to the underlying
rendered HTML. Can't find the reference and I don't have the code
available at the moment.

--rouilj
History
Date User Action Args
2016-06-25 22:39:51rouiljsetmessageid: <1466894391.51.0.179510701336.issue1513369@psf.upfronthosting.co.za>
2016-06-25 22:39:51rouiljsetrecipients: + rouilj, tobias-herp, ajaksu2
2016-06-25 22:39:51rouiljlinkissue1513369 messages
2016-06-25 22:39:50rouiljcreate