• imuino
  • NEWBIE
  • 155 Points
  • Member since 2010

  • Chatter
    Feed
  • 6
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 64
    Replies

Hi-

 

I'm a beginner with visualforce, and I'm trying to implement a simple javascript image slideshow for a splash page. I implemented it successfully in standard html, but visualforce doesn't seem to like it.

 

The script to preload the images is in the head:

<script type="text/javascript">

<!--

var image1=new Image()

image1.src="{!$Resource.slide1}"

var image2=new Image()

image2.src="{!$Resource.slide2}"

var image3=new Image()

image3.src="{!$Resource.slide3}"

-->

</script>

 

Then the script for the slideshow is in the body:

 

<img src="{!$Resource.slide1}" name="slide" />

<script>

<!--

var step=1

function slideit(){

if (!document.images)

return

document.images.slide.src=eval("image"+step+".src")

if (step<3)

step++

else

step=1

setTimeout("slideit()",5000)

}

slideit()

//-->

</script>

 

Plz help, I'm totally noobing out on this one :(

 

-Karl

I am working on a new SF implementation for a business that does process manufacturing and products frequently have prices with up to 12 decimal places.

 

Is it possible to change the product pricing data type to support more than two decimal places?

 

 If so, how?  If not, what is the workaround or best-practices solution?

 

 

Thanks in advance.

I'm fairly new to apex/visual force and I'm having a strange error that I am unsure how to troubleshoot.

 

I have a form in visualforce

    <apex:page controller="SyncController">
<apex:sectionHeader title="Manual Export" subtitle="Manually export contacts and/or leads to your Postal mailing lists"/>

<apex:pageMessages />

<apex:form id="exportForm">

<apex:pageBlock title="List Settings">

<label>List Name</label> <apex:inputtext id="listName" required="true"/><br/>

</apex:pageBlock>

<apex:pageBlock title="Export Type">

<apex:selectRadio id="exportType" value="{!exportType}" required="true">
<apex:selectOptions value="{!exportTypes}"/>
</apex:selectRadio>


</apex:pageBlock>

<apex:commandButton action="{!manualExport}" value="Export" />
</apex:form>

</apex:page>

And my controller looks like this:

public with sharing class SyncController {

	public String exportType {get;set;}
	public String listName {get;set;}
	
	public PostalAccount__c account;
		
	public Integer contactsExported = 0;
	public Integer leadsExported = 0;
			
	public SyncController(){
		this.account = PostalAccount__c.getInstance();
		if (this.account == null){			
			ApexPages.addMessage(new ApexPages.message(ApexPages.severity.ERROR, 'You must configure your Postal Account settings before you can export'));			
		}
	}
	
	public Boolean exportReady{
		get {
			if (this.account == null)
				return false;
			else
				return true;
		}
	}
			
	public List exportTypes{
		get {
			List exportTypes = new List();
			exportTypes.add(new SelectOption('C', 'Contacts'));
			exportTypes.add(new SelectOption('L', 'Leads'));
			exportTypes.add(new SelectOption('LC', 'Leads and Contacts'));
			return exportTypes;
		}
	}

	public PageReference manualExport(){
		this.exportType = ApexPages.currentPage().getParameters().get('exportType');
		this.listName = ApexPages.currentPage().getParameters().get('listName');
		
		PostalExporter exporter = new PostalExporter(this.account.Postal_Domain__c, this.account.Postal_User__c, this.account.Postal_Password__c);
		Boolean result;
		
		if (this.exportType.compareTo('C') == 0){
			result = exporter.exportContacts();
			if (result){
				ApexPages.addMessage(new ApexPages.message(ApexPages.Severity.INFO, 'Exported ' + exporter.contactsExported + ' Contacts'));
			}
		} else if (this.exportType.compareTo('L') == 0){
			result = exporter.exportLeads();
			if (result){
				ApexPages.addMessage(new ApexPages.message(ApexPages.Severity.INFO, 'Exported ' + exporter.leadsExported + ' Leads'));
			}
		} else if (this.exportType.compareTo('LC') == 0){
			result = exporter.exportAll();
			if (result){
				ApexPages.addMessage(new ApexPages.message(ApexPages.Severity.INFO, 'Exported ' + exporter.contactsExported + ' Contacts'));
				ApexPages.addMessage(new ApexPages.message(ApexPages.Severity.INFO, 'Exported ' + exporter.leadsExported + ' Leads'));
			}
		} else {
			ApexPages.addMessage(new ApexPages.message(ApexPages.severity.ERROR, 'Invalid export type'));
			result = false;
		}
		
		if (result == false)
			ApexPages.addMessage(new ApexPages.message(ApexPages.severity.ERROR, 'Export failed'));
				
		return null;
	}
	
}

Since i'm in the preliminary stages of development my exporter class does nothing but return true or false for now so all i want to happen is to go back to the form and just show some debug statements. The problem is I am getting a very cryptic error when i submit the form:

end tag name </HEAD> must be the same as start tag <META> from line 2 (position: TEXT seen ...:verdana,sans-serif}PRE{font-family:sans-serif}--></STYLE>\n</HEAD>... @5:8) 

I am stumped so any insight would be appreciated. thanks.

Hello,

 

In my VisualForce page i have a select list whose values i want to pass to my Controller when the command button is pressed.

The select list  is defined as follows :

 

 <apex:selectList id="member_list" value="{!selectedMembers}" size="10" >
                 <apex:selectOptions value="{!memberNames}"/>
 </apex:selectList>

 The command button is defined as follows :

 

<apex:commandButton value="Save" action="{!move}" rerender="hiddenBlock">
              <apex:param name="selected" 
                value="{!selectedMembers}" 
                assignTo="{!selectedOptions}"/>

</apex:commandButton>
<apex:pageBlock id="hiddenBlock" rendered="false"></apex:pageBlock>

If im not mistaken, {!selectedMembers } is the set of all values in my select list.

Now, in my controller, how to define {!selectedOptions} as List <String> object ?

 

Please help

Thank You.

 

 

 

 

 

I am trying to setup radio buttons with descriptive text on mouseover, however the tooltip text is not appearing. The rendered HTML appears correct. I am wondering if there is some way to make this work, or if I will need to resort to using Javascript with standard HTML input fields. Here is the current code that is not displaying tooltips:

 

      <apex:selectRadio id="select_1a" value="{!Evaluation__c.CommunityNeed__c}">
          <apex:selectOption itemValue="1" itemLabel="Low" title="Little or no description of community need"/>
          <apex:selectOption itemValue="2" itemLabel="Medium" title="Describes community need in general terms and offers little or no verifiable supporting research or data"/>
          <apex:selectOption itemValue="3" itemLabel="High" title="Describes community need in specific terms and includes verifiable supporting research or data"/>
      </apex:selectRadio>

 

The following alternate code on the same page shows the tooltip but will require extra work to save selected values to the Evaluation object:

 

    <table>
    <tr><td>

    <input name="community_need_options" type="radio" value="1"><label for="community_need_options" title="Little or no description of community need">Low&nbsp;&nbsp;</label></input>
    </td><td>
    <input name="community_need_options" type="radio" value="2"><label for="community_need_options" title="Describes community need in general terms and offers little or no verifiable supporting research or data">Medium&nbsp;&nbsp;</label></input>
    </td><td>
    <input name="community_need_options" type="radio" value="3">
    <label for="community_need_options" title="Describes community need in specific terms and includes verifiable supporting research or data">High&nbsp;&nbsp;</label></input>
    </td></tr>
    </table>

 

Thanks.

Rich

I need to trigger the OnChange event for a custom component (a 'Time Picker') on a particular page where it's used in a table.   The onChange event needs to call a rooutine to update a boolean flag. I have tried using actionfunction on the page, actionsupport within the component, and also creating an optional 'OnChange' attribute in the component to hold the value of a Javascript function.

 

It's difficult to post code since I've tried so many different things. Here are some snippets of the current state:

 

Here is a portion of the page.  NOTE: The Start Date field (shown before the Start Time Time Picker field)  successfully calls the  changeUpdateFlag function.

 

 

 <apex:pageBlockSection columns="1" >
       <apex:pageBlockTable value="{!newClassList}" var="c" id="table">
             <apex:column headerValue="Start Date">
                  <apex:inputField value="{!c.StartDate}" onChange="changeUpdateFlag();" />
              </apex:column >   
              <apex:column headerValue="Start Time">
                  <c:TimePicker PickTimeField="Start Time" id="StartTime" value="{!c.StartTime__c}" onChange="changeUpdateFlag();"/>
               </apex:column>   
        </apex:pageBlockTable>
</apex:pageBlockSection>

<apex:actionFunction action="{!changeUpdateFlag}" name="changeUpdateFlag" rerender="theForm"/>

 

Here is the component:

 

<apex:component >
    <script src="{!URLFOR($Resource.JQuery)}" type="text/javascript" ></script>
    <script src="{!URLFOR($Resource.TimePicker,'/src/jquery.ptTimeSelect.js')}" type="text/javascript" ></script>
    <apex:stylesheet value="{!URLFOR($Resource.TimePicker,'/src/jquery.ptTimeSelect.css')}" ></apex:stylesheet>
    <apex:stylesheet value="{!URLFOR($Resource.TimePicker,'/example/ui.core.css')}" ></apex:stylesheet>
    <apex:stylesheet value="{!URLFOR($Resource.TimePicker,'/example/ui.theme.css')}" ></apex:stylesheet>
    <apex:stylesheet value="{!URLFOR($Resource.TimePicker,'/doc/styles/main.css')}" ></apex:stylesheet>
    <apex:stylesheet value="{!URLFOR($Resource.TimePicker,'/example/css/timecntr/jquery-ui-1.7.1.custom.css')}" ></apex:stylesheet>

    <apex:attribute name="PickTimeField" description="Time field" type="string" required="true"></apex:attribute>
    <apex:attribute name="PickTimeLabel" description="Time Label" type="string" required="false"></apex:attribute>
    <apex:attribute name="value" description="" type="string" required="false" ></apex:attribute>
    <apex:attribute name="onChange" description="" type="string" required="false" ></apex:attribute>
         
    <apex:inputtext styleClass="myDate" value="{!value}" style="width:60px;font-family:Arial; font-size:.8m" onChange="{!onChange}" />
    
    <script type="text/javascript">
      
        $(document).ready(function() {
            $('.myDate').ptTimeSelect();
      });
     </script>
    
   </apex:component>

 

And here is the associated code in the page controller:

 

 

    public PageReference changeUpdateFlag() {
        bUpdated = true;
        return null;
        }

 

Any ideas on how to make this work for the component?

 

 

Error Message:

 

System.SObjectException: SObject row was retrieved via SOQL without querying the requested field: Opportunity.Product__c

<apex:page standardController="Opportunity" extensions="workFlowData" id="oppsPage">
        <apex:form rendered="{!renderMe}">
        <apex:pageblock >
            <apex:selectList value="{!flows}" size="1">
                <apex:selectOptions value="{!WFNames}"/>
            </apex:selectList>
            <apex:actionSupport event="onchange" rerender="oppsPage" status="status"/>
        </apex:pageblock>
        </apex:form>
        <apex:detail />
</apex:page>

 

public class workFlowData {
    private final Opportunity opp;
    String[] flows = new String[]{};
    
    public workFlowData(ApexPages.StandardController stdController) {
        this.opp = (Opportunity)stdController.getRecord();
    }
    
    public Opportunity getOpp() {
        return opp;
    }
    
    public List<SelectOption> getWFNames() {
        List<Workflow__c> wf_names = [SELECT id, name FROM Workflow__c ORDER BY name];
        List<SelectOption> wf_dropdown= new List<SelectOption>();
        wf_dropdown.add(new SelectOption('',''));
        for (Workflow__c wf_name: wf_names) {
            wf_dropdown.add(new SelectOption(wf_name.id,wf_name.name));
        }
        return wf_dropdown;
    }
    
    public String[] getFlows() {
        return flows;
    }
    
    public void setFlows(String[] flows) {
        this.flows = flows;
    }
    
    public Boolean getRenderMe() {
        return opp.Product__c == null ;
    }
}

 

 

Thanks for your help.

 

TRD

I am trying to set an apex trigger to send an email template to the account owner once a case has been created.

The email side work ok but i cannot pick up the account owner's email address.

 

Below is the code i have tried, a mix from other sources as i have little salesforce knowledge.

trigger emailToAM on Case (after insert) {
          
for (Case c : trigger.new) {          
    String[] showID = new String[] {c.OwnerId}; 
    List<User> u = [SELECT Id, Name, Email FROM User WHERE Id in :showID];
    String[] toAddresses = new String[] {u.id};  
    
    Messaging.SingleEmailMessage mail = new Messaging.SingleEmailMessage();

    // Strings to hold the email addresses to which you are sending the email.  
  
    mail.setToAddresses(toAddresses);
    mail.setReplyTo('noreply@salesforce.com');
    mail.setSenderDisplayName('Call Reception Unit');
    mail.setBccSender(false);
    mail.setUseSignature(false);
    mail.setTargetObjectId(c.ContactId);
    mail.setTemplateId('00XS0000000Ijgl');  
    
    Messaging.sendEmail(new Messaging.SingleEmailMessage[] { mail });
    }
}

 

I get an error when trying to compile:

Error: Compile Error: Initial term of field expression must be a concrete SObject: LIST:SOBJECT:User at line 6 column 42 

 

Any help much appreciated.

Hi,

 

I am using Email to apex to create a contact and task/event based on the subject of email.

Let me explain further. I first check for a contact using the email address and then if there are no records found i would then create the contact and a task to that contact.

Incase if i get a contact with same email address, i only need to create a task to that contact.

 

I have my email service setup and apex class compiling and saving without errors.

 

Now the Issue: The email would be sent in a specific format.

The format is :

 

First Name: Testing

Last Name : Email

E-Mail Address : test@email.com

 

From the above format my apex class should only pick the values on right side(values in red).

For this purpose i use substring method to get those values. Looks perfect until here.

 

The first thing of my Logic is to check if a contact already is there. so for this i use SOQL query,

[select Id from Contact where email=:c_email];, where c_email contains value "test@email.com"(from above).

 

Eventually for some reason i am not getting any rows returned even if there is a contact with same email address. I dont know whats happening here.

 

It does create a New contact with same email address.

 

I use a debug log to check if the email string is correct. My debug log shows correct email being filtered after using substring function.

 

One more important note, i tried to just send the email address without using substring function, the query works PERFECTLY.

But since my email would be of a specific format, i need that to pick it from there and check for existing contact.

 

I hope the problem is clear.

 

Can any one help me out here, if i am doing anything wrong?

 

Apex class:

global class ProcessApplicants implements
Messaging.InboundEmailHandler
{

    contact[] mycontact=new contact[0];
    
    global Messaging.InboundEmailResult handleInboundEmail
    (Messaging.InboundEmail email,Messaging.InboundEnvelope env)
    {
        Messaging.InboundEmailResult result = new Messaging.InboundEmailresult();
        string emailaddress=env.fromaddress;
        string e_Subject=email.Subject;
        string[] emailbody=email.plainTextBody.split('\n',0);
        string fname=emailbody[0].substring(12);
        string lname=emailbody[1].substring(11);
        string c_email=emailbody[2].substring(16);
        Datetime start_time=Datetime.Now();
        Datetime end_time=start_time.addhours(2);
        
        Contact inserted_Contact;
        contact existing_Contact;
                
        System.Debug('Email address after substring =='+c_email);
        try
        {
            //Contact[] existing_Contacts=[Select Id,email from Contact where email=:c_email limit 1];
            existing_Contact=[Select Id from Contact where email=:c_email limit 1];
            //existing_Contact=existing_Contacts[0];
            system.debug('Contact Id=='+existing_Contact.Id);
            if(e_Subject=='Registration Day')
            {
                Task[] myTask=new Task[0];
                myTask.add(new Task(Description='Testing Purpose',Subject='Make a Call',Priority='Normal',Status='Not Started',WhoId=existing_Contact.Id));
                insert myTask;
             }
             else
             {
                 Event[] myEvent=new Event[0];
                 myEvent.add(new Event(Subject='Junior Day',WhoId=existing_Contact.Id,EndDateTime=end_time,StartDateTime=start_time));
                 insert myEvent;
             }
        }
        
        catch(exception ex)
        {
            try
            {
              mycontact.add(new contact(FirstName=fname,LastName=lname,email=c_email));
              insert mycontact;
              inserted_Contact=mycontact[0];
          
              System.Debug('Contact Id_New=='+inserted_Contact.Id);
              if(e_Subject=='Registration Day')
              {
                  Task[] myTask= new Task[0];
                  myTask.add(new Task(Description='Testing Purpose',Subject='Make a Call',Priority='Normal',Status='Not Started',WhoId=inserted_Contact.Id));
                  insert myTask;
              }
              else
              {
                 Event[] myEvent=new Event[0];
                 myEvent.add(new Event(Subject='Junior Day',WhoId=inserted_Contact.Id,EndDateTime=end_time,StartDateTime=start_time));
                 insert myEvent;
              }
            }
        
            Catch(DMLException e)
            {
                System.Debug('Error in creating contact:'+e);
            }
         }
         
         
         
        
                                                                                                                                              
return result;
}
}

Debug Log:

18.0 APEX_CODE,DEBUG;APEX_PROFILING,INFO;CALLOUT,INFO;DB,INFO;VALIDATION,INFO;WORKFLOW,INFO
11:11:6.980|EXECUTION_STARTED
11:11:6.980|CODE_UNIT_STARTED|[EXTERNAL]ProcessApplicants.handleInboundEmail
11:11:6.981|METHOD_ENTRY|[13,28]|String.split(String, Integer)
11:11:6.981|METHOD_EXIT|[13,28]|split(String, Integer)
11:11:6.981|METHOD_ENTRY|[14,35]|String.substring(Integer)
11:11:6.981|METHOD_EXIT|[14,35]|substring(Integer)
11:11:6.981|METHOD_ENTRY|[15,35]|String.substring(Integer)
11:11:6.981|METHOD_EXIT|[15,35]|substring(Integer)
11:11:6.981|METHOD_ENTRY|[16,37]|String.substring(Integer)
11:11:6.981|METHOD_EXIT|[16,37]|substring(Integer)
11:11:6.981|METHOD_ENTRY|[17,29]|Datetime.Now()
11:11:6.981|METHOD_EXIT|[17,29]|now()
11:11:6.981|METHOD_ENTRY|[18,27]|Datetime.addhours(Integer)
11:11:6.981|METHOD_EXIT|[18,27]|addHours(Integer)
11:11:6.981|METHOD_ENTRY|[23,9]|System.Debug(String)
11:11:6.981|USER_DEBUG|[23,9]|DEBUG|Email address after substring == test@email.com
11:11:6.981|METHOD_EXIT|[23,9]|debug(ANY)
11:11:6.981|SOQL_EXECUTE_BEGIN|[27,30]|Aggregations:0|Select Id from Contact where email=:c_email limit 1
11:11:7.2|SOQL_EXECUTE_END|[27,30]|Rows:0|Duration:21
11:11:7.3|EXCEPTION_THROWN|[27,30]|System.QueryException: List has no rows for assignment to SObject
11:11:7.3|METHOD_ENTRY|[48,15]|LIST:SOBJECT:Contact.add(SOBJECT:Contact)
11:11:7.3|METHOD_EXIT|[48,15]|add(ANY)
11:11:7.3|DML_BEGIN|[49,15]|Op:Insert|Type:Contact|Rows:1
11:11:7.272|DML_END|[49,15]|
11:11:7.272|METHOD_ENTRY|[52,15]|System.Debug(String)
11:11:7.273|USER_DEBUG|[52,15]|DEBUG|Contact Id_New==003A0000009ICPEIA4
11:11:7.273|METHOD_EXIT|[52,15]|debug(ANY)
11:11:7.273|METHOD_ENTRY|[56,19]|LIST:SOBJECT:Task.add(SOBJECT:Task)
11:11:7.273|METHOD_EXIT|[56,19]|add(ANY)
11:11:7.273|DML_BEGIN|[57,19]|Op:Insert|Type:Task|Rows:1
11:11:7.471|DML_END|[57,19]|
11:11:7.476|CUMULATIVE_LIMIT_USAGE
11:11:7.476|LIMIT_USAGE_FOR_NS|(default)|
Number of SOQL queries: 1 out of 100
Number of query rows: 0 out of 10000
Number of SOSL queries: 0 out of 20
Number of DML statements: 2 out of 100
Number of DML rows: 2 out of 10000
Number of script statements: 22 out of 200000
Maximum heap size: 0 out of 12000000
Number of callouts: 0 out of 10
Number of Email Invocations: 0 out of 10
Number of fields describes: 0 out of 10
Number of record type describes: 0 out of 10
Number of child relationships describes: 0 out of 10
Number of picklist describes: 0 out of 10
Number of future calls: 0 out of 10
Number of find similar calls: 0 out of 10
Number of System.runAs() invocations: 0 out of 20

11:11:7.476|CUMULATIVE_LIMIT_USAGE_END

11:11:7.476|CODE_UNIT_FINISHED
11:11:7.476|EXECUTION_FINISHED

According to SFC documentation "values can be a primitive". An Integer is a primitive.

 

