Dennis' Domino Blog

Category: "xpages"

xpages: Theme's and css media types

  05/31/10 10:52 am, by , Categories: Lotus, xpages

This weekend I was trying to embed blueprint in a xpages app.
All went fine, but I ran into 1 problem: How do you get your theme to use the following syntax?

<!--sample -->
<!-- Framework CSS -->
<link rel="stylesheet" href="../../blueprint/screen.css" type="text/css" media="screen, projection">
<link rel="stylesheet" href="../../blueprint/print.css" type="text/css" media="print">
<!--[if lt IE 8]>
<!-- Import fancy-type plugin for the sample page. -->
<link rel="stylesheet" href="../../blueprint/plugins/fancy-type/screen.css" type="text/css" media="screen, projection">

The media= part I can't fix with the theme? I tried the following:

<resource>
<content-type>text/css</content-type>
<href>screen.css</href>
<media>screen, projection</media>
</resource>

But the generated code doesn't take the media stuff into account at all.

<link rel="stylesheet" type="text/css" href="/dev/blueprint.nsf/screen.css">
<link rel="stylesheet" type="text/css" href="/dev/blueprint.nsf/fancyscreen.css">


Any suggestions on this?

6 comments »

Live demo: Online Workspace application

  05/05/10 09:08 pm, by , Categories: Administration, IBM, Lotus, Development, Web, xpages
So, the application I teased about earlier is finally ready for a live demo. Because it uses a profile document to store which applications you add, it's behind a login.

Username: Test User
password: test

Url: Workspace Beta

The app uses Xpages, SSJS, Jquery, AJAX posts and a good old notesagent. You can add applications and drag/drop them where you want.

There still is a big list of issues, but, the basis is there.
I've provided some dummy apps you can add. The user has no rights what so ever on the system, but for a proof of concept that's enough.
Please provide feedback on what you think about this application.



Upd. (07-05-2010):
Even though there is no feedback so far, I've made the app even better, it can now hold any website as an icon too. (demo has google as an example).

Sneak preview: Xpages and jQuery app.

  04/15/10 01:26 pm, by , Categories: Lotus, Personal, Web, xpages
Upd.: It's live, see here for more info.

I've been working on this for a while (heck, I'm an admin ;) ), so this is very much a W.I.P.
Whishlist: 30 A4's
Buglist: 35 A4's

What does it do? It lists "tiles" that are listed in a view with a view control, stores the location of the tiles in a cookie (yep, that will become ajax post someday). Moving works, closing works.


It's a learning curve for me with new techniques such as Xpages and Jquery, and a "how did this work" experience in combining css with Xpages etc.

(No live demo available yet)
2 comments »
 

©2017 by Dennis van Remortel

Contact | Help | Blog skin by Asevo | blog software | web hosting