| 1 | |
package org.paneris.bibliomania; |
| 2 | |
|
| 3 | |
|
| 4 | |
import org.melati.Melati; |
| 5 | |
import org.melati.util.UTF8URLEncoder; |
| 6 | |
import org.webmacro.WebMacroException; |
| 7 | |
import org.webmacro.servlet.WebContext; |
| 8 | |
|
| 9 | 0 | public abstract class FramesetServlet extends BibliomaniaServlet { |
| 10 | |
|
| 11 | |
protected String bibliomaniaHandle(Melati melati, WebContext context) |
| 12 | |
throws WebMacroException { |
| 13 | 0 | String queryText = context.getForm("queryText"); |
| 14 | 0 | context.put("qsIfAny", |
| 15 | |
queryText == null ? |
| 16 | |
"" : |
| 17 | |
"?queryText=" + UTF8URLEncoder.encode(queryText)); |
| 18 | |
|
| 19 | 0 | return bibliomaniaTemplate("Frameset.wm"); |
| 20 | |
} |
| 21 | |
} |