meeting WK WN start-work-070517
authorwneuper
Thu, 08 Nov 2007 12:02:59 +0100
branchstart-work-070517
changeset 2412744f0ef986d
parent 240 84e24b0a4a93
child 242 3cbe5bd1aa9b
meeting WK WN
doc/WK/content.tex
     1.1 --- a/doc/WK/content.tex	Thu Nov 08 10:28:08 2007 +0100
     1.2 +++ b/doc/WK/content.tex	Thu Nov 08 12:02:59 2007 +0100
     1.3 @@ -294,7 +294,7 @@
     1.4  
     1.5  But there is also a disadvantage when using \textit{JSF}, because when the applications gets more complex, the \textit{faces-config.xml} file increases very fast and it becomes difficult for the developer to find the things he wants. But for this problem exists a solution, with a so called {\it faces config editor} all the entries are sorted in a way to make the entries easy findable for the user. For example, all navigation rules can be found in one sub menu.
     1.6  
     1.7 -\subsection{Tabs and {\it dojo}'s instead of windows}
     1.8 +\subsection{Tabs and {\it dojo}'s instead of windows}\label{dojo}
     1.9  
    1.10  What we want to have in \sisac{}, is one Browser Tab
    1.11  %warum _B_rowser aber _t_ab (gross / klein-Schreibung) ?
    1.12 @@ -395,9 +395,79 @@
    1.13  
    1.14  \begin{appendix}
    1.15  
    1.16 -\chapter{Appendix: Tests on software components}
    1.17 +\chapter{Structure of test directories}
    1.18  
    1.19 -The directory $\;${\tt /isacweb/srctest/coreservlets}$\;$ contains the following test cases:
    1.20 +These directories at {\tt sacweb/isac/test} are:
    1.21 +\begin{verbatim}
    1.22 +   scr
    1.23 +   srctest
    1.24 +      coreservlets
    1.25 +   isac/test
    1.26 +      css
    1.27 +      doc
    1.28 +      images
    1.29 +      js
    1.30 +\end{verbatim}
    1.31 +
    1.32 +\noindent
    1.33 +The directories serve the following purposes:
    1.34 +\begin{enumerate}
    1.35 +\item {\tt src}: java files containing code for connecting the front-end with \sisac s server
    1.36 +\item srctest: mirrors the files in {\tt src} except the following directory:
    1.37 +\item coreservlets: java beans for tests on the software components performed in this thesis.
    1.38 +\item css
    1.39 +\item doc
    1.40 +\item images
    1.41 +\item js
    1.42 +\end{enumerate}
    1.43 +The files in {\tt sacweb/isac/test} contain java scripts for the tests performed; most of the files are auxiliary files for the test cases. The test cases are described in App.\ref{test-cases}.
    1.44 +
    1.45 +\chapter{Tests on software components}\label{test-cases}
    1.46 +
    1.47 +The directory $\;${\tt /isacweb/isac/test}$\;$ contains the following files:
    1.48 +\begin{verbatim}
    1.49 +      a      288  accepted.jsp
    1.50 +      b     1410  ajax-test.jsp
    1.51 +      c      584  bad-address.jsp
    1.52 +      d      653  bad-password.jsp
    1.53 +      e      730  demo-isacweb.html
    1.54 +      f     1897  divtest.jsp
    1.55 +      g     4455  dojo-test.jsp
    1.56 +      h      210  error.jsp
    1.57 +      i      662  example1.jsp
    1.58 +      j      520  example2.jsp
    1.59 +      k      424  example3.jsp
    1.60 +      l      513  example4.jsp
    1.61 +      m      367  frame-result.jsp
    1.62 +      n      770  frames.jsp
    1.63 +      o       46  index.jsp
    1.64 +      p     1380  navigation.jsp
    1.65 +      q      560  presenter.jsp
    1.66 +      r      281  rejected.jsp
    1.67 +      s      458  result.jsp
    1.68 +      t      239  subbrowser1.jsp
    1.69 +      u      546  success.jsp
    1.70 +      v     2429  tree.jsp
    1.71 +      w     2020  tree2.jsp
    1.72 +      x      553  welcome.jsp
    1.73 +\end{verbatim}
    1.74 +
    1.75 + The tests on the software components are (as decribed in {\tt isac/test/doc/!README}) as follows.
    1.76 +
    1.77 +For introduction to JavaServerFaces have a look at the examples1 ..4, the items {\tt i..l} in the above list.
    1.78 +
    1.79 +It's also recommendable to get an overview on the technology of JavaServerFaces 
    1.80 +by some tutorial.
    1.81 +
    1.82 +After introduction go to the more complex examples.
    1.83 +\subparagraph{divtest (item {\tt f}):} Here is shown the handling with divs and a myfaces tree2 component
    1.84 +\subparagraph{ajax-test} shows an ajax example and how to work with asynchron requests
    1.85 +\subparagraph{dojo-test} is the file which will be needed for the isacweb. The windows are seperated as required and also context set and remove is shown. To make it not too complex for introduction I didn't fill in the tree2 component in the dojo-test file. The application of this toolkit is discussed in Sect.\ref{dojo}.
    1.86 +
    1.87 +
    1.88 +
    1.89 +
    1.90 +\paragraph{JavaBeans:} The directory $\;${\tt /isacweb/srctest/coreservlets}$\;$ contains the java beans related to the test cases as discussed above:
    1.91  
    1.92  
    1.93  \begin{verbatim}
    1.94 @@ -412,19 +482,20 @@
    1.95   9      671  TreeBean.java
    1.96  \end{verbatim}
    1.97  
    1.98 -\noindent
    1.99 -These tests are briefly described and related to the discussion in Chap.\ref{isac-gui} as follows:
   1.100 +%\begin{enumerate}
   1.101 +%\item  \label{AjaxServlet} AjaxServlet: In the related ajax-test.jsp () file you can enter your name, which is send to the AjaxServlet and print out asynchron.
   1.102 +%\item  \label{ExampleBean} ExampleBean: Shows a very simple example how Beans work. In example1.jsp the start function of the ExampleBean is called.
   1.103 +%\item  \label{FacesRedirectFilter} FacesRedirectFilter: Redirects all requests sent to xxx.jsp to xxx.faces.
   1.104 +%\item  \label{HealthPlanController} HealthPlanController: example3.jsp calles the function signup from the HealthPlanController. Randomly the user gets accepted or rejected.
   1.105 +%\item  \label{RegistrationBean} RegistrationBean: Is called in the file example2.jsp. There you have to type in your email and password. If booth are correct you get an Ok, otherwise a warning.
   1.106 +%\item  \label{SuggestionBean} SuggestionBean: If the user gets a warning from the example before, then he gets presented an example of a correct input which is generated in the Suggestion Utils file.
   1.107 +%\item  \label{SuggestionUtils} SuggestionUtils
   1.108 +%\item  \label{TreeBacker} TreeBacker: Here you can find some faked data for an example tree2. The layout for the tree can be found in tree2.jsp. Dojo is used for separating the window. How this works can be found in dojo-test.jsp
   1.109 +%\item  \label{TreeBean} TreeBean: Has the methods which are called, when clicking on a leaf.
   1.110 +%\end{enumerate}
   1.111  
   1.112 -\begin{enumerate}
   1.113 -\item  \label{AjaxServlet} AjaxServlet: In the ajax-test.jsp file you can enter your name, which is send to the AjaxServlet and print out asynchron.
   1.114 -\item  \label{ExampleBean} ExampleBean: Shows a very simple example how Beans work. In example1.jsp the start function of the ExampleBean is called.
   1.115 -\item  \label{FacesRedirectFilter} FacesRedirectFilter: Redirects all requests sent to xxx.jsp to xxx.faces.
   1.116 -\item  \label{HealthPlanController} HealthPlanController: example3.jsp calles the function signup from the HealthPlanController. Randomly the user gets accepted or rejected.
   1.117 -\item  \label{RegistrationBean} RegistrationBean: Is called in the file example2.jsp. There you have to type in your email and password. If booth are correct you get an Ok, otherwise a warning.
   1.118 -\item  \label{SuggestionBean} SuggestionBean: If the user gets a warning from the example before, then he gets presented an example of a correct input which is generated in the Suggestion Utils file.
   1.119 -\item  \label{SuggestionUtils} SuggestionUtils
   1.120 -\item  \label{TreeBacker} TreeBacker: Here you can find some faked data for an example tree2. The layout for the tree can be found in tree2.jsp. Dojo is used for separating the window. How this works can be found in dojo-test.jsp
   1.121 -\item  \label{TreeBean} TreeBean: Has the methods which are called, when clicking on a leaf.
   1.122 -\end{enumerate}
   1.123 +%\end{document}
   1.124 +
   1.125 +
   1.126  
   1.127  \end{appendix}