Refreshing query data for Dynamic Page Generator
Can anyone tell me why I must exit out of XMII and re-login in order to have any updates saved in either a Data Query or Display Query show up when I use the Dynamic Page Generator.
I attended the Xmii beginner level training. In the training, I could hold the Ctrl key and click the Refresh button on my browser to update the templates.
Thanks
Mike
Mike,
The reason for this was that the machines that were used in training had Java SDK 1.5 installed if you are using 1.4 you cannot hold down the ctrl key to refresh the cache you must go into Tools -> Sun Java Console -> click the "X" key and that will clear the cache.
Erik
Similar Messages
-
Use JDBC to query data for JSP Report
Hi all,
I met a trouble when use JDBC to query data,
it can show data in report builder, but get error when call from url for exxample: http://localhost:8889/reports/TestJDBCReport.jsp
found error message:
javax.servlet.jsp.JspException: rwlib-1: REP-4100: Failed to execute data source. REP-0069: Internal error JDBCPDS-62000:Invalid sign-on parameter P_JDBCPDS
javax.servlet.jsp.JspException: rwlib-1: REP-4100: Failed to execute data source.
REP-0069: Internal error
JDBCPDS-62000:Invalid sign-on parameter P_JDBCPDS
anyone know pls help me
Many thanksAs a general rule, it's a good idea to separate the
presentation (JSP and HTML) from the business rules
(database access). I know you didn't do that on the
AS/400, you had display files and business logic in
the same program (at least, we certainly do in ours),
but it's a good policy to follow in the web world.
That means, don't put your database access code in
the JSP. Other than that, it depends on the data.
If you have simple data (e.g. customer's name and
d address) then a Java bean would suffice. If you
have complex data (e.g. customer's payment history)
then a bean still might suffice. You would use an
"include" if you had some data (static or dynamic)
that you wanted to appear in several different pages
in the same form.Thanks, I figured putting the code in the JSP was not the best way, but I wasn't sure about the other options. -
Over-ride default customization for Dynamic page portlet
has anyone been successful at over-riding the default customization that comes with the Dynamic page wizard. I have a portlet that will have specific values for each user and I would like to default those values the first time the user comes in. The delivered customization screens are not adequate to do this.
Any ideas would be appreciated...
nullThe question is not related to dynamic services. It is related to over-riding the default customization delivered by the Oracle portal dynamic page wizard. I need to figure out using the PDK how to enhance / over-ride the default customization that is generated. Is the preferred approach to go through the wizard and then modify the code that gets generated or should you just start from scratch and never use the wizard at all?
Thanks,
Tom
null -
Map Viewer Query Rewriting for Dynamic themes and Materialized Views.
Hi,
I am usng a WMS request to render FOI points in my map.
Internally query rewrite is happening in Mapviewer for this dynamic theme and my data points query is getting converted as
select FROM
( select status, shape from MatView.MyTab where id = '3' )
WHERE MDSYS.SDO_FILTER(shape, MDSYS.SDO_GEOMETRY(2003, 4283, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1, 1003, 3), MDSYS.SDO_ORDINATE_ARRAY(144.948120117188,-37.8162934802451,144.950866699219,-37.8141237016045)), 'querytype=WINDOW') = 'TRUE'
here the rewritten query is not correct and is throwing exceptions in mapviewer log
How can I make this query to be written correctly.
(My orginal query before rewrite is: select status,shape from MatView.MyTab where id='3' )
I am using a materialised view : MatView is a materialized view.
When I used normal tables, the query is re written correctly.But for this materialized view this is happening.
How can I correct the error?
Is this has something to do with some Spatial Indexing in Materialised view or Query Rewriting for materialized view?
Edited by: 841309 on Mar 10, 2011 11:04 PMOops!
The Materialized view was not accessible from the schema I tried :)
And so when I gave permissions,it formed the correct query.
So if permission is not there,map viewer will rewrite the query in a wrong way! New information. -
Hi,
I have migrated my Sharepoint from 2010 to 2013.I am able to get the data at the first time of refresh when I click on refresh for the second time I am getting the empty the sheet.
below find the flow of refresh
First Refresh
On Click of refresh open the workbook with excel services and return the session id.
Using that session I am invoking RefrehAsync method of excel services
After refresh completed I am setting the calculation of workbook as automatic(to calculate the formulas) using the same session id
After setting the calculation as Automatic I am setting the calculation type as full(recalculate) using the same session id.
Now I am able to see the data
Second Refresh
After clicking on refresh instead of opening the workbook I am using the session id(already opened workbook) and setting the calculation type as manual
I am following the same process from refresh(RefreshAsync) as I have followed in first refresh.
This time my formulas are not getting calculated because of that I am not able to see the data.
Could you please let me know that am I missing anything here?
Is this know issue in Sharepoint2013 excel services as same code is working fine with Sharepoint2010.
If I close the workbook(session id null) and opens(new session id) for all the refreshes it is working and I am able to see the data.
Thanks,
Meenakshi Nagpal
N.MeenakshiI am able to see the data for the second refresh if I change the data source.If I use the same data source which is used in the first refresh I am not getting the data.Excel services will contact the cubes and calculate the formulas in my workbook.
Could you please let me know what could be the problem at second refresh while contacting the same data source with same session id?
Please help me asap.
Thanks,
Meenakshi Nagpal
N.Meenakshi -
Do not apply Templates for dynamic page
Hi,
When i add a tag <ORACLE> ...</ORACLE> then all code before this tag don't displate.(I have viewed source after apply template but did't see code before Oracle tag).
Could you tell me the way to sovle the problem.
thanks !
thangtkDear Candace ,
- I have a dynamic page that includes oracle tag (<oracle> </oracle>).Run it ok .
-When i apply my template(user template) then dynnamic don't display all component of Template.
-I had viwed source code (dynamic+template) .I only see componet code begin <oracle> to end. (contains HTML outside <oracle>..</oracle>) and all code before <oracle>..</oracle> to lose .
Ex:I have a code
<html>
<head>
<title>
</title>
</head>
<body>
<table>
</table>
<oracle>
begin
htp.init();
htp.p('..');
end;
</oracle>
</body>
</html>
run it anh view source then i only see:
<oracle>
begin
htp.init();
htp.p('..');
end;
</oracle>
</body>
</html>
I lose code.
<html>
<head>
<title>
</title>
</head>
<body>
<table>
</table>
I think that Templates don't display ,the same cause.
I hope you will reply quickly for you.
thanks very much !
(sorry ,I write very bad) -
Last Use Date for iViews/Pages/Workset - Portal clean up of old items
Is there any scripts that SAP has created that shows the Portal Admin which iViews have been recently used by the users and which ones have not. We would like to go through our environments and Clean Up/Remove old none used code in the PCD.
I am hoping there is a script that can be run which produces a report stating Last Used/Executed date. If there is nothing like this, does any one know if there is any Data Base table or fields that can identify this type if data so we can create/write our own script? The PDC inspector may do this but its a very manual effort and we'd like something that is automated and runs in the background.
I know we can turn on metrics, but that will not work for us because it completely bogs down our systems and we can't afford that. Hence we are looking for something that runs in the background and will not effect our environments.
Thanks
PeteThanks everybody for trying to asnwer the first question.
But I guess what I am really looking to find out, for every item we have in the PCD, is there a way to find the last used date? We don't want to turn on the metrics for a period of time like some of the solutions have suggested since that will bog down out production system and it still won't help us identify in our DEV and Test regions items that might still be valid but haven't been touched for a while or are still in development phases.
I was hoping that there would be a way that SAP would allow us to enter in a folder name, iview, workset, page, role, etc and then have the system tell us the last used/accessed date for that item or all of the items in the PCD folders. Kind of the reverse thought to get this data instead of letting the metrics tell us which users have hit which pages, etc.
Does any one know of that type of option?
Thanks
Pete -
Restricting the item data for two pages if data is more then cutoff
Hi Expers,
I have one requirement that i need to restrict item data upto two pages .If more data is vailabe even pritning after two pages then data should cutoff(means we don't want to print that extra data in the next pages ).Could you please explain how can we achive this in main window ?Can we achive this even using secondary window also?Thanks for your help in advance.
Thanks and Regards,
VenkatDear experts,
For restricting the data up to two pages in the mainwondow ,I have written the condition SFSY-PAGE LE 2.But still i am getting more than two pages means entire data.Can any one explains why this condition is failed(My main window is in the first page itself).
Many thanks for your help,
venkat -
Recommended method , tips and Howto for dynamics page generated on run time
Hi all !
I'm working on a jee5 (JPA/EJB3/JSF) application using NB6 and them VWP
this is for the background.
My job is to mock in Java an older app written in a proprietary language .
Now my problem is this :
How one can manage to create a "on-the run" edit-page = a form filled with fields which numbers and types is function of the data present in the database.
For example record "A" of aTable presents 3 strings and 2 combos to be edited
then record "B" due to his type presents 8 textfields 2 combos and an image and 3 address groups of fields etc...
All these little set of pages is really dynamics, ie depends of the main table and secondary tables linked to the main record.
So You can NOT know per advance for example that there will not be more than 10 textfields, it really have to be dynamic
How can I succeed this in JEE ?
I think for sure that to reach that I must forget about VWP
That at least is obvious !
It certainly got to be some hand-crafted code; ok for that.
But i'm lost,
How do I insert this besides my otherwise standard Visual Web Pack pages ?
where should I start looking at this ?
Can one of you put me on the trail ,
give me some hints,
or links me to some tutorial ...
I've tried some googleing in vain for now...
ThanksPerhaps this might help:
How to create a table component dynamically
http://winstonprakash.com/articles/jsf/dynamic_table.htm
Adding components to a dynamically created table
http://winstonprakash.com/articles/jsf/dynamic_table2.htm
http://wiki.netbeans.org/RuntimeComponentCreation
Radhika -
Been some time since I have used Flash for anything...
I'm working on a little project to dynamically build a map
and set points of interest on the map. At this time I have the
(mySQL) data being queried and formatted with PHP and pushing the
data to Flash as XML.
In starting the project I'm a bit lost... I mean I have my
data and a good XML format but as it is I'm lost on parsing the
data in Flash and assigning its values to movie clips or other...
I've looked at the Loader Component and the XML Connector
Component and find I can get that to work at all...
My second though was to create a single movie clip on stage
and give it an instance name of "Background" and have it load the
URL of an image given in the attached XML doc... Node "a_zone" and
the value given to attribute "image"... But this brings me back to
square one of not quite understanding Flash and parsing XML... With
this second idea I would use AS to create a movie clip, set it's X
& Y cords and load an image to it based on the XML attributes
listed in the "Gatherable" node (one for each node).
Any suggestions, examples or related info is welcome...
Thanks in advance!Okay, that really wasn't what I was looking for... But I did
go back and RTM :-)
Here's what I have... 1st frame:
2nd Layer: movieclip with the instance name "currentPicture"
The image loads into "currentPicture" from the URL given in
the XML "a_zone" node attribute "image" just fine....
But I'm not able to grab the attributes of each "Gatherable"
node it seems... am I missing something or just not pointing to the
right node?
I keep getting:
undefined
undefined
undefined
Error opening URL
"file:///C|/apache2triad/htdocs/gatherer/flash/undefined"
Error opening URL
"file:///C|/apache2triad/htdocs/gatherer/flash/undefined"
Error opening URL
"file:///C|/apache2triad/htdocs/gatherer/flash/undefined" -
How to Export VO query data for all the columns.
Hi All,
I have advanced Table where i will be displaying only few of the columns from the VO query, when i export it will display only those columns which are displayed in advanced Table, so is it possible to export other columns also?
Thanks
BabuI faced this similar issue ...as per my knowledge if the widget for the underlying VO attribute is rendered then only one can export the data...a possible workaround is..u can create a similar page showing the respective columns intended to be exported and redirect to tht page and export it from there .....
-
ADF Query Panel for Dynamic VO.
Hi All,
i am using jdev version 11.1.1.5.0.
In my use case i have created one dynamic VO because table and no of column decided run time. now i want to provide filter on that vo using Named view criteria as ADF query panel.
but column and table decided run time. So can i create dynamic query panel(View Criteria) run time?
or Is there any another way to achieve my requirement?
Thanks in Advance.Hi Manish,
not sure if this is what you are looking for, but you can have dynamic viewcriteria in a search region.
In the searchregion binding in the pageDefenition simply use an EL Expression to determine what criteria to use.
<searchRegion Criteria="#{pageFlowScope.startupMode eq 'mgr' ? 'CriteriaForManager' : 'CriteriaForEmployee'}"
Customizer="oracle.jbo.uicli.binding.JUSearchBindingCustomizer"
Binds="EmployeesView1Iterator"
id="CriteriaForManagerQuery"/> I explained it on my weblog : http://lucbors.blogspot.nl/2011/10/in-my-current-project-use-lot-of-re.html
Good luck,
Luc -
Query Syntax for Dynamic Navigation Menu
I'm trying to build a Navigation menu from a query using the following syntax:
select LEVEL,
LABEL,
LINK,
'NO' as IS_CURRENT,
null as IMAGE
from V$RC_MENUS
where CLUB = :APP_CLUB
start with PID is null
connect by prior ID = PID
order by SEQUENCE, LABEL
The query itself works fine for all values of APP_CLUB but it only generates the menu entries for some values of APP_CLUB, but not others. The SEQUENCE value determines the order of the entries within each level. Is this the correct syntax for a query-based navigation menu? How does it determine which sub-levels belong to a parent? Does the ordering of the resultset have any impact on how the menu is generated?Jritschel-Oracle wrote:
I'm trying to build a Navigation menu from a query using the following syntax:
select LEVEL,
LABEL,
LINK,
'NO' as IS_CURRENT,
null as IMAGE
from V$RC_MENUS
where CLUB = :APP_CLUB
start with PID is null
connect by prior ID = PID
order by SEQUENCE, LABEL
The query itself works fine for all values of APP_CLUB but it only generates the menu entries for some values of APP_CLUB, but not others. The SEQUENCE value determines the order of the entries within each level. Is this the correct syntax for a query-based navigation menu? How does it determine which sub-levels belong to a parent? Does the ordering of the resultset have any impact on how the menu is generated?
As stated in the documentation:
...do not specify either ORDER BY or GROUP BY, because they will destroy the hierarchical order of the CONNECT BY results. If you want to order rows of siblings of the same parent, then use the ORDER SIBLINGS BY clause.
Try:
select LEVEL,
LABEL,
LINK,
'NO' as IS_CURRENT,
null as IMAGE
from V$RC_MENUS
where CLUB = :APP_CLUB
start with PID is null
connect by prior ID = PID
order siblings by SEQUENCE, LABEL -
Wiki - Custom Sidebar displaying Mod Date for each page
I've created a custom theme based on the wireframe theme and have added a cuastom sidebar. This works fine. However all the pages that appear under each section of the sidebar also show the pages modification date and time.
Does anyone know how to stop it displaying the mod date and time?
The default Apple themes don't do this.
ThanksIf you look at the supplied themes, you'll see that grouphome.css has a rule for sidebar snippets to turn off display:
.sidebar .module .snippet{
display:none;
} -
BLS to iSPCChart to Dynamic Page Generator
In a BLS transaction I am using a SQL action to retrieve data from DB and then calculatiing CL, LCL, UCL which are stored as output parameters in the transaction.
How can I use these values to show up as Control Limit lines over the iSPCChart.
Message was edited by:
Siddhartha BhattacharyaThe SPCChart calculates the control limits itself using the data from the query template. It plots the limit lines over the data points.
But then what is the need of control limits input in the SPCChart? Is it for specifying some custom cotrol limits that will overwrite the limits calculated by SPCChart?
Secondly does the SPCChart expect the control limits input from a BLS output parameter(Xacute Query) or what?
Maybe you are looking for
-
Modify getting_started example_c code to an In-Memory application
I am learning Berkeley DB In-Memory Application. I use db-4.7.25/examples_c as a base code and made a simply modifications. Please see below. It appears that something I missed or I don't understand how to write an In-Memory Application with Berkeley
-
Memory leak issue with link server between SQL Server 2012 and Oracle
Hi, We are trying to use the linked server feature with SQL Server 2012 to connect SQL server and Oracle database. We are concerned about the existing memory leak issue. For more context please refer to the link. http://blogs.msdn.com/b/psssql/archi
-
Hi, my phone was acting up so I restored it and backed it up, now that I have it backed up none of my photos from my camera roll are there and NONE of them are in my photo stream. Please Help! This is really stressing me out. Iphone 4s
-
TEXTAREA in JSP dosen't wrap to next line and I use the following syntax. <input type='textarea' name='code' rows='2' cols='30' style='width: 180px;height:30px'> when I type it keep wraping in the first line and dosen't go to 2nd line at all.
-
Some sharepoints not showing up
Hi all, We just upgraded to Mountain Lion Server and after the upgrade, a sharepoint, which is a mounted disk image, disappeared. It shows up on the list of sharepoints on the server, but when you connect from a remote machine that one sharepoint is