(sorry for language) thanks. I still have many problems both for research and for its representation
in 3.1 intercept function submitSearch and openResultwin left open a new window suitable for the purpose an example of research is to select a record from a dbtable that give me a sign for the shape then look for a "description (like) on dbtable" with the result of a list with which make the "choice (ID) in the shape" I think this is always possible but I did not manage to solve =============================== 2009/1/29 Armin Burger <armin.bur...@gmail.com> > On 29/01/2009 09:02, SeUr2000 wrote: > >> I all, >> on version 3.1 I have modified function submitSearch >> on pmquery.js for to open a list of options for research. >> >> on version 4.1 I have tried to replicate the function submitSearch in >> pm.search.js but this is not no sign of response and the alert() not >> function. >> >> perhaps there is another place where I have to watch? >> >> thanks >> >> ------------------------------------------------------------------------------ >> This SF.net email is sponsored by: >> SourcForge Community >> SourceForge wants to tell your story. >> http://p.sf.net/sfu/sf-spreadtheword >> _______________________________________________ >> pmapper-users mailing list >> pmapper-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/pmapper-users >> >> > To directly modify the JS sources (not recommended though...) you have to > define the path to your javascript directory in config.xml as > 'javascript/src', otherwise the 'compressed' files are used (pm_cjs.js). > > The call to this function from most places would probably also have to be > PM.Query.submitSearch() since in v4 nearly all JS functions are valid only > in their namespace context. > > If you want to replace the default function with your own I'd recommend > placing it in custom.js under your config and put it inside the PM.Query > namespace, like > > > $.extend(PM.Query, > submitSearch: function() { > ... your code ... > } > ); > > > armin > > PS: p.mapper is currently not that advanced, just 4.0 beta and not yet at > 4.1 ;-) > ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users