Feb 15, 2012 10:21 AM
64 Posts

Re: Equivalent of the f:attribute JSF tag in Xpages

  • Category: Custom JSF code (Eclipse IDE)
  • Platform: Windows
  • Release: 8.5.2
  • Role: Developer
  • Tags: validator,attribute,JSF,Xpages
  • Replies: 3
no apologies necessary, you actually saved me here...  I think what I need is this: 
[CODE] 
 
<xp:this.expression><![CDATA[#{javascript:
        if (getComponent("Password").getSubmittedValue() != getComponent("ConfirmPassword").getSubmittedValue()) 
        { 
          return false; 
        } 
        else 
        { 
          return true; 
        } 
      }]]></xp:this.expression> 
 
 
[/CODE] 
 
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:-)