• P8DEMO
  • NEWBIE
  • 0 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies

The new updated Force.com IDE (v29) has unicode issue with its Visualforce HTML editor.

 

When editing *.pages with unicode characters (ex. Japanese, Chinese), the unicode characters can't display correctly and also it can save those characters correctly.

 

Previous Force.com IDE (before v29), it doesn't have such issue.

 

The Apex editor of the latest Force.com IDE (v29) is Ok with editing unicode *.cls.

 

  • November 27, 2013
  • Like
  • 0

Hi,

 

I have a visualforce page where i have a from date and to date field and a picklist which has all objects. There is a command button.

 

We have to select from date and to date and select a object from picklist and when pressed, it will display all the records in that object.

 

Need Help

----

<apex:page controller="objectLists">
   <apex:form >
    From Date :<input type="date" name="frmday" id="fday"/>
    To Date :<input type="date" name="today" id ="tday"/>
    <apex:SelectList value="{!val}" size="1">
       <apex:selectOptions value="{!Name}" id="list"></apex:selectOptions>
     </apex:SelectList>
     <apex:commandButton value="Display" action="{!display}"/>
   
   </apex:form>
   <apex:pageBlock ></apex:pageBlock>
 </apex:page>

 

---controller --

public class objectLists{
String searchText;
  List<Lead> results;
  public String val {get;set;}
  public String objName { get; set; }
  List<Account>  lstaccount = new List<Account>();
  public List<SelectOption> getName()
 {
    List<Schema.SObjectType> gd = Schema.getGlobalDescribe().Values();  
    List<SelectOption> options = new List<SelectOption>();
    for(Schema.SObjectType f : gd)
    {
     options.add(new SelectOption(f.getDescribe().getLabel(),f.getDescribe().getLabel()));
    }
    return options;
    }