Is it possible to use not conditon in SPEL

Hi experts ,
We want to use not condition in spel.
we are using the value "${oa.HzPuiOrgContactRolesVO.billTo}" for spel.
In the page i have to apply this spel in two places.
one on readonly and one on rendered place.
If the value of "${oa.HzPuiOrgContactRolesVO.billTo}" is TRUE
i want to make input text 1 readonly which is working fine. (Given spel for readonly)
i want to hide Remove button which I am unable to do as the spel is returning true . (Given spel for rendered)
Is is posible to make "${oa.HzPuiOrgContactRolesVO.billTo}" as false by using some expressions.
Thanks
Gayaz

SPEL doesn't support any form of expressions.
Do whatever you want in the VO getMethod().
eg:
if you want to compare and return some ture or false results, do like this in VORowImpl.java
public Boolean getXXConditionAttribute(){
//You can embedd any complex logic here and return the results
if(getAttribute1() =="XXX" || getAttribute2() == "YYY")
return true;
else
return false;
--Prasanna                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

Maybe you are looking for

  • Cannot get sound to work on my notebook

    My HP Pavilion dv6-6c02tu sound icon on the taskbar now has a red cross next to it and I have no sound.  These are the steps I have tried so far to resolve the issue. - Clicked on the sound icon on taskbar. My computer checked the audio driver and tr

  • It is Very simple but intresting...........plz give me ans of my simple pro

    <h4> Hi friends , I have some probs. that i can not understood the logic behind this......if any one know plz reply me. This is one sample prog. class test      public static void main(String str[])           int i=10;           int j=i++;           

  • Streaming videos trouble

    Hello guys how are you? When im try to see a streaming video in a site like youtube, my video stops and only the sound works,when the video start in 0~1 sec aproximatelly.. this issue occurs for only 1sec, but its too boring... Somebody know if it is

  • Reading BLOB

    Hi, I successfully inserted a file into a BOLB column in oracle database using java program(prepared statement). I wanted to read that blob column and convert that as a file object. Thanks in advance.

  • If I download a movie can I still access it when logged out of my Apple ID but on the same device?

    Help!