With a SPAN(' ') it get away.

Richard

On Fri, Oct 19, 2012 at 2:30 PM, Richard Vézina <ml.richard.vez...@gmail.com
> wrote:

> Why is this not working :
>
> CAT(T(dblabels[concat]), *' ',* A(I(_class='icon-info-sign'), _href="##",
> _id="example1", _rel="popover", **{'_data-content': T(dbtooltips[concat]),
> '_data-original-title': 'Titre du commentaire d\'aide'}) if
> dbtooltips[concat]!=""''"" and dbtooltips[concat]!=None else None)
>
>
> I get : <type 'exceptions.TypeError'> cannot concatenate 'str' and
> 'NoneType' objects
>
> When it execute in normal web2py flow it failed with the above error, but
> it works in shell.
>
> Richard
>
>
> On Fri, Oct 19, 2012 at 1:47 PM, Richard Vézina <
> ml.richard.vez...@gmail.com> wrote:
>
>> Nice!
>>
>> It works!
>>
>> Thanks Bruno.
>>
>> Richard
>>
>>
>> On Thu, Oct 18, 2012 at 5:54 PM, Bruno Rocha <rochacbr...@gmail.com>wrote:
>>
>>> Try this:
>>>
>>> db.table.field.label =  *CAT(*T(dblabels[concat]),
>>> A(I(_class='icon-info-sign'), _href="##", _id="example1", _rel="popover",
>>> **{'_data-content': 'Help comment here!', '_data-original-title': 'Help
>>> comment title...'})*)*
>>>
>>>
>>>  --
>>>
>>>
>>>
>>>
>>
>>
>

-- 



Reply via email to