function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
RustyboyRustyboy 

component in pageblocksection

I want to create a component to set a field value in a pageblock section, any ideas how to do this? My inclination is something like this:
 
<apex:pageBlockSectionItem>
     <apex:outputLabel value="My Field Labell" />
     <apex:outputPanel>
          <c:MyComponent>
     </apex:outputPanel>
</apex:pageBlockSectionItem>

But I am not sure how I would use attributes like required="false" that you would usually use on an InputFIeld. Do I put this in the component?

Thanks