Clickable link in a label for codename one? - codenameone

Using the designer only:
Is it possible to display a clickable link (to a web url) in a label or in another suitable component of Codename One? Thanks!

Use a button, give it a different UIID and style it to look like a link.

Related

Is it possible to customize google fabric's/digits login popup?

I know it's possible to embed widget of digits using this link
This one will be shown on my page inside the div with class=my-digits-container
But is it possible to customize the popup which appears by using Digits.logIn?
Todd here from Fabric. Right now it's not possible to customize the pop up in Digits for web. You can only theme using the embedded widget.

Using a Custom Form as Hamburger SideMenu on Codename One

I have seen the Codename One Video on how to create a Codename One Hamburger Side Menu using Commands.
I have been trying to see if I can do that on a button click instead (my forms have title bars turned off, i use a border layout and create my own title bar by placing it in the North), with probably another from as the side menu. I would like to have an image and then a custom menu display on my Side Menu instead of the regular Codename One buttons.
Has anyone tried something similar?
I suggest you take a look at the Toolbar class which is more powerful and would probably alleviate the need to override the title area:
http://codenameone.com/manual/components.html#_toolbar
http://www.codenameone.com/blog/cats-in-toolbars
You can't set a form at the side menu but you can add arbitrary components into it which should be enough. Again the Toolbar API makes this rather simple.

How do you get ActionBar from SocialBoo theme to show up in your GUI?

Ok. Starting over with this. I see that the SocialBoo theme has something similar in what I want to achieve. If I find that I can work and improve. I Added a new socialboo theme and created blank GUI. Assumed it would be a Commandbehavior but that didnt do the trick, so did adding tabs. Seems like those components are not for that specific bar... However did notice another issue.
How do I get the social actionbar as displayed in the socialboo theme? (Screen shot). Assuming those images etc are part of the default theme, right.
Also, If I create a TouchCommand = bar, title or native. It displays fine in Gingerbread but not ICS. DO you know why is that? (screen shot)
Thanks, in advance.
Those images aren't a part of the theme, they are a part of the specific demo. If you add a Tabs component to the center of the border layout UI you will get thee tabs where the "icon" property will allow you to customize the unselected icon and you can customize the selected icon as well. You can see the full source/resource file of the social boo demo in the docs and demos zip in the download section.
Generally customizing commands is a bit complex because of platform specific constraints, when running on an Actual Android 4 device we use the native ActionBar by default to provide the experience Android users are used to. This is hard for us to simulate so you will only see this properly in the device build. I suggest not relying on commands, it seems that what you are trying to achieve is easily doable with tabs and its possible that's why you had difficulties in your other question.

Making a basic navigation for iOS with two buttons on both sides of the title

I am working on codenameone, and trying to make the first UI.
A basic UI with a title and two buttons on two sides of the "title" to go to two different pages.
I was trying to do that with "Form" component but then it only gives one button by default, which is just taking me to the previous screen.
Not sure how to do this, any link or tip is a nice help.
thanks
Use addCommand(new Command("X")) or in the GUI builder just click the commands property in the form. It will automatically use the menu for Android.
The back button is added automatically for iOS apps for back navigation which you will probably need. You can disable it in the state machine code and have room for two commands in the title.

how to set the image for the links in dnn

we need to set the page links as image in the DotNetNuke(dnn), mean the home page link should be image not text and contact us separate image, about us separate image, and the drop down are to be separate images, how i can do this?
DotNetNuke.
There isn't an easy way through the UI in DNN to do this, but if you are creating a custom skin and using the DNNMenu skin object you can target the specific items in the navigate with a CSS class, doing this would allow you to change each menu item with an image.
For example for the "HOME" link on my website (www.chrishammond.com) I could provide CSS like .id36{background-image:url('http://www/someimage.jpg');} though I would also want to be sure to hide the text, and provide a height/width

Resources