View Full Version : Ext.nd Beta 3 available for download
jratcliff
18 Aug 2009, 8:24 PM
Beta 3 is now available for download. This version has more bug fixes and is based on Ext 3.0 Final (the previous Beta 2.x versions were based on RC versions of Ext 3).
Also, in this release we have done some work to redo how searching a view was done so that we can support searching views that have hidden columns and columns hidden based on a hide-when formula. We've tested it out on the included demo.nsf database but please test it on your own views and let us know what you find.
http://extjs.com/downloads/extnd_b3.zip
Next up on our list is to create the API documentation. We want to have that done as much as possible before we move into Release Candidate versions. It may still be several more weeks if not another month or more before we can have a Final, dual-licensed version available so those inquiring on when a commercial version will be available, hang in there.
Oh, and before I forget, check out the Tasks.nsf database. It is the same app that I demo'd at IamLUG that includes using categorized views with a totals column with the new charting capabilities in Ext 3.
Jack & Rich
ltc_mch
19 Aug 2009, 5:39 PM
Dear Jack & Rich:
I am appreciate your work on extnd.
I have two problems with search function (In Traditional-Chinese enviorment).
The first one is encoding problem (see attach file). It could be solved if I modify encoding to utf-8 in agent extnd/3x/SearchView line 42.
The second one is:
I could get search result set correctly (beside the encoding problem). If I click another view in outline and then use the search button, the search function didn't work. it would get error in firebug:
<error>Error in SearchView: Object variable not set---at 82</error>
I trace the agent, and I think it might be encoding problem too.
It can't get correct viewname (Chinese viewname) on line 50.
I have no idea how to solve the second problem.
David, Lu
file:///C:/DOCUME%7E1/ltc/LOCALS%7E1/Temp/moz-screenshot.png
jratcliff
20 Aug 2009, 5:53 AM
Dear Jack & Rich:
I am appreciate your work on extnd.
I have two problems with search function (In Traditional-Chinese enviorment).
The first one is encoding problem (see attach file). It could be solved if I modify encoding to utf-8 in agent extnd/3x/SearchView line 42.
Sorry about that. I meant to change that before releasing Beta 3. I've changed it now.
The second one is:
I could get search result set correctly (beside the encoding problem). If I click another view in outline and then use the search button, the search function didn't work. it would get error in firebug:
<error>Error in SearchView: Object variable not set---at 82</error>
I trace the agent, and I think it might be encoding problem too.
It can't get correct viewname (Chinese viewname) on line 50.
I have no idea how to solve the second problem.
Hmm, line 82 is this:
lngResults = vwSearch.FTSearch(strQuery,intMax)
So maybe the vwSearch object isn't getting set. What's the name of your view?
ltc_mch
21 Aug 2009, 7:04 PM
Let me describe the senario more detail.
My JS Header is as follow:
var ExtndAdmin = function() {
return {
init : function(){
this.ui = new Ext.nd.DominoUI({
uiOutline : {outlineName: "extndOL"},
uiView : {viewName: "A.收案(依承辦人:進行中)", viewTitle: "A.收案(依承辦人:進行中)",
showSearch: true,
dateTimeFormats : {
dateFormat : 'd/m/y',
timeFormat : 'h:i:s A',
dateTimeFormat : 'Y-M-d h:i:s A'
}
}
});
}
} // return
}();
Ext.onReady(ExtndAdmin.init, ExtndAdmin, true);Senario 1:
I could use search function correctly (no matter the search keyword is Chinese or English) with search botton.
strParameters on line 47 will get:
OpenAgent&_dc=1250908120293&db=%2Fsoftwaremainta.nsf&vw=A.%E6%94%B6%E6%A1%88(%E4%BE%9D%E6%89%BF%E8%BE%A6%E4%BA%BA%EF%BC%9A%E9%80%B2%E8%A1%8C%E4%B8%AD)&query=%E8%B3%87%E8%A8%8A%E9%83%A8&count=40&start=1Senario 2:
If I change to another view (with Chinese ViewName) by clicking on OL. The search function will be fail. As mentioned on previous reply, vwSearch is nothing on line 50:
strView = GetParameter("vw",strParameters)strParameters on line 47 will get:
OpenAgent&_dc=1250908347215&db=%2Fsoftwaremainta.nsf&vw=A.%25E6%2594%25B6%25E6%25A1%2588(%25E4%25BE%259D%25E6%2589%25BF%25E8%25BE%25A6%25E4%25BA%25BA%25EF%25BC%259A%25E9%2580%25B2%25E8%25A1%258C%25E4%25B8%25AD)&query=%E8%B3%87%E8%A8%8A%E9%83%A8&count=40&start=1Senario 3:
If I change to another view (with pure English ViewName) by clicking on OL. The search function will be success.
jratcliff
21 Aug 2009, 7:25 PM
In the SearchView agent, if you change this line from this:
strParameters = docCurrent.GetItemValue("Query_String")(0)
to this:
strParameters = docCurrent.GetItemValue("Query_String_Decoded")(0)
Does it work then?
ltc_mch
21 Aug 2009, 7:44 PM
In the SearchView agent, if you change this line from this:
strParameters = docCurrent.GetItemValue("Query_String")(0)
to this:
strParameters = docCurrent.GetItemValue("Query_String_Decoded")(0)
Does it work then?
Thanks, It works.
I have another problem. Is the Search funcion a full-text search?
We had a Search botton before (not extnd) in action.
@Command([ViewShowSearchBar])The search results are more correct than the extnd search botton.
I mean that some docs can be found by @Command([ViewShowSearchBar] but extnd can't.
jratcliff
21 Aug 2009, 7:51 PM
Thanks, It works.
I have another problem. Is the Search funcion a full-text search?
We had a Search botton before (not extnd) in action.
@Command([ViewShowSearchBar])The search results are more correct than the extnd search botton.
I mean that some docs can be found by @Command([ViewShowSearchBar] but extnd can't.
Hmm, well we call the FTSearch method of a View. The docs say that this method does a full-text search and if the db is not full-text indexed then the method will still work, but less efficiently.
ameliaalex
24 Aug 2009, 8:05 AM
First let me thank you for all the countless hours of work that have gone into this product! I have only just started digging into Ext.nd for Domino, but I am very impressed with what I have seen.
I have ext.nd up and running in our development environment at work and all is running fine. I have installed the application in our pre-prod environment and get a ['Ext.nd.Session.currentDatabse' is null or not an object error].
I did some research on this and it seems like several people have had this error for differing reasons. Any idea where I could go and see why I am getting this on one environment (same server configuration 6.5.1)?
Again,
This is awsome work!
Graham Perry
jratcliff
24 Aug 2009, 8:39 AM
Can you open the call to Session.js in a separate browser window and post what the "isDB2" and "percentUsed" properties values are?
The url to Session.js should look something like this:
http://server/extndPath/extndDb.nsf/extnd/3x/Session.js?OpenAgent&db=yourDb.nsf
ameliaalex
24 Aug 2009, 9:00 AM
"isDB2" : false,
"percentUsed" : 98.6}
I had a chance to open up the database in FireBug. Below is the last two lines from the Function getUserGroupNameList(session As NotesSession) As String outout - Note the unterminated string constant
{"abbreviated" : "SplashMgrCardServices 1", "addr821" : "", "common" : "SplashMgrCardServices 1"},
{"abbreviated" : "CardServices-CorporateCardAuthors", "addr8
I have a massive list returned in @UserNamesList. I just tried loggin in as a test user with very few items and all works fine.
jratcliff
24 Aug 2009, 9:10 AM
"isDB2" : false,
"percentUsed" : 98.6}
I had a chance to open up the database in FireBug. Below is the last two lines from the Function getUserGroupNameList(session As NotesSession) As String outout - Note the unterminated string constant
{"abbreviated" : "SplashMgrCardServices 1", "addr821" : "", "common" : "SplashMgrCardServices 1"},
{"abbreviated" : "CardServices-CorporateCardAuthors", "addr8
I have a massive list returned in @UserNamesList. I just tried loggin in as a test user with very few items and all works fine.
Ahh, that's it then. How large is this list? We'll have to do something to fix this. Sorry about the inconvenience.
ameliaalex
26 Aug 2009, 12:18 PM
My UserNameList returns like 400+ items. Crazy I know. I work for a very large organization (60,000+) with many applications developed in Domino. In fact the NotesView project on OpenNTF started in the same group that I work in (my brother in-law:).
Again the product is excellent and I hope that we will be able to use it in the near future. I have found a couple of other issues. Do you have a issue tracking database that I can post these to?
For example: in the SearchView agent: any xml output needs to be escaped. Looking at the agent code I was able to solve this issue by modifying the line:
displayValue = Join(Fulltrim(value), sep)
to
displayValue = XMLEscape(Cstr(Join(Fulltrim(value), sep)))
Let me know if there is anything I can help out with,
Graham
jratcliff
29 Aug 2009, 10:01 AM
My UserNameList returns like 400+ items. Crazy I know. I work for a very large organization (60,000+) with many applications developed in Domino.
Wow, 400+...I'll see if I can figure out a solution for this. Not sure why the agent truncated your username list. Do you know how long the agent ran? I wonder if it timed out due to the server's setting on how long agents can run.
In fact the NotesView project on OpenNTF started in the same group that I work in (my brother in-law:).
Cool, I've seen this project before.
Again the product is excellent and I hope that we will be able to use it in the near future. I have found a couple of other issues. Do you have a issue tracking database that I can post these to?
Not yet, but hopefully soon. In the meantime, users just post their bugs (and enhancement requests) to this forum and then Rich and I knock them out when we can.
For example: in the SearchView agent: any xml output needs to be escaped. Looking at the agent code I was able to solve this issue by modifying the line:
displayValue = Join(Fulltrim(value), sep)
to
displayValue = XMLEscape(Cstr(Join(Fulltrim(value), sep)))
Ahh, good catch. I'll go ahead and fix this now then.
Let me know if there is anything I can help out with,
Just keep trying out the features and let us know what doesn't work and what you like and dislike and what you would like to see added.
Thanks again!
Jack
markroberts906
9 Sep 2009, 9:41 AM
Hi Rich and Jack,
Not sure if this is a bug, appears you commented in code (at least the debug) for a radio button to not use columns. Is this something I am missing how to make it other then one column? If I read the code block right it appears you just hadn't implemented it but I wanted to be sure.
And thanks again for all your efforts guys, the new version is looking great and provides a solid base for integrating Ext components into Domino pages.
Mark
marceloprietos
15 Sep 2009, 4:05 PM
Hi jack, I been testing Extnd since 2x version and have to say that you are doing a great work.
About a month ago you wrote that the next step on your list will be the API documentation. This will be helpfull in order to test Extnd 3.0 with all the functionalities.
As far I can see, there are not many bugs reported and I would like to know (I bet all the people in this forum too)
when will be available the first oficial release.
In your agenda, when are you planning to publish the first first oficial release?
Do we have to wait until the first release to have the API documentation or
will be available a draft document first?
Many thanks in advance.
jratcliff
18 Sep 2009, 6:49 AM
Hi Rich and Jack,
Not sure if this is a bug, appears you commented in code (at least the debug) for a radio button to not use columns. Is this something I am missing how to make it other then one column? If I read the code block right it appears you just hadn't implemented it but I wanted to be sure.
And thanks again for all your efforts guys, the new version is looking great and provides a solid base for integrating Ext components into Domino pages.
Mark
Yes, we just haven't implemeneted it yet. I'm not sure why so I'll have to go and look at the code.
jratcliff
18 Sep 2009, 6:55 AM
Hi jack, I been testing Extnd since 2x version and have to say that you are doing a great work.
Thanks!
About a month ago you wrote that the next step on your list will be the API documentation. This will be helpfull in order to test Extnd 3.0 with all the functionalities.
Yes, I agree. Trying to get to that now.
As far I can see, there are not many bugs reported and I would like to know (I bet all the people in this forum too)
when will be available the first oficial release.
Yes, as far as bugs go we only have a couple left that we need to take care of before we have the first official (non beta) release.
In your agenda, when are you planning to publish the first first oficial release?
Rich and I are still working with Ext on that. Hopefully really soon but I hate to say a date and not make it.
Do we have to wait until the first release to have the API documentation or
will be available a draft document first?
My plan is to include the API docs in the next beta so look for that in the next few weeks.
ragdam
10 Nov 2009, 6:39 AM
still hope that the API documentation for the actual Beta for Ext.nd arrives ASAP.
Please, Please !!!
Thank you
jratcliff
11 Nov 2009, 8:40 AM
Yes, it will be in beta 4. Got a little behind schedule but I did start on the docs over the weekend using ext-doc (http://ext-doc.org/) to generate the API docs.
Jack
marceloprietos
7 Dec 2009, 11:01 AM
Hi Jack, I been reading this forum every day with the hope to see the Beta 4 and API documentation since you wrote that this had to be ready at December 1th. I bet all the people in this forum are waiting the same. Please let us know if you have a new publish date.
Many thanks in advance.
jratcliff
8 Dec 2009, 7:31 PM
Hi Jack, I been reading this forum every day with the hope to see the Beta 4 and API documentation since you wrote that this had to be ready at December 1th. I bet all the people in this forum are waiting the same. Please let us know if you have a new publish date.
Many thanks in advance.
Sorry, you are right. I did say December 1st but things got a little busy around here with some family medical emergencies. I'm out of town for the next few days so my new plan is to try and get the next release with the API docs out by early next week (week of 12/14). Wish me luck! :)
marceloprietos
12 Jan 2010, 5:04 AM
Happy New Year 2010 for everybody!, Jack, I hope your whole family is in good health.
Do you have a new date to release the new version?
jratcliff
12 Jan 2010, 7:01 AM
Yep, sorry for the delay. I was back and forth seeing doctors all month long and then ended up being in the hospital for 5 days. I'm working on things now and will try and have a download ready shortly.
marceloprietos
5 Feb 2010, 6:04 AM
Hi Jack, ExtJS 3.1.1 Release Candidate is now available for testing and Ext GWT 2.1.1 Released, Now we are waiting for the Extnd, I hope we can have it soon :)
Mathias Weisheit
12 Feb 2010, 5:49 AM
Hello,
I've made some optimizations.
Can you integrate them in your source-code?
Deletion calls an Agent and not the default-domino-url.
Can you reserve a Property for Setting the deletion-url. Default will be the domino-url ?DeleteDocument.
Numberformats in columns are rendered.
Icons in columns greater then 186 can be used.
Multivalue Icons are possible.
I can send you an document with these changes, because some aren't in beta 4 aviable!
jratcliff
12 Feb 2010, 8:29 AM
Thanks! You must have looked on OpenNTF to see beta4 :) that was a very pre-release version that we put out there so the Lotus Awards committee could see. I meant to take it back down after they downloaded it. Some of your enhancements we have already done for the "official" beta 4 to be release soon. However, I didn't realize that there are icons above 186 and I like your idea about give the users an option on "how" to delete (either by agent or ?DeleteDocument)
Mathias Weisheit
14 Feb 2010, 11:20 PM
I've attached the icons-list from the designer help. There are 212 icons.
In our application the user should not delete documents, because the application must be very secure. But he could remove them from the view. In Notes I can achieve this by writing lotus-script code for the database-event querydocumentdelete. But there is no event which will be called, if a user opens the ?DeletDocument url. The only way is to call an agent, which will process that request.
An other scenario will be the deletion of response-documents.
Sub DeleteDocumentsWeb
'dim s as NotesSession
Dim ap As CetimaAgentParam
Dim strMessage As String
Dim strUserName As String
Dim doc As NotesDocument
Dim strUNIDs As String
'Dim strUNID As String
Dim iCount As Integer
On Error Resume Next
Set docWeb = s.DocumentContext
If CheckDFVRole= False Then
strErrorMsg="Sie besitzen nicht die Rolle [DeleteFromView] um Dokumente zu löschen."
Exit Sub
Else
Set ap = New CetimaAgentParam(docWeb.QUERY_STRING(0))
strUNIDs = ap.getParamValue("UNIDs")
If strUNIDs="" Then Exit Sub
arrUNIDs = Split(strUNIDs,",")
Forall strUNID In arrUNIDs
If strUNID<>"" Then
Set doc = dbCurrent.GetDocumentByUNID(strUNID)
If doc Is Nothing Then
strErrorMsg = strErrorMsg & "Dokument nicht gefunden: " & strUNID & Chr(13)
Else
If DeleteDocumentFromUI(doc)=False Then
strErrorMsg = strErrorMsg & "Problem beim Löschen von Dokument: " & strUNID & Chr(13)
Else
iCount = iCount+1
End If
End If
End If
End Forall
If iCount>0 Then
strErrorMsg = "Es wurden " & Cstr(iCount) & " Dokumente gelöscht." & Chr(13) & strErrorMsg
End If
End If
'Ergebnis wird zurückgegeben
Print {Content-type:text/xml}
Print {<?xml version="1.0" encoding="ISO-8859-1"?><data>}
Print {<result>}
Print {<message>}
If strErrorMsg="" Then
'Print {Nutzerdaten für } & s.EffectiveUserName & { erfolgreich geladen.}
Else
Print strErrorMsg
End If
Print {</message>}
Print {</result>}
Print {</data>}
End Sub
hirecules
12 Mar 2010, 8:56 PM
My UserNameList returns like 400+ items. Crazy I know. I work for a very large organization (60,000+) with many applications developed in Domino. In fact the NotesView project on OpenNTF started in the same group that I work in (my brother in-law:).
Again the product is excellent and I hope that we will be able to use it in the near future. I have found a couple of other issues. Do you have a issue tracking database that I can post these to?
For example: in the SearchView agent: any xml output needs to be escaped. Looking at the agent code I was able to solve this issue by modifying the line:
displayValue = Join(Fulltrim(value), sep)
to
displayValue = XMLEscape(Cstr(Join(Fulltrim(value), sep)))
Let me know if there is anything I can help out with,
Graham
Thank you ameliaalex!!
By reading your post, I solved a problem which I have been trying to resolve for weeks!!
The issue:
By typing a query in the search toolbar in a grid view, data are found, but not displayed on the search results (I know there are data when checking firebug). It appears that any data with the "&" entered (such as an attorney company Martin & Martin) are never displayed.
It was puzzling because the same database and view worked in extnd 2.0!!! But when I moved it to use extnd 3, it did not work. So I thought it had somethng to do with the Searchview of version 3.
I am glad that your post came up in my search and I changed that "displayValue" line of code in the SearchView agent as you suggested, and voila, it worked!!!!!!!!!!
I am a happy man!
Thanks a million!!!!!
Hirecules
laic
15 May 2010, 12:24 AM
thinks a lot.
Powered by vBulletin® Version 4.1.5 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.