• Astrocloud
  • NEWBIE
  • 25 Points
  • Member since 2010

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

Hi,  thanks for reading...

 

I'm having trouble finding where some of my code is going wrong.

 

The code is uploaded from the IDE just fine but when executed via a command button:

 

 

 

apex:commandButton action="{!shop}" value="Buy"

 

 The code leads to a "is down for maintenance ".

 

When I was an undergrad writing code; I used to be able to write to stdout... to see how far my code was going before it went awry...

 

Is there a way to do this in Apex for visualforce pages?

 

Thanks,

 

Eric

Hello, and thanks for viewing.

 

I am stumped.

 Description                Resource              Path            Location                          Type
Save error: Invalid qname for tag 'apex:'. Checkout_Paypal.page /Hehehe/src/pages line 0 Force.com save problem

 

 

 

 I am trying to implement a sample using some paypal api's (Constructor code provided as needed). The page that is calling it is this:

 

<apex:page showHeader="false" controller="Checkout_Paypal">
<apex:stylesheet value="{!URLFOR($Resource.MrBellwhistle, 'css/style.css')}"/>
<apex:stylesheet value="{!URLFOR($Resource.MrBellwhistle, 'css/example.css')}"/>
<apex:includeScript value="{!URLFOR($Resource.MrBellwhistle, 'scripts/drop-down.js')}"/>
<apex:includeScript value="{!URLFOR($Resource.MrBellwhistle, 'scripts/AC_RunActiveContent.js')}"/>
<apex:includeScript value="{!URLFOR($Resource.MrBellwhistle, 'scripts/tabber.js')}"/>
<apex:includeScript value="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"/>
<apex:includeScript value="{!URLFOR($Resource.MrBellwhistle, 'scripts/javascript.js')}"/>
<apex:includeScript value="{!URLFOR($Resource.MrBellwhistle, 'scripts/jquery.bpopup-0.3.6.min.js')}"/>
<apex:includeScript value="{!URLFOR($Resource.MrBellwhistle, 'scripts/popup.js')}"/>
<apex:includeScript value="{!URLFOR($Resource.MrBellwhistle, 'scripts/javascript-new.js')}"/>
<div id="main">
  <div id="header">
    <div class="header_logo"><a href="/" target="_self"><apex:image value="{!URLFOR($Resource.MrBellwhistle, 'images/Mr_Bellwhistle_logo.gif')}" alt="Mr Bellwhistle" width="318" height="93" /></a></div>
    <div class="header_text"><a href="#">Returning Customers</a></div>
  </div>
  <!--**********-->
  <div id="top_menu">
    <div class="menu_left"></div>
    <div class="menu">
      <ul id="sddm">
        <!--**************************************-->
        <li class="active"><a class="curve" href="/AboutUs" target="_self">About Us</a></li><li><a href="/page?pageid=a0DA0000003WVskMAG" target="_self" onmouseover="mopen('a0DA0000003WVskMAG')" onmouseout="mclosetime()">Who We Help</a><div id="a0DA0000003WVskMAG" onmouseover="mcancelclosetime()" onmouseout="mclosetime()"><a href="/page?pageid=a0DA0000003WVskMAG" target="_self">Overview</a><a href="/page?pageid=a0DA0000003WtKKMA0" target="_self">Education</a><a href="/page?pageid=a0DA0000003WVsfMAG" target="_self">Government</a><a href="/page?pageid=a0DA0000003WVrXMAW" target="_self">Social Welfare</a><a href="/page?pageid=a0DA0000003WVsaMAG" target="_self">Other Nonprofits</a></div></li><li><a href="/page?pageid=a0DA0000003WVsVMAW" target="_self" onmouseover="mopen('a0DA0000003WVsVMAW')" onmouseout="mclosetime()">Our Services</a><div id="a0DA0000003WVsVMAW" onmouseover="mcancelclosetime()" onmouseout="mclosetime()"><a href="/page?pageid=a0DA0000003WVsVMAW" target="_self">Overview</a><a href="/page?pageid=a0DA0000003WVsQMAW" target="_self">4GTechnology</a><a href="/page?pageid=a0DA0000003WVsLMAW" target="_self">Great Value</a><a href="/PhotoMrGearUSB" target="_self">Product Solutions</a></div></li><li><a href="/page?pageid=a0DA0000003WVsuMAG" target="_self">Coverage</a></li><li><a href="/page?pageid=a0DA0000003Y1MCMA0" target="_self" onmouseover="mopen('a0DA0000003Y1MCMA0')" onmouseout="mclosetime()">Apply for Grant</a><div id="a0DA0000003Y1MCMA0" onmouseover="mcancelclosetime()" onmouseout="mclosetime()"></div></li><li><a href="/page?pageid=a0DA0000003WVrmMAG" target="_self" onmouseover="mopen('a0DA0000003WVrmMAG')" onmouseout="mclosetime()">Resources</a><div id="a0DA0000003WVrmMAG" onmouseover="mcancelclosetime()" onmouseout="mclosetime()"><a href="/page?pageid=a0DA0000003WVrmMAG" target="_self">FAQ</a><a href="/page?pageid=a0DA0000003WVrhMAG" target="_self">News</a><a href="/page?pageid=a0DA0000003WVrcMAG" target="_self">Events</a></div></li><li><a href="/page?pageid=a0DA0000003WVspMAG" target="_self">Contact Us</a></li>
      </ul>
    </div>
    <div class="menu_right"></div>
  </div>
  <!--************-->
  <div id="main_body">
    <div class="Page_ContentInner">
      <div class="Inner_Left">
        <ul>
          <!--***************************************-->
          <apex: form>
          <apex:dataTable value="Ready to Checkout/n" rowClasses="odd,even">
          <apex:column HeaderValue="Product"></apex:column>
          <apex:commandButton action:="{!shop}" value="Buy" />
          </apex:form>
        </ul>
        <div class="Inner_LeftSmall">
          <ul>
            <!--***************************************-->
           
          </ul>
        </div>
      </div>
      <div class="Content_Ipage">
        <span id="j_id0:j_id1:j_id2:j_id24">
       
<apex:image height="199" width="522" value="{!URLFOR($Resource.MrBellwhistle, 'images/Payment.bmp')}" alt="" />


</span>
      </div>
    </div>
    <!--**********************-->
  </div>
  <!--*************-->
</div>
<div id="footer">
  <div class="footer_Content">
   <div class="copy-right">&copy; 2010 Mr Bellwhistle LLC</div>
    <div class="footer_links"><a href="/page?pageid=a0DA0000003WXHwMAO" target="_self">Privacy Policy</a> | <a href="/page?pageid=a0DA0000003Wwt3MAC" target="_self">Terms of Use</a>
    <!--*****************************************************************************************************-->
    </div>
  </div>
</div>

</apex:page>

Photobucket

 

I understand that Refresh is from the server and Save is to the server, I'm having issues with Synchronize and Deploy... how do they differ from the other two commands?

I was working with tutorial for CMSforce and on page 12 (underlined and written in red) it says to disable development mode. I had it enabled from a previous workbook. 

 

What does it do?

 

More importantly when should it be disabled and enabled?

 

I'm finding the answers rather cryptic.

 

Thanks,

Hello, and thanks for viewing.

 

I am stumped.

 Description                Resource              Path            Location                          Type
Save error: Invalid qname for tag 'apex:'. Checkout_Paypal.page /Hehehe/src/pages line 0 Force.com save problem

 

 

 

 I am trying to implement a sample using some paypal api's (Constructor code provided as needed). The page that is calling it is this:

 

<apex:page showHeader="false" controller="Checkout_Paypal">
<apex:stylesheet value="{!URLFOR($Resource.MrBellwhistle, 'css/style.css')}"/>
<apex:stylesheet value="{!URLFOR($Resource.MrBellwhistle, 'css/example.css')}"/>
<apex:includeScript value="{!URLFOR($Resource.MrBellwhistle, 'scripts/drop-down.js')}"/>
<apex:includeScript value="{!URLFOR($Resource.MrBellwhistle, 'scripts/AC_RunActiveContent.js')}"/>
<apex:includeScript value="{!URLFOR($Resource.MrBellwhistle, 'scripts/tabber.js')}"/>
<apex:includeScript value="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"/>
<apex:includeScript value="{!URLFOR($Resource.MrBellwhistle, 'scripts/javascript.js')}"/>
<apex:includeScript value="{!URLFOR($Resource.MrBellwhistle, 'scripts/jquery.bpopup-0.3.6.min.js')}"/>
<apex:includeScript value="{!URLFOR($Resource.MrBellwhistle, 'scripts/popup.js')}"/>
<apex:includeScript value="{!URLFOR($Resource.MrBellwhistle, 'scripts/javascript-new.js')}"/>
<div id="main">
  <div id="header">
    <div class="header_logo"><a href="/" target="_self"><apex:image value="{!URLFOR($Resource.MrBellwhistle, 'images/Mr_Bellwhistle_logo.gif')}" alt="Mr Bellwhistle" width="318" height="93" /></a></div>
    <div class="header_text"><a href="#">Returning Customers</a></div>
  </div>
  <!--**********-->
  <div id="top_menu">
    <div class="menu_left"></div>
    <div class="menu">
      <ul id="sddm">
        <!--**************************************-->
        <li class="active"><a class="curve" href="/AboutUs" target="_self">About Us</a></li><li><a href="/page?pageid=a0DA0000003WVskMAG" target="_self" onmouseover="mopen('a0DA0000003WVskMAG')" onmouseout="mclosetime()">Who We Help</a><div id="a0DA0000003WVskMAG" onmouseover="mcancelclosetime()" onmouseout="mclosetime()"><a href="/page?pageid=a0DA0000003WVskMAG" target="_self">Overview</a><a href="/page?pageid=a0DA0000003WtKKMA0" target="_self">Education</a><a href="/page?pageid=a0DA0000003WVsfMAG" target="_self">Government</a><a href="/page?pageid=a0DA0000003WVrXMAW" target="_self">Social Welfare</a><a href="/page?pageid=a0DA0000003WVsaMAG" target="_self">Other Nonprofits</a></div></li><li><a href="/page?pageid=a0DA0000003WVsVMAW" target="_self" onmouseover="mopen('a0DA0000003WVsVMAW')" onmouseout="mclosetime()">Our Services</a><div id="a0DA0000003WVsVMAW" onmouseover="mcancelclosetime()" onmouseout="mclosetime()"><a href="/page?pageid=a0DA0000003WVsVMAW" target="_self">Overview</a><a href="/page?pageid=a0DA0000003WVsQMAW" target="_self">4GTechnology</a><a href="/page?pageid=a0DA0000003WVsLMAW" target="_self">Great Value</a><a href="/PhotoMrGearUSB" target="_self">Product Solutions</a></div></li><li><a href="/page?pageid=a0DA0000003WVsuMAG" target="_self">Coverage</a></li><li><a href="/page?pageid=a0DA0000003Y1MCMA0" target="_self" onmouseover="mopen('a0DA0000003Y1MCMA0')" onmouseout="mclosetime()">Apply for Grant</a><div id="a0DA0000003Y1MCMA0" onmouseover="mcancelclosetime()" onmouseout="mclosetime()"></div></li><li><a href="/page?pageid=a0DA0000003WVrmMAG" target="_self" onmouseover="mopen('a0DA0000003WVrmMAG')" onmouseout="mclosetime()">Resources</a><div id="a0DA0000003WVrmMAG" onmouseover="mcancelclosetime()" onmouseout="mclosetime()"><a href="/page?pageid=a0DA0000003WVrmMAG" target="_self">FAQ</a><a href="/page?pageid=a0DA0000003WVrhMAG" target="_self">News</a><a href="/page?pageid=a0DA0000003WVrcMAG" target="_self">Events</a></div></li><li><a href="/page?pageid=a0DA0000003WVspMAG" target="_self">Contact Us</a></li>
      </ul>
    </div>
    <div class="menu_right"></div>
  </div>
  <!--************-->
  <div id="main_body">
    <div class="Page_ContentInner">
      <div class="Inner_Left">
        <ul>
          <!--***************************************-->
          <apex: form>
          <apex:dataTable value="Ready to Checkout/n" rowClasses="odd,even">
          <apex:column HeaderValue="Product"></apex:column>
          <apex:commandButton action:="{!shop}" value="Buy" />
          </apex:form>
        </ul>
        <div class="Inner_LeftSmall">
          <ul>
            <!--***************************************-->
           
          </ul>
        </div>
      </div>
      <div class="Content_Ipage">
        <span id="j_id0:j_id1:j_id2:j_id24">
       
<apex:image height="199" width="522" value="{!URLFOR($Resource.MrBellwhistle, 'images/Payment.bmp')}" alt="" />


</span>
      </div>
    </div>
    <!--**********************-->
  </div>
  <!--*************-->
</div>
<div id="footer">
  <div class="footer_Content">
   <div class="copy-right">&copy; 2010 Mr Bellwhistle LLC</div>
    <div class="footer_links"><a href="/page?pageid=a0DA0000003WXHwMAO" target="_self">Privacy Policy</a> | <a href="/page?pageid=a0DA0000003Wwt3MAC" target="_self">Terms of Use</a>
    <!--*****************************************************************************************************-->
    </div>
  </div>
</div>

</apex:page>

I was working with tutorial for CMSforce and on page 12 (underlined and written in red) it says to disable development mode. I had it enabled from a previous workbook. 

 

What does it do?

 

More importantly when should it be disabled and enabled?

 

I'm finding the answers rather cryptic.

 

Thanks,

Followed steps to download IDE 3.5 and got the following error:

 

Cannot complete the install because one or more required items could not be found.
  Software being installed: Force.com IDE 19.0.0.201006111421 (com.salesforce.ide.feature.feature.group 19.0.0.201006111421)
  Missing requirement: Force.com IDE Core 19.0.0.201006111421 (com.salesforce.ide.core 19.0.0.201006111421) requires 'bundle org.eclipse.core.resources [3.3.0,3.6.0)' but it could not be found
  Cannot satisfy dependency:
    From: Force.com IDE 19.0.0.201006111421 (com.salesforce.ide.feature.feature.group 19.0.0.201006111421)
    To: com.salesforce.ide.core [19.0.0,20.0.0)

I've Downloaded Eclipse 3.5 SR2 (from the link provided in Installation of Force.come IDE), and I'm trying to install Force.come IDE in it, and am facing this error: Cannot complete the install because one or more required items could not be found. Software being installed: Force.com IDE 18.0.0.201004191706 (com.salesforce.ide.feature.feature.group 18.0.0.201004191706) Missing requirement: Force.com IDE Compatibility 18.0.0.201004191706 (com.salesforce.ide.core.compatibility 18.0.0.201004191706) requires 'package org.apache.log4j 0.0.0' but it could not be found Cannot satisfy dependency: From: Force.com IDE 18.0.0.201004191706 (com.salesforce.ide.feature.feature.group 18.0.0.201004191706) To: com.salesforce.ide.core.compatibility [18.0.0.201004191706] I could not install the IDE :( .. please help.
  • April 20, 2010
  • Like
  • 0