On Dec 20, 2006, at 2:46 AM, TG-Martin Peschke wrote:


Hi Alberto,

the update worked fine (now to TW rev:2235 and the TG App doesnt break
in the sense that it executes without complaining, but the following
source gives you an idea of what I ve been wondering in the first
place:

{{{
<body>
   &lt;form id="form" action="save" method="POST"
class="adduserform"&gt;
   &lt;input type="hidden" name="id" class="hiddenfield" id="form_id"
value="I'm hidden!"&gt;

   &lt;ul class="field_list"&gt;
       &lt;li class="even"&gt;
           &lt;label id="form_name.label" for="form_name"
class="fieldlabel required"&gt;Name&lt;/label&gt;
           &lt;input type="text" name="name" class="textfield
required" id="form_name" value="Your name here"&gt;
       &lt;/li&gt;&lt;li class="odd"&gt;

           &lt;label id="form_age.label" for="form_age"
class="fieldlabel"&gt;Age&lt;/label&gt;
           &lt;select name="age" class="singleselectfield"
id="form_age"&gt;
       &lt;option value="0"&gt;0&lt;/option&gt;&lt;option
value="1"&gt;1&lt;/option&gt;&lt;option
value="2"&gt;2&lt;/option&gt;&lt;option
value="3"&gt;3&lt;/option&gt;&lt;option
value="4"&gt;4&lt;/option&gt;&lt;option value="5"&gt;5&lt;/
&lt;/select&gt;
}}}

Its escaped again and much more so this time, it is escaped so heavily
that you have the "&lt;" even in the view.

This is because the display rules are broken. There are two tests failing from test_genericfunctions.py.


The tests results in 22 errors and 3 failures, refer to

http://trac.exilante.de:9000/trac/attachment/wiki/ GenshiQuickStartLog/error.log

for the output.
I really wonder how this can happen, am I missing some installation
step?

This is something that has bugged others too but I'm not sure yet why it happens... :( It seems to be related with outdated packages more precisely RuleDispatch and TurboKid.

TurboKid needs to be at least 0.9.9. You can upgrade it by:

easy_install -U TurboKid>=0.9.9

TW also needs latest RuleDispatch. There are pre-compiled eggs for windows at http://toscawidgets.org/download. You can upgrade it by:

easy_install -f http://toscawidgets.org/download -U RuleDispatch>=0.5a0.dev_r2247

Tell me how it goes... :)

Thanks,
Alberto


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to