[Erp5-dev] [BUG?] Problem with list and button in Base_print
Łukasz Nowak
lukasz.nowak at ventis.com.pl
Thu Oct 19 17:01:16 CEST 2006
Hello,
Pelletier Vincent napisał(a):
> Thanks.
> I'll have to think a bit more before integrating your patch, so don't worry if
> it's not applied right away :) .
Ok, sure.
>> - was my way of thinking right or wrong?
> You're right.
Huh, what a relif.
>> - shall all print actions registered in portal_types be forms?
>
> I'm discussing about this design problem, and it's the conclusion we're at.
> The idea is to provide the default action if no print action is defined on the
> portal type, if there is just one print action then it must be a script (for
> compatibility, anyway that script can just redirect to a form if needed), and
> the other print actions - if present - must be forms.
Well, I was thinking about it too. If default object_print action will
be script with very high priority, then after adding own object_print
actions with lower priority (and reordering forms) multiselection will work.
I wonder, if it's possibile for such script to iterate over registered
object_print actions and choose that one, which is form, not script
(well, w/o detecting scripts which redirects to forms).
Bye,
Luke
--
Łukasz Nowak R&D Ventis http://www.ventis.com.pl/
tel: +48 32 392 10 60 int 37 fax: +48 32 392 10 61
https://ssl.ventis.com.pl/keys/lukasz.nowak.pub.asc
``Use the Source, Luke...''
More information about the Erp5-dev
mailing list