permission is gone after defining widget function

A place for users and developers of the Xataface to discuss and receive support.

permission is gone after defining widget function

Postby kevinwen » Thu May 13, 2010 5:44 pm

I had a fieldname_permissions() to return array('edit'=>0), and the html looks like this:

Health Care<input type="hidden" name="category_id" value="2" id="category_id" />

However, when I created the widget function block__fieldname_widget(), the permission is gone. and the html looks exaclty same as echoed from the widget function, instead of pulling out the value from the record:

<select name="subcategory_id" id="subcategory_id">
<option value="">Please Select ...</option>
</select>

Does somebody knows how to use the permission in the widget function? Thanks.
kevinwen
 
Posts: 109
Joined: Mon Dec 28, 2009 3:44 pm

Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 20 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved