mkjsf-moved-to-github.git
11 years agoMoves request logic from pz2bean to individual commands
Niels Erik G. Nielsen [Fri, 24 May 2013 19:42:49 +0000 (15:42 -0400)]
Moves request logic from pz2bean to individual commands

Simplifies the main bean and makes command execution from UI
more intuitive

11 years agoRefactors commands and injection
Niels Erik G. Nielsen [Fri, 24 May 2013 17:41:51 +0000 (13:41 -0400)]
Refactors commands and injection

Trying to have command execute themselves (rather than pz2bean
executing them) by giving them the request environment. That caused
problems with injection - complex injection graphs and dependencies
that were null at first use, so refactors this as well.

11 years agoAdds checks for unsupported commands
Niels Erik G. Nielsen [Wed, 22 May 2013 17:56:56 +0000 (13:56 -0400)]
Adds checks for unsupported commands

Avoids running unsupported 'categories' repeatedly.
Warns in log about unsupported 'auth' command.

11 years agoAdds distinction between pz2 and sp errors
Niels Erik G. Nielsen [Wed, 22 May 2013 16:43:16 +0000 (12:43 -0400)]
Adds distinction between pz2 and sp errors

.. and checks for SP command fall-through to Pazpar2 (unsupported SP commands)

11 years agoRenames variable
Niels Erik G. Nielsen [Wed, 22 May 2013 16:07:59 +0000 (12:07 -0400)]
Renames variable

11 years agoCreates SP response data object
Niels Erik G. Nielsen [Wed, 22 May 2013 16:07:25 +0000 (12:07 -0400)]
Creates SP response data object

.. for the purpose of detecting unsupported SP commands on execution

11 years agoAdds mergekey parameter to search and show
Niels Erik G. Nielsen [Wed, 22 May 2013 11:16:14 +0000 (07:16 -0400)]
Adds mergekey parameter to search and show

11 years agoAdds support for rank parameter on search command
Niels Erik G. Nielsen [Tue, 21 May 2013 23:17:55 +0000 (19:17 -0400)]
Adds support for rank parameter on search command

11 years agoFurther reducing auth code
Niels Erik G. Nielsen [Tue, 21 May 2013 20:43:22 +0000 (16:43 -0400)]
Further reducing auth code

11 years agoCleans up auth logic
Niels Erik G. Nielsen [Tue, 21 May 2013 16:55:03 +0000 (12:55 -0400)]
Cleans up auth logic

  Removes special classes (ie ServiceProxyUser) and associated
  method calls for auth logic, basically treating the auth commands
  more like any other commands.

11 years agoOrganizes SP specific responses in separate class
Niels Erik G. Nielsen [Tue, 21 May 2013 15:17:40 +0000 (11:17 -0400)]
Organizes SP specific responses in separate class

Also: introduces reset-levels:
      all from search and beyond
      all fron init and beyond
      all from auth and beyond
for clarity when switching service URL's and service IDs

11 years agoMoves Auth response class to SP data package
Niels Erik G. Nielsen [Tue, 21 May 2013 13:21:18 +0000 (09:21 -0400)]
Moves Auth response class to SP data package

11 years agoAdds check for SP only commands.
Niels Erik G. Nielsen [Tue, 21 May 2013 12:49:48 +0000 (08:49 -0400)]
Adds check for SP only commands.

Also:
 Adds support for setting Pazpar2 service ID
 Tweaks log levels

11 years agoAdds support for downloading binary record response
Niels Erik G. Nielsen [Mon, 20 May 2013 18:42:42 +0000 (14:42 -0400)]
Adds support for downloading binary record response

11 years agoDocumentation
Niels Erik G. Nielsen [Wed, 15 May 2013 21:51:48 +0000 (17:51 -0400)]
Documentation

11 years agoBugfixes for browser history management. Documentation.
Niels Erik G. Nielsen [Wed, 15 May 2013 16:45:14 +0000 (12:45 -0400)]
Bugfixes for browser history management. Documentation.

