Skip to content

Instantly share code, notes, and snippets.

@bartvde
Created September 28, 2012 11:32
Show Gist options
  • Save bartvde/3799301 to your computer and use it in GitHub Desktop.
Save bartvde/3799301 to your computer and use it in GitHub Desktop.
bart-van-den-eijndens-macbook-pro:gxp bartvde$ git diff examples/viewer.js
diff --git a/examples/viewer.js b/examples/viewer.js
index c7c1ec6..5b3317f 100644
--- a/examples/viewer.js
+++ b/examples/viewer.js
@@ -95,6 +95,18 @@ Ext.onReady(function() {
},
outputTarget: "south"
}, {
+ ptype: "gxp_selectedfeatureactions",
+ featureManager: "featuremanager",
+ actionTarget: "featuregrid.bbar",
+ outputConfig: {
+ width: 600,
+ height: 400
+ },
+ actions: [{
+ text: "Search for title",
+ urlTemplate: "http://search.yahoo.com/search?p={STATE_NAME}"
+ }]
+ }, {
ptype: "gxp_queryform",
featureManager: "featuremanager",
outputConfig: {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment