On 20/01/11 13:59, Frank Wilson wrote:
> I am trying to display a message after smartfrog has deployed an
> installation
> routine on a couple of machines. I tried using the display component
> like so:
>
> #include "/org/smartfrog/services/display/components.sf"
>
> sfConfig extends Sequence {
> installPair extends Parallel {
>
> installTestHostA extends MyProductInstall {
> ...
> }
>
> installTestHostB extends MyProductInstall {
> ...
> }
>
> }
>
> confirmInstall extends Display {
> textDisplay "Install Complete";
> //terminateSFProcessOnExit true;
> positionDisplay "SE";
> fontSize 50;
> }
>
> }
>
> Unfortunately the display process seems to continue indefinitely even
> once the
> window is closed. The task cannot be redeployed unless it is undeployed or
> has the "replace" setting set. I've played with the
> terminateSFProcessOnExit setting
> but this doesn't seem to have any effect on what I am doing.
>
the display stuff is really for bringing up some management consoles,
it's not been done for end user notification. In particular, when you
start running SmartFrog headless -like on a Unix system without X, or
even Windows without any logged on user, it really doesn't work.
I don't think we have anything right now that does what you want, which
is really some little pop-up window that terminates its hosting
component when a user hits OK.
I don't think it would be that hard; testing is trickier, but the base
code is part of the java swing API.
-Steve
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Smartfrog-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/smartfrog-users