FORUM PLAN UPDATE
Date revision: This forum will remain open to new posts and responses until December 1, 2018. (After that date, you will still be able to view and search the forum.) Also, we're taking a second look at the best place to host future conversation. For now, keep using this forum, and stay tuned for more news.



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:-)  

FORUM PLAN UPDATE
Date revision: This forum will remain open to new posts and responses until December 1, 2018. (After that date, you will still be able to view and search the forum.) Also, we're taking a second look at the best place to host future conversation. For now, keep using this forum, and stay tuned for more news.