-
There is an interface Bookmarkabel which is implemented by the OlapModel (the session attribute "query01"). You can ask it for getBoomkarkState() to capture the current state of the query and later call setBookmarkState() to restore it. This is probably what you want to do.
Andreas.
2009-11-04 19:10:58 UTC in JPivot - a JSP based OLAP client
-
avix added anuppuranik to the J2MESafe project.
2009-08-20 10:29:33 UTC in J2MESafe
-
Make sure that your beans are in session scope, maybe request scope works too but page scope will not.
2009-06-29 08:15:52 UTC in JPivot - a JSP based OLAP client
-
There is an example in the wcf test suite that uses JSF with WCF (hellojsf or similar). Not sure if this helps you with facelets.
2009-05-25 07:18:18 UTC in JPivot - a JSP based OLAP client
-
The RequestContext is created and destroyed in every Request. Inside a Request you can access it as a thread local variable via
RequestContext.instance()
But since you write your own servlet, you have to create and destroy the context via:
doGet(request, response) {
RequestContext context = RequestContextFactoryFinder.createContext(request, response, true);
try {
//...
2009-05-06 13:56:18 UTC in JPivot - a JSP based OLAP client
-
Look at the Mondrian source code, there are some Examples, e.g. the LocalizingDynamicSchemaProcessor.
2009-04-24 09:24:58 UTC in JPivot - a JSP based OLAP client
-
You will have to check out jpivot_repository too and add the stuff to the build path. Also you need to check out the wcf project and build that or you could download the zip and add the jars to the project.
Not sure about the Mondrian version to use.
2009-04-08 14:21:38 UTC in JPivot - a JSP based OLAP client
-
No, you need the 3 files. You could embed the query but then you must control, when the <jp:query../> tag is executed by surrounding it with <c:if ../>. Better keep the 3 files
Andreas.
2009-04-03 07:06:25 UTC in JPivot - a JSP based OLAP client
-
That should not be a problem. Make sure that all elements on the page have different names/ids, e.g. query01, query02, ... and table01, table02 etc.
The other thing is synchronization. The RequestFilter does not permit parallel http requests. So maybe you have to turn the Ajax into Sjax (synchronized ) or modify the RequestFilter.java.
2009-04-02 16:24:47 UTC in JPivot - a JSP based OLAP client
-
Sorry, we do not use the Mondrian roles, so I dont know what happens here. I think after the connection is established, the schema including the roles is parsed and everything is initialized. Probably it can not be changed afterwards.
What we do is we create a dynamic schema using the DynamicSchemaProcessor, i.e. we process and modify the Mondrian schema xml before it is passed over to...
2009-04-01 07:34:39 UTC in JPivot - a JSP based OLAP client