× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



David,

i have implemented the method in the following way.

public boolean refreshRemoteObject(Object oldElement, Object newElement) {
   ProjectResource oldProject = (ProjectResource)oldElement;
   ProjectResource newProject = (ProjectResource)newElement;
   newProject.setProject(oldProject.getProject());
   return false;
}

If i understood the explanation of the method refreshRemoteObject in
the documentation right, then this method affects not to other views.
Only to the view the action occured. I have temporarily setted the
return value to true. But the result was still the same.

Thanks

Frank

-----Ursprungliche Nachricht-----
Von: wdsci-l-bounces@xxxxxxxxxxxx
[mailto:wdsci-l-bounces@xxxxxxxxxxxx]Im Auftrag von David Gibbs
Gesendet: Freitag, 12. Januar 2007 21:56
An: Websphere Development Studio Client for iSeries
Betreff: Re: [WDSCI-L] Problems with the view "Details for remote
systems"


frank.hildebrandt@xxxxxxxxxxxxxxx wrote:
The problem is. After deleting a resource only the RSE tree viewer
will be refreshed immediately. The "Details for remote systems" table
 viewer will not be refreshed after deleting a resource.

Frank:

This is a bit of a shot in the dark ... but have you implemented the
ISystemRemoteElementAdapter.refreshRemoteObject method on your resource
adapter?

Parameters:
oldElement - the element that was found in the tree
newElement - the updated element that was passed in the
REFRESH_REMOTE event

Returns:
true if you want the viewer that called this to refresh the children
of this object, such as is needed on a rename of a folder, say, if
the child object cache the parent folder name or an absolute file
name.

So it appears you can indicate if you want the object in other views to
be refreshed if they are the same.

david
--
This is the Websphere Development Studio Client for iSeries  (WDSCI-L)
mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/wdsci-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.