IBM.com| Skip to main contentSkip to navigation
Log on to participate
Collapse View|Expand View
Previous|Next
Page12345678...
Hide All|Show All
Date Topic Author Resolved
Feb 10, 2011 12

Welcome to the new XPages forum, an online space where community members can discuss topics specific to XPages technology! Development for this forum is ongoing, so your feedback is greatly appreciated.

 

The developerWorks Lotus Team

dwlotus@us.ibm.com

 

Features of this forum include:

  • XPages design - An updated user interface using Domino 8.5 XPages design elements.
  • Sticky posts - Forum moderators can highlight posts by having them "stick" to the top of the All Documents and Main Topic views.
  • Edit posts - The author of a post can edit his or her own posts.
  • Mark as Answered - The author of a main post can mark it as answered. It will be marked with a green check mark on the post and in the Answered column of the views. You can see a list of all answered topics in the Answered Topics view and subscribe to the All Answered Topics RSS feed.
  • Tag cloud and author cloud - Posts can now be tagged with results showing in the tag cloud. Author contributions are also shown in a cloud, highlighting the top contributors.
  • RSS feeds - RSS feed subscriptions are available for all new posts (including main topics and replies), new main topics only, answered topics, and individual topics.
  • Resource links - Central resource for commonly used links.
  • Unread marks - Unread posts and responses are distinguished in the browser.

Why an XPages-specific forum?
Since the Notes Domino forums include such a wide variety of topics, that XPages information tends to get buried in the rest of the content. A small group of XPages experts (IBMers and non-IBMers) agreed that creating a new forum, dedicated to XPages, was the right thing for the Lotus community.

Will existing XPages content in the Notes/Domino forums be moved to the new forum?

No, there will be no coordinated effort to migrate content. But if community members know of information in the Notes/Domino forums that would be useful reference information, they should share that content as articles in the Notes/Domino Application Development wiki: 
http://www.lotus.com/ldd/ddwiki.nsf

Who is sponsoring the forum?

IBM is hosting the forum on developerWorks Lotus, but a small community of XPages experts from the Lotus community (IBMers and non-IBMers) will be working together to ensure the success of the space and of the template. All XPages experts are encouraged to share their expertise by creating and responding to forum posts.

How do I report a bug with the template, or provide a suggestion?

We'll be creating a project on OpenNTF.org where features and bugs will be tracked. Until then, all comments related to the forum template, can be posted directly in the forum using the category "Forum design". Steven Frank, the forum developer, will be monitoring this category and responding as appropriate.

Is this a support forum?

No. All forums on developerWorks Lotus are intended to be a community with users helping other users, although IBM staff often participate and are encouraged to do so. For more forum use and etiquette information see: http://www.ibm.com/developerworks/lotus/community/forum-faq.html

What username and password do I use with this forum?

Use the same Lotus Registration system as with the other Lotus product forums. If you forgot your password or need a new one, see:
http://www-10.lotus.com/ldd/reg/lddreg.nsf

Can the forum be accessed via the Notes client? Can it be replicated?

Yes and yes. For more info on how to access from the Notes client, see:
http://www.ibm.com/developerworks/lotus/library/ls-Native_Notes/

Will this forum template be shared on OpenNTF.org?

Yes. Niklas Heidloff will help coordinate this effort, working with Steven Frank, the template developer. The goal is to have a forum template that incorporates community-contributed code, and is available for the community to use.


Tags: community communication
Joyce Davis
May 25, 2012 1

If you search using the string 'or' in this forum, the search breaks.
 
This does the same thing in my app, except that I store the search string in a sessionScope variable, so the app breaks until the user logs out and back in as the 'or' is in the search criteria.
 
Does anyone have all the elements that should be searched and replaced to ensure the search works and does not get broken by things like this?  Does this code already exist somewhere?
 


Tags: search,development
Al Thompson
May 25, 2012 3

Hello,
 
I have created my own CSS for my xpage application.
 
I have found that some of the elements are applying the default style, rather than the style applied to the cell. Disclaimer - I not a CSS expert. :)
 
