Data From Query not Displayed on Public Page
Hi all,
I just created a page which has a dynamic portlet that runs a query to display some data. Now I recently made this page public which means that anyone can basically access this page from the outside and not have to login. However, the data does not seem to come up after I access this page on a browser even though the banner comes up fine!! I made the table that the dynamic portlet accesses public. Is there something that I may be missing here? THanks.
Well I went to the grant access tab and there is no make portlet accessable to public. The only place to make a component accessible to public is when your editing a page. The only options when you click on the Grant Access Tab is 1) Publish To Portal and 2) Inherit Previleges From Application.
Similar Messages
-
XSQLActionHandler extracting XML from ViewObject not displaying on XSQL pag
I have the following XSQLActionHandler for a STRUTS project which is supposed to extract the XML from a view object. When I call this from a xsql page I get nothing. I have examined the Node (n) and have seen that it does get XML but after I assign it to root nothing shows up on the XSQL page. Any ideas about what might be wrong?
package XSQLActionHandler;
import oracle.xml.xsql.XSQLActionHandlerImpl;
import oracle.xml.xsql.XSQLServletPageRequest;
import oracle.xml.xsql.XSQLPageRequest;
import org.w3c.dom.Node;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.ServletContext;
import oracle.jbo.html.BC4JContext;
import oracle.jbo.ViewObject;
import oracle.jbo.XMLInterface;
import oracle.xml.parser.v2.XMLNode;
import oracle.jbo.html.databeans.XmlData;
public class ActionHandlerTestVO extends XSQLActionHandlerImpl {
public void handleAction(Node root) {
XSQLServletPageRequest xspr = (XSQLServletPageRequest)getPageRequest();
HttpServletRequest request = xspr.getHttpServletRequest();
BC4JContext context = BC4JContext.getContext(request);
XSQLActionHandlerModuleImpl appmod = (XSQLActionHandlerModuleImpl) context.getApplicationModule();
ViewObject vo = context.getApplicationModule().findViewObject("DisciplineView1");
Node n = (Node) vo.writeXML(1, XMLInterface.XML_OPT_ALL_ROWS);
root=n;You need to append your generated content as a child of "root".
It's best practice if you call adoptNode() on it first before appending it.
Like this:
XMLDocument rootDoc = (XMLDocument)root.getOwnerDocument();
rootDoc.adoptNode(n);
root.appendChild(n); -
Oracle date parameter query not working?
http://stackoverflow.com/questions/14539489/oracle-date-parameter-query-not-working
Trying to run the below query, but always fails even though the parameter values matches. I'm thinking there is a precision issue for :xRowVersion_prev parameter. I want too keep as much precision as possible.
Delete
from CONCURRENCYTESTITEMS
where ITEMID = :xItemId
and ROWVERSION = :xRowVersion_prev
The Oracle Rowversion is a TimestampLTZ and so is the oracle parameter type.
The same code & query works in Sql Server, but not Oracle.
Public Function CreateConnection() As IDbConnection
Dim sl As New SettingsLoader
Dim cs As String = sl.ObtainConnectionString
Dim cn As OracleConnection = New OracleConnection(cs)
cn.Open()
Return cn
End Function
Public Function CreateCommand(connection As IDbConnection) As IDbCommand
Dim cmd As OracleCommand = DirectCast(connection.CreateCommand, OracleCommand)
cmd.BindByName = True
Return cmd
End Function
<TestMethod()>
<TestCategory("Oracle")> _
Public Sub Test_POC_Delete()
Dim connection As IDbConnection = CreateConnection()
Dim rowver As DateTime = DateTime.Now
Dim id As Decimal
Using cmd As IDbCommand = CreateCommand(connection)
cmd.CommandText = "insert into CONCURRENCYTESTITEMS values(SEQ_CONCURRENCYTESTITEMS.nextval,'bla bla bla',:xRowVersion) returning ITEMID into :myOutputParameter"
Dim p As OracleParameter = New OracleParameter
p.Direction = ParameterDirection.ReturnValue
p.DbType = DbType.Decimal
p.ParameterName = "myOutputParameter"
cmd.Parameters.Add(p)
Dim v As OracleParameter = New OracleParameter
v.Direction = ParameterDirection.Input
v.OracleDbType = OracleDbType.TimeStampLTZ
v.ParameterName = "xRowVersion"
v.Value = rowver
cmd.Parameters.Add(v)
cmd.ExecuteNonQuery()
id = CType(p.Value, Decimal)
End Using
Using cmd As IDbCommand = m_DBTypesFactory.CreateCommand(connection)
cmd.CommandText = " Delete from CONCURRENCYTESTITEMS where ITEMID = :xItemId and ROWVERSION = :xRowVersion_prev"
Dim p As OracleParameter = New OracleParameter
p.Direction = ParameterDirection.Input
p.DbType = DbType.Decimal
p.ParameterName = "xItemId"
p.Value = id
cmd.Parameters.Add(p)
Dim v As OracleParameter = New OracleParameter
v.Direction = ParameterDirection.Input
v.OracleDbType = OracleDbType.TimeStampLTZ
v.ParameterName = "xRowVersion_prev"
v.Value = rowver
v.Precision = 6 '????
cmd.Parameters.Add(v)
Dim cnt As Integer = cmd.ExecuteNonQuery()
If cnt = 0 Then Assert.Fail() 'should delete
End Using
connection.Close()
End Sub
Schema:
-- ****** Object: Table SYSTEM.CONCURRENCYTESTITEMS Script Date: 1/26/2013 11:56:50 AM ******
CREATE TABLE "CONCURRENCYTESTITEMS" (
"ITEMID" NUMBER(19,0) NOT NULL,
"NOTES" NCHAR(200) NOT NULL,
"ROWVERSION" TIMESTAMP(6) WITH LOCAL TIME ZONE NOT NULL)
STORAGE (
NEXT 1048576 )
Sequence:
-- ****** Object: Sequence SYSTEM.SEQ_CONCURRENCYTESTITEMS Script Date: 1/26/2013 12:12:48 PM ******
CREATE SEQUENCE "SEQ_CONCURRENCYTESTITEMS"
START WITH 1
CACHE 20
MAXVALUE 9999999999999999999999999999still not comming...
i have one table each entry is having only one fromdata and one todate only
i am running below in sql it is showing two rows. ok.
select t1.U_frmdate,t1.U_todate ,ISNULL(t2.firstName,'')+ ',' +ISNULL(t2.middleName ,'')+','+ISNULL(t2.lastName,'') AS NAME, T2.empID AS EMPID, T2.U_emp AS Empticket,t2.U_PFAcc,t0.U_pf
from [@PR_PRCSAL1] t0 inner join [@PR_OPRCSAL] t1
on t0.DocEntry = t1.DocEntry
inner join ohem t2
on t2.empID = t0.U_empid where t0.U_empid between '830' and '850' and t1.U_frmdate ='20160801' and t1.u_todate='20160830'
in commond promt
select t1.U_frmdate,t1.U_todate ,ISNULL(t2.firstName,'')+ ',' +ISNULL(t2.middleName ,'')+','+ISNULL(t2.lastName,'') AS NAME, T2.empID AS EMPID, T2.U_emp AS Empticket,t2.U_PFAcc,t0.U_pf
from [@PR_PRCSAL1] t0 inner join [@PR_OPRCSAL] t1
on t0.DocEntry = t1.DocEntry
inner join ohem t2
on t2.empID = t0.U_empid where t0.U_empid between {?FromEmid} and {?ToEmid} and t1.U_frmdate ={?FDate} and t1.u_todate={?TDate}
still not showing any results.. -
Safari not displaying some web pages properly why?
I have been finding of late that safari does not display certain web pages properly. i.e.: text overlaps other text and is not formatted properly. This seems to have become more common lately. Even Apple's own apple info page does not display properly. Could this be a setting in safari that I have messed up somehow?
Go step by step and test.
1. Delete Cookies
Safari > Preferences > Privacy > Cookies and other website data:
Click the “Details” button.
Remove all cookies except from Apple, your internet service provider and banks.
2. Safari > Preferences > Extensions
Turn off Extensions if any and launch Safari again to test.
Turn on those one by one and test.
3. Delete Caches.db
Close all windows and quit all applications.
Hold "option" key down and click "Go" menu in the Finder menu bar.
Select "Library" from the dropdown.
Library > Caches > com.apple.Safari > Caches.db
Right click the Caches.db file and select "Move To Trash.
Close windows and relaunch Safari.
4. Empty Caches
Safari > Preference > Advanced
Checkmark the box for "Show Develop menu in menu bar".
Develop menu will appear in the Safari menu bar.
Click Develop and select "Empty Caches" from the dropdown.
5. Temporarily turn off Safari iCloud sync and test.
System Preferences > iCloud
Uncheck the box beside “Safari” and test. -
Date Format was not displayed correctly
Hi All,
We are developing WebDynpro Application successfully....but the date format was not displayed correctly.
the RFC Date format is : 05/23/2007
but in webdynpro we are getting date is wrong....we are getting date is : 09/05/2008.
the below one is our coding for date display format.....
public java.lang.String DisplayingDateFormat( java.lang.String date )
//@@begin DisplayingDateFormat()
// Current date Format in BW
SimpleDateFormat sdf = new SimpleDateFormat("MM.dd.yyyy");
String ChangedDateFormat=null;
try{
//Parsing String to Date
Date sqlDate =sdf.parse(date);
Locale userLocale=WDClientUser.getCurrentUser().getLocale();
DateFormat dateFormat = DateFormat.getDateInstance(DateFormat.DEFAULT, userLocale);
//Converting Date to String
String newDateString = dateFormat.format(sqlDate);
ChangedDateFormat=newDateString;
I mention my user country is Germany.
can u tell me any one why we are getting wrong date.....
Really i appreciate.
Thanks and Regards,
Abhiram.Too bad you can not offer yourself points. LOL
-
"From" presence not displaying in Outlook 2010
I've been working on a software product aiming presence and im integration with Microsoft Outlook using IMessenger API.
Integration works as expected with Outlook 2013. However, the presence indicator of the
"from" or sender does not display in Outlook 2010. The to, cc and bcc fields all display presence properly. In Outlook 2013 however, all of the from, to, cc and bcc fields display presence.
There is a similar discussion for Outlook 2013 on:
http://social.technet.microsoft.com/Forums/office/en-US/a2500fec-fc3f-4295-bbe3-7620876a2d24/from-presence-not-displaying-in-outlook-2013
My problem is similar to this one except that I've the same problem with Outlook 2010 and I don't have this problem with Outlook 2013. It may be resolved in Outlook 2013 with a hotfix I don't know. Does anybody have the same issue and have a fix or workaround
for this situation? I have latest updates for Office 2010 already.
A strange thing is that when I set the registry value HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\14.0\Common\IM\TurnOffPresenceIcon to 1, presence indicators are disappear from contact names as expected, however when I hover over the sender it
displays sender's presence correctly on tooltip. So integration seems ok when I look at this.
when I set the registry value HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\14.0\Common\IM\TurnOffPresenceIcon to 2, presence indicators are disappear from both contact names and tool tips as expected.
when I set the registry value HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\14.0\Common\IM\TurnOffPresenceIcon to 0, presence indicators are appear for contacts in to, cc, and bcc fields except "from" field, which is quite strange. After
I move around between messages, some of the sender's presence indicators starts displaying.
Does anybody know why the presence indicator is not displaying consistently for the "sender" contact in Outlook 2010 when TurnOffPresenceIcon has value 0? Does anybody have the same issue and have a fix or workaround for this situation?Hi,
There is another registry value named TurnOffPresenceIntegration
which also have an effect on the presence indicator, please find the
Key in: HKEY_CURRENT_USER\software\microsoft\Office\14.0\Common\IM
or Policy Key: HKEY_CURRENT_USER\software\Policies\microsoft\Office\14.0\Common\IM
and then check if the key value is set to 0.
For more information, please refer:
http://support.microsoft.com/kb/2726007
Regards,
Steve Fan
TechNet Community Support -
Leading Zeros Missing - When exporting data from ALV grid display to Excel
Hi,
Am exporting the data from ALV GRID DISPLAY to Excel sheet using standard toolbar icon 'Local file'
the leading zeros displayed in the ALV output is missing in the EXCEL sheet.
(eg) in ALV o/p - 0029.
in Excel - Only 29 is appearing.
As per the requiement i have to show the leading zeros in excel also.
Pls help on this issue.
Thanks in advance..Hi ,
Please set the property :
wa_fieldcat-lzero = 'X' .
when you are creating field catalog for display alv data .
your prob will solved .
Regards ,
Nilesh Jain -
How to Extract Data From Lotus Notes in BI 7.0
Hi,
I need to <b>Extract Data From Lotus Notes</b>.
Is it possible to create source system For Lotus Notes (Like we creating For R/3,Oracle,Flat Files etc) then we can Extract the Data ! or
I need to Download the Data in .csv File then Extract the Data !
really appreciate your comments and surely you can get points too...
Thanks in advance
prasannaHi,
What type of data do you want to extract from lotusnotes. .?
regards,
Mohan -
Some PDF files and other emails do not display the whole page. Is there a way to change that?
If an app does not behave as expected, try closing the app completely and reboot the iPad. It appears as though you have the original iPad. It helps if you list your iPad model and the iOS that you are running.
Tap the home button once. Then tap the home button twice and the recents tray will appear at the bottom of the screen. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner of the app that you want to close. Tap the home button twice.
Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up. -
URL parameter value with : not displayed correctly on page
Hi,
I am working on a page with an interactive report.One of the report columns is hyperlinked to another page (Delete Page).This link passes an id and a title to the Delete page such that its displays a confirmation message to the end user before actually performing the delete.If the title contains a ":" the text after the ":" is not displayed on the page (albeit visible in the URL on the top)
Is this because the ":" seperates parameters in an APEX URL and therefore the text after the ":" is taken as the next URL parameter?
How can we solve this problem?
Regards,
Priya JetleyHi
Yes - Apex will see the ":" as a parameter separator and will ignore everything after any that exist in the "with these values" parameter at the end of the url.
You can get around this in two ways:
1 - Escape your title - replace ":" with "%3A" in your sql statement
2 - Do not pass the title in the link but use a computation on the delete page to retrieve this value for display
Andy -
How to retrieve data from URL or querystring in bsp pages
hi
how to retrieve data from URL or querystring in bsp pages.
thanks
Edited by: Vijay Babu Dudla on Mar 23, 2009 7:35 AMHello Friend,
Vijay is correct.
REQUEST is a system object available in runtime of BSP application.
It is the object of interface IF_HTTP_REQUEST.
Use methof REQUEST -> GET_FORM_DATA( )
Regards
Krishnendu -
F-90. asset value date field is not displayed
Dear all
In asset acquisition posting through F-90. asset value date field is not displayed at the time of entering acquisition. It is in supress mode. so system is capturing the capitalisation date. But we can see this capitalisation date as asset value date in fb03 display. Now i want to display this field as optional field while creating the entry and also i want to change the field in display mode to change mode. kindly tell me the menu path to access the settings.
Thanks With Regards
RSS.Hi,
You can enter a diff asset value date for your acq posting, only thru transaction ABSO using TType 100.
This will resolve your issue.
Thanks,
Srinu -
Dreamweaver not displaying my home page.
For some strange reason Dreamweaver not displaying my home page. However it will display all other pages on the site. Does anyone know why this is happening?
Because you have made an error. If you want to share the error with us please post a link to your site.
Gramps -
Loading of Data from Lotus notes to CRM
Hai guys,
I need to upload the Prospects data and also the activites which we created with the prospects from the Lotus notes to the CRM
We have two lotus notes suppose X,Y from which we need to load the data. There might be some records which might be present in both X,Y.We dont want to duplicate the records.
Also we have defined Marketing Attributes X,Y.So now when we are uploading the prospects from X lotus notes all the prospects from the X lotus notes should have X in the Marketing Attribute.Same way as the prospects from Y
I dont have any previous experience loading the data to CRM.
So if you guys have any experience/clues/suggestions can you please share your knowledge.
Thanks in Advance
RGDSHello Taylor,
the Lotus integration tools provide the ability to read and write data from Lotus Notes/Domino to SAP and vice versa. Workflow is a special use case. The tools bascially read and write arbitrary data.
Even though I didn't experience CRM myself I still think that they may be suitable.
Feel free to contact me directly so that I can provide the contact persons to you.
Regards
Michael -
How flash player takes raw data from webcam to display it ?
Hello,
I would like to know that how flash player takes data from webcam and display it on video display object, does flash player process the raw data comes from webcam meanscompress it or apply any kind of matrix / filter and then display it on video display object or stage ?
Thanks,
Jankrutto create a movieclip button:
create a movieclip (insert/new symbol/movieclip) and attach a stop() to its first frame and label it "up". create whatever graphics you want for the button movieclip's up-state. create an "over" frame and, if needed, a "down" frame.
when you place this movieclip button on-stage give it an instance name (say, printer1) and use:
printer1.onRollOver=function(){
this.gotoAndStop("over");
printer1.onRollOut=printer1.onDragOut=function(){
this.gotoAndStop("up");
printer1.onPress=function(){
this.gotoAndStop("down");
// and add your onRelease to do whatever.
if you also wanted to add a textfield that displays the button's instance name when the button is rolled-over, place a textfield on the "over" frame and give it an instance name (say tf) and attached to the movieclip's "over" frame use:
tf.text=this._name;
Maybe you are looking for
-
Unlinking two iPhones that currently have the same Apple ID
My parents accidentally used the same Apple ID for both of their iPhones. How can I unlink their accounts and create two different, unique Apple IDs for each of their iPhones? And without losing what is currently saved to the iCloud (some of the info
-
How can I use MS Access in Lab View
how can I use MS Access in Lab View Its urgent
-
Which identity is ISE meant to place on CSR towards NDES?
Hello, I'm having an issue with the Proxy SCEP function of ISE. I'm basing my config on the BYOD CVD. I'm able to enroll an iPAD towards my CA, but when checking the issued certificate Common name or SAN, I can only see the NDES service account usern
-
Why do we need header datasource?
I just got confused? Why do we need header data table if line items datasource contains all the field of header datasource? Another thing is that should we create different ODS' for each?
-
Remotely starting the CMS server using a SSH script in a Unix environment.
Is it possible to remotely start a CMS server using a shell script which starts an SSH session and runs the startservers command asin the command below: ssh -o ConnectionAttempts=2 -o ConnectTimeout=10 -l boadmin huxd0226 '/opt/BO/boxir2/bobje/starts