Behöver du en snabb och effektiv konsult för Lotus Notes och
Domino eller en offert på en applikation ? kontakta mig nu
Issues with how updated view data is handled in XPages |
1 |
Update:
Part of this problem was that when adding a comment it get connected to the wrong parent document. This problem was caused by a Dojo Content pane added to the xpage having set partial refresh to true. If I removed that setting from the dojo content pane the comments are now connected correct again. The problem of editing the wrong post is still a problem if repeatControls is set to false. setting repeatControls to true will resolve the issues. but then the repeat require full update to see the new documents which is not a satisfying solution
There is something not right with how updated view data is handed in XPages
The following video show I am in a web page that does not have the latest documents displayed. If I try to edit a document in the view I edit the wrong document
I guess the reason for this behaviour is that the repeat , viewpane or data table is simply looking at the index. so if you click to edit index number 0 on your webpage, and another document has been added to the index 0 since you reloaded, index number 0 is no longer the document you intended. so you get to edit the last added document at index 0.
I have not found a solution to this problem and it is currently a big problem in my application as it affects also responses and other actions connected to the document I am acting on.
Update:
In the video above the view panel is refreshed when editing but even if only the current edited entry is updated with partial refresh I experience problems that a response is connected to the wrorng parent document. so the solution to this problem is not as simple as specifying which element to partial refresh
here is another example,
The problem is really too complex to explain and I see different results if I try it in my demo application and in my live application but the problems are similar
I have tried so many ways to get this solved but still not found any good solution
- I tried to change the scope on the document data source and view data source
- I tried to switch the dataCache property on the view data source
- I tried to get hold of the "correct" unid in each entry and use that when editing and commenting but the currect unid is not accesible it is updated with the new unid
- I tried to use a computedField inside the repeat to load only onPageLoad but that option does not seem to work inside a repeat
- I have tried to turn off automatic refresh on the view but that will not work as there is no way to tell when it is time to update the view as many users are accessing the application at the same time.
- There is a settings on a repeat to set repeatControls to true but that gives me other problems as the repeat is not updated on partial refresh
Also look at my Stack Overflow problem for more info
http://stackoverflow.com/questions/15366159/response-comments-added-to-the-wrong-parent-document
Here is the demo application in the second video above
http://www.notessidan.se/blogg.nsf/repeat
Lämna gärna en kommentar
Some Images of the new features in Intrapages |
0 |
How to install IntraPages - 7 easy steps |
5 |
The following images show the process for installing Intrapages
You can install as many intrapages apps as you like on the same server. each instance will have unique users and settings
http://intrapages.openntf.org







intranet, social business, extranet, wiki, forum, polls, news stream, activity stream, extranet, twitter, news reader, blog, user directory
Lämna gärna en kommentar
How to reduce build time in large XPages apps |
4 |
From experience building Intrapages here is my finding for reducing build time in Domino Designer
- Use DDE v9 - much faster build time, the build time is reduced from 30 seconds to 5 sec
- Turn build automatic off, use CTRL-B to build when needed
- Always work locally, never build on server
- Only have one application open in DDE when building.
- If build is not ready within 10 seconds (Notes9) you might have run out of memory, use kill notes and start all over.
- You always need to build twice after opening DDE (bug)
- There is also a JVM property setting that can be set on the IBM Notes client to increase the amount of memory allowed by DDE. but I have not changed that
Lämna gärna en kommentar
The power of IBM Notes |
2 |
Intrapages v1.6 - Nyheter |
0 |
New features
- Home page for news and team rooms can now have a new section "Links" and specify in admin or team room settings which links should be available
- It is now possible to share "news" in all users profile. everything created in user profile is only displayed there.
- When visiting your own profile you are asked to enter some basic user info like phone and title
- Team room view can now be searched and filtered in more ways, (e.g team rooms I am not member of)
- Open team rooms can now be shared in home news stream
- The content view in admin now show if the content is in a team room
- Added an action to user administration to see how much content a user have
- Added an action to join a team room from the team rooms section list
- Team room like wiki, files, polls etc can now be shared in the team room news stream (team room content cannot be shared in the home news stream)
- home content like wiki, files, polls etc can now be shared in the home news stream
- In the admin section all content from specific users can be soft deleted
- in the admin section it is now possible to search for a user.
Fixed/Changes
- Added more AJAX calls, The home page now loads a lot faster
- Added message to mobile devices that can't view the rt editors
- Internet Explorer in compatible mode is now redirect to browser.xsp for all pages, also updated the information displayed to user
- fixed a ui issue with richtext editors in Firefox
- The login page has been updated. the registration and forgot password links are now only available if site login is enabled
- The information section in user profiles has been renamed to "About"
- The Debug Toolbar has been removed from the admin dropdown
- Polls have been improved
- Added placeholder text to search boxes
- Fixed a security issue with registration
- Some mobile ui issues have been fixed
- The content view in admin now show the subject on mouse over can also be clicked.
- The "add email box" is now hidden if isDemo is ticked in admin
- fixed latest activity bug when moderator change team room image
- Cleaned up the directory actions, removed icons and list view.
- Fixed an issue with the photos section not loaded correctly
- Team rooms presented in user profiles are now only displaying open team rooms
- Search section in team room is now hidden if the user is not a member
- Searching in a team room when not a member is now redirecting back to home page.
- remvoved a column from notes view that showed an exsclamation mark if a user changed name, this feature har been removed.
known issues v1.6
- The calendar view in the event section does not handle repeating all day events
- Commenting a poll does not give correct activity stream text
- Clicking index links in Wiki articles do not work correctly
- Helpdesk assignments are not fully implemented and number of assignments on home page show wrong number
Images below highlights some of the new features in v1.6 (sorry for bad quality images)
Team Rooms can be searched and filtered

Administration - Users can searched and all user content can be soft deleted

All apps can be shared in news stream as a way to promote specific topics. apps in team rooms can be promoted in the team room stream

Team room can be promoted in the home news stream

It is now possible to write and post content on other users wall

New calendar view for events

Links can be added to the home page by the administrator or to the team room home page by the moderator(s)

Here are some links to demo and more information
Live Demo using fictive characters
http://www.intrapages.com/intrademo.nsf/start.xsp
Live Community
http://www.intrapages.com
Intrapages Project on openNTF
http://intrapages.openntf.org
Intrapages on Facebook
https://www.facebook.com/Intrapages
intrapages on Twitter
https://twitter.com/intrapages
Intrapages is totally free for both private and corporate use, but I really appreciate donations as this will keep the project open and active.
If you have a few bucks over please consider donating an arbitrary sum by clicking the button below

Lämna gärna en kommentar
Ta ditt intranät till nästa nivå och bli en social verksamhet |
1 |
Intrapages is a Social Business Intranet Application, This mean you run it on your own IBM Domino server.
There are many scenarious on how you would run different intrapages applications, here are a few.
- Corporate Intranet. - One application for the whole company employees
- Documentation/Wiki - One application to be used only for documentation or wiki content.
- External partners - One application containing internal and external logged in users for sharing content
- Internet Application - One application used on the internet for internet users.
Note: No users are needed in Domino Directory, Users and login are handled within each intrapages.
Q: What is an intranet , extranet and most of all what is a social intranet?
A: here is my simplified definition:
- An intranet is a network only accessible within a corporation, not accessed from the internet
- An Extranet is a network accessible both from within a corporation and from the internet
- A social intranet is a user driven application where employees share and communicate online within a corporation
- A social extranet is a user driven application where employees and external partners share and communicate online
Intrapages is a web based IBM Notes application built on XPages which is a java servlet technology.
The following image show the different technologies used when building intrapages

Intrapages is open sourced and published to openNTF under the Apache License Version 2.0 and has also been approved into the apache catalog which means it is production ready and is end-user 'install friendly'.

