PrimeFaces User Guide
<h:form>
<p:schedule value="#{bean.eventModel}" editable="true" widgetVar="myschedule">
<p:ajax event="dateSelect" listener="#{bean.onDateSelect}" 
update="eventDetails" oncomplete="eventDialog.show()" />
<p:ajax event="eventSelect" listener="#{bean.onEventSelect}"
</p:schedule>
<p:dialog widgetVar="eventDialog" header="Event Details">
<h:panelGrid id="eventDetails" columns="2">
<h:outputLabel for="title" value="Title:" />
<h:inputText id="title" value="#{bean.event.title}" required="true"/>
<h:outputLabel for="from" value="From:" />
<p:inputMask id="from" value="#{bean.event.startDate}" mask="99/99/9999">
<f:convertDateTime pattern="dd/MM/yyyy" />
</p:inputMask>
<h:outputLabel for="to" value="To:" />
<p:inputMask id="to" value="#{bean.event.endDate}" mask="99/99/9999">
<f:convertDateTime pattern="dd/MM/yyyy" />
</p:inputMask>
<h:outputLabel for="allDay" value="All Day:" />
<h:selectBooleanCheckbox id="allDay" value="#{bean.event.allDay}" />
<p:commandButton type="reset" value="Reset" />
<p:commandButton value="Save" actionListener="#{bean.addEvent}" 
oncomplete="PF('myschedule').update();PF('eventDialog').hide();"/>
</h:panelGrid>
</p:dialog>
</h:form>
401
Remove text from pdf - delete, remove text from PDF file in C#.net, ASP.NET, MVC, Ajax, WinForms, WPF
Allow C# developers to use mature APIs to delete and remove text content from PDF document
how to delete text from a pdf in acrobat; delete text pdf acrobat professional
Remove text from pdf - VB.NET PDF delete text library: delete, remove text from PDF file in vb.net, ASP.NET, MVC, Ajax, WinForms, WPF
VB.NET Programming Guide to Delete Text from PDF File
delete text from pdf online; pull text out of pdf
PrimeFaces User Guide
public class ScheduleBean {
private ScheduleModel<ScheduleEvent> model;
private ScheduleEventImpl event = new DefaultScheduleEvent();
public ScheduleBean() {
eventModel = new ScheduleModel<ScheduleEvent>();
}
public ScheduleModel<ScheduleEvent> getModel() { return model; }
public ScheduleEventImpl getEvent() { return event; }
public void setEvent(ScheduleEventImpl event) { this.event = event; }
public void addEvent() {
if(event.getId() == null)
eventModel.addEvent(event);
else
eventModel.updateEvent(event);
event = new DefaultScheduleEvent();
//reset dialog form
}
public void onEventSelect(SelectEvent e) {
event = (ScheduleEvent) e.getObject();
}
public void onDateSelect(SelectEvent e) {
Date date = (Date) e.getObject();
event = new DefaultScheduleEvent("", date, date);
}
}
Lazy Loading
Schedule assumes whole set of events are eagerly provided in ScheduleModel, if you have a huge
data set of events, lazy loading features would help to improve performance.  In lazy loading mode,
only the events that belong to the displayed time frame are fetched whereas in default eager more
all events need to be loaded. 
<p:schedule value="#{scheduleBean.lazyModel}" />
To  enable  lazy  loading  of  Schedule  events,  you  just  need  to  provide  an  instance  of
org.primefaces.model.LazyScheduleModel  and  implement  the loadEvents  methods.  loadEvents
method is called with new boundaries every time displayed timeframe is changed.
402
C# PDF remove image library: remove, delete images from PDF in C#.
Delete Text from PDF. Text: Replace Text in PDF. Image: Insert Image to PDF. Image: Remove Image from PDF Page. Image: Copy, Paste, Cut
delete text in pdf file online; erase pdf text
VB.NET PDF remove image library: remove, delete images from PDF in
PDF Write. Text: Insert Text to PDF. Text: Delete Text from PDF. Text: Replace Text in PDF. Image: Insert Image to PDF. Image: Remove Image from PDF Page. Image
how to delete text from a pdf reader; how to delete text from a pdf
PrimeFaces User Guide
public class ScheduleBean {
private ScheduleModel lazyModel;
public ScheduleBean() {
lazyModel = new LazyScheduleModel() {
@Override
public void loadEvents(Date start, Date end) {
//addEvent(...);
//addEvent(...); 
}
};
}
public ScheduleModel getLazyModel() {
return lazyModel;
}
}
Customizing Header
Header controls of Schedule can be customized based on templates, valid values of template options
are;
•title: Text of current month/week/day information
•prev: Button to move calendar back one month/week/day.
•next: Button to move calendar forward one month/week/day.
•prevYear: Button to move calendar back one year
•nextYear: Button to move calendar forward one year
•today: Button to move calendar to current month/week/day.
viewName
: Button to change the view type based on the view type.
These  controls  can  be  placed  at  three  locations  on  header  which  are  defined  with
leftHeaderTemplate, rightHeaderTemplate and centerTemplate attributes.
<p:schedule value="#{scheduleBean.model}"
leftHeaderTemplate"today"
rightHeaderTemplate="prev,next"
centerTemplate="month, agendaWeek, agendaDay"
</p:schedule>
403
VB.NET PDF Page Delete Library: remove PDF pages in vb.net, ASP.
Able to remove a single page from adobe PDF document in VB.NET. Ability to remove consecutive pages from PDF file in VB.NET. Enable
delete text from pdf acrobat; remove text watermark from pdf
VB.NET PDF Password Library: add, remove, edit PDF file password
Remove password from PDF. Dim outputFilePath As String = Program.RootPath + "\\" Remove.pdf" ' Remove password in the input file and output to a new file.
remove text from pdf; how to delete text in pdf preview
PrimeFaces User Guide
Views
5 different views are supported, these are "month", "agendaWeek", "agendaDay", "basicWeek" and 
"basicDay".
agendaWeek
<p:schedule value="#{scheduleBean.model}" view="agendaWeek"/>
agendaDay
<p:schedule value="#{scheduleBean.model}" view="agendaDay"/>
basicWeek
<p:schedule value="#{scheduleBean.model}" view="basicWeek"/>
404
C# PDF Page Delete Library: remove PDF pages in C#.net, ASP.NET
console application. Able to remove a single page from PDF document. Ability to remove a range of pages from PDF file. Free trial package
delete text from pdf with acrobat; how to erase pdf text
C# PDF Password Library: add, remove, edit PDF file password in C#
String outputFilePath = Program.RootPath + "\\" Remove.pdf"; // Remove password in the input file and output to a new file. int
pdf text watermark remover; delete text pdf preview
PrimeFaces User Guide
basicDay
<p:schedule value="#{scheduleBean.model}" view="basicDay"/>
Locale Support
By default locale information is retrieved from the view’s locale and can be overridden by the locale
attribute. Locale attribute can take a locale key as a String or a java.util.Locale instance. Default
language of labels are English and you need to add the necessary translations to your page manually
as  PrimeFaces  does  not  include  language  translations.  PrimeFaces  Wiki  Page  for
PrimeFacesLocales is a community driven page where you may find the translations you need.
Please contribute to this wiki with your own translations.
http://wiki.primefaces.org/display/Components/PrimeFaces+Locales
Translation is a simple javascript object, we suggest adding the code to a javascript file and include 
in your application. Following is a Turkish calendar.
<p:schedule value="#{scheduleBean.model}" locale="tr"/>
Event Limit
To display a link when there are too many events on a slot, use setEventLimit(true) on model.
Skinning
Schedule resides in a main container which style and styleClass attributes apply. As skinning style 
classes are global, see the main theming section for more information.
405
C# PDF Digital Signature Library: add, remove, update PDF digital
Delete Text from PDF. Text: Replace Text in PDF. Image: Insert Image to PDF. Image: Remove Image from PDF Page. Image: Copy, Paste, Cut
pdf editor online delete text; how to edit and delete text in pdf file online
C# PDF bookmark Library: add, remove, update PDF bookmarks in C#.
Ability to remove and delete bookmark and outline entry.GetLocation()); Console.WriteLine("Text: " + entry.GetText NET Sample Code: Update PDF Document Outline
erase pdf text online; erase text from pdf
PrimeFaces User Guide
3.106 ScrollPanel
ScrollPanel is used to display scrollable content with theme aware scrollbars instead of native 
browser scrollbars.
Info
Tag
scrollPanel
Component Class
org.primefaces.component.scrollpanel.ScrollPanel
Component Type
org.primefaces.component.ScrollPanel
Component Family
org.primefaces.component
Renderer Type
org.primefaces.component.ScrollPanelRenderer
Renderer Class
org.primefaces.component.scrollpanel.ScrollPanelRenderer
Attributes
Name
Default
Type
Description
id
null
String
Unique identifier of the component
rendered
true
Boolean
Boolean value to specify the rendering of the 
component, when set to false component will not 
be rendered.
binding
null
Object
An el expression that maps to a server side 
UIComponent instance in a backing bean
style
null
String
Inline style of the container element.
styleClass
null
String
Style class of the container element.
mode
default
String
Scrollbar display mode, valid values are default 
and native.
406
PrimeFaces User Guide
Getting started with ScrollPanel
In order to get scrollable content, width and/or height should be defined.
<p:scrollPanel style="width:250px;height:200px">
//any content
</p:scrollPanel>
Native ScrollBars
By default, scrollPanel displays theme aware scrollbars, setting mode option to native displays
browser scrollbars.
<p:scrollPanel style="width:250px;height:200px" mode="native">
//any content
</p:scrollPanel>
Skinning
ScrollPanel resides in a main container which style and styleClass attributes apply. As skinning style
classes are global, see the main theming section for more information. Following is the list of 
structural style classes;
Style Class
Applies
.ui-scrollpanel
Main container element.
.ui-scrollpanel-container
Overflow container.
.ui-scrollpanel-content
Content element.
.ui-scrollpanel-hbar
Horizontal scrollbar container.
.ui-scrollpanel-vbar
Vertical scrollbar container.
.ui-scrollpanel-track
Track element. 
.ui-scrollbar-drag
Drag element.
407
PrimeFaces User Guide
3.107 SelectBooleanButton
SelectBooleanButton is used to select a binary decision with a toggle button.
Info
Tag
selectBooleanButton
Component Class
org.primefaces.component.selectbooleanbutton.SelectBooleanButton
Component Type
org.primefaces.component.SelectBooleanButton
Component Family org.primefaces.component
Renderer Type
org.primefaces.component.SelectBooleanButtonRenderer
Renderer Class
org.primefaces.component.selectbooleanbutton.SelectBooleanButtonRenderer
Attributes
Name
Default
Type
Description
id
null
String
Unique identifier of the component
rendered
true
Boolean
Boolean value to specify the rendering of the component,
when set to false component will not be rendered.
binding
null
Object
An el expression that maps to a server side 
UIComponent instance in a backing bean
value
null
Object
Value of the component referring to a List.
converter
null
Converter/
String
An el expression or a literal text that defines a converter 
for the component. When it’s an EL expression, it’s 
resolved to a converter instance. In case it’s a static text, 
it must refer to a converter id
immediate
false
Boolean
When set true, process validations logic is executed at 
apply request values phase for this component.
required
false
Boolean
Marks component as required
validator
null
Method
Expr
A method expression that refers to a method validationg 
the input
valueChangeListener null
Method
Expr
A method expression that refers to a method for handling
a valuechangeevent
requiredMessage
null
String
Message to be displayed when required field validation 
fails.
408
PrimeFaces User Guide
Name
Default
Type
Description
converterMessage
null
String
Message to be displayed when conversion fails.
validatorMessage
null
String
Message to be displayed when validation fields.
widgetVar
null
String
Name of the client side widget.
disabled
false
Boolean
Disables the component.
label
null
String
User presentable name.
onchange
null
String
Callback to execute on value change.
style
null
String
Inline style of the component.
styleClass
null
String
Style class of the container.
onLabel
null
String
Label to display when button is selected.
offLabel
null
String
Label to display when button is unselected.
onIcon
null
String
Icon to display when button is selected.
offIcon
null
String
Icon to display when button is unselected.
Getting started with SelectBooleanButton
SelectBooleanButton usage is similar to selectBooleanCheckbox.
<p:selectBooleanButton id="value2" value="#{bean.value}" onLabel="Yes" 
offLabel="No" onIcon="ui-icon-check" offIcon="ui-icon-close" />
public class Bean {
private boolean value;
//getter and setter
}
Skinning
SelectBooleanButton  resides in a main container which style and styleClass attributes apply. As 
skinning style classes are global, see the main theming section for more information. Following is 
the list of structural style classes;
Style Class
Applies
.ui-selectbooleanbutton
Main container element.
409
PrimeFaces User Guide
3.108 SelectBooleanCheckbox
SelectBooleanCheckbox is an extended version of the standard checkbox with theme integration.
Info
Tag
selectBooleanCheckbox
Component Class
org.primefaces.component.selectbooleancheckbox.SelectBooleanCheckbox
Component Type
org.primefaces.component.SelectBooleanCheckbox
Component Family
org.primefaces.component
Renderer Type
org.primefaces.component.SelectBooleanCheckboxRenderer
Renderer Class
org.primefaces.component.selectbooleancheckbox.SelectBooleanCheckbox
Renderer
Attributes
Name
Default
Type
Description
id
null
String
Unique identifier of the component
rendered
true
Boolean
Boolean value to specify the rendering of the 
component, when set to false component will not be 
rendered.
binding
null
Object
An el expression that maps to a server side 
UIComponent instance in a backing bean
value
null
Object
Value of the component referring to a List.
converter
null
Converter/
String
An el expression or a literal text that defines a 
converter for the component. When it’s an EL 
expression, it’s resolved to a converter instance. In case
it’s a static text, it must refer to a converter id
immediate
false
Boolean
When set true, process validations logic is executed at 
apply request values phase for this component.
required
false
Boolean
Marks component as required
validator
null
MethodExpr A method expression that refers to a method 
validationg the input
valueChangeListener null
MethodExpr A method expression that refers to a method for 
handling a valuechangeevent
requiredMessage
null
String
Message to be displayed when required field validation
fails.
410
Documents you may be interested
Documents you may be interested