[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[sapphire-dev] Error with ProjectRelativePath
|
I'm trying to use
@ProjectRelativePath in order to bring up a file browse dlg for a property. Here
is my "Page" property:
// *** Page
***
@Type( base = Path.class )
@XmlBinding( path =
"page")
@Label(standard =
"page")
@ProjectRelativePath
@ValidFileSystemResourceType(
FileSystemResourceType.FILE )
@Services
(
{
@Service( impl = ViewPageValidator.class ),
@Service(
impl = PageRelativePathService.class
)
}
)
@ValidFileExtensions( "jsff" )
ValueProperty
PROP_PAGE = new ValueProperty( TYPE, "Page" );
Value<Path>
getPage();
void setPage(String value);
void setPage(Path
value);
After I started the
debugger, I'm seeing the following error in my console:
ERROR : Could not
find serializer for org.eclipse.core.runtime.Path. Type is used in
oracle.eclipse.tools.adf.controller.model.IADFView.Page.
And I don't see
"browse" button next to the Page property.
Is there anything
wrong with the way I used the ProjectRelativePath?