11 years agoTweak to support for state mgmt across xhtml pages
Niels Erik G. Nielsen [Wed, 15 May 2013 01:25:07 +0000 (21:25 -0400)]
Tweak to support for state mgmt across xhtml pages

11 years agoExcludes auth info from state key.
Niels Erik G. Nielsen [Tue, 14 May 2013 18:50:21 +0000 (14:50 -0400)]
Excludes auth info from state key.

11 years agoHacks login method to make mk2jsf demo work for now.
Niels Erik G. Nielsen [Tue, 14 May 2013 18:32:43 +0000 (14:32 -0400)]
Hacks login method to make mk2jsf demo work for now.

11 years agoLogs missing client type decision (SP/PZ2) when searching.
Niels Erik G. Nielsen [Tue, 14 May 2013 18:32:03 +0000 (14:32 -0400)]
Logs missing client type decision (SP/PZ2) when searching.

11 years agoAttempts to fix state handling accross XHTML pages.
Niels Erik G. Nielsen [Tue, 14 May 2013 18:31:06 +0000 (14:31 -0400)]
Attempts to fix state handling accross XHTML pages.

Approach may also handle UI generated locationhashes - to be seen though.

11 years agoRemoves timing from thread object
Niels Erik G. Nielsen [Tue, 14 May 2013 16:36:41 +0000 (12:36 -0400)]
Removes timing from thread object

Not all commands routed through this class anymore.

11 years agoRemoves last piece of business logic from thread object
Niels Erik G. Nielsen [Tue, 14 May 2013 16:31:34 +0000 (12:31 -0400)]
Removes last piece of business logic from thread object

.. making a purely technical class, just for executing pz2 requests
   asynchronously

11 years agoFixes missing search command instruction to pz2 client
Niels Erik G. Nielsen [Tue, 14 May 2013 16:29:35 +0000 (12:29 -0400)]
Fixes missing search command instruction to pz2 client

11 years agoAdds support for target category command - 'categories'
Niels Erik G. Nielsen [Tue, 14 May 2013 01:32:01 +0000 (21:32 -0400)]
Adds support for target category command - 'categories'

.. includes some further work on the disentanglement of the
logic/methods for different types of commands

11 years agoFixes err msg bug. Adds status field to error xml.
Niels Erik G. Nielsen [Mon, 13 May 2013 19:18:23 +0000 (15:18 -0400)]
Fixes err msg bug. Adds status field to error xml.

Fixes bug that failed to write error xml for pazpar2 417.
Adds status field to error xml so the ui can do, say,
search.status=='OK' even in case of a search error response.

11 years agoDisentangles update() logic. Adds option for early feedback.
Niels Erik G. Nielsen [Mon, 13 May 2013 18:36:05 +0000 (14:36 -0400)]
Disentangles update() logic. Adds option for early feedback.

'search' and 'record' commands are disentangled from the general update()
logic, in particular there is no longer recursion into update() in cases
where a 'search' is needed before a 'show', say. Dedicated doSearch and
doRecord methods are added with the intention of clarifying things.

Also adds an option for feedback right after 'search' returns, by having
update(show,stat,bytarget,termlist) skip processing on the first
round-trip. The UI thus have a change to detect that a search has started
and notify the user (before it would need to wait for the first update of
show,stat,.. etc). For setups with dozens or even hundreds of targets the
wait for the first sign of activity can otherwise be many seconds.

11 years agoGets the greater activeclients from stat or show
Niels Erik G. Nielsen [Mon, 13 May 2013 16:09:13 +0000 (12:09 -0400)]
Gets the greater activeclients from stat or show

.. to keep polling until they are in synch

