• yibonglee
  • 0 Points
  • Member since 2008

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
  • 6

I made managed package and released it privately.

I have to change something in the package but I can't.


I want to delete the uploaded package first but I cannot find the way to delete or deprecate (the deprecate button is grey..) it.


I appreciate your help in advance.



I want to use styleclass attribute in outputField, but it's not working,
In outputText, it's working well...

if there's somebody to know the reason, let me know ~
thanks in advance..

                 <apex:column headerValue="Amount" headerclass="bold center">
<div name="subttl" class="right">{!itm.subtotal}</div>
<apex:facet name="footer">
<apex:panelGrid cellspacing="0" cellpadding="0" border="0">
<apex:outputField value="{!projectInstance.Agency_Compensation__c}" styleClass="right" />
<apex:outputField value="{!projectInstance.Amount__c}" styleClass="bold right" />

Message Edited by yibonglee on 12-01-2008 06:56 PM
We have a "Add Product" button in the related list of Opportunity Product in Opportunity Tab.
I want to use this button component in other visual force page.

in the standard controller of OpportunityLineItem, componet doesn't work.

Is there any way to use this component?


I have a issue ,when am working with <apex:page action="{Method}">.


In my application I have a situation , action method invoked when a object(SObject now) page is requested by the server. Using <apex:page action="{Method}"> because of  Spring 09 release issues it is not working now.


Their is any other options available for action binding ,when a sobject page is requested.

Message Edited by gv007 on 02-11-2009 12:03 PM
Message Edited by gv007 on 02-11-2009 01:43 PM
  • February 11, 2009
  • Like
  • 0
I have try to make page redirect function like this
public PageReference Test(){
 PageReference pageError = new PageReference('/Apex/Error_Page');
 return pageError;

but when the code executed doesn't work in my instance.
The page still in the same page without any text generated (fully blank page). 
In another instance I have try this code and working well.
Anyone know my problems?
When re rendering a single column in IE6 the values in those fields disappear and are not rendered at all. Here is code to reproduce. Simply click on the probability input fields and then click away. The close date field will vanish.


<apex:page controller="column">
     <apex:form >
         <apex:pageBlock >
             <apex:pageBlockTable value="{!opps}" var="o">
                 <apex:column value="{!o.Name}"/>
                 <apex:column headerValue="Probability">
                     <apex:inputField value="{!o.probability}">
                         <apex:actionSupport event="onblur" action="{!dosomething}" rerender="date"/>
                 <apex:column value="{!o.closeDate}" id="date"/>


public class column {

    public List<Opportunity> getOpps(){
        List<Opportunity> opps = [select Id, Name, CloseDate, Probability from Opportunity limit 5];
        return opps;
    public PageReference doSomething(){
        return null;


  • October 14, 2008
  • Like
  • 0
Hi All,

Amazing how the simplest things are the most challenging.

I'm trying to convert a string of false / true to a boolean, I've tried the code below and I keep getting 'System.TypeException: Invalid boolean: true'.  I have no idea why, as my other type conversions are working fine.

Code below is an extract of a test function, the actual usage is in a much larger method!  Please help!

public class convertToBool
    public static void testConvert()
        Integer i;
        String s;
        system.assertEquals(10,i); //this test passes
        string asdf = 'true';
        //boolean bob = boolean.valueof(asdf);

    public static testMethod void testConvertToBool()
In a form, if an inputField has the parameter ' required="true" ' set, if a commandButton or something else on the page rerenders the section of the page with that inputField, the required validation is performed, regardless of if the immediate="true" switch on the commandButton is used.  So if the inputField is empty at the time this is rerendered, the rerendered version appears with an error below it stating that the field needs to be populated.
What I would like to be able to do is to have an option to rerender without this required="true" being validated.  In this specific situation, some buttons on the screen modify the look and feel of the screen, which I do not want to perform this validation.  I only want to perform the validation in this case, being a wizard, when the "next" button is pressed.  This would also be extremely helpful in a wizard for the "previous" button, so that the required logic could be bypassed if going backward in the wizard.
Currently the only solution I see to this is to not use the required parameter, place my own red line by my required fields, and perform the required field logic manually, so I can rerender the sections correctly and avoid the messages.  If someone has come across another more elegant approach using the required parameter, please let me know.
Jon Keener
Can anyone tell me how I can delete a managed packaged that was uploaded to appexchange ?
  • January 25, 2008
  • Like
  • 0