People on vacation in Calendar View in XPages - xpages

I would like to see all people vacation plans in Calendar view in XPages. But which design element i have to use i do not know.
I know it's not the right place to ask this kind of question but I really do not know where to start...

In order to get the calenderViewcontrol to work with IE11 you need to tell the page to be rendered for IE10:
<xp:this.beforeRenderResponse><![CDATA[#{javascript:
response.setHeader("X-UA-Compatible", "IE=10");
}]]></xp:this.beforeRenderResponse>

Related

How do I declaratively push BottomSheet with Navigator 2.0?

I'm new to Navigator 2.0 in Flutter, and now I'm trying to achieve BottomSheet behavior using declarative approach. Unfortunately, I only managed to come up with quite a cumbersome way to do that so I'm wondering if there's an easier way.
I'm building a shopping app and I want to show the item details card that slides out from the bottom of the screen, dimming the previous page (as shown in picture), when user taps on item in a list. I also want to allow url support, so that /item/id opens home page and then shows the details card over it.
So how I think this could be done is to push (or to add to Navigator's pages array in case of Navigator 2.0) custom non-opaque page with no transition animation using TransitionDelegate and PageRouteBuilder, and then animate dimming and sliding by hand using animation controllers. But this approach seems unnatural (and genuinely scares me to be honest) and it's still not clear to me how to handle back button in this case (Do I need to somehow notify the page to play closing animation from Navigator's onPopPage, is this the way to do this?).
If anyone has an experience of implementing similar feature, I would really appreciate sharing it! Or maybe you have come up with more elegant solution, then tell me about it and I'll give it a try! Thanks!

Cosmicmind: how to dismiss floatingViewController / return rootViewController?

toolbarController?.floatingViewController = vc
to floating view controller. As expected, toolbar not showing and screen shows with full size. I want to dismiss back to rootViewController didnt achieve that.
Actually i showed apps in pagetabbar like google play and now i want to show app detail page. When user clicks app icon, app icon will animate and shows detail page and if he wants to, it will dismiss that. I used transition method first (it has animation parameter) but i want to figure out difference between floating usages etc. Is there any showcase ? Thank you for great library btw.
to hide the floatingViewController, set it to nil. There isn't a showcase at the moment. The transition method is for changing the rootViewController. Hope this helps :)

xpages list of links to different views

There is a Custom Control called layout_main which contains 4 other custom controls, including a layout_left custom control.
The layout_left contains 4 links: All docs,By Number,By Name and By Code. The first link By Date contains a Simple Action Root: Open Page -> Name of page to open: viewAllDocuments, which is a Xpage element. viewAllDocuments contains the layout_main custom control and ccViewAllDocs in a facetContent. This custom control ( ccViewAllDocs ) contains, finally, the view which lists all the docs + some elementary buttons: New and so on.
My question ( my headache ) is: For the 3 others links should I create 3 others xpages like viewAllDocuments? And then modify its facetContent ? If my 'navigator' has 15 links, creating 15 xpages is quite monotonous.
I'm quite new in Xpages development, just being a Lotus Notes developer, and I hope your tips and help will be very helpful. These couple weeks for me since I start learning Xpages is quite an adventure for me: with ups and downs, with big headaches and some little moments of happiness.
I really appreciate your time. Thanks!
In the IBM tutorial is a XSLT style sheet to generate an XPage from a view. You could take that approach. You also could use the dynamic view control and compute the view name from an URL parameter, then you only need one page.
Many possibilities. Ask more!

Is their a way to output to a panel in JSF

I am relatively new to JSF. I am trying to display data into a web page sorta like a jTextArea or at least onto a panel that is on the webpage, something similar to that. I can display the data in a particular format but it won't appear onto a panel in a specific location or the panel being a particular setSize. Can someone point me into the right direction of what I need to learn in order to do this. The simpler the better as I believe in simplicity.
Primefaces provides you many forms to display data: dataGrid, carousel,... you should use pimefaces showcase http://www.primefaces.org/showcase/ui/datagrid.jsf .

Using the DataView in XPages Extension Library Mobile Controls

On page 1 of a mobile app I need to display categories from a categorised view. When the user selects a category the app should transition to page 2 showing documents in the selected category. The customer does not want the category to expand/collapse on the first page of the app.
Would I use the DataView for this? Any advice on how best to achieve this?
Thanks.
if something like this http://sutol.mapsys.cz/ (application is in Czech, but you can still see what it is about) is what you need, I can send you the code.
"dopoledne" and "odpoledne" are categories
Yes what you want is a dataview, there is a property to disable collapsing / expanding of the category sections.
My suggestion would be to view either of the remodelled templates "Discussion 853 XL" or "Teamroom 853 XL" that come with the ExtLib, these applications have been modified to add mobile front ends and are great examples of how to build mobile applications
I do something along these lines in mobile pages of XPages Help Application - Contents and Index views both drill down from categories to documents in the category. I think I just use a repeat control.
The one thing to bear in mind is that you cannot currently redirect to the current Mobile Page with different parameters. That's why I switch between two mobile pages that use the same Custom Control for the view.

Resources