• Swarna
  • NEWBIE
  • 0 Points
  • Member since 2008

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 10
    Questions
  • 9
    Replies
Can we package VisualForce pages now after the october release? Has anyone done it. Can someone point me to any document which elucidates the process in vivid details?

Has anyone tried packaging VF pages so far?

--Regards
Surjendu
  • October 22, 2008
  • Like
  • 0
Do I need to get my custom application certified before packaging it into Appexchange?
I want to package my custom application. But I dont see "Exchange" within the Setup left hand navigation bar. Mine is a
developer edition. Where can i find "Exchange"?
I need to access a value from outside the code, say from a .properties file stored as a static resource.

How to read the value from the static resource using Apex code?
Are the custom tables created by an user accessible by other users? Or is it a single repository?

I created a custom table for my application. How can I access the data of this custom table added by all the users of this application?

I added a Javascript as a StaticResource  and named it as staticjs.

<apex:page controller="testController" setup="true">
<apex:stylesheet value="{!$Resource.spcss}"/>

        <style type="text/css">    
       </style>
        
        <script type="text/javascript" src="{!$Resource.spjs}"></script>

<apex:form>

 

Is this the right way to access it? The javascript is not reflected.

When and why do I get the following VisualForce error?

Too many SOQL queries: 101

 


I use dataTable to display records. I need to paginate the output.
Is there any VF component/attribute for pagination?
Hi

I use outputPanel with actionRegion to change the display according to the value selected in drop-down box. To display the header in the actionRegion, I use dataTable for css purpose. This works fine in Firefox but not in IE.
Here is the code.

<apex: outputPanel><b>Select Option : </b></apex:outputPanel>
    <apex:selectList id="searchOption" value="{!option}" multiselect="false" size="1">
        <apex:actionSupport event="onchange" action="{!loadOption}" reRender="out"></apex:actionSupport>
        <apex:selectOption itemValue="one" itemLabel="Option One"/>
        <apex:selectOption itemValue="two" itemLabel="Option Two"/>
        <apex:selectOption itemValue="three" itemLabel="Option Three"/>
    </apex:selectList>

    <apex: outputPanel id="out">
    <apex:actionRegion rendered="{!optionOne}">
        <apex:dataTable value="{!getInfo}" var="info" styleClass="tbl" headerClass="tble_hd_no_td">
            <apex:facet name="header">Search Parameters for Option One</apex:facet>
        </apex:dataTable>

        <apex:selectList value="{!OptionOneParams}" multiselect="false" size="1">
            <apex:selectOptions value="{!Onefilters}"/>
        </apex:selectList>
    </apex:actionRegion>

    <apex:actionRegion rendered="{!optionTwo}">
        <apex:dataTable value="{!getInfo}" var="info" styleClass="tbl" headerClass="tble_hd_no_td">
            <apex:facet name="header">Search Parameters for Option Two</apex:facet>
        </apex:dataTable>

        <apex:selectList value="{!OptionTwoParams}" multiselect="false" size="1">
            <apex:selectOptions value="{!Twofilters}"/>
        </apex:selectList>
    </apex:actionRegion>
</apex: outputPanel>

How to resolve this browser related issue?
How can I write a dynamic sql in apex code?

My need is to construct a SQL according to users inputs and so it has combinations that needs to be checked with several if conditions. I need to create the SQL with those conditions and combinations and then execute it. How can it be achieved?
I added a Javascript as a StaticResource  and named it as staticjs.

<apex:page controller="testController" setup="true">
<apex:stylesheet value="{!$Resource.spcss}"/>

        <style type="text/css">    
       </style>
        
        <script type="text/javascript" src="{!$Resource.spjs}"></script>

<apex:form>

 

Is this the right way to access it? The javascript is not reflected.

When and why do I get the following VisualForce error?

Too many SOQL queries: 101

 


I use dataTable to display records. I need to paginate the output.
Is there any VF component/attribute for pagination?
Hi

I use outputPanel with actionRegion to change the display according to the value selected in drop-down box. To display the header in the actionRegion, I use dataTable for css purpose. This works fine in Firefox but not in IE.
Here is the code.

<apex: outputPanel><b>Select Option : </b></apex:outputPanel>
    <apex:selectList id="searchOption" value="{!option}" multiselect="false" size="1">
        <apex:actionSupport event="onchange" action="{!loadOption}" reRender="out"></apex:actionSupport>
        <apex:selectOption itemValue="one" itemLabel="Option One"/>
        <apex:selectOption itemValue="two" itemLabel="Option Two"/>
        <apex:selectOption itemValue="three" itemLabel="Option Three"/>
    </apex:selectList>

    <apex: outputPanel id="out">
    <apex:actionRegion rendered="{!optionOne}">
        <apex:dataTable value="{!getInfo}" var="info" styleClass="tbl" headerClass="tble_hd_no_td">
            <apex:facet name="header">Search Parameters for Option One</apex:facet>
        </apex:dataTable>

        <apex:selectList value="{!OptionOneParams}" multiselect="false" size="1">
            <apex:selectOptions value="{!Onefilters}"/>
        </apex:selectList>
    </apex:actionRegion>

    <apex:actionRegion rendered="{!optionTwo}">
        <apex:dataTable value="{!getInfo}" var="info" styleClass="tbl" headerClass="tble_hd_no_td">
            <apex:facet name="header">Search Parameters for Option Two</apex:facet>
        </apex:dataTable>

        <apex:selectList value="{!OptionTwoParams}" multiselect="false" size="1">
            <apex:selectOptions value="{!Twofilters}"/>
        </apex:selectList>
    </apex:actionRegion>
</apex: outputPanel>

How to resolve this browser related issue?
what is the VisualForce control to create a drop-down menu? I dont see anything like that in the developer guide.