ajax - Polymer and Playframework partial rendering navigation? -
I'm trying Playframework with a polymer as a GUI tool. As a JSF developer, I'm not really using these Ajax code to develop.
For now, I have my main position in this situation. Skill Html:
& lt; Core-Scaffold & gt; & Lt; Core-header-panel navigation Flex mode = "delimited" & gt; & Lt; Core-Toolbar & gt; Parental administration & lt; / Core-toolbar & gt; & Lt; NAV & gt; & Lt; Selected core-menu = "0" & gt; & Lt; Paper-item noting & gt; & Lt; A href = "@ routes.ProjetoController.listar ()" & gt; & Lt; Core-icon icon = "Settings" & gt; & Lt; / Core-icon & gt; Projetos & lt; / A & gt; & Lt; / Paper items & gt; & Lt; Paper-item noting & gt; & Lt; A href = "routes @ tipoProjetoController.listar ()" & gt; & Lt; Core-icon icon = "Settings" & gt; & Lt; / Core-icon & gt; Tipos de Progatos & lt; / A & gt; & Lt; / Paper items & gt; & Lt; / Core-menu & gt; & Lt; / Neo & gt; & Lt; / Core Header Panel & gt; & Lt; Div tool & gt; & Lt; / Div & gt; & Lt; Div fit & gt; @ Content & lt; / Div & gt; & Lt; / Core-scouring & gt; The question is: Is there a way to call the routes placed in paper-item elements and partly to @ content ?? If so, without page reconstruction, how do I get this one page style behavior?
PS: These are not static contents.
ProjetoController.listar () should render Projeto_listar.scala.html and TipoProjetoController.listar () to tipoProjeto_listar.scala.html . These are 2 different dynamic pages which are installed primarily:
@ () "@" (main page name) {} Take a look, you can create all the routes in a single page format.
Comments
Post a Comment