I want to use a SuperAccordion GUI component. I.e. an accordion, where sereval windows can be opened simultaneously.
I found this:
http://www.adobe.com/devnet/flex/tourdeflex/web/#sampleId=19370;illustIndex=0;docIndex=1
However, I can get the code... Flex does not know about a component 'SuperAccordion".
Please help.
Thanks
Your link contains all the code you need... SuperAccordion is composite component defined in this very example.
Edit: Actually, no. There is a library used: ws.tink.flex.containers, hosted at: http://tink.googlecode.com/svn-history/r49/trunk/ws/tink/flex/containers/
You can use svn to get it: svn checkout http://tink.googlecode.com/svn-history/r49/trunk/ws/tink/flex/containers/ [folder to store it]
Edit: or even simpler: http://code.google.com/p/tink/downloads/list
Related
In my project, I am trying to use graph toolkit components (mgt-login and mgt-people-picker) inside a teams tab using mgt-msal-provider or mgt-teams-provider, but it doesn't seems to work. Any help is much appreciated.
Those components work as expected with mgt-mock-provider where authentication is not required.
<mgt-teams-provider client-id="Client-ID"
auth-popup-url="auth.html"></mgt-teams-provider>
<mgt-msal-provider client-id="Client-ID"
login-type="redirect/popup"
scopes="user.read,people.read"
authority=""></mgt-msal-provider>
<!--<mgt-mock-provider></mgt-mock-provider>-->
<mgt-login></mgt-login>
<mgt-people-picker></mgt-people-picker>
When I enable mgt-mock-provider, both mgt-login and mgt-people-picker controls are working as expected. I would like to make it work with either mgt-teams-provider or mgt-msal-provider
Note: I have replaced the original client-id value with "Client-ID" in the sample code snippet.
I have a kiosk application built in Java Fx. How to set following VM Options in build.xml(ant script) of my application (.Dcom.sun.javafx.isEmbedded=true -Dcom.sun.javafx.virtualKeyboard=javafx) ? If anyone has done something similiar to this please let me know.
You can use the <fx:jvmarg> for specifying any JVM argument.
It is to be used inside its parent <fx:platform>.
An example on how to use it is
<fx:platform javafx="8.0+">
<fx:jvmarg value="-Dcom.sun.javafx.isEmbedded=true"/>
<fx:jvmarg value="-Dcom.sun.javafx.virtualKeyboard=javafx"/>
</fx:platform>
Similar examples can be found here.
I was attempting to recompile asterisk with chan_motif when I noticed an XXX beside it. I then checked the directory /usr/src/asterisk-11.6.0/channels just to realise that Chan_motif.o, Chan_motif.so and Chan_motif.exports are all missing. :? Only chan_motif.c is present. How do I fix this?
Thanks in advance
That mean you not installed pre-request for this library.
For module you mention most likly it is libice or jabber code.
You'll need two things for chan_motif:
The res_xmpp module. This is dependent on the other dependency for chan_motif as well, which would be...
The iksemel library.
Note that when you move the cursor over an unselectable item in menuselect (one of those items with XXX), menuselect will tell you which modules and libraries the unselectable item depends on.
For the life of me I can't make durandaljs work with Areas. I'm developing an application with multiple mini SPAs, but I'm not sure how to set up durandaljs to work with it. I wasn't able to find anything online that can drive me in the right direction. The only similar question I found was this one, which is very vague.
My goal is to separate each SPA within it's own folder like so:
App
--areas
----area1
------viewmodels
------views
----area2
------viewmodels
------views
The router doesn't seem to have the concept of areas and no matter how I map the routes I get 404s when I call router.activate('page1'); after mapping with router.mapRoute('page1'); durandal is trying to get /App/viewmodels/page1.js.
Changing it to:
router.mapRoute('areas/area1/viewmodels/page1');
router.activate('areas/area1/viewmodels/page1');
results in another 404 fetching App/viewmodels/areas/area1/viewmodels/page1.js
I've also tried many other combinations which I no longer remember and can't seem to get it to work.
Can someone please post a working example of how to setup durandaljs with the router plugin and multiple mini SPAs (areas)? A link to an article document would also suffice.
You can use viewLocator.useConvention - maybe something like this:
viewLocator.useConvention(
"areas/area1/viewmodels",
"areas/area1/views",
"areas/area1/templates"
);
One good thing to realize is that useConvention() works in conjunction with any existing require.config paths setting. In other words, if you set the require.config so that "viewModels" and "views" are mapped to the right folders, then all is well.
For example, the code snippet above is functionally equivalent to:
window.require.config({
paths: {
"viewModels": "areas/area1/viewmodels",
"views": "areas/area1/views",
"templates": "areas/area1/templates"
}
viewLocator.useConvention("viewmodels", "views", "templates");
I a similar structure implemented in my application. I think that you have to put this piece of code, to do the viewLocator works properly.
viewLocator.useConvention(); //You can do that in you main.js
You can see more information here: http://durandaljs.com/documentation/View-Locator/
Also I recommed you to look the code of viewLocator.js, especially, the code of useConventionMethod.
Other possibility is to override the method convertModuleIdToViewId, to make it works as you want. But I think that using useConvention methos is enought.
I need to a keymap for my embedded QWSServer application.
Using environmental variables like this
QWS_KEYBOARD="TTY:keymap=/german_keyboard.qmap"
export QWS_KEYBOARD
works, but isn't optimal for me.
I tried to set it from code using
QWSServer* wsServer = QWSServer::instance();
QWSKeyboardHandler * kh = QKbdDriverFactory::create("TTY", "keymap=/german_keymap.qmap");
wsServer->setKeyboardHandler(kh);
as mentioned here.
However, it is not working. Any ideas how to fix it?
It actually looks like you couldn't do it. According to this manual page you can only set the driver and device for a keyboard handler, but no additional options like keymap.
In this arcticle about the keymap thing only the environment variable way ist mentioned, too.
Because of this, the answer here seems to be wrong.
Beware: According to this answer, Qt5 doesn't have QWS and all QWS-related APIs have been removed.
You can try:
QWSServer::instance()->closeKeyboard();
QWSKeyboardHandler * kh = QKbdDriverFactory::create("TTY", "keymap=/german_keymap.qmap");
It works for me, but only the first time, if I want to change the layout a second time, the closeKeyboard() will crash, as it's trying to delete the driver defined by QWS_KEYBOARD, and it has already been deleted the first time.