The problem is that we still being stopped in dynamic by the AuthenticatioNServlet
example from OpenLaszlo, which is really great as it does its job, simply using a
xml file to store usernames and passwords. That's all but enough for this example.
Here are repository where lzusers.xml file is stored by default:
C:\Program Files\OpenLaszlo Server 3.2\Server\lps-3.2\WEB-INF\lps\config\lzusers.xml
and this is where the AuthenticationServlet java & bin files are stored by default:
C:\Program Files\OpenLaszlo Server 3.2\Server\lps-3.2\WEB-INF\classes
This one should use MySQL to not being need to restart the server (to refresh datas ? hehe).
Anyway, here are three files for demonstration.
I just added to lzusers.xml file three users: (for my own understanding purpose, can
be changed of course in each .lzx file).
username : password
poste02 : poste02
server : serverpassword
As i said in the first post, those apps can't run in solo mode. To test, you must
open a new browser processus for each .lzx file requested (via http) - this because
of coockies use by each apps to be unique (to test on one workstation only).
When launched, all apps have the same interface.
Once launched, it will get logged and connected, writting debug output.
You can send a predefined message by pushing the send a message's first button.
After you have a combobox of possible "openlaszlo users", this is for use with send
to computer button.
//Here i make a confusion, to me computer and user is the same for know. This is another
subject..
Following is possible datasets used by apps. All can be used but only messages have
procedures to show events.
Then you have edittext permit the input of stupid or useful message
At the end, three buttons are here to respectivly send the edittext content to all
connected users, or only to the server, or just to the selected user above (at first combobox).
That's all.
Hope this will help for little time...
_______________________________________________ Laszlo-user mailing list [email protected] http://www.openlaszlo.org/mailman/listinfo/laszlo-user
