In this show I demonstrate how to build some XPages custom controls to make a Bootstrap ProgressBar and stacked ProgressBar.
I also mention Daniel Friedrich’s blog at http://xpagesandme.wordpress.com/. I highly recommend you check that out.
In this show I demonstrate how to build some XPages custom controls to make a Bootstrap ProgressBar and stacked ProgressBar.
I also mention Daniel Friedrich’s blog at http://xpagesandme.wordpress.com/. I highly recommend you check that out.
Let’s face it… I suck at CSS… You know it. I know it. My dog knows it. However with the magic that is StackOverFlow I just did some useful CSS that I wanted to share.
In an app I wanted to have 3 buttons in a row. Since this is an iPad app I wanted to make the buttons myself so the tab zone is bigger. I wanted to put some space in between the buttons so I first had:
margin-right: 15px;
This got annoying because the last button didn’t need to have that margin. It was causing an issue.
So then I did:
margin:left: 15px;
That got rid of the last wasted space but now I had it on the left of the first button.
So off to StackOverFlow I go and found this post. The accepted answer uses spans in the html and I didn’t really want that but there was a comment that had this:
span + span {
margin-left: 10px;
}
so I used my classes and it worked great.
Declan also mentioned that something like:
.class ~ .class {
margin-left: 10px;
}
Will only apply that to the FIRST element.
anyway here’s a picture.. you might notice the lack of a left margin on the first button.
Below is the code I’m using if interested.
.buttonMedium {
display: inline-block;
background-color: #fff;
border: #AC162C;
width: 75px;
height: 65px;
padding: 6px;
text-align: center;
white-space: nowrap;
cursor: pointer;
background-image: none;
border: 1px solid #AC162C;
border-radius: 4px;
color: #AC162C;
}
.buttonMedium + .buttonMedium {
margin-left: 15px;
}
This is a different show today. I’m going to be speaking at MWLug at the end of August. In this show I’m going to do a little demo of what I intended to present at MWLug. I’m not going to tell you HOW to do it yet, you’ll need to come to see that. Or wait for it to hit a future NotesIn9.
In addition to the commercial, I’ve taken a small clip from my show 100 (which ran WAY too long). In this clip I give suggestions on how to get more involved in the XPages community and why you might want to. At the end I refute any excuses that you might have.
Hope you like the show.
Supporting Files here:
http://www.notesin9.com/wp-content/uploads/2024/03/FileVault.zip
In this show IBM Champion and everyone’s second favorite Doctor returns to NotesIn9. That’s right, Dr. Marky Roden is in the house with a GREAT tip on ways to speed up Domino Designer by using Design Definition to better control your database resources.
We last saw the good Doctor back on September 13th, 2012, Episode 74, talking about using jQuery. Don’t miss todays demo. You never know if he’ll disappear for another 684 days again.
===
Also yesterday I mentioned that this month is the 5 year anniversary of NotesIn9. I just want to thank everyone for all the nice messages, comments, and even a blog post. It means a lot and is very appreciated!
Thank You!
UPDATE: The Audio for Marky’s demo isn’t great. I’m pretty sure I messed that up in the processing of the video.
Today we get another great contributor in the form of Oliver Busse. His website is oliverbusse.com. He’s going to do a really neat demo of how to intergrate XPages with Pushover.net to send messages to a phone that has the PushOver App installed.
I think that it’s always nice to see how to mix XPages with other services.
In this show Brad Balassaitis returns to Ni9 to give us some great instruction on how to start using the “dGrowl” project with our XPages applications. This is a tool that lets you popup messages back to the user. It’s a somewhat common effect and I really really like it. Actually before I got this demo from him I was attempting to do something similar inside Bootstrap4XPages and now I might try and switch to dGrowl for the additional features.
In addition to using dGrowl there’s great information on installing the dojo plugin that could apply to adding other plugins to your applications as well.
UPDATE: Brad’s made a blog post on enhancing this even further.
http://xcellerant.net/adding-new-message-styles-to-dgrowl/
UPDATE 2:
Here are some additional posts on getting this type of effect in XPages
Jesse Gallagher: https://frostillic.us/f.nsf/posts/76483656EE4A797B85257D1D00552CF1
Frank van der Linden: http://elstarit.nl/?p=143
In this show, we get another great new contributor joining the NotesIn9 family. Please welcome Shean P McManus to the show. His blog is: http://spmcmanus.net I’m really excited to get Shean on as he gives us a great demo on using Bootstrap for an XPages mobile focused application.
Shean manually added Bootstrap to his application. Another option is to use a great project on OpenNTF to do this for you via an update site.
http://bootstrap4xpages.openntf.org/
Also check out Oliver Busse’s work and Bootstap template: http://mardou.dyndns.org/hp.nsf/index.xsp
https://github.com/zeromancer1972/Bootstrap-3-Template
In the beginning of the show I mentioned a, hopefully, future contributor. Greg Reeder. Check out his blog here: http://reederprogramming.com/ He’s starting a video series that’s basically a “Build an XPages app meets Intro to Java”. The first video is here: http://XPag.es/?1DEE I highly recommend you check that series out.
P.S. Sorry it’s been a while between shows. I have several more in the queue so stay tuned!!
This is the last show I have from Tim Tripcony. This is probably the simpliest demo he’s done for Ni9 but no less important. It’s a demo of a way to return a message to a user based on an action.
Tim actually gave me this demo maybe a year ago and I just totally forgot about it and I assume he then did as well. While I hate the thought of forgetting about it I think it makes this show a little special. I was so happy to discover it when I went through our shared dropbox.
#codefortim
In this show Tim Tripcony explains how to get your Domino server to PROVIDE OAuth credentials and services.
#codefortim
Note: This show is a odd resolution because Tim sent me his demo at a bigger size then normal. Because of this I’m not sure if it will play on mobile devices.
In this show Tim Tripcony explains that while we’ve typically been binding to a value all this time, it’s possible to bind to a component inside your XPages Development.
This show was originally published elsewhere and I basically grabbed this to try and improve the visibility and get Tim’s information as much exposure as possible.
I have 2 new unpublished videos from Tim coming next.
#codefortim