How To : Prevent xp:comboBox Jumps on Next Line in Read Mode ?

Why ComboBox object becomes “table” when you are in Read Mode ? It looks like this. Add this CSS properties and It looks good 🙂 display: inline -> Life Save in XPages :)) lotusFormTable is a parent form table class name. (custom class name) table.lotusFormTable td table { display: inline; } table.lotusFormTable td table tbody …

Read More How To : Prevent xp:comboBox Jumps on Next Line in Read Mode ?

How To : Prevent xe:dropDownButton Jumps on Next Line ?

How to prevent xe:dropDownButton jump on next line between regular buttons of your XPages ? I mixed CSS properties and finally solved. First of all, working on Latest ExtLib (853.20121217-1354) Notes 8.5.3 FP3 @ Domino 8.5.3 FP2 64bit <?xml version=”1.0″ encoding=”UTF-8″?> <xp:view xmlns:xp=”http://www.ibm.com/xsp/core” xmlns:xe=”http://www.ibm.com/xsp/coreex”> <xp:button value=”Open” id=”button1″> <xp:eventHandler event=”onclick” submit=”true” refreshMode=”complete”> <xp:this.action><![CDATA[#{javascript:submit();}]]></xp:this.action> </xp:eventHandler> </xp:button> <xe:dropDownButton …

Read More How To : Prevent xe:dropDownButton Jumps on Next Line ?

StackOverflow Question (XPages – xp:fileDownload Control in xp:repeat Control)

Do you have any idea how can I use xp:fileDownload control in a xp:repeat control ? I binded xp:repeat control to view. So I am available to get NotesViewEntry per line. But I didnt get attachments using var variable in xp:fileDownload control. I placed xp:repeat in xp:panel and created data document in panel object. I …

Read More StackOverflow Question (XPages – xp:fileDownload Control in xp:repeat Control)

XPages – Expression Language (EL) – Some Useful Links & Sample

A JSTL primer, Part 1: The expression language JSF Techniques – EL Resolvers Simple If – Then for rendered properties in table – tr using view column data. [Column value of GorusTipi equals “Zorunlu”] AND [Column value of UygunlukDurumu IS NOT EMPTY] <xp:this.rendered><![CDATA[#{viewEntry[“GorusTipi”] eq “Zorunlu” && !empty viewEntry[“UygunlukDurumu”]}]]></xp:this.rendered> Table 2. The EL operators Category Operators …

Read More XPages – Expression Language (EL) – Some Useful Links & Sample

XPages Çoklu Dil Desteği – Resource Dosyalarında Güncelleme (XPages Multi-Language – Modification on Resource Files)

Çoklu dil desteği ile XPages uygulaması geliştirmek için öncelikle uygulamamızın Application Properties > XPages > Localization Options bölümünde desteklenecek diller seçilir. Akabinde menüden Project > Clean işlemi yapılır. Böylece desteklenecek diller için gerekli resource dosyaları oluşturulmuş olur. Peki bu Resource dosyaları nerede ? XPages görünümü (prespective) açılır. Veya Package Explorer açılır. XPages, CustomControls klasörlerinde (eğer …

Read More XPages Çoklu Dil Desteği – Resource Dosyalarında Güncelleme (XPages Multi-Language – Modification on Resource Files)

XPages – Theme – Paging

Change Paging style and naming from one place using theme. Sample is like this. <control> <name>Pager</name> <property> <name>layout</name> <value>Previous Separator Group Separator Next</value> </property> </control> <control> <name>PagerControl.Pager.First</name> <property> <name>value</name> <value>First Page</value> </property> </control> <control> <name>PagerControl.Pager.Previous</name> <property> <name>value</name> <value>Previous</value> </property> </control> <control> <name>PagerControl.Pager.Next</name> <property> <name>value</name> <value>Next</value> </property> </control> <control> <name>PagerControl.Pager.Last</name> <property> <name>value</name> <value>Last Page</value> </property> </control>

Read More XPages – Theme – Paging

Custom NamePicker Data Provider (dataBean) Sample

If you need to customize NamePicker data, this XSnippet can help you to do that. I needed to use ExtLib NamePicker but our user directory is not domino directory db. It’s custom database. Also we need to add search capability for First Name, Middle Name and Last Name at once. So I need to customize …

Read More Custom NamePicker Data Provider (dataBean) Sample

Update DocumentDataSource – Field Values from Java (XSnippets)

  Usage in SSJS under Button : com.domino.openntf.ferhat.UpdateDocumentDataSource.Update(); Actually I don’t know It is good idea or not but I need it, tried and worked. No Exception. Data Source Field Value is changed and I called Save after this code and Ta taaa … Document’s Field Value is changed. UI component (Visible / ReadOnly – …

Read More Update DocumentDataSource – Field Values from Java (XSnippets)