Discussions
- General Development
- Schema Development
- Apex Code Development
- Visualforce Development
- Formulas & Validation Rules
- Security
- Mobile
- Force.com Sites & Site.com
- Chatter Development
- Java Development
- .NET Development
- Perl, PHP, Python & Ruby
- Desktop Integration
- APIs and Integrations
- Visual Workflow
- Apple, Mac and OS X
- VB and Office Development
- AppExchange Directory & Packaging
- Salesforce Labs & Open Source Projects
- Other Salesforce Applications
- Jobs Board
- Force.com Discussion Boards
- :
- Developer Boards for Force.com and Database.com
- :
- Visualforce Development
- :
- Clarification on usage of Rendered tag
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Clarificat ion on usage of Rendered tag
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
11-15-2012 12:05 PM
HI ,
In My Vf Page i am using some condition by using rendered tag. this page is used for enetering Opportunity line items.
So we can eneter Opp line items only on open opportunites so to check whether Opp is Open or closed i am using the below tag. if it is Open then display the service entery page.
<apex:outputPanel id="lineItemdetails" rendered="{!Opp.isClosed == false}">
And now my question is my company wants me to exempts 5 profiles from this can i just add an OR condition and give something like $user.profile .
Thanks
Akhil.
Re: Clarificat ion on usage of Rendered tag
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
11-16-2012 01:29 AM
yes you can do that but u can make use of $profile.name directly to get the current user's profile name..... but i will suggest you to work in a different way like to make this dynamic...make be your requirement is for 5 rpofiles as of now. but in future it may increase or decrease in that scenario u need to edit the code to view the changes....like you can make use of custom settings , apex to make it dynamic..by this admin can change the custom seetings in the custom settings itself .....hope this helps u
My Blog
Kiran

