Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 333

A controller is one piece in the Model-View-Controller (MVC) architecture of Visualforce. A controller can be a standard or custom controller and extensions to controllers can written.

2 votes
2 answers
10k views

How do I access a Map in my Visualforce page?

I have a custom controller that returns a map like this: Map<String, String> In my visualforce page, how do I access this map? … result} </c:Query_article_view> This is my component: <apex:component controller="Article_View" access="global"> <apex:variable value="{! …
Di Zou's user avatar
  • 429
0 votes
3 answers
2k views

Getting an error when trying to create a custom page with a custom controller

I am trying to create a custom Visualforce page with a custom controller by following the example on this page: http://www.salesforce.com/us/developer/docs/pages/Content/pages_controller_custom.htm However …
Di Zou's user avatar
  • 429
5 votes
2 answers
1k views

Having trouble getting the KnowledgeArticleViewStat for the KnowledgeArticle

This is my controller: global with sharing class Article_View { global Map<Id, String> results { get { KnowledgeArticleViewStat result; List<KnowledgeArticleViewStat … results[key]}' in component <apex:variable> in component c:query_article_view So I decided to print out the Map my controller was returning and the {!article.id} to see what values are in it. …
Di Zou's user avatar
  • 429