Actually I want to load the page again because for the first time when I am loading the page one of my VO is not getting initialized (fetchedrowcount is coming as 0),but when we go to home and then navigate to that page again then the rowcount is coming as 1. Can you please help me how can I achieve this on first time page load itself. Please do reply,I am stucked badly. Thanks
It sounds like an ordering issue - VO is likely being queried after the page is rendered.
Have you tried querying the VO explicitly in the PageRequest() method? The Oracle Application Framework Developer's Guide is a good resource if you don't know how to do that.
Related
Sorry if this is not the proper place to post Oracle Apex questions. But I'll post anyway maybe someone could help.
I have an application with a dashboard as the homepage. The dashboard is full of Interactive Reports, Cards, Charts, etc. So basically it has more then 10 SQL queries.
My issue is it takes time to load the page because of the queries. So I'm looking for a way to defer the running of the queries and only try to auto run them after page load or once the DOM is ready and not stuck on the login page with the loading animation.
What are some possible ways to handle this issue?
For the IR/classic regions, you can use this lazy loading technique from Maxime
http://max-tremblay.blogspot.com/2018/05/lazy-loading-report.html
5.1+ OracleJET charts populate after page load already.
Alternatively, you could consider materialized views on your data
https://oracle-base.com/articles/misc/materialized-views
I'm not entirely sure I am asking the question correctly but here goes.
I am trying to view customer data via the REST service. I've gotten the login and and can view the servlet(Response as HTML), atleast i thought it was the servlet, i just realized its just the path to the servlet/start.
I think what I am seeing is just the hardcoded HTML messages that get viewed depending on customer data. Viewing as JSON doesn't work either i get "The content you are trying to view cannot be viewed as JSON"
I'm sorry I don't know enough to ask this properly
Well, it was a n00b mistake. I didnt call the action prior to loading the page so there was no data to ever load.
I am rendering many instances of the same module type ,each time giving it a different id and parameters through code(through get module and render module). This rendering happens whenever a person visits a page. It means the modules are created then and there itself..Does this slow down the website? Please clarify. Thanks a lot in advance..
depends on how the cache is configured, if it's properly cached you shouldn't see a noticeable delay.
Try to put the site in debug mode and load the page, it will give you detailed times for each module.
I am using rails 3.0 and ruby 1.8.7
How could detect if the user refresh the browser page?
I am coding a web wizard form, so I go to next step if all is valid. However if the user refresh the page i don't want go to next step.
Update
I put a hidden field (I know about session solution) which is updated when the user submit the form. My problem is that the form has many steps.
Any idea?. Excuse me
Thanks in advance
Actually server shouldn't know anything about client's state, that's what REST was designed for.
If you really need it, you can use the flash object in order to detect when user refresh page.
For this purpose you need that the entry point of the page will be a redirect_to, so it makes things a little bit complicated, but at least it will solve your problem.
I have a web application and it is done in VS 2003[C#].
There is a frameset which is divided into 3.
TopFrame
LeftFrame
ContentFrame
LeftFrame loads contents related to each logged in user. The contents are loaded from SQL Server 2000 database.
But there occurs a strange problem when one user logs out and another logs in. The leftframe for the first user is shown to the new user logged in. The code executes normally but the content is not shown properly.
I think this is a caching issue. Right now we have disabled the caching of each page by setting
HttpCacheability.NoCache
But this makes the page loading slower. Is there any alternative way to solve this issue?
Thanks
I hope this article will help you.
http://www.15seconds.com/issue/030528.htm
SUMMARY : Any developer who has had the dubious task of developing a
Web site utilizing frames knows it can
be an uphill battle.
1. Frames are Evil
2. The Devil created Frames
3. If you are having a problem related to the Target, refer to item 1
4. If you are trying to refresh data in a particular frame, refer to 1