perfsonar-dev - Re: [pS-dev] WebAdmin layout problem
Subject: perfsonar development work
List archive
- From: Stijn Melis <>
- To: Michalis Michael <>
- Cc: , 'Prodromos Gerakios' <>
- Subject: Re: [pS-dev] WebAdmin layout problem
- Date: Fri, 12 Sep 2008 11:24:18 +0200
Hi,
I managed to fix the order, by changing the order number from 10 to 90.
However, the properties are still displayed, even though "no" is selected (I also must note that in fact "yes" is selected on the screen, while I have "no" in the file just like in the SQL MA, and there it selects "no" by default). I compared my properties to the ones of the SQL MA, and other that me having an extra property (which results in the second radiobutton group starting at order number 8 instead of 7), I can't see no difference. I attached both the part of the SSHTELNET MP, and the part of the SQL MA. I'll try giving the radiobutton group order number 7, and see if that helps, although it would seem strange to me that this matters.
Podromos, I use a screen resolution of 1280x1024. Would it be possible to check if this results in the alignment for the service name, etc. at the top right corner being wrong, please?
Thanks a lot in advance,
Stijn
Michalis Michael wrote:
Hi Stijn,
For orderig I thing it would be best to not use 10, but something like 99, or
something like that. There was a problem with the ordering but it slept my
mind and I forgot to fix it. For the properties appearing although no is
selected, please check again your wizard properties using the SQL MA
properties as an example. For the alignment of the date and time, I think
this is a problem with the screen resolution you are using(the web admin
doesn't look good for all resolutions). Maybe you can contact Prodromos and
tell him what resolution your using and maybe he could try and fix it(It
should be a small change in the css file).
Michalis
----- Original Message -----
From: Stijn Melis
<>
Sent: Mon, 9/8/2008 6:18pm
To:
Subject: [pS-dev] WebAdmin layout problem
Hello all,
I am trying to upgrade the WebAdmin for SSHTELNET MP, but I am having some trouble getting the layout right.
The first and biggest problem (the red circles in the picture) is that the checkboxes in the eXist part of the basic configuration page (this is the only part that's updated with the new WebAdmin jar) aren't working correctly. In the AuthN and LS Registration part, when you click "yes", some other options appear, however, in the eXist part, they are already visible by default (even though "no" is selected). I checked with the SQL MA, and there this problem doesn't exist (no pun intended ;)).
Furthermore, the second question (i.e. "Confirm new eXist administration password:") should be a part of the "Do you wish to change the exist Admin password?" part. Yet it is situated at the top, even though it has order number 10, and depends on 8...
A second problem (the blue circle in the picture) is the fact that at the top right op the page, the name, date and version isn't aligned correctly.
I attached both my wizard.properties file, servlet.properties file as well as my SSHTelnetHandler.java class which does the logic behind the page.
I checked the source code and the properties files for the SQL MA, RRD MA, and AS and I can't really find anything which I am doing different. If anyone could have a look at what I am doing wrong, I'd be most grateful.
Should you wish more information about other files, then you can have a look in the SVN trunk. I updated the SVN with the current files I am using at the moment.
Thanks a lot in advance,
Stijn
<property>
<entry key="component.ma.xmldb.db_uri"
required="true">xmldb:exist://localhost:8180/exist/xmlrpc</entry>
<Comment>Enter the URI location of the eXist database:</Comment>
<ProposedValue>xmldb:exist://localhost:8180/exist/xmlrpc</ProposedValue>
<Group order="1">eXist</Group>
</property>
<property>
<entry key="component.ma.xmldb.db_username"
required="true">sqlmaservice</entry>
<Comment>Enter the service username for the eXist user:</Comment>
<ProposedValue>sqlmaservice</ProposedValue>
<Group order="2">eXist</Group>
</property>
<property>
<entry key="component.ma.xmldb.db_password" required="true"
password="true">perfsonar</entry>
<Comment>Enter the password for the eXist user:</Comment>
<ProposedValue>perfsonar</ProposedValue>
<Group order="3">eXist</Group>
</property>
<property>
<entry key="create_user" required="true">no</entry>
<Comment>Do you wish to create a user with this name?</Comment>
<ProposedValue>yes</ProposedValue>
<Group order="4" check="true">eXist</Group>
<AcceptedValue>yes</AcceptedValue>
<AcceptedValue>no</AcceptedValue>
</property>
<property>
<entry key="old_adminpassword_1" required="true" password="true" />
<Comment>Enter the eXist administration password:</Comment>
<ProposedValue />
<Group order="5" dependsOn="4">eXist</Group>
</property>
<property>
<entry key="service.ma.conf_file"
required="true">/etc/geant2-java-sql-ma/sql-database_TEST.xml</entry>
<Comment>Enter the full path of the metadata configuration file:</Comment>
<ProposedValue>/etc/geant2-java-sql-ma/sql-database_TEST.xml</ProposedValue>
<Group order="6">eXist</Group>
</property>
<property>
<entry key="change_admin_pass" required="true">no</entry>
<Comment>Do you wish to change the exist Admin password?</Comment>
<ProposedValue>yes</ProposedValue>
<Group order="7" check="true">eXist</Group>
<AcceptedValue>yes</AcceptedValue>
<AcceptedValue>no</AcceptedValue>
</property>
<property>
<entry key="component.ma.xmldb.db_adminpassword" required="true"
password="true" />
<Comment>Enter the eXist administration password:</Comment>
<ProposedValue />
<Group order="8" dependsOn="7">eXist</Group>
</property>
<property>
<entry key="component.ma.xmldb.db_adminpassword_confirm" required="true"
password="true" />
<Comment>Confirm new eXist administration password:</Comment>
<ProposedValue />
<Group order="9" dependsOn="7">eXist</Group>
</property>
<property>
<entry key="old_adminpassword" required="true" password="true" />
<Comment>Enter the old eXist administration password:</Comment>
<ProposedValue />
<Group order="99" dependsOn="7">eXist</Group>
</property><property>
<entry key="component.mp.xmldb.db_uri"
required="true">xmldb:exist://localhost:8080/exist/xmlrpc/db </entry>
<Comment>Enter the URI location of the eXist database:</Comment>
<ProposedValue>xmldb:exist://localhost:8080/exist/xmlrpc/db
</ProposedValue>
<Group order="1">eXist</Group>
</property>
<property>
<entry key="component.mp.xmldb.db_username"
required="true">sshtelnet</entry>
<Comment>Enter the service username for the eXist user:</Comment>
<ProposedValue>sshtelnet</ProposedValue>
<Group order="2">eXist</Group>
</property>
<property>
<entry key="component.mp.xmldb.db_password" required="true"
password="true">sshtelnet</entry>
<Comment>Enter the password for the eXist user:</Comment>
<ProposedValue>sshtelnet</ProposedValue>
<Group order="3">eXist</Group>
</property>
<property>
<entry key="create_user" required="true">no</entry>
<Comment>Do you wish to create a user with this name?</Comment>
<ProposedValue>yes</ProposedValue>
<Group order="4" check="true">eXist</Group>
<AcceptedValue>yes</AcceptedValue>
<AcceptedValue>no</AcceptedValue>
</property>
<property>
<entry key="old_adminpassword_1" required="true" password="true" />
<Comment>Enter the eXist administration password:</Comment>
<ProposedValue />
<Group order="5" dependsOn="4">eXist</Group>
</property>
<property>
<entry key="component.mp.xmldb.metadata_file_name"
required="true">sshtelnetmetadata.xml</entry>
<Comment>Enter the name of the metadata configuration file:</Comment>
<ProposedValue>sshtelnetmetadata.xml</ProposedValue>
<Group order="6">eXist</Group>
</property>
<property>
<entry key="component.mp.xmldb.metadata_file_path"
required="true">/opt/perfsonar/services/geant2-java-sshtelnet-mp/WEB-INF/classes/perfsonar/conf/sshtelnetmetadata.xml</entry>
<Comment>Enter the full path of the metadata configuration file:</Comment>
<ProposedValue>/opt/perfsonar/services/geant2-java-sshtelnet-mp/WEB-INF/classes/perfsonar/conf/sshtelnetmetadata.xml</ProposedValue>
<Group order="7">eXist</Group>
</property>
<property>
<entry key="change_admin_pass" required="true">no</entry>
<Comment>Do you wish to change the exist Admin password?</Comment>
<ProposedValue>yes</ProposedValue>
<Group order="8" check="true">eXist</Group>
<AcceptedValue>yes</AcceptedValue>
<AcceptedValue>no</AcceptedValue>
</property>
<property>
<entry key="component.mp.xmldb.db_adminpassword" required="true"
password="true" />
<Comment>Enter the eXist administration password:</Comment>
<ProposedValue />
<Group order="9" dependsOn="8">eXist</Group>
</property>
<property>
<entry key="component.ma.xmldb.db_adminpassword_confirm" required="true"
password="true" />
<Comment>Confirm new eXist administration password:</Comment>
<ProposedValue />
<Group order="90" dependsOn="8">eXist</Group>
</property>
<property>
<entry key="old_adminpassword" required="true" password="true" />
<Comment>Enter the old eXist administration password:</Comment>
<ProposedValue />
<Group order="99" dependsOn="8">eXist</Group>
</property>
- RE: [pS-dev] WebAdmin layout problem, Michalis Michael, 09/09/2008
- Re: [pS-dev] WebAdmin layout problem, Stijn Melis, 09/12/2008
- Re: [pS-dev] WebAdmin layout problem, Stijn Melis, 09/12/2008
- Re: [pS-dev] WebAdmin layout problem, Stijn Melis, 09/12/2008
Archive powered by MHonArc 2.6.16.