This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> | |
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%> | |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title><tiles:getAsString name="title"/></title> | |
<tiles:insertAttribute name="meta"/> | |
<tiles:insertAttribute name="stylesheets"/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> | |
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%> | |
<tiles:insertAttribute name="content" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package net.inscope.sandbox.pjax.web; | |
import org.apache.tiles.Attribute; | |
import org.apache.tiles.AttributeContext; | |
import org.apache.tiles.context.TilesRequestContext; | |
import org.apache.tiles.preparer.PreparerException; | |
import org.apache.tiles.preparer.ViewPreparer; | |
public class PJAXViewPreparer implements ViewPreparer | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="ISO-8859-1" ?> | |
<!DOCTYPE tiles-definitions PUBLIC | |
"-//Apache Software Foundation//DTD Tiles Configuration 2.1//EN" | |
"http://tiles.apache.org/dtds/tiles-config_2_1.dtd"> | |
<tiles-definitions> | |
<definition name="default.definition" template="/WEB-INF/layouts/default.jsp"> | |
<put-attribute name="meta" value="/WEB-INF/views/tiles/meta.jsp" /> | |
<put-attribute name="js" value="/WEB-INF/views/tiles/js.jsp" /> | |
<put-attribute name="stylesheets" value="/WEB-INF/views/tiles/stylesheets.jsp" /> | |
<put-attribute name="header" value="/WEB-INF/views/tiles/header.jsp" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response) | |
*/ | |
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { | |
response.getWriter().println("Hello World!"); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 | |
http://maven.apache.org/xsd/settings-1.0.0.xsd"> | |
<localRepository/> | |
<interactiveMode/> | |
<usePluginRegistry/> | |
<offline/> | |
<pluginGroups/> | |
<servers/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Apache CXF --> | |
<dependency> | |
<groupId>org.apache.cxf</groupId> | |
<artifactId>cxf-rt-frontend-jaxws</artifactId> | |
<version>${org.apache.cxf.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.cxf</groupId> | |
<artifactId>cxf-rt-transports-http</artifactId> | |
<version>${org.apache.cxf.version}</version> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Service("flightService") | |
@Path("/flight.svc") | |
@Produces({ "application/json" }) | |
public class FlightService { | |
@GET | |
@Path("/flights/{cityFrom}/{cityTo}") | |
@Produces("application/json") | |
public String getFlightList(@Context HttpServletRequest req, @PathParam("cityFrom") String cityFrom, | |
@PathParam("cityTo") String cityTo) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Tue Apr 15 09:43:56 UTC 2014 | |
Name=dest_sflight | |
Type=RFC | |
jco.client.r3name=FLI | |
jco.client.group=PUBLIC | |
jco.client.lang=EN | |
jco.destination.repository.user=DEVELOPER | |
jco.client.cloud_connector_version=2 | |
jco.client.user=DEVELOPER | |
jco.client.client=001 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<title>Hello World</title> | |
<script src="resources/sap-ui-core.js" | |
id="sap-ui-bootstrap" | |
data-sap-ui-libs="sap.ui.commons" | |
data-sap-ui-theme="sap_goldreflection"> | |
</script> |
OlderNewer