xpages

Alignment problems in the Extension Library Application Layout Placebar in IE but not Firefox

亡梦爱人 提交于 2019-12-12 03:23:27
问题 Got an interesting CSS problem. The first graphic shows the buttons on the PlaceBar in IE where the "Views" button is pushed up. This button has children if this makes a difference. In FireFox everything lines up perfectly. Does anyone know if this is adjustable in the CSS and if so where? 回答1: You can force IE not to use compatibility mode by using the X-UA-Compatible meta tag to control the version of IE to render the page for. Add the following meta tag to enable IE8 Standards Mode: <meta

For JDBC in XPages, how does the server know the connection information?

╄→гoц情女王★ 提交于 2019-12-12 03:11:24
问题 Ok, I got one of our JAVA/JDBC guys to come take a look at my JDBC issue as documented in http://stackoverflow.com/questions/9787525/jdbc-ordeal-it-shouldnt-be-that-difficult-partial-solved-new-errors It seems that if I put ojdbc14 as the ConnectionName I get this error: Error while reading the relational data Error while loading connection ojdbc14 Error parsing XML stream InputStream cannot be null But if I put ojdbc14.jdbc as the ConnectionName I get this error: Error while reading the

xpage with fullcalendar 2.2.5

荒凉一梦 提交于 2019-12-12 02:55:19
问题 I'd like to use fullCalendar in my xpage. It works with fullCalendar 1.6.7, not with 2.2.5 (nothing is displayed). The sources are copied in package Explorer. This code works with the 1.6.7 sources: <?xml version="1.0" encoding="UTF-8"?> <xp:view xmlns:xp="http://www.ibm.com/xsp/core"> <xp:this.resources> <xp:styleSheet href="fullcalendar/fullcalendar.css"></xp:styleSheet> <xp:script src="js/jquery.min.js" clientSide="true" type="text/javascript"></xp:script> <xp:script src="fullcalendar

Unable to get document page name for null

。_饼干妹妹 提交于 2019-12-12 02:53:09
问题 My Xpage is redirecting the user to another page when processing is finished using the following code: facesContext.getExternalContext().redirect("$$OpenDominoDocument.xsp?id="+unid+"&action=openDocument&framework=FA"); where "unid" is a valid documentUniqueID. I have seen different use of this feature where the argument "&documentId=" exists. If I use this argument the page is not loaded at all with no error anywhere. If used with argument "id=" or open the Xpage directly: "ImportLog.xsp?id

xpages save / cancel actions scenario

孤街浪徒 提交于 2019-12-12 02:49:05
问题 I will describe shortly my little project application: the main doc. content is Cdoc ( datasource which contains fields + a button ). This button displays a dialog which is Pdoc ( a datasource ) - before showing the button I will save the doc. to get the UNID and then I will pass it to the Pdoc , I want to link the Cdoc and Pdoc with the UNID. My button which shows the dialog: <xp:button value="Adding Pdoc from the dialog" id="button3" styleClass="lotusFormButton" refreshMode="partial"> <xp

Issue with custom control - Unknown property

谁说胖子不能爱 提交于 2019-12-12 02:47:48
问题 I have a custom control with one property, showDeleteButton. Type: boolean Editor: Boolean value Required field: true Sporadically I get this error message when building, in the XPages that use it: Unknown property showDeleteButton. It is not defined on tag xc:ccCommonActions I've tried deleting the custom control and recreating it. The issue still pops up after a few builds. I can work around the issue by disabling the required property, saving, enabling, saving, project->clean. Have anyone

Bootstrap Select2 open a loading dialog onStart partial refresh

白昼怎懂夜的黑 提交于 2019-12-12 02:14:44
问题 I need to show a ext lib Dialog after the user select a combobox (I use a Select2 of BootStrap for XPages). The alert code function work well, but the XSP.openDialog not . I've found a old stackoverflow question about this but I don't understand how can I solve my problem. Any ideas? Tnx a lot $(document).ready( function() { x$("#{id:comboBox1}").select2().on("change", function(e) { XSP.allowSubmit(); XSP.partialRefreshPost("#{id:divView}",{ onStart: function () { // do something when the

xpages UNID of documents / why it is changing

冷暖自知 提交于 2019-12-12 02:05:54
问题 I'm trying to link 2 documents ( Cdoc and Pdoc ) based on the Cdoc UNID . I have a computed field ( computedfield3 ) which is binded to a form'computed field having the default value @text(@documentuniqueid) . The Pdoc is inside a dialog which I show it using a button. The button contains a Partial Update for ID:computedField3 . The button code: if ( Cdoc.isNewNote() ) { Cdoc.save(); Cdoc.setValue("computedField3",Cdoc.getDocument().getUniversalID()); getComponent('exampleDialog').show() }

addition to Managed Bean Best Practice

▼魔方 西西 提交于 2019-12-12 02:05:43
问题 This is an extension to ( Managed-Bean best practice ). I have written a class AppProperties that defines the various items in the Class: public class AppProperties implements Serializable { private static final long serialVersionUID = 1L; //contents of AppProperties Object private String appRepID; private String helpRepID; private String ruleRepID; private String filePath; private Vector formNames; //end content private Session s; private String serverName; public String getAppRepID() {

Xpages: TypeAhead with Twitter Bootstrap - Loading a SSJS Array into the value list

随声附和 提交于 2019-12-12 02:04:23
问题 i was trying to add BootsTrap Typeahead to one of my Xpages. So i imported all the Bootstrap stuff to my application. When i put the values "hardcoded" into the list, it works perfectly. But i created an array of "Values" in a SSJS Library. Can you tell me how i can put that array from the SSJS Lib to the value list of typeahead? <xp:inputText id="inputText1" styleClass="typeahead"></xp:inputText> <script> var value = ['test', 'birthday'] $('.typeahead').typeahead({source: value }); </script>