• ddominicj
  • NEWBIE
  • 0 Points
  • Member since 2009

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies
For the VF code pasted below, I get this result:

Date From:
[ input field ] [12/08/2009]
Date To:
[ input field ] [12/08/2009]

What I want is of course

Date From: [ input field ] [12/08/2009]
Date To: [ input field ] [12/08/2009]

My first VF page. Help!



<apex:page controller="CreateScheduleController" >
  <apex:form >
    <apex:pageBlock title="Create Schedule">
     <p>Enter a from and to date, then press "Create" </p>
     <apex:pageMessages />
            <apex:outputLabel for="oppFromCloseDate">Date From:</apex:outputLabel>
            <apex:inputField value="{!oppFrom.closeDate}" id="oppFromCloseDate"/>           
            <apex:outputLabel for="oppToCloseDate">Date To:</apex:outputLabel>
            <apex:inputField value="{!oppTo.closeDate}" id="oppToCloseDate"/>
            <apex:commandButton action="{!createSchedule}" value="Create"/>
    </apex:pageBlock>
  </apex:form>
</apex:page>


Trouble with change sets:

 

1. Create change set in Full Copy sb, moving to Prod.

2. Upload set.

3. Set deploy fails because of missing field (in this case I forgot to add Record Types).

4. Go back to Sandbox, clone Change Set, Add Record Types.

5. Click Upload...get an error message:

 

Validation Errors While Saving Record(s) There were custom validation error(s) encountered while saving the affected record(s). The first validation error encountered was "Package member already exists". 

 

Uhhh...what? Why?

 

I deleted the old failed change set in production in case there was some channel conflict or something weird but that doens't help. Nothing I do resolves the issue. I'm forced to completely recreate the change set and hope for the best the second time around.

 

Anyone else see this?

 

By the way:

Using Chrome - when trying to 'remove' a component.. the removal happens except the FIRST component in the list of components is removed! not the component I was trying to remove!... logged in with Firefox and the removal mechanism works as expected. Argh. Bugs. : (

For the VF code pasted below, I get this result:

Date From:
[ input field ] [12/08/2009]
Date To:
[ input field ] [12/08/2009]

What I want is of course

Date From: [ input field ] [12/08/2009]
Date To: [ input field ] [12/08/2009]

My first VF page. Help!



<apex:page controller="CreateScheduleController" >
  <apex:form >
    <apex:pageBlock title="Create Schedule">
     <p>Enter a from and to date, then press "Create" </p>
     <apex:pageMessages />
            <apex:outputLabel for="oppFromCloseDate">Date From:</apex:outputLabel>
            <apex:inputField value="{!oppFrom.closeDate}" id="oppFromCloseDate"/>           
            <apex:outputLabel for="oppToCloseDate">Date To:</apex:outputLabel>
            <apex:inputField value="{!oppTo.closeDate}" id="oppToCloseDate"/>
            <apex:commandButton action="{!createSchedule}" value="Create"/>
    </apex:pageBlock>
  </apex:form>
</apex:page>