'Parses the ``action_string`` parameter sent back with the POST data.
By default this parses a string formatted as
``{{ table_name }}__{{ action_name }}__{{ row_id }}`` and returns
each of the pieces. The ``row_id`` is optional.'

@staticmethod
def parse_action(action_string):

    if action_string:
        bits = action_string.split(STRING_SEPARATOR)
        table = bits[0]
        action = bits[1]
        try:
            object_id = STRING_SEPARATOR.join(bits[2:])
            if (object_id == ''):
                object_id = None
        except IndexError:
            object_id = None
        return (table, action, object_id)
