370 Lotus blogs updated hourly. Who will post next? Home | Downloads | Events | Jobs | Twitter | Bookmarks | Pods | Forum | Blogs | Search | myPL | About 
 
May 23, 2012, 04:40:42 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Calendar Login Register  
Pages: [1]
  Print  
Author Topic: Upgrade from 8.5.1 to 8.5.2: Xpages @DbColumn (IE7)  (Read 564 times)
0 Members and 2 Guests are viewing this topic.
osc_dev
Newbie
*
Offline Offline

Posts: 3


View Profile
« on: March 07, 2011, 08:44:17 AM »

Greetings!

Behold questions from an Xpages beginner...

We just did an upgrade to 8.5.2, I had already started an Xpages App prior.  On one of our Xpages form  was calling an external database to grab its list of categories from a view to load into a combo box.  All worked fine on the Client and Browser when run on 8.5.1 server.  After the upgrade, same App, now on 8.5.2 server pulls list of categories okay (form combo works) in Client and not the Browser, the web form shows nothing in the combo box when in IE7 Browser:

Code:
[left]<xp:comboBox
id="comboBox1" value="#{MyBean.categories}">
<xp:selectItem
itemLabel="Select Option" itemValue="">
</xp:selectItem>
<xp:selectItems>
<xp:this.value><![CDATA[#{javascript: @DbColumn("myexternaldb.nsf","MyViewNameOrAlias",1)}]]></xp:this.value>
</xp:selectItems>
<xp:eventHandler
event="onchange" submit="true">
</xp:eventHandler>
</xp:comboBox>[/left]

Not sure what happened there, looked all over for hints...  What are your thoughts?  Does 8.5.2 see DbColumn differently...

I should perhaps mention my version of DDE was also upgrade from 8.5.1. to 8.5.2.

Any direction you have on this should be helpful.

Have a good day?

Köll[/pre]
« Last Edit: April 14, 2011, 10:15:42 AM by osc_dev » Logged
osc_dev
Newbie
*
Offline Offline

Posts: 3


View Profile
« Reply #1 on: April 14, 2011, 10:19:57 AM »

@DbName() does the trick to resolve the issue:
@DbColumn(@DbName(), "YourView", ColNo);
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!