• lescclark
  • NEWBIE
  • 0 Points
  • Member since 2009

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

Hi

 

I a have a couple of queries - I have set up some pretty standard vf pages that I want to use for a site,using the standard SF look & feel. 

 

I have the search toolbar on the left hand side and for simplicity want public users to be able to use this. However, if they use this via the site the results return a search list view, which is fine, however, the hyperlink from any returned record takes me to a standard SF page rather than to the VF page that I require.  How can I customise the links on these results pages.  I have created other VF pages with custom links so the code's not the problem, it's where do I write it !

 

I also have the same problem using the standard list views, which likewise for simplicity would like to use.  Alternatively can I insert the standard "views" drop-down & the "A to Z" list into a custom VF page or do I need to create one

 

thanks

Les

Message Edited by lescclark on 03-02-2010 05:31 AM

Hi

 

can't seem to find an answer to this one anywhere !

 

Can i use select to SOQL picklist values ? If as I suspect the answer is 'no' what is the standard way to do this.

 

ta in advance

Hi

 

I am new apex and have developed my first code this week.

 

I have created VF pages with extended controllers quite simply to run basic queries & to return results.

 

My 2 issues are:

 

i) I navigate to a VF page that utilises an extended controller, lets say accounts.  When I land on the page I want to assign a value to a variable, let's say assign value of account.city__c to myVariable.  The page then displays a list of Contacts where contact.city__c = myVariable. I pretty much have this working but I can't assign & use myVariable automatically when I navigate to the page, I am having to initiate the method through a commandLink in the VF page which uses assignto to assign the variable & display the list.

 

ii) this is probably a similar and related issue - I have a vf page that uses inputtext to capture some search text.  When hitting a commandbutton, navigate to another page that displays the results.  Likewise, I have this working in principal but don't know how to pass the list of results to the new page.

 

I'm pretty sure that these are due to my lack of knowledge of variables & have tried to get my head round them via various sources but just can't seem to find a solution.

 

Thanksin advance

 

Les

Hi

 

I have created a vf page that displays details of a custom object and also a couple of related lists in data tables.  When I hover over a record in the related list I would like to be able to partial refresh a page block that shows some of the details for the related object.

 

For example (& this is hypothetical to try to explain what i am trying to do with custom objects) - i am viewing an account record, the vf page also shows me a related list of contacts.  When I hover over a contact in the related list the contact details refresh in a seperate page block elsewhere on the page.

 

This is what I can do (!) - I  know that I can do exactly this by refreshing using the detail tag as I can pass the Id intothe "subject" field, this is fine but doesn't work as I only want to show selected fields.  I don't think I can pass the id to a 

 

Can i achieve this without having towrite Apex code in the form of a controller?  I supsect not, I am pretty new to Visualforce and haven't yet tackled Apex in full. 

 

If this is the case what I think need in the short term is some code that captures the record ID when I hover over the related list record, and passes this to a page block that re-renders using this ID.

 

Any help or suggestions greatly appreciated

 

 

Hi

 

am pretty new to visualforce and am trying to get some css to work -  without any success!

 

Even when i use the example from http://wiki.developerforce.com/index.php/An_Introduction_to_Visualforce I can't get it to work.

 

This is what I do:

 

paste the following into notepad & save as styles.css

.mystyle {
background: url(img/mybackground.png);
font-size:18pt;
font-weight:bold;
width:220px;
height:59px;
}


 I upload as a static resourse called "styles".

 

create a new vfpage using

 

<apex:page showHeader="true" standardStyleSheets="false">
<apex:styleSheet value="{!URLFOR($Resource.styles,'styles.css')}"/>
<apex:outputPanel styleClass="mystyle" layout="block">
My Styled Panel
</apex:outputPanel>
</apex:page>

 and it renders as plain unformatted text.

 

any suggestions ? I guess there is some css syntax that I'm missing ??

Hi

 

We are looking for a freelance developer that we can work with in helping us to develop / administer a (currently!) small application in the healthcare market.

 

thanks les

I noticed this entry on the Spring '10 Preview website: http://developer.force.com/releases/release/Spring10/Authenticated+Website+User

 

Sounds intriguing - I assume this means we can allow public, non-portal site users to create user accounts and authenticate.

 

I kicked around a Spring 10 pre-release org and see the profile type there, but I cant do much with it.

 

Anyone have details around this new user type? Also, what's the pricing structure going to be? The portal pricing structure has been the main reason why we haven't been able to move ahead with creating authenticated Force.com sites. Hope this changes things... 

  • January 18, 2010
  • Like
  • 0

Hi

 

can't seem to find an answer to this one anywhere !

 

Can i use select to SOQL picklist values ? If as I suspect the answer is 'no' what is the standard way to do this.

 

ta in advance

Hi

 

I am new apex and have developed my first code this week.

 

I have created VF pages with extended controllers quite simply to run basic queries & to return results.

 

My 2 issues are:

 

i) I navigate to a VF page that utilises an extended controller, lets say accounts.  When I land on the page I want to assign a value to a variable, let's say assign value of account.city__c to myVariable.  The page then displays a list of Contacts where contact.city__c = myVariable. I pretty much have this working but I can't assign & use myVariable automatically when I navigate to the page, I am having to initiate the method through a commandLink in the VF page which uses assignto to assign the variable & display the list.

 

ii) this is probably a similar and related issue - I have a vf page that uses inputtext to capture some search text.  When hitting a commandbutton, navigate to another page that displays the results.  Likewise, I have this working in principal but don't know how to pass the list of results to the new page.

 

I'm pretty sure that these are due to my lack of knowledge of variables & have tried to get my head round them via various sources but just can't seem to find a solution.

 

Thanksin advance

 

Les

Hi

 

am pretty new to visualforce and am trying to get some css to work -  without any success!

 

Even when i use the example from http://wiki.developerforce.com/index.php/An_Introduction_to_Visualforce I can't get it to work.

 

This is what I do:

 

paste the following into notepad & save as styles.css

.mystyle {
background: url(img/mybackground.png);
font-size:18pt;
font-weight:bold;
width:220px;
height:59px;
}


 I upload as a static resourse called "styles".

 

create a new vfpage using

 

<apex:page showHeader="true" standardStyleSheets="false">
<apex:styleSheet value="{!URLFOR($Resource.styles,'styles.css')}"/>
<apex:outputPanel styleClass="mystyle" layout="block">
My Styled Panel
</apex:outputPanel>
</apex:page>

 and it renders as plain unformatted text.

 

any suggestions ? I guess there is some css syntax that I'm missing ??