11 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/private/mkjsf
Niels Erik G. Nielsen [Mon, 13 May 2013 15:59:47 +0000 (11:59 -0400)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/private/mkjsf

Conflicts:
src/main/java/com/indexdata/mkjsf/pazpar2/Pz2Bean.java

11 years agoPrevents automatic show,stat,.. updates on search errors
Niels Erik G. Nielsen [Mon, 13 May 2013 15:57:51 +0000 (11:57 -0400)]
Prevents automatic show,stat,.. updates on search errors

11 years agoPrevents automatic show,stat,.. updates on search errors
Niels Erik G. Nielsen [Mon, 13 May 2013 15:43:25 +0000 (11:43 -0400)]
Prevents automatic show,stat,.. updates on search errors

11 years agoTweaks error catching and messages.
Niels Erik G. Nielsen [Mon, 13 May 2013 15:41:51 +0000 (11:41 -0400)]
Tweaks error catching and messages.

11 years agoTries to pick up wrong Pazpar2 address errors for errxml
Niels Erik G. Nielsen [Sun, 12 May 2013 20:24:33 +0000 (16:24 -0400)]
Tries to pick up wrong Pazpar2 address errors for errxml

For the search command those are hidden in masterkey commons pz2client
 under a generic "cannot parse session id".

For other commands it can come back in various shapes and forms -
 for instance as a HTML page with domain name adds.

11 years agoMore error handling/reporting. Normalizing auth resp
Niels Erik G. Nielsen [Sun, 12 May 2013 17:49:16 +0000 (13:49 -0400)]
More error handling/reporting. Normalizing auth resp

Parses HTML reponses where XML were expected, for instance HTML pages
returned when domain is not found or HTML error pages from servlet
container when service-proxy app not found.

Also normalizes auth responses, renaming the document element 'response'
to 'auth' before handing the XML string to the parser (other responses
are named by their corresponding command, which is what the parser
expects). Thie original auth response is still preserved, though.

11 years agoCleans up SP auth, parse resps, store for display, etc
Niels Erik G. Nielsen [Fri, 10 May 2013 22:48:54 +0000 (18:48 -0400)]
Cleans up SP auth, parse resps, store for display, etc

11 years agoCatches init doc upload errors
Niels Erik G. Nielsen [Fri, 10 May 2013 20:37:10 +0000 (16:37 -0400)]
Catches init doc upload errors

.. embeds them in init reponse, i.e. for display in UI

11 years agoAdds option to download any command respond
Niels Erik G. Nielsen [Thu, 9 May 2013 19:10:40 +0000 (15:10 -0400)]
Adds option to download any command respond

.. changes init doc response download to use generic download method

11 years agoTweaks init command and init doc submission.
Niels Erik G. Nielsen [Thu, 9 May 2013 17:52:56 +0000 (13:52 -0400)]
Tweaks init command and init doc submission.

Makes submitting SP init docs available directly on "pz2x"
(SP extension bean) and puts the init response into the regular
flow of processing for display as any other response.

Makes it optional to reset the init response when resetting
search/record/show data. As before, search data are reset on renewed
search or when the server or authentication changes. Init response
is now only reset on changed init (whether it happens implicit or
explicit).

11 years agoRenames variable
Niels Erik G. Nielsen [Thu, 9 May 2013 17:44:22 +0000 (13:44 -0400)]
Renames variable

11 years agoPicks up more info for ajax error alert box
Niels Erik G. Nielsen [Thu, 9 May 2013 17:43:30 +0000 (13:43 -0400)]
Picks up more info for ajax error alert box

11 years agoFixes some log levels, typos.
Niels Erik G. Nielsen [Thu, 9 May 2013 13:58:42 +0000 (09:58 -0400)]
Fixes some log levels, typos.

11 years agoRenames data classes that are no longer pz2 only
Niels Erik G. Nielsen [Thu, 9 May 2013 13:54:46 +0000 (09:54 -0400)]
Renames data classes that are no longer pz2 only

.. to reflect that they handle SP-only responses too

11 years agoAdds init response data object
Niels Erik G. Nielsen [Thu, 9 May 2013 13:48:31 +0000 (09:48 -0400)]
Adds init response data object

11 years agoChanges response object naming
Niels Erik G. Nielsen [Thu, 9 May 2013 13:10:54 +0000 (09:10 -0400)]
Changes response object naming

.. to better distinguish between the simple http response wrapper
and the SAX parsed response data objects

11 years agoTweaks configuration, command responses, pz2/sp switching
Niels Erik G. Nielsen [Thu, 9 May 2013 01:24:17 +0000 (21:24 -0400)]
Tweaks configuration, command responses, pz2/sp switching

Generalizes method for retrieving char separated config properties
Consolidates command responses in one common class for sp an pz2 clients
Fixes switches of service urls for pz2 url to sp url and vice versa

11 years agoAdds support for chosing pz2 or sp service run-time
Niels Erik G. Nielsen [Wed, 8 May 2013 19:45:34 +0000 (15:45 -0400)]
Adds support for chosing pz2 or sp service run-time

The client type as well as the service url can thus be
changed dynamically.

Defining service type deploy time is now done by a config parameter -
rather than -- as it used to be -- by setting an injection instruction
in beans.xml.

11 years agoFixes comment typo
Niels Erik G. Nielsen [Wed, 8 May 2013 19:35:55 +0000 (15:35 -0400)]
Fixes comment typo

11 years agoGeneralizes file upload function and moves it into core
Niels Erik G. Nielsen [Tue, 7 May 2013 01:48:34 +0000 (21:48 -0400)]
Generalizes file upload function and moves it into core

11 years agoRearranges pz2/sp client logic to isolate error messaging
Niels Erik G. Nielsen [Sat, 4 May 2013 02:30:19 +0000 (22:30 -0400)]
Rearranges pz2/sp client logic to isolate error messaging

Error message handling and generating consolidated and put in one
place (for each of pz2 and sp).

Is put in client.executeCommand, which no longer throws exceptions -
all errors client errors sought captured here and converted to XML
responses, thus simplifying things for the users of executeCommand.

11 years agoExposing location checksums and offsets to ui/client
Niels Erik G. Nielsen [Fri, 3 May 2013 03:09:15 +0000 (23:09 -0400)]
Exposing location checksums and offsets to ui/client

11 years agoTweaks logs
Niels Erik G. Nielsen [Fri, 3 May 2013 03:07:49 +0000 (23:07 -0400)]
Tweaks logs

11 years agoClears requests and responses on new ip auth
Niels Erik G. Nielsen [Wed, 1 May 2013 17:22:44 +0000 (13:22 -0400)]
Clears requests and responses on new ip auth

11 years agoAdds methods for displaying authentication status
Niels Erik G. Nielsen [Wed, 1 May 2013 01:13:14 +0000 (21:13 -0400)]
Adds methods for displaying authentication status

11 years agoMakes all stats ints (except progress)
Niels Erik G. Nielsen [Tue, 30 Apr 2013 17:25:10 +0000 (13:25 -0400)]
Makes all stats ints (except progress)

11 years agoAdds support for show-block
Niels Erik G. Nielsen [Tue, 30 Apr 2013 17:24:37 +0000 (13:24 -0400)]
Adds support for show-block

11 years agoTweaks IP authentication
Niels Erik G. Nielsen [Tue, 30 Apr 2013 15:45:25 +0000 (11:45 -0400)]
Tweaks IP authentication

11 years agoAdds support for record checksum
Niels Erik G. Nielsen [Tue, 30 Apr 2013 15:44:50 +0000 (11:44 -0400)]
Adds support for record checksum

11 years agoMakes init doc debug response optional
Niels Erik G. Nielsen [Tue, 30 Apr 2013 15:44:14 +0000 (11:44 -0400)]
Makes init doc debug response optional

11 years agoAdds option to configure multiple SP URLs
Niels Erik G. Nielsen [Sat, 27 Apr 2013 23:57:54 +0000 (19:57 -0400)]
Adds option to configure multiple SP URLs

For selecting an SP runtime from pre-configured list.

11 years agoAdds support for offset and binary parameters
Niels Erik G. Nielsen [Sat, 27 Apr 2013 23:56:09 +0000 (19:56 -0400)]
Adds support for offset and binary parameters

Thus support for handling unknow document types. Still lacks option to
show binary response.

11 years agoClears user info when changing service URL
Niels Erik G. Nielsen [Thu, 25 Apr 2013 16:33:31 +0000 (12:33 -0400)]
Clears user info when changing service URL

11 years agoAdds to debug info regarding activeclients
Niels Erik G. Nielsen [Thu, 25 Apr 2013 16:32:17 +0000 (12:32 -0400)]
Adds to debug info regarding activeclients

11 years agoAdds support for 'acefilter' parameter to record command
Niels Erik G. Nielsen [Thu, 25 Apr 2013 16:29:21 +0000 (12:29 -0400)]
Adds support for 'acefilter' parameter to record command

11 years agoDo record despite no previous search IF it has recordquery.
Niels Erik G. Nielsen [Wed, 24 Apr 2013 21:13:04 +0000 (17:13 -0400)]
Do record despite no previous search IF it has recordquery.

And defaults UI accessible serviceProxyUrl from config

11 years agoAdds SP extensions to Pazpar2 commands and parameters
Niels Erik G. Nielsen [Wed, 24 Apr 2013 21:10:05 +0000 (17:10 -0400)]
Adds SP extensions to Pazpar2 commands and parameters

11 years agoAdds remaining command parameters ref. Pazpar2 protocol doc.
Niels Erik G. Nielsen [Mon, 22 Apr 2013 20:50:15 +0000 (16:50 -0400)]
Adds remaining command parameters ref. Pazpar2 protocol doc.

11 years agoAdds error listener to alert user. Formats code.
Niels Erik G. Nielsen [Mon, 22 Apr 2013 17:15:25 +0000 (13:15 -0400)]
Adds error listener to alert user. Formats code.

11 years agoFixes NPE causing page to fail on facet being absent
Niels Erik G. Nielsen [Sun, 21 Apr 2013 13:21:28 +0000 (09:21 -0400)]
Fixes NPE causing page to fail on facet being absent

11 years agoAttempts to avoid passivation errors due to http-client
Niels Erik G. Nielsen [Sun, 21 Apr 2013 13:20:12 +0000 (09:20 -0400)]
Attempts to avoid passivation errors due to http-client

11 years agoAdds some debug log statements for target filter
Niels Erik G. Nielsen [Sun, 21 Apr 2013 13:19:23 +0000 (09:19 -0400)]
Adds some debug log statements for target filter

11 years agoAdds IP authentication to SP client
Niels Erik G. Nielsen [Sun, 21 Apr 2013 13:18:30 +0000 (09:18 -0400)]
Adds IP authentication to SP client

11 years agoChanges project title and description.
Niels Erik G. Nielsen [Wed, 17 Apr 2013 16:35:02 +0000 (12:35 -0400)]
Changes project title and description.

11 years agoAdds demo auth method. Tweaks polling & state fields setup.
Niels Erik G. Nielsen [Wed, 17 Apr 2013 16:28:39 +0000 (12:28 -0400)]
Adds demo auth method. Tweaks polling & state fields setup.

Adds a method for automatic authentication from demo.

Tweaks naming and location for specialty fields for pazpar2 polling
and browser history handling.

11 years agoRenames pz2utils4jsf package to mkjsf
Niels Erik G. Nielsen [Mon, 15 Apr 2013 23:31:43 +0000 (19:31 -0400)]
Renames pz2utils4jsf package to mkjsf

11 years agoRenames project from pz2utils4jsf to mkjsf
Niels Erik G. Nielsen [Mon, 15 Apr 2013 23:21:31 +0000 (19:21 -0400)]
Renames project from pz2utils4jsf to mkjsf

11 years agoSets up error central. Lets page author decide to show.
Niels Erik G. Nielsen [Mon, 15 Apr 2013 22:14:11 +0000 (18:14 -0400)]
Sets up error central. Lets page author decide to show.

Creates a separate error container, exposed to the Faces pages as 'errors'.

The page author decides whether and where to show errors, which so
far come in two categories: configuration errors and request errors.

11 years agoVarious fixes, clean-up, logs, documentation
Niels Erik G. Nielsen [Mon, 15 Apr 2013 19:37:12 +0000 (15:37 -0400)]
Various fixes, clean-up, logs, documentation

 Reinstates error helper that went missing during refactoring

 Removes XML declaration from pazpar2 error responses in order to
 inject the XML itself into an application error XML document.

 Straightens some log statements

 Moves WELD-001303 error documentation aside (as it is not relevant
 with current approach)

11 years agoFixes error object reference
Niels Erik G. Nielsen [Mon, 15 Apr 2013 19:27:14 +0000 (15:27 -0400)]
Fixes error object reference

11 years agoSimplifies state handling further
Niels Erik G. Nielsen [Mon, 15 Apr 2013 13:22:09 +0000 (09:22 -0400)]
Simplifies state handling further

Postpones cloning of a command to the time when it's actually modified,
then pushes it to the state handler transparently.
Obviates the need to checkout a command for modification vs.
getting it read-only.
Recently introduced CommandReadOnly interface is consequently dropped again.

11 years agoAmmends some fringe scenarios with state keys and states
Niels Erik G. Nielsen [Mon, 15 Apr 2013 01:37:14 +0000 (21:37 -0400)]
Ammends some fringe scenarios with state keys and states

.. also makes state key a hashcode - to shorten it and because the
   textual key would often not seem quite accurate - even though it
   would accurately fetch the correct state -- and thus could cause
   confusion for one inspecting it

11 years agoFixes missing subscription to state changes by SP bean
Niels Erik G. Nielsen [Mon, 15 Apr 2013 01:29:46 +0000 (21:29 -0400)]
Fixes missing subscription to state changes by SP bean

11 years agoFixes resetting of commands on login (SP)
Niels Erik G. Nielsen [Sun, 14 Apr 2013 23:55:47 +0000 (19:55 -0400)]
Fixes resetting of commands on login (SP)

.. enables resetting of commands without state changing

11 years agoAdds space between debug messages
Niels Erik G. Nielsen [Sun, 14 Apr 2013 23:31:10 +0000 (19:31 -0400)]
Adds space between debug messages

11 years agoAvoids state changes on cascading command updates
Niels Erik G. Nielsen [Sun, 14 Apr 2013 23:30:27 +0000 (19:30 -0400)]
Avoids state changes on cascading command updates

.. when a new query changes the state, and the record command
   is reset due to the new search, the reset process should not
   trigger yet another state change

11 years agoAdds more parameters to commands
Niels Erik G. Nielsen [Sun, 14 Apr 2013 20:19:29 +0000 (16:19 -0400)]
Adds more parameters to commands

To extend the Pazpar2 protocol support in form of named methods. It's possible,
though, to set 'unsupported' parameters with the generic
setParameter("command","param",param) method

11 years agoRenames pz2 response object in pager too
Niels Erik G. Nielsen [Sun, 14 Apr 2013 13:48:05 +0000 (09:48 -0400)]
Renames pz2 response object in pager too

11 years agoRenames pz2 requests,responses to pzreq,pzresp throughout
Niels Erik G. Nielsen [Sun, 14 Apr 2013 13:42:17 +0000 (09:42 -0400)]
Renames pz2 requests,responses to pzreq,pzresp throughout

11 years agoMoves parameter expression class to commands package
Niels Erik G. Nielsen [Sun, 14 Apr 2013 13:11:43 +0000 (09:11 -0400)]
Moves parameter expression class to commands package

11 years agoMoves response objects from pz2 bean to dedicated bean
Niels Erik G. Nielsen [Sun, 14 Apr 2013 04:51:32 +0000 (00:51 -0400)]
Moves response objects from pz2 bean to dedicated bean

... like commands were factored out of the main bean, so are
response data objects now

... this commit also drops the distinction between bean and session,
    all session methods (that are not commands or response methods)
    moved to the bean and the session object dropped

11 years agoMoves single-target-filter class to commands package
Niels Erik G. Nielsen [Sat, 13 Apr 2013 20:04:14 +0000 (16:04 -0400)]
Moves single-target-filter class to commands package

11 years agoMoves filter settings from pz2 bean to search command
Niels Erik G. Nielsen [Sat, 13 Apr 2013 19:53:44 +0000 (15:53 -0400)]
Moves filter settings from pz2 bean to search command

11 years agoMoves record parameter settings from pz2 bean to record cmd
Niels Erik G. Nielsen [Sat, 13 Apr 2013 18:41:29 +0000 (14:41 -0400)]
Moves record parameter settings from pz2 bean to record cmd

11 years agoMoves more search and show methods
Niels Erik G. Nielsen [Sat, 13 Apr 2013 18:13:06 +0000 (14:13 -0400)]
Moves more search and show methods

.. out of general the pz2 bean and into the respective pz2
   command objects

11 years agoCreates read-only command for optimization
Niels Erik G. Nielsen [Sat, 13 Apr 2013 17:18:09 +0000 (13:18 -0400)]
Creates read-only command for optimization

When a class retrieves a command, it's 'checked out' from the state
manager, meaning that it is cloned as to not mutate the current state
in case the command has it's parameters modified.

Oftentimes cloning is obsolete however - when the client only wants to
read the values - ie. for log statements or for actual execution.

11 years agoSets all auth params at once to avoid state proliferation
Niels Erik G. Nielsen [Sat, 13 Apr 2013 12:20:03 +0000 (08:20 -0400)]
Sets all auth params at once to avoid state proliferation

11 years agoFixes scope for sp session bean. Fixes log statements.
Niels Erik G. Nielsen [Sat, 13 Apr 2013 12:17:14 +0000 (08:17 -0400)]
Fixes scope for sp session bean. Fixes log statements.

11 years agoMore work on commands, statemgmt, EL references
Niels Erik G. Nielsen [Sat, 13 Apr 2013 05:30:35 +0000 (01:30 -0400)]
More work on commands, statemgmt, EL references

Attempts to make state management still more transparent to
the logic of setting command parameters - basically in order
to allow command parameter settings to get arbitrarily complex
without having to worry more than necessary about state handling

Extracts commands to a separate class for EL access (from pages) -
Can thus be referenced like, say, req.search.query for setting the query
parameter of the search command. Attempts to reduce the number of
methods on the pz2 object, which was gradually becoming less
manageable.

Creates a dedicated class for each pazpar2 command for type-safe
setting of parameters and to manage complexity.

Fixes missing faces-config.xml (might have caused the CDI
framework to NOT scan the pz2utils4jsf jar for all annotations).

Uses listener pattern to alert the session object about state
changes.

11 years agoDo some resetting of session on login
Niels Erik G. Nielsen [Fri, 12 Apr 2013 02:46:43 +0000 (22:46 -0400)]
Do some resetting of session on login

11 years agoDocumentation
Niels Erik G. Nielsen [Thu, 11 Apr 2013 17:54:25 +0000 (13:54 -0400)]
Documentation

11 years agoAdds Ajax listener to detect view expirations
Niels Erik G. Nielsen [Thu, 11 Apr 2013 15:56:55 +0000 (11:56 -0400)]
Adds Ajax listener to detect view expirations

.. and reload page, stripped of its jsessionid and hash content