I am building a trigger that requires me to do a check on how many Circuits have already been defined. If the user is defining the first circuit, all fields are required. I had the count in a for loop and it works fine until I break the bulk trigger rules with Too many SOQL queries

 

Integer mycount  = [select count() from Circuit__c where Device__c = :circ.Device__c];

 

So I thought I would put the count in a Map and correlate it to an Id.

 

Map<Id, Integer> circCountMap = new Map<Id, Integer>
   ([SELECT count() FROM Circuit__c WHERE Device__c in:devIds]);

 

But when I try to save, I get an error

Error: Compile Error: Invalid initial type Integer for MAP:Id,String at line 13 column 35 

 

Why can't I do this? And does anybody have a suggestion for how I can get the counts so I can check each Circuit being inserted?

 

Thank you

 

Hi,

 

I wold like to create a table in PDF formatted this way. What attribute do I use to space the varying length of the columns.I am not sure if the below format is clear. I would like to have varying column lenghths. how to acheive this?

 

Heading1            Heading4                                                                             Heading5

 

 

Heading2           

                            Heading6                          Heading7

 

 

 

                            Heading8              Heading9                     Heading10

 

 

Heading3

I'm writing a visualforce page that has a lot of custom styles.

 

I added the standardStylesheets="false" attribute to my apex:page so as not to interfere with my custom styles.

 

When I did so, all of my apex:outputfields began rendering twice on the page.

 

Here is a screenshot.

 

Two questions:

  1. Does anyone know WHY this is happening?
  2. If so, do you have a solution to keep the "Text Area (Rich) " apex:outputfields from rendering twice?

NOTE: All outputfields I'm referencing in the screenshot above are the new "Text Area (Rich) " fields (which are listed as beta) on a custom object I've named "Spec Sheets".

Iam trying to render a document as pdf , & created a VF page but when its displaying data on the page its showing date with the time

"Tue Apr 13 00:00:00 GMT 2010"  in this format where as i want it to display just the date . how do i do it 


 

 

I have created a web site in Salesforce.com using the sites feature. When I click on the Custom Web Address URL it takes me to the web site I have created, However it retains the salesforce attributes about the site. It retains the links in the header for  

 

                  System Log•Help & Training•Logout.

 

It also retains links in the footer


                 Copyright © 2000-2010 salesforce.com, inc. All rights reserved. | Privacy Statement | Security Statement | Terms of Use | 508 Compliance

 

This appears under the custom footer that I have created.

 

How can I get rid of these links and make my site look like any other internet web site?

 

Thanks in advance.

Hi, Please could you help me take one value from a field of object contact? This is my code, it is not working properly(the result is null), the ID 0033000000bOWgWAAW exist and the name of the field is correct, I want to take a value of field address and send it via url to external web service.

 

    contact cont = new contact(Id = '0033000000bOWgWAAW');
    string name2 = cont.FirstName; /// the result is null

 

All this code is inside a class or inside a trigger.

 

I thing this is a simple thing but I am stuck. (I check the book "apex code developer's guide Version 18").

 

Thanks in advance

I am trying to refer to a component using document.getElementById which is includede by apex:insert tag. The problem is I am not having control over specifying Id for the Insert tag, which salesforce assigns randomly when page renders.

 

Below is the sample code, I am not able to get reference of  "idLabelTag".

 

    <apex:insert name="header">
            <c:BIBheader />
    </apex:insert>

<apex:component id="BIBheader">

        <apex:outputLabel  id="idLabelTag" >800 888 1111</apex:outputLabel>

</apex:component>

 

Is there something I can do to fix this?

Hi there,

 

My first post here to ask for some help.

 

I'm trying to display a rich text field on a page with a single standard controler.

 

Everything's ok and is displayed correclty on the apex page (https://aax.salesforce.com/apex/page?id=xxxxxx) but as soon as I display that page in the public site version, i'm getting an "Authorization Required" Page.

 

I already checked :

- That pages are includes in this site.

- That all the fields security settings are correct.

- All the objects are readable

- The guest user has all the necessary rights above

- The API version of all classes and pages are set to 18.0

 

If I comment the line displaying this field, everythings displayed correclty : 

 

<apex:outputText escape="false" value="{!xxxxxxxxx__Vacancy__c.Publication_Text__c}" />

 

 

Nothing's displayed in the logs.

Any clue ? :'(

Any Bug reported already about that ?