Vito Falco ha scritto:
Sto così sotto pressione che sotto il tappeto ci metterei pure un
ippopotamo :-)
Io ho fatto di peggio, ad esempio in PloneSurvey ho fatto:
if next_page.getRequiredAnswerYesNo():
LOG('PloneSurvey', INFO, "sono quiSub!")
try:
if question.getAnswerFor(userid) in
next_page.getRequiredAnswer().split('|'):
LOG('PloneSurvey', INFO, "sono quiSub1!")
if next_page.getRequiredQuestion() <>
'nome-della-domanda':
return next_page()
except:
LOG('PloneSurvey', INFO, question.id +
str(next_page.getRequiredAnswer()))
Cioè ho messo hardcode dentro il codice il nome di una domanda :D
Vito
2009/1/21 Yuri <y...@alfa.it <mailto:y...@alfa.it>>
Vito Falco ha scritto:
Ciao,
non è un problema del mio template/view, nel senso che sembra
essere un comportamento già conosciuto.
Oggi pomeriggio cercherò di patchare così
http://dev.plone.org/collective/changeset/67165
Il che significa nascondere la polvere sotto il tappeto da parte
di CacheFu :)
_______________________________________________
Plone-IT mailing list
Plone-IT@lists.plone.org <mailto:Plone-IT@lists.plone.org>
http://lists.plone.org/mailman/listinfo/plone-it
http://www.nabble.com/Plone---Italy-f21728.html
--
"Design is the method of putting form and content together. Design,
just as art, has multiple definitions; there is no single definition.
Design can be art. Design can be aesthetics. Design is so simple,
that's why it is so complicated." by Paul Rand
------------------------------------------------------------------------
_______________________________________________
Plone-IT mailing list
Plone-IT@lists.plone.org
http://lists.plone.org/mailman/listinfo/plone-it
http://www.nabble.com/Plone---Italy-f21728.html
_______________________________________________
Plone-IT mailing list
Plone-IT@lists.plone.org
http://lists.plone.org/mailman/listinfo/plone-it
http://www.nabble.com/Plone---Italy-f21728.html