Categories





IM me on the bleedyellow.com sametime community - jeremy.hodge@zetaone.com

07/04/2009

There's nothing like trying to learn new technology to make you feel stupid sometimes.

Category :
0
I really do think xpages are great. For the first time I believe I have a real web development platform with Lotus Domino, rather than feeling like everything is a hack. The only problem is, its making me feel like a hack trying to figure some things out. Add to that Odd Quirks that throw me for loops for hours and it gets to be so frustrating and I start to feel as sharp as a pound of wet leather.

Now, I'm trying to set up a simple XPages user registration page. You know, enter your user name, password, confirm your password, etc ... I've got validation working all the way around, except I need to validate that the password and the confirm password boxes have the same value, and for the life of me, I can't figure it out. I try to write validators in the same manner that worked for other fields, except I hit roadblocks every time I attempt to compare the two fields.

I thought I was good when the Domino Designer Wiki had an example of exactly this .... well, it didn't work either it uses a method getSubmittedValue() that doesn't actually exist,and when I try to access the values any other way, it just doesn't work.

XPages are really great, they are game changers, but they are also a pain to figure out ...

07/03/2009

An XPages "Did you know" factoid

Category :
0
Did you know ... an XPage's name in the URL is case sensitive ?

http://www.YourDomain.com/yourpath/yourdb.nsf/UserProfile.xsp

is not the same as

http://www.YourDomain.com/yourpath/yourdb.nsf/userprofile.xsp

if your XPage is named UserProfile, userprofile.xsp returns a 404 error

Update: Its not consistent. while userprofile.xsp and UserProfile.xsp might work, userprofile-userconfig.xsp and UserProfile-userconfig.xsp may not.

07/03/2009

This is why LOTUS DOCUMENTATION CHAPS MY .... or Will the real XPages Themes stand up?

Category :
0
Oh, Lotus documentation writers, for future reference, when I need to know how to create a theme document in a database, don't start me out by having me creating a new database .... It's bad enough the help here is 17 steps,difficult to visually follow, and looks like it came straight from the middle of the dictionary.  Seriously, this entire help document can be condensed down to:

"To create a new theme resource, Open your database in domino designer, and expand the Resources category. Double click the "Themes" entry, and click the "New Theme" button. Give the theme a name, and click ok... then add a few links about what the #&*$* a theme is, how to apply it to the database, and, add a few links to other topics and we're good. Seriously.
Read More

07/02/2009

Calling XPages Gurus (CSS Question)

Category :
0
So I have an xpage, inside that xpage, there are two Custom Controls ... the visual header and footer of the page ... in the header custom control, I load all my common CSS files, in the proper order I want them called ..

Then, in the xpage itself, I want to load another CSS file, specific to that xpage. That CSS overrides CSS defined in the linked style sheets that are included in the Header Custom Control, so the <link> in the generated HTML needs to appear after the CSS <links> from the header. In the XML code, the header is defined before the stylesheet resource, as below...

        <xc:yb-header></xc:yb-header>
        <xp:this.resources>
                <xp:styleSheet href="/default.css"></xp:styleSheet>
        </xp:this.resources>

However, the server always outputs the style sheets defined in the XPage first, then any in the included custom controls. If I look at the Styles property box, the only style sheet shown is the one from the xPage, not anything defined in the custom control.  So I can't specify to load those before the custom control.

Does anybody know a way to tell xpages the order of to load the linked CSS files, including the ones in the custom control? I'd hate to have to define them each time in the xpage itself.
Read More

06/28/2009

I'm hoping some of these "annoynaces" in xPages gets fixed in 8.5.1

Category :
0
1. Computed Fields are treated as block elements in the designer, even though they render as spans (thus inline) :: To reproduce, set clear:left; as the style for a computed field,and it clears the left margin in the desiger, but not in the browser (correctly so) - which leads me to the next issue:
2. Change the css on a computed field to display: block and the field's label disappears in designer, so unless you know its there, it just looks like white space
3. I find all that out because, what I really want to do is set a Visible property of some computed fields, with a <xp:br> after the data to format (like an address), but not leave blanks lines if there is no data, BUT you can't set the visible property for a break (<xp:br></xp:br>)
Read More

06/27/2009

My turn to talk XPages, good and bad ...

Category :
0
Unfortunately, until now, I have not been able to get deep into xpages like I have wanted to. And to be honest, some of the talk around the the virtual water cooler was telling me I was in for a little ride getting into it. Today I started my journey, helped along the way by others ahead of me like Declan and with very little help from the Lotus Documentation (is it just me that finds the help difficult to navigate from a "where do I start and where do I go" perspective)??
Read More

06/25/2009

Something is coming ...

Category :
0
yellowbubblelogo.jpg

06/22/2009

Does anybody have experience a good Domino CMS

Category :
0
Anybody out there know of a good (open source or paid) CMS based around domino and have experiences in it they'd like to share??
Read More

06/18/2009

Its time to bow to the power of CSS!

Category :
0
One of the things I've noticed a lot lately is developers when designing for the web, work way to hard to accomplish something on the web. Especially Domino designers. Thats mainly because we haven't had a real web-friendly design interface. I felt some reluctance and even push back when it comes to designing using CSS, and it just causes more work.
Read More

06/18/2009

Lets go wings

Category :
0
Just a quick shout out to the Detroit Red Wings in contention for awards in tonight's NHL Awards. Its not going to be the same as winning the cup, but having our team bring home some other trophies will be nice too. Datsuyk is up for a boat-load, and hopefully Lidstrom gets #7...