Implementing intrapages on your own Domino server is easy, all you need to do is to add the application to your server using the IBM Notes client.
In the downloadable package you get a template file with extension .NTF this template is used to create intrapages applications, and you can create as many applications as you like.
Each intrapages application you create will have unique users and content.

When you open intrapages for installation in the IBM Notes client you have a user friendly setup guide to get up and running fast.
note: If you have Domino Designer installed on your machine you can run intrapages with full functionality without a server
Image below show the administration start screen of intrapages using the IBM Notes client. This is only for administrators, End users never use the IBM Notes client to access intrapages.

After you have added the application to server and added the first administrator user you can login using your webbrowser.
the following image show what the home page looks like

Intrapages can have unlimited number of team rooms. and the team room moderator(s) decide which apps should be available
Users need to join a team room to see its content
The following image show what a team room look like and the applications available

When users login to intrapages a profile is automatically created and can be edited only by that user
The following image show what a user profile may look like and its different features.

The following image show one of the application available to intrapages, the Wiki.
For most apps only the creator of content can edit and delete it. for wikis it works a bit differently.
Wikis can be edited by all users, and each "edit" creates a new version.

Each registered member of intrapages can be viewed in the directory section. from here you can perform a ful text search for any content stored in the user profile.
The following image show the directory section and its different features

Intrapages news stream is like the central home page which is the landing page after login.
From here you have access to lots of information that concerns the whole application like activity stream, upcoming events etc.
News posted in the home page of intrapages is displayed the same to all users. but can be filtered based on you as the user. one example of this is to see all posts from people you follow.
When posting news you can add embedded content from internet like links or you could attach a file or photo from your computer.
All posts you created can also be deleted and edited by you. News posts created in Team rooms and in User profiles are only displayed there.
the following image show the intrapages home page with some of the key features highlighted

Intrapages comes with a mobile user interface. This is built using a technology called "Responsive Web Design" this means that if you access intrapages using a webbrowser less than 600px wide you wil see the mobile interface automatically. you can also see this interface is you use your standard webbrowser and reduce the width of the standard browser to less than 600px wide.
The mobile interface have less functionality than the full site.
The following image show what the mobile home page interface looks like on the iphone

There are five different ways to login to intrapages, The administrator of each intrapages decide in the configuration which login should be available.
1. Site Login
This login requires that you have registered on the site using the registration form or that the administrator have setup your user accont in advance.
If you have an account of this type you can also use the forgot password feature
2. Domino
This login require that you have person record in the Domino Directory. when you login using Domino you login to the domino server.
If this login is available and you are logged in to Domino a profile is created automatically the first time in Intrapages and you do not need to login.
3. Facbook
This login require that you have a facebook account and accept intrapages to read some of your user information, like Firstname, Lastname and Email.
To setup intrapages to support facebook login you need to create a page on the facebook site and enter that page secret keys into the configuration in intrapages
When you login using facebook you have no password set in intrapages
4. Twitter
This login require that you have a twitter account and accept intrapages to read some of your user information, like Firstname and Lastname. Twitter never gives out the email address so when you login this way we will not know your email. you will be prompted to add this later after login.
To setup intrapages to support Twitter login you need to create a page on the Twitter site and enter that page secret keys into the configuration in intrapages
When you login using Twitter you have no password set in intrapages
5. Linkedin
This login require that you have a Linkedin account and accept intrapages to read some of your user information, like Firstname and Lastname. Linkedin never gives out the email address so when you login this way we will not know your email. you will be prompted to add this later after login.
To setup intrapages to support Linkedin login you need to create a page on the Linkedin site and enter that page secret keys into the configuration in intrapages
When you login using Linkedin you have no password set in intrapages
Important note: Intrapages only read the information needed from the social site you login to , it never post anything to these sites.

Q & A
Q: How is content stored in intrapages
A: All content is stored with a single IBM Notes application file.
Q: How much content can be stored
A: There is really no limit for how much data can be stored with a IBM notes application the only restriction is the file system, for NTFS it is currently 64GB of data
Q: How many users can one intrapages have
A: Unlimited
Q: What hardware is recommended for running one instance of intrapages
A: Intrapages runs on all platforms supported by Domino, i.e Windows (32 and 64bits) , Linux AIX etc.
Intrapages runs well using the same requirements as the Domino server has but as intrapages is based on java the most important hardware is "Memory", we recomment you use a lot of memroy and fast disc drives.
Q: How do intrapages handle security
A:
- All users of intrapages are logged in using cookies, this is the most common method for authentication on the internet.
- Intrapages do not use Domino for handling security.
- Intrapages handle all access to content internally within each application
- Intrapages users is always anonymous as seen by Domino.
Here are some other images of intrapages
Built inNews Reader



Here are some links to demo and more information
Live Demo using fictive characters
http://www.intrapages.com/intrademo.nsf/start.xsp
Live Community
http://www.intrapages.com
Intrapages Project on openNTF
http://intrapages.openntf.org
Intrapages on Facebook
https://www.facebook.com/Intrapages
intrapages on Twitter
https://twitter.com/intrapages
I hope you love intrapages, if not I would like to know why and how it can be improved
If you have any issues or feature request please post them to the openNTF project at http://intrapages.openntf.org or send me a private email using thomas.adrian (a) consili.se
Intrapages is totally free for both private and corporate use, but I really appreciate donations as this will keep the project open and active.
If you have a few bucks over please consider donating an arbitrary sum by clicking the button below

Lämna gärna en kommentar
Intrapages - The social intranet is now free |
5 |
Click here to open the project at openNTF
Intrapages is a social website you can easily setup from a template (ntf) and you can run as many intrapages you like on the same server. each intrapages may serve different purposes i.e you might want to setup one intrapages for the whole company and another one for blogs, files, photos or for a specific project you are working on.
some of the features of intrapages includes:
- Attractive UI with the option to change theme
- Login using Facebook, Twitter, Linkedin, Domino or site registration.
- Multilingual, currently supports English and Swedish. (I Need help with other languges)
- News Stream, with comments and likes (works like facebook)
- Invite internal or external users to join
- Activity Stream - allows you to always be up to date with other peoples activities
- Send private messages to other registered users
- Create teamrooms for specific projects
- Create content like Announcements, Blog entries, wikis or ideas
- Subscribe to content and get notifications when content is created
- Maintain your personal profile with photo, skills etc.
- Fulltext search or type ahead search is available for all content
- Most content can be tagged which makes it easy to find group of content
- Webbased administration, including user managament and send out newsletters
- Mobile interface with less functionality
- and much much more..
Each intrapages application you setup have different users and they are NOT tied to the Domino Directory, so you could setup a specific intrapages application with people from outside your company , like partners or suppliers and share content like files, pictures, wiki content etc.
Each instance of intrapages can be setup to allow or deny login using Site registration login , Domino, Facebook, Twitter or Linkedin.
If you want to run intrapages as an intranet start page or portal for all employees in the company you can set it up to allow login using peoples webmail/domino login This way users will not need a new username/password to remember, Users simply click Domino login from intrapages and login using their Domino username and password and they will have a profile created automatically in intrapages.
All content in Intrapages require users to login but it is possible for authors to make different type of content available for users that are not logged in.
Intrapages require a 8.5.3 Domino server and the extension library available for free download from openNTF.
- Note: You do not need to set up a secondary addressbook to run intrapages, All authentication and authorization is handled from within each intrapages application using cookies
- Intrapages is not built to run in the IBM Notes client
- I would love to see other contributors to this project
There is a live site available at Intrapages where you can login using Site, Facebook, Twitter and Linkedin. and there is a demo site available at Intrapages Demo where you can use a fictive person
Below two images showing the mobile ui


Lämna gärna en kommentar
|
|