no apologies necessary, you actually saved me here... I think what I need is this:
if (getComponent("Password").getSubmittedValue() != getComponent("ConfirmPassword").getSubmittedValue())
Should help load the Java code through, I suspect I should be okay... Will play around with it and post the finished product.
Good to know of the SSJS option... Steering away from SSJS embedded Xpages UIs for this project, but it can be of good use for others.
Thank you kindly:-)