• DhilibanThangavel
  • NEWBIE
  • 0 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 7
    Questions
  • 5
    Replies

Hi 

 

In salesforce site page frequently we are receiving "We are down for maintenance" error msg. While this page is showing i am not getting any debug log. Please suggest to resolve this error. and how to check debug log for this type of errors.

 

 

Thanks.

Dhiliban Thangavel

Hi

 

Insted of Tab panel i am using command link. My Problem is once the user click the commandlink it should highlighted like tab's.  I have tried in CSS and Java Script. Its not working. Here i am rerender the whole page. Please any one help.

 

Thanks in Advance.

 

<div class="header_style">
                        <ul>
                            <li><a href="#">Vendor</a></li>
                            <li >
                                <apex:commandLink value="Hot Deals" action="{!Set_Deals}" >
                                    <apex:param name="deals" value="Hot_Deals"/>
                                </apex:commandLink>
                            </li>
                            <li>
                                <apex:commandLink value="Limited Period Deals" action="{!Set_Deals}" >
                                    <apex:param name="deals" value="Limited_Deals"/>
                                </apex:commandLink>
                            </li>
                            <li>
                                <apex:commandLink value="General Products" action="{!Set_Deals}" >
                                    <apex:param name="deals" value="General_Deals"/>
                                </apex:commandLink>
                            </li>                        
                        </ul>
                    </div>

 

 

 

CSS

 

.header_style ul
    {
        list-style-type:none;
        margin:0;
        padding:0;
        overflow:hidden;
        font-family: 'Arial', sans-serif;
        font-size: 12px;
        background-color:#45b3e0;
        height:28px;        
    }
    .header_style li
    {
        float:left;
        padding-left:30px;
        width:150px;
    }
    .header_style a:link,a:visited
    {
        display:block;                
        color:#FFFFFF;
        background-color:#45b3e0;
        text-align:center;
        padding:5px;
        text-decoration:none;
                
    }
    .header_style a:hover,a:active
    {
        color:#000000;
        background-color:#45a6e0;
        border:1px solid #1e8bb7;
        text-decoration:none;
    }
   

Hi,

 

Please help me to convert string to Byte code using apex.

In java we have Byte data type to convert string to Byte.  

 

 

Thanks Much...!

When I click 'save' button without check the  checkbox(terms and conditions) i.e.., not selected, then error message(not pop-up/dialog window) ApexPages.addMessage(new Appositeness's(ApexPages.Severity.ERROR, 'Please check the Terms and Conditions'));  must come.

 

Note: there is no filed in the object for this. I created in Visual Force page, (value="{!termsCheckBox}" ) action={!save}

I want to know how to write in apex class the functionality in the save button

Is it possible to iterate over a List of Maps? In the simplest form, a Map<String,String>... I want to be able to do the following in a visual force page (simplified):

 

VisualForce Page

<apex:repeat value="{!customMap}" var="map">
{!map.name} : {!map.custom}

</apex:repeat>

 

Controller

 

public someController
{
public List<Map<String,String>> customMap = null;

public getCustomMap()
{
if (customMap == null)
{
customMap = new List<Map<String,String>>();

customMap.add(new Map<String,String>{
'name' => 'Apple',
'custom' => 'Pie'
});

customMap.add(new Map<String,String>{
'name' => 'Banana',
'custom' => 'Cake'
});
}
return customMap;
}
}

 

 Would hopefully print something like...

 

 

Apple : Pie
Banana : Cake

 

 This is obviously not working for me, any suggestions or is this not possible right now?