Anthony is right is showing a complete solution, but what do you want to
achieve?, perhaps you are looking to customize the style and a less
complicate solution can be for example

To customize this:

<div id="tag_tags" class="list" name="tags">

some in css:

div.list {}
div.list input {}

or

#tag_tags {}

And this:

<table id="tag_tags" class="list" name="tags">

table.list {}
table.list input {}

or

#tag_tags {}


2011/8/17 Anthony <abasta...@gmail.com>

> I think you might need a custom widget (see
> http://web2py.com/book/default/chapter/07#Widgets). For reference, here's
> the current radio widget:
> http://code.google.com/p/web2py/source/browse/gluon/sqlhtml.py#287.
>
> Anthony
>
> On Wednesday, August 17, 2011 3:57:48 AM UTC-4, Noel Villamor wrote:
>
>> I tried inserting crud.settings.formstyle = 'divs'  but it only
>> changed to divs the layout(?) but not the widget.
>>
>> DEFAULT FORM STYLE
>> <tr id="tag_tags__row">
>> <td class="w2p_fl">
>> <td class="w2p_fw">
>> <table id="tag_tags" class="list" name="tags">
>> ...
>>
>> FORM STYLE SET TO "divs"
>> <div id="tag_tags__row">
>> <div class="w2p_fl">
>> <div class="w2p_fw">
>> <table id="tag_tags" class="list" name="tags">
>> ...
>>
>> As mentioned in my original post, I wanted
>>
>> <table id="tag_tags" class="list" name="tags">
>>
>> to be
>>
>> <div id="tag_tags" class="list" name="tags">.
>>
>> Any other suggestion? Thanks again.
>
>


-- 
 http://martin.tecnodoc.com.ar

Reply via email to