+ Start a Discussion
YashavantYashavant 

Want to changed the styleClass of particular CommandLink from Group of 'CommandLink' on condition

HI,


Code:
<apex:repeat value="{!valuesForPageNumber}" var="page" id="theRepeat" >
        <apex:commandLink value="" onClick="setLink({!page})" action="{!paginationLink}" >
              <apex:outputText value="{!page}" styleClass="{!buttonStyleClass}"/>
        </apex:commandLink>&nbsp;&nbsp;
</apex:repeat>

 
Suppose, i displayed 1-10 commandLink and i can apply style to that group. But if i want change the style of particular commandLink from group of (10) commandLink, how to achieve it?

In short, i want to changed the style of particular commandLink within group depending on condition.


Yash
TehNrdTehNrd
Here is a post about conditional styling:

http://community.salesforce.com/sforce/board/message?board.id=Visualforce&message.id=2858&query.id=62518#M2858
YashavantYashavant
Thank you very much for your immd response.

Yash