Форум Flasher.ru

Форум Flasher.ru (http://www.flasher.ru/forum/index.php)
-   ActionScript 1.0/2.0 (http://www.flasher.ru/forum/forumdisplay.php?f=93)
-   -   Unknown destination 'notes' for service with id 'data-service (http://www.flasher.ru/forum/showthread.php?t=90767)

student-uni 17.01.2007 21:17

Unknown destination 'notes' for service with id 'data-service
 
я пробую пример из Хелпа Use the Data Management Service

Установил и запустил Flex Data Services 2 - работает

Пытаюсь откомпилировать пример - выдаёт вышеприведенную ошибку

Unknown destination 'notes' for service with id 'data-service

Помогите пожалуйста.



В подготовке к выполнению примера сказано
Код:

In a text editor, open the data-management-config.xml file located in the WEB_INF/flex directory of the samples web application.
Directly above the text <destination id="contact">, make sure the following destination definition exists.
Create the destination definition if it isn't there, and save the file.

<destination id="notes">
    <adapter ref="actionscript"/>
    <properties>
        <metadata>
            <identity property="noteId"/>
        </metadata>
    </properties>
</destination>

т.е надо обновить файл
data-management-config.xml

но у меня их три
- один в Program Files\Adobe\fds2\resources\config
- второй в Program Files\Adobe\fds2\jrun4\servers\default\flex\WEB-INF\flex
- третий в Program Files\Adobe\fds2\jrun4\servers\default\samples\WEB-INF\flex

и ни в одном нету тега <destination id="contact">, может дело в этом ? Подскажите кто сталкивался с такой проблемой

Заранее спасибо

etc 17.01.2007 21:18

Так его же добавить туда надо. Логично? :) И причем тут contact, если речь про notes?

student-uni 20.01.2007 17:43

notes надо добавить после contact

ищу contact - не нахожу

добавляю notes

не работает. Выдаёт вышеприведенную ошибку.

Я уже во все три файла по очереди пробовал добавлять
Не идёт


Часовой пояс GMT +4, время: 15:53.

Copyright © 1999-2008 Flasher.ru. All rights reserved.
Работает на vBulletin®. Copyright ©2000 - 2026, Jelsoft Enterprises Ltd. Перевод: zCarot
Администрация сайта не несёт ответственности за любую предоставленную посетителями информацию. Подробнее см. Правила.