in the blog tutorial there is a

   (make-instance 'gridedit
                  :name 'posts-grid
                  :data-class 'post
                  :widget-prefix-fn (lambda (&rest args)
                                      (declare (ignore args))
                                      (with-html (:h2 "Posts"))) <-----
                  :view 'post-table-view
                  :item-data-view 'post-data-view
                  :item-form-view 'post-form-view))

If I do a add or delete, then the (:h2 "Post) is gone.
in (WEBLOCKS::RENDER-DIRTY-WIDGETS)
the  variable WEBLOCKS::WIDGET-ALIST =

(("users-grid"  "<div class='data-mining-bar'><span class='total-items'>(Total 
of 7 Users)<..)
  ("1" ..
   ("45" ...

Shouldn't be a id "0" above user-grid?


<div id="0" class="widget composite">

                  <-- Here should be <h2>User</h2>


<div id="users-grid" class="widget dataseq datagrid dataedit-mixin gridedit">
<div class="data-mining-bar">
</div>
<div id="1" class="widget flash" style="overflow: visible; display: none;">
</div>
<form class="dataseq-form" 
onsubmit="initiateFormAction("2002%3AFB74ED41517DCB25B854E6F2DE43FBCC", 
$(this), ""); return 
false;" method="get" action="/blog">
</form>
<div id="45" class="widget data-editor dataform">
</div>
</div>

Helmut

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"weblocks" 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/weblocks?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to