LexLogger now logs the user's properties in denug mode. Also changed some text in the jsps.
This commit is contained in:
parent
40200a18df
commit
3cf362ff2a
4 changed files with 9 additions and 18 deletions
|
@ -70,8 +70,8 @@ public class LexLogger
|
|||
LOGGER.debug( "Query Entry: " + query.getEntry() );
|
||||
LOGGER.debug( "Query QueryComponent: " + query.getQueryComponent() );
|
||||
LOGGER.debug( "Query UpdateComponent: " + query.getUpdateComponent() );
|
||||
|
||||
LOGGER.debug( "Query Results, " + query.getResults() + "\n" );
|
||||
debugComponent( UserSessionManager.getInstance().getSessionUser( ses ) );
|
||||
}
|
||||
|
||||
|
||||
|
@ -113,16 +113,17 @@ public class LexLogger
|
|||
*
|
||||
* @param component Description of the Parameter
|
||||
*/
|
||||
public static void debugComponent( ILexComponent component )
|
||||
public static void debugComponent( Object component )
|
||||
{
|
||||
try
|
||||
{
|
||||
LOGGER.debug( "Describing: " + component );
|
||||
String label = component instanceof ILexComponent ? ( (ILexComponent) component ).getLabel() : component.toString();
|
||||
Iterator it = BeanUtils.describe( component ).entrySet().iterator();
|
||||
while ( it.hasNext() )
|
||||
{
|
||||
Map.Entry entry = (Map.Entry) it.next();
|
||||
LOGGER.debug( component.getLabel() + " property: " + entry.getKey() + " = '" + entry.getValue() + "'" );
|
||||
LOGGER.debug( label + " property: " + entry.getKey() + " = '" + entry.getValue() + "'" );
|
||||
}
|
||||
}
|
||||
catch ( Exception e )
|
||||
|
|
|
@ -1,23 +1,13 @@
|
|||
<%@ page buffer="12kb" autoFlush="true" import="org.thdl.lex.*" errorPage="/jsp/error.jsp" %>
|
||||
<jsp:include page="jsp/header.jsf" />
|
||||
|
||||
<div id="label">THDL Tibetan Dictionary Home Page</div><!--END label-->
|
||||
<div id="label">THDL Tibetan Collaborative Dictionaries Home Page</div><!--END label-->
|
||||
<div id="message">Last Updated: January 23, 2003</div><!--END message-->
|
||||
<div id="columnSingle">
|
||||
<p>
|
||||
<a href="/lex/action?cmd=menu">Search Dictionary</a>
|
||||
</p>
|
||||
<p>
|
||||
<em>Spotlight</em><br />
|
||||
At present there is only one word — thod rgal.
|
||||
Over the coming weeks David Germano will be entering further Buddhist terminology,
|
||||
and opening up the Encyclopedia portion with extended descriptions.
|
||||
Other projects on the horizon:
|
||||
Frances Garrett's Medical Terminology glossary and Materia Medica database,
|
||||
Matthew Kapstein's Classical Literary terminology glossary,
|
||||
Nicolas Tournade's Colloquial Lhasan terminology glossary.
|
||||
Last updated: January 22, 2003.
|
||||
</p>
|
||||
|
||||
</div><!--END columnSingle-->
|
||||
|
||||
<jsp:include page="jsp/footer.jsf" />
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<c:if test="${ ! sessionScope.user.guest }">
|
||||
<c:set var="editMode" value="${ true }" />
|
||||
</c:if>
|
||||
<div id="label"><p>THDL Dictionary Server: Main Menu</p></div><!--END label-->
|
||||
<div id="label"><p>THDL Tibetan Collaborative Dictionaries: Main Menu</p></div><!--END label-->
|
||||
|
||||
<div id="message">
|
||||
<p>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"%>
|
||||
<jsp:include page="jsp/header.jsf" flush="false" />
|
||||
<div id="label">
|
||||
Please login to use Lex the Dictionary Server
|
||||
Please login to use the THDL Tibetan Collaborative Dictionaries
|
||||
</div><!--END label-->
|
||||
<div id="message">Message</div><!--END Message-->
|
||||
<div id="columnSingle">
|
||||
|
@ -25,7 +25,7 @@ Password: <input type='password' name='password' size='20' value=''>
|
|||
</form>
|
||||
<form action='/lex/public' method="post">
|
||||
<p>
|
||||
If you are not a dictionary contributor please proceed here.
|
||||
If you would just like to browse the dictionary without contributing please proceed here.
|
||||
<input type="submit" value="Proceed" />
|
||||
</p>
|
||||
</form>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue