Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function executeLoad(aUrl){
- $.jsPanel({
- load:{
- url: aUrl
- },
- selector: "#content",
- title: "com url",
- bootstrap: 'primary',
- });
- <p:menuitem value="Lista Tipo Grupo" onclick="executeLoad('../sisger/TipoGrupo/sisgerTipoGru/List.xhtml')" />
- function executeLoad(aUrl){
- $.jsPanel({
- contentAjax: {
- url: aUrl, // exemplo de url: '../media/files/exampleAjax.html'
- autoload: true
- },
- headerTitle: 'Example using option.contentAjax',
- contentSize: {width: 470, height: 340},
- position: {my: "center-top", at: "center-top"},
- theme: 'lightblue',
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement