• venkat4cloud
  • NEWBIE
  • 0 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 2
    Replies

Hi all i'm Praveen Kumar i have  3.5 years of IT experince and  2.5 years on Salesforce.com  and looking for job change .Please let me know if any one had openings  on SFDC developer in your company.I'm DEV 401 certified consultant.

 

Regards,

Praveen.

Hi,

 

I have a very simple Vf pge which accepts an inputtextfield and i want this to be passed on to the controller and the text inputed in appended with hello and shown in the textbox.

 

Here is my code

 

 

public with sharing class tpagecontroller {
public string  b1 {get;set;}

    public string getval() {
b1=b1+'hello' ;

        return b1;
    }



public tpagecontroller()
{

}


}

 

 

VF page

 

 

<apex:page controller="tpagecontroller">
<apex:form >
<apex:pageBlock id="qer">
<apex:inputText value="{!b1}"/>
<apex:commandButton action="{!getval}"   value="click" reRender="qer" />
  <!-- Begin Default Content REMOVE THIS -->
  <h1>Congratulations</h1>
  This is your new Page
  <!-- End Default Content REMOVE THIS -->
  </apex:pageBlock>
  </apex:form>
</apex:page>

 

 

I am getting this error which i click the button

 

 

java.lang.IllegalArgumentException: Illegal view ID dddhello. The ID must begin with / 

 

 

  • March 16, 2011
  • Like
  • 0