navigatorExtraButtons
is a parameter of the <sjg:grid />
Struts2(-jQuery Plugin) tag.
You can't put a Struts2 tag inside another Struts2 tag;
to do that, you must use OGNL
, and in the case of URL
s you should define the URL
s outside the grid tag, and refer to them with OGNL
, like that:
<s:url id="myUrl" action="ProductInitialise" namespace="/myNamespace"/>
....
onclick: function(){ load('%{myUrl}') }
Assuming all the rest is working (the load
function for example), this should be enough to make it works.