In my example, I have a CSS tag for tdheader defined as follows:
 
.tdheader {
    width: 150px;
    color: #3593DD;
    font-size: 1em;
    padding: 5px 7px 5px 7px;
    border-top: 1px solid grey;
}
 
 All elements are applied except for color.  When looking at the page using firebug, it appears as though the following  tag is being used to override the assignment of colour.
 
 


Tags: CSS,oneui
Al Thompson
May 24, 2012

Hi
I'm trying to access a document in a view panel through server-side javascript.
In the browser everything works as intended but when i open the xpage in the client i get the error: Exception occurred calling method NotesXspViewEntry.getDocument() Unable to open database: servername/domain!!database.nsf

The database is in a folder and it is as if the panel looses the the information that the view is in a folder.
I can see all the records fine but when I use the action "choose" I get the error. - please see code enclosed
 
Thanks in advance 
 
 
<xp:viewPanel rows="30" id="viewPanel2"
var="rec">
<xp:this.facets>
<xp:pager partialRefresh="true"
layout="Previous Group Next" xp:key="headerPager"
id="pager2">
</xp:pager>
</xp:this.facets>
<xp:this.data>

<xp:dominoView var="view2"
viewName="#{javascript:sessionScope.caseDBview}"
keysExactMatch="false">
<xp:this.databaseName><![CDATA[#{javascript:sessionScope.caseDBserver+"!!"+sessionScope.caseDBfilepath}]]></xp:this.databaseName>
<xp:this.keys><![CDATA[#{javascript:
var vtr:java.util.Vector = new java.util.Vector();
var t1 = requestScope.val01;

@If(t1 !=null,vtr.addElement(t1),vtr.addElement(""));

return vtr
}]]></xp:this.keys>
</xp:dominoView>
</xp:this.data>
<xp:this.rendered><![CDATA[#{javascript:sessionScope.caseDBview!=""}]]></xp:this.rendered>Column id="viewColumn9">
<xp:viewColumn id="viewColumn8">
<xp:this.value><![CDATA[#{javascript:try {
rec.getDocument().getItemValue("DocTitle");
} catch(e) {
"Ingen DocTitle";
}}]]></xp:this.value>
<xp:viewColumnHeader
id="viewColumnHeader8" value="Titel">
</xp:viewColumnHeader>
</xp:viewColumn>
<xp:viewColumn columnName="$2"
id="viewColumn5">
<xp:viewColumnHeader
value="Sagsnr" id="viewColumnHeader5">
</xp:viewColumnHeader>
</xp:viewColumn>
<xp:viewColumn id="viewColumn6">
<xp:this.value><![CDATA[#{javascript:try {
var officer = rec.getDocument().getItemValue("CaseOfficer");
@Name("[CN]",officer);
} catch(e) {
"Ingen CaseOfficer";
}}]]></xp:this.value>
<xp:viewColumnHeader
id="viewColumnHeader6" style="width:49.0%"
value="Sagsbehandler">
</xp:viewColumnHeader>
</xp:viewColumn>
<xp:viewColumn id="viewColumn7"
styleClass="xspLinkViewColumn" contentType="HTML">

