Categories
Learning XPages Notes In 9 XPages

NotesIn9 PDF Edition: Using Resource Bundles to store config information in XPages

I’m really excited to have a NEW contributor today.  Please welcome Dan Soares to the show!  Well kinds of at least.  I’ve been trying to get him on for a LONG time and while I’ve yet to get a video I have received from him a great article and sample database on using resource bundles in XPages.

Thanks Dan!

 

P.S. If your company blocks videos either from this site or YouTube, please print this article out on the company printer, read it on company time and have a little chuckle when done!

 

 

Using resource bundles to store configuration information in your XPages application

 

configexample.nsf

Categories
Notes In 9 Podcast XPages

NotesIn9 151: Bootstrap ProgressBars in XPages

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.

 

Categories
XPages

Shockingly I just did some cool CSS!

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.

buttons

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;

}

Categories
Notes In 9 Podcast XPages

NotesIn9 150: Announcing fileVault for XPages

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