1. Juan Carlos Picado Herrera
  2. encuestame

Source

encuestame / encuestame-war / src / main / webapp / WEB-INF / views / poll / tiles.xml

<?xml version="1.0" encoding="UTF-8"?>
<!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="poll/detail" extends="page">
        <put-attribute name="title" value="Poll | encuestame" />
        <put-attribute name="menu" expression="/WEB-INF/jsp/includes/${currentDevice.mobile ? 'mobile/' : 'web/'}menu.jsp" />
        <put-attribute name="content" expression="/WEB-INF/views/poll/${currentDevice.mobile ? 'mobile/' : 'web/'}poll.jsp" />
    </definition>

    <definition name="poll/list" extends="page">
        <put-attribute name="title" value="Poll | encuestame" />
        <put-attribute name="menu" expression="/WEB-INF/jsp/includes/${currentDevice.mobile ? 'mobile/' : 'web/'}menu.jsp" />
        <put-attribute name="content" expression="/WEB-INF/views/poll/${currentDevice.mobile ? 'mobile/' : 'web/'}poll-list.jsp" />
    </definition>

</tiles-definitions>