<xp:this.value><![CDATA[#{javascript:"<a class=\"xspLinkPerson\">Choose</a>"}]]></xp:this.value>
<xp:viewColumnHeader
id="viewColumnHeader7">
</xp:viewColumnHeader>
<xp:eventHandler event="onclick"
submit="true" refreshMode="partial" id="eventHandler3"
refreshId="resultPanel">
<xp:this.action><![CDATA[#{javascript:chooseCaseJournal(rec.getDocument().getUniversalID(),rec.getDocument().getItemValue("ProfileUnique"),currentDocument.getDocument().getUniversalID())}]]></xp:this.action>
<xp:this.script><![CDATA[dojo.query("[id$='ProfileNewTitle']")[0].value = dojo.byId("profilesubject").value;
dijit.byId("myDialog").hide();
dijit.byId("myDialogResult").show();
]]></xp:this.script>
</xp:eventHandler>
</xp:viewColumn>

</xp:viewPanel>


Tags: notes client,view panel
Anders2 G Mygind
May 24, 2012

 I have an Xpage like this :
 
A view 
   country1  | item1a | item 2a | item3a | item4a
 x country1 | item1b | item 2b | item3b | item4b
 x country1 | item1c | item 2c | item3c | item4c
   country1  | item1d | item 2d | item3d | item4d
 x country1 | item1e | item 2e | item3e | item4e
 
and then 
 make new lines for country : country2  NEW
 
The user has to select lines in the view. (here in this example marked with x) 
Then the user selects another country (dialog list) and clicks NEW , which makes 3 new documents with contents from column 1, 2 ,4 for the country from the dialog list.
 
 
 How can I do this ?
 


Tags:
Marc Jonkers
May 24, 2012 2

Hi,
 
looks like this is a common problem because even this forum has this warning:
 
"Your session may time out after a period of inactivity. Save at least every 30 minutes to avoid losing data."
 
I have an XPage with 2 edit boxes and one rich text control and they are bound to form data source. I don't see anything in the log.nsf when this failure of saving occurs and everything seems to work normally except the values are not saved.
 
This is again something that makes me want to back to the old way where things work smoothly (forms & agents). How do we fix this problem? I have tried the following:
  1. Set Application timeout and Session timeout to 720 minutes in db properties
  2. Make Ajax request every 5 minutes using this code (slightly modified to ping every 5 minutes): http://www-10.lotus.com/ldd/ddwiki.nsf/dx/How_to_keep_XPages_Session_Alive_without_using_Extension_Library 
So far no success. Any other ideas? This forum post might be about the same thing but I'm not sure if he is talking about login timeout or this problem.
 
Thanks, 
 
- Panu


Tags: timeout
Panu Haaramo
May 23, 2012 3

I'd like to prevent the "x" from displaying next to each selected value in an xe:djextListTextBox. Help is greatly appreciated - I've already spent too much time on this.

Here is the code:

<xp:td>

   <xe:djextListTextBox id="selPortDealFilterCenter"

      defaultValue="All My Centers

      value="#{viewScope.portfolio_CenterFilter}"

      title="Click to remove Center from filter list."

      multipleSeparator=",">

      <xp:eventHandler event="onChange" submit="false"

         refreshMode="partial" refreshId="ptabcontent">

         <xp:this.script><![CDATA[#{javascript:

            loadPortfolioData("", "");

         }]]></xp:this.script>

      </xp:eventHandler>

   </xe:djextListTextBox>

   <xe:valuePicker id="pkrPortDealFilterCenter"

      for="selPortDealFilterCenter"

      pickerIcon="/PopupButtonBlue.gif">

      <xe:this.dataProvider>

         <xe:simpleValuePicker valueList="#{javascript:viewScope.centerOptions;}">

         </xe:simpleValuePicker>

      </xe:this.dataProvider>

   </xe:valuePicker>

</xp:td>

As an alternative, if someone could point me in the right direction for modifying how the "x" / selected text values display. I've searched the themes and css that are delivered with the extension libraries, but I cannot find the code that is controlling how this field displays. 
 
Cheers!


Tags: css stylesheet customize extension library list text box
Crista Yeager
May 23, 2012

 Hi,
 
i have a working xpage which loads my own CSJS Library.  
 
Then i switch the DB to  'Runtime optimized', the included functions doesn't work (they are not defined in the browser).
 
When i explore the browser resources i can see a big script with a chain of all scripts that have to be loaded. In the name, my script exists, but it isn't in there.
 
What could be the reason for that ? 
 
Uwe 
 
 
 


Tags: CSJS
Uwe Manzke
May 23, 2012 2

 Hi,
as most of you know, im very much beginner for XPages, Now i want to know how can we maintain our own database and how to create databases, tables to keep track of records. can we create databases via Mysql or sql sever, and can we import them to our  XPages. because i'm implementing a system, which i have to keep track of records. is there any method to do that same task without using, above mentioned methodologies? Please reply me as soon as you can.
 
Thanks! 


Tags:
Prashan C Dharmasiri
May 22, 2012 1

Hi everyone.
 
I'm looking for some kind of formula I explained it in this picture:
 
 

 


Tags:
Karol Podgajecki
May 22, 2012

Just wondering if anyone knows where to find information/documentation for the Domino OSGI plugin libraries?
 
I've created a server servlet plugin, but am running into the following issues:
 
  1. the ContextInfo.getUserSession() seems to be tied to my user account even for fresh sessions where I haven't yet logged in.
  2. After creating another session for another user using the NotesFactory.createSession(null, string, string), I'm running into Java restricted operation issues.  Is there a way to configure this servlet or session to be able to run Java restricted operations (mainly to be able to use EmbeddedObject.getInputStream() which ends up creating a temp file on the file system), without including all users in the Domino configuration document in the security section for allowing Java restricted operations?  I know it's possible through Java agents, but the agent won't be able to accomplish what I'm trying to do.


Tags: osgi servlet plugin contextinfo security
John Dev
May 22, 2012 1

I created one xpage,i used one computed field to look up into the another database in the current server.
i gave this code in computed field..
 
var server=@Name('[CN]',@Subset(@DbName(),1));
var location=@Subset(@DbName(),-1);
var loc=@ReplaceSubstring(location,"db1.nsf","db2.nsf");
var exactloc=@ReplaceSubstring(loc,"\\","/");
var db=session.getDatabase(server,exactloc);
return db

 
It showing these error
 
The runtime has encountered an unexpected error.
Exception
java.io.NotSerializableException: lotus.domino.local.Database
lotus.domino.local.Database 
 
My server name is "lotus",and i hardcoded the name of server also..please anyone can suggest  a solution.
What is the error with "session.getDatabase(server,exactloc)"  and is it because of server name as "lotus".?


Tags: java.io.NotSerializableException: lotus.domino.local.Database lotus.domino.local.Database
Muhammed Shafi
May 22, 2012 2

Hi,  

 

I had developed an mobile based application in R 8.5.3 using Mobile Controls of extension library. Its working very fine in browser.

 
Now could you please help me to know how we can deploy that application on mobile phone?

 

Regards, 

Yogesh  


Tags: XPages application using Mobile Controls
Yogesh_Gulabrao g patil
May 22, 2012 1

Hello all,
 
I'm using a radiobuttongroup to show lookup values as radiobuttons. This works fine.
However, as soon as I add a new radiobuttongroup (with another ID, other lookup values), the values displayed in the second radiobuttongroup are not correct. The values of the first radiobuttongroup are added to the values of the second group.
 
When I hide the first group, the values in the second group appear correct. 
 
Anyone an idea how to solve this?
Thanks 
 
Example
lookupvalues for group1: apple, pineapple
lookupvalues for group2: beer, wine
 
Result on screen:
apple
pineapple
 
apple
pineapple
beer
wine       


Tags: radiobuttongroup
ellen bos
May 22, 2012 1

 Hello,
 
I've strange problem - please help me  
I've done first database in our firm on XPages  
this is web site with few xpage - and other stuff like posting of notices
on web site in Administrator - there is rule of substitution  
/* -> /databasename.nsf/* 
and nobody know that this is domino web site - database name is simply removed from web site address - this is for better work with gooooogle search engine 
but on Xpage f.e. I have few fields to fulfill for customer request  
and on xpage is also button with script on click event 

import xpHTMLMail;
doc=currentDocument.getDocument();
docUNID=doc.getUniversalID();
RodzicID = currentDocument.getParentId();
dokument = database.getDocumentByUNID(@Text(RodzicID));
dokogo = dokument.getItemValue('przetarg_publiczny_os_odpowiedz');
kto = @Text(currentDocument.getItemValue('matkonkosoba'))
firma = @Text(currentDocument.getItemValue('matkonkfirma'))
email = @Text(currentDocument.getItemValue('matkonkemail'))
tel = @Text(currentDocument.getItemValue('matkonktel'))
tekst = @Text(currentDocument.getItemValue('matkonkwiadomosc'))
link = 'notes://Prasa/0/'+docUNID+'?OpenDocument'

doc=currentDocument.getDocument();
docUNID=doc.getUniversalID();
RodzicID = currentDocument.getParentId();
dokument = database.getDocumentByUNID(@Text(RodzicID));
plik=dokument.getFirstItem('przetarg_pub_zalacznik_oferty').getEmbeddedObjects().get(0).getName();
var mail = new HTMLMail();
mail.setTo(dokogo);
mail.setSubject("Wniosek o materialy konkursowe");
mail.addHTML("Prośba o materiały konkursowe:")
mail.addHTML(kto+"<br>")
mail.addHTML(firma+"<br>")
mail.addHTML(email+"<br>")
mail.addHTML(tel+"<br>")
mail.addHTML(tekst+"<br>")
mail.addHTML("<br>poniżej odnośnik<br><a href="+link+">kliknij tutaj</a>")
mail.send();
 
and second simple action is - save data source 
 
and this simply doesn't work  
 
nothing happends  
script is not executed  and save data still don't work
 
what I'm doing wrong ?? 
 
 


Tags:
Jaroslaw Smolar
May 22, 2012 3

Hi,
I'm very new to XPages as well as Domino Designer 8.5. Anyhow i have to implement a system before next month ends. I don't have basic idea even. Can anyone help me to rescue from this situation? If anyone have any resource relevant to XPages, please send me as soon as you can.
 
Thanks. 
 


Tags:
Prashan C Dharmasiri
May 21, 2012 2

I have this JavaScript behind a button on a custom control which was working last week and now does not -- there have been no code changes.
 
Here is the code:
var url = "http://myurl.com";     // generic url...
var returnValues;
var jsonValues;
var jsonName;
var jsonValue;
var xhr;
var doc = document.forms[0];

if (window.XMLHttpRequest) {
    xhr = new XMLHttpRequest();
}
else if (window.ActiveXObject) {
    xhr = new ActiveXObject("Microsoft.XMLHTTP");
}
xhr.open("GET", url, true);
xhr.send(null);
xhr.onreadystatechange = function (){
                if (xhr.readyState == 4) {                                                               
                    if (xhr.status == 200) {
                        returnValues = xhr.responseText;
                        jsonValues = eval('(' + returnValues + ')');
                        for (i = 0; i < jsonValues.items.length; i++) {
                            jsonName = jsonValues.items[i].name;
                            jsonValue = jsonValues.items[i].value;
                            if (jsonName == "name") {
                                for(var x = 0; x < doc.elements.length; x++){
                                        if(document.forms[0].elements[x].name=="#{id:sr_Name1}" ){
                                            document.forms[0].elements[x].value = jsonValue;
                                        }
                                }
                            }
                            if (jsonName == "job") {
                                for(var x = 0; x < doc.elements.length; x++){
                                        if(document.forms[0].elements[x].name=="#{id:sr_Title1}" ){
                                            document.forms[0].elements[x].value = jsonValue;
                                        }
                                }
                            }
                            if (jsonName == "loc") {
                                for(var x = 0; x < doc.elements.length; x++){
                                        if(document.forms[0].elements[x].name=="#{id:sr_Location1}" ){
                                            document.forms[0].elements[x].value = jsonValue;
                                        }
                                }
                            }
                            if (jsonName == "mail") {
                                for(var x = 0; x < doc.elements.length; x++){
                                        if(document.forms[0].elements[x].name=="#{id:sr_Email1}" ){
                                            document.forms[0].elements[x].value = jsonValue;
                                        }
                                }
                            }
                            if (jsonName == "phone") {
                                for(var x = 0; x < doc.elements.length; x++){
                                        if(document.forms[0].elements[x].name=="#{id:sr_Phone1}" ){
                                            document.forms[0].elements[x].value = jsonValue;
                                        }
                                }
                            }

                        }

                }
            }                                                            
        }; 
 
It will cycle through 2 of the JSON value even though there are over 20 of them -- it stops with no errors or messages...
 
Any ideas would be great...
 
Thanks!
Dan


Tags:
Dan Zeller
May 21, 2012 4

 Hi All,
 
I'm going through Declan Lynch's excellent Learning XPages series trying to get a handle on XPages development.  I've run across a problem that I just cant seem to fix and could do with a nudge in the right direction.
 
I'm on part 24 which involves linking a menu generated from view data to the documents contained within that view (http://www.qtzar.com/blogs/qtzar.nsf/blog.xsp?entry=DSLH-7PRL92)
 
The menu uses a repeat control within a table and the example says to locate the xp:tr tag within the repeat control and assign an onClick event to that element.  The onClick uses a simple action to open the relevant xpage and gets the document id using NotesXspViewEntry.getUniversalID();
 
I've tried this over and over but no matter what I do, I can't seem to get any sort of link working on the table row.  I've tried enabling the event on the first column in the table instead.  I've tried adding a new column with a button and putting the event on the button but I can't seem to get my xpage to render the event at all.  I even tried skipping that example and moving onto part 25 which changes it from a simple action to SSJS but that doesn't seem to do anything either.  It's not that I'm getting an error, it's just that nothing seems to be happening.  If I view Declan's finished application, the links work there so I don't think it's my browser. It's almost like there's a setting somewhere in my application or on my server saying 'don't render any onclick events'.
 
I'm entirely willing to believe that I've missed something really stupid but I cannot figure out what I'm doing wrong!  If anyone can give me any ideas, I'd be very grateful!  
 
I can paste the source of my custom control here if it will help but assume too much of it will be stripped out to be of any use.
 
Thanks for any help! 
Emily 


Tags: simple action
Emily C Graham
May 21, 2012 1

Greetings,
 
I am redeveloping an existing database. I do not have authority to alter the original database and template, just my XPage database that uses the originals as pure data sources.  Anyway, to my issue:
 
The original views all have multiple columns with the values displayed as the typical basic icons.  I found code to show the icons with the normal view control, but for my purpose, the xe:dynamicViewControl is just better suited, but I cannot figure out how to get the icons to show.  I have looked all over the wonderful world of google for the answer to this issue with success equalling absolutely goose-egg (0).  I have looked into writing a customizerBean, and even played with the code a bit, but with such things I am such a noob, I cannot really figure out if that way has much of a chance.  All I managed to do was create an alternate image text which is alright in the short term, but I must figure out how to get the icons to show.
 
Any help is very greatly appreciated. 
 
Greg 


Tags: icons,icon,dynamic,view,panel,xe:dynamicViewPanel,default,extention,library
Gregory Reeder
May 21, 2012

Hi,
 
is there a way to access the localization options set in the application properties from SSJS?
 
Thanks, Mario


Tags: localization SSJS
Mario Semper
May 21, 2012 3

Hi
I want to get value of certain cookie I found something like this:
 
var request = facesContext.getExternalContext().getRequest();
request.getHeader("Cookie");
 
but it show all cookies tried to edit it to show only 1 but don't work.
 
I have simply cookie named "cookie_name" and I want to get value of this Cookie.
 
EDIT
 
cookie.get("cookie_name") returns javax.servlet.http.Cookie@2a542a54


Tags:
Karol Podgajecki
May 20, 2012 3

Hi.
I need something like this rewrite to script:
 
 
I was searching a lot but I didn't find any answers ...


Tags:
Karol Podgajecki
May 20, 2012 1

 Hi I don't know if I found a bug or just simply I don't know something but this code don't work (ERROR 500 on page load):
 
<xp:inputText
    value="#{dAnkietaDetale.Haslo_Ankieta}" id="haslo_Ankieta1"
rendered="false">
<xp:this.password><![CDATA[${javascript:var Password_Label:com.ibm.xsp.component.xp.XspOutputLabel = getComponent("Password_Label");
if(Password_Label.getValue().toString().equals("PASS_ON"))
{
    return true;
}
else
{
    return false;
}}]]></xp:this.password></xp:inputText>
 
What I want to add that same code for visibility work fine without any errors.


Tags:
Karol Podgajecki
May 18, 2012 5

Hi.
 
I have such a script (its script that get certain percentage value on progress bar):
 
var maxIloscID = '#{javascript:getClientId("maxIloscRozwiazan_Ankieta1")}';
var maxIloscID_Value = document.getElementById(maxIloscID).value;
var iloscID = '#{javascript:getClientId("iloscRozwiazan_Ankieta1")}';
var iloscID_Value = document.getElementById(iloscID).value;
jsProgress.update({ maximum: 100, progress:Math.floor((iloscID_Value/maxIloscID_Value)*100) });
 
I tested it with button it works great, now I want to make it load on pageLoad. I was in All Properites -> Events -> onClientLoad but it still don't work. 


Tags:
Karol Podgajecki
May 17, 2012 1

 I'm writing a mobile app, and I'm trying to open a document, but just get a blank page when I do and the error from error-log-0.xml of 

SEVERE CLFAD0134E: Exception processing XPage request.

The relevant code is below. What's strange is I can open a document if I open it from a categorized data view as seen in the second data view listing. If I try to open the document from the first dataView listing, I get my errors. I want to do it the first way because of display and navigation issues (I don't like the way a categorized data view looks on mobile). The detailDocument page is complex, so I did not include all of it here. I've already tried stripping everything out of the detailDocumnent page to try to isolate the problem, but no luck so far. This problem applies to all documents, not just one specific document.


---Problem doing it this way-----
<xe:dataView id="dataView1" pageName="#detailDocument"
openDocAsReadonly="true">
<xe:this.data>
<xp:dominoView var="mPPL" viewName="mPPL">
<xp:this.categoryFilter>
<![CDATA[#{javascript:param.ProjectName + "-" + @Left(param.Phase,2) +"-" + param.location}]]>
</xp:this.categoryFilter>
</xp:dominoView>
</xe:this.data>
<xe:this.summaryColumn>
<xe:viewSummaryColumn columnName="itemText"></xe:viewSummaryColumn>
</xe:this.summaryColumn>
</xe:dataView>


---it works this way------
<xe:dataView pageName="#detailDocument"
openDocAsReadonly="true" collapsibleCategory="true"
collapsibleDetail="true" collapsibleRows="true"
expandedDetail="false" rows="7" id="byLocationDataView">
<xe:this.summaryColumn>
<xe:viewSummaryColumn columnName="itemText"></xe:viewSummaryColumn>
</xe:this.summaryColumn>
<xp:this.facets>
<xp:pager partialRefresh="true" id="pager1"
xp:key="pagerBottom" for="byLocationDataView">
<xp:pagerControl id="pagerControl1"
type="Next">
</xp:pagerControl>
<xp:pagerControl id="pagerControl2"
type="Previous">
</xp:pagerControl>
</xp:pager>
</xp:this.facets>
<xe:this.data>
<xp:dominoView var="mByLocation"
viewName="mByLocation" expandLevel="1">
</xp:dominoView>
</xe:this.data>
<xe:this.categoryColumn>
<xe:viewCategoryColumn columnName="ProjectName"
columnTitle="Project" contentType="text">
</xe:viewCategoryColumn>
<xe:viewCategoryColumn columnName="Phase"></xe:viewCategoryColumn>
<xe:viewCategoryColumn columnName="Location"></xe:viewCategoryColumn>
</xe:this.categoryColumn>
</xe:dataView>


---here's the document page.
<xe:appPage id="detailDocumentPage" pageName="detailDocument"
resetContent="true">
<xp:panel id="DetailsItem">
<xp:this.data>
<xp:dominoDocument var="itemDocument"
formName="Item" action="openDocument">
</xp:dominoDocument>
</xp:this.data>

<xp:inputTextarea id="itemText"
value="#{itemDocument.Item}" style="height:200px;width:350px"
rows="10">
</xp:inputTextarea>


Tags:
Joseph B LeMay
Show: 5 | 10 | 25 | 50 | 100  entries
Previous|Next