Talk:Fb:editor-button

From Facebook Developer Wiki

Jump to: navigation, search

The TD/TR tags aren't being closed...is that just me?

[edit] Are value and name the right way around?

I decided that I wanted to make an add post button next to the title of every section in my app. This would allow the user to click on an 'Add post' button and be taken to the same page using an ID parsed to identify which section to add to. However, due to the way that value and name work, this is going to be a lot harder than necessary. It works out that what is sent on by editor is: POST['name'] = value and this is fine until you want to put some usable data on that button. If I want to be able to access this data easily I need to put in value, but that's displayed on the button and I want to hide it from the user. In order to work around this I have to search the assoc keys for the known sections until a match is found. This is inefficient.

reference