Re: CVS broken?

Michael Flanagan <[email protected]>
Newsgroups gmane.comp.windows.devel.netwindows
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Christian Boulanger wrote:
| Alex and everybody,
|
| Several issues
|
| 1.) Split pane
|
| Thanks for the bugfix, now it works in Mozilla, but it still does not work
| in Internet Explorer:

<snip>

You're not alone in this. We're using the split pane as a vertical
divider and it's pooched in IE for us as well. For now we're just
ignoring the issue as we do all development in Moz anyway. You can't
beat Venkman for js debugging. This widget will get a feature
enhancement in the near future.

| 2) Tree
|
| If we look at the Mozilla working version, you can see that it does
not look
| nice. For our project, it would be important to have a stable and
| nice-looking tree widget. There are plenty java-script implementations
| around, but we would prefer to use the "native" NW widget. So maybe you
| could give some thought to an update. Important would be to be able to use
| different images at different points of the tree (files, folders, urls etc
| etc.), and an overall better looking theming.

<snip>

I can't comment a whole lot on the functionality of this widget as I
haven't looked at it, but my recommendation wrt theming is to turn it
off and use CSS to get the look you want. We do style assignment with
CSS. We've even added classes to nw widgets that didn't have them so we
could do this. (I'm sure Alex will have a few words on this, but that's
just MHO :)

| 4) remove popup does not work
|
| I have tried to implement a popup please-wait-while-loading mechanism, but
| it does not work.
<snip>
| Any thoughts?

Personally, I think this is the wrong approach. I know that I have a nw
startup/initialization lag that occurs when you initially hit the pages
in my app. This is to say I've been thinking of some way to notify the
user that something is happening.

The approach that I'm going to take is to modify the body of my pages
being sent to the browser so that they look something like the following:

<script language="JavaScript" type="text/javascript">
~  function pageInitialized() {
~    var ld = document.getElementById("divLoading");
~    var cd = document.getElementById("divContent");

~    ld.style.display="none";
~    cd.style.display="inline";
~  }

~  __sig__.connectOnceByName(__env__, "onLoad", null, "pageInitialized");
</script>

<body>
<div id="divLoading">
~    <h1>Loading Page...</h1>
</div>

<div id="divContent" style="display:none">
~    //Actual application HTML goes here.
</div>

This approach is nice because the user won't see the screen 'snap' into
the nw parsed display. It will only display the real body of the
application screen to the user once all the widgets have been parsed and
everything is ready to go.

The code I've included above is sort of the proof of concept that I'm
working on internally. Once I get it working (I have yet to actually
implement it as other stuff is more important atm) I plan on turning it
into a nw widget so that you don't actually have to do the
__sig__.connectOnceByName to the onLoad method on __env__. You'll do
something like:

<div nwType="page_loader" contentBodyId="divContent">
~    <h1>Loading Page...</h1>
</div>

<div id="divContent" style="display:none">
~    //Actual application HTML goes here.
</div>

It would automatically do the style switch for you so you don't need to
write a method for each page. It would take the id attribute you'd
assign in contentBodyId and use swap the page_loader div for that one.

Anyway... just my thoughts.

| So much for now. What do you think about the i18n issue?

Will reply to original email on this issue.

- --Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/VOIsFEAqzmmooIMRAsyrAJ0VI2ROgfnmxzmxCD4aazfXPXmvUwCeOgGc
TLwyTtqxzwXK4uKpt1maDx0=
=8FCD
-----END PGP SIGNATURE-----


_______________________________________________
The netWindows developers list: [email protected]
http://netwindows.org/mailman/listinfo/devel_netwindows.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.