I have 4 conditions to check, I want to check it inside oncomplete statement.
I recognized that I can check only two using if else. 
If I use if -> else if -> else if -> else if to check 4 conditions in oncomplete.
When I did that it can check only if and else if (again 2 conditions only) 
Is any way to check more than two conditions?
That's my code. That code can check only if and 1st else if 

```
<a4j:commandLink .....
action ....
oncomplete=" if (1st condtition ) ; else if (2nd condition) ; else if (3th condition ) ; else if (4th condition)"

```

Any ideas?