Questions tagged [oracle-jet]
Oracle JavaScript Extension Toolkit (JET) empowers developers by providing a modular open source toolkit based on modern JavaScript/TypeScript, CSS3 and HTML5 design and development principles.
216
questions
0
votes
0
answers
36
views
Oracle jet error "failed to execute 'opendatabase' on 'window' access to the webdatabase api is denied in this context"
I developped an OracleJet app and it works fine on browser and mobile I am using cordova sqlite plugin "cordova-sqlite-storage" to store some data in a sqlite database but after sometime I ...
0
votes
0
answers
15
views
Automatic scroll is not working while drag and drop the rows when using oj-table with row reordering
I am using oj-table with row reordering option. But when I try to drag and drop the rows the automatic scroll is not working. Suppose I have 50 rows in my table and want to drag the 50th row to 2nd ...
0
votes
0
answers
5
views
Override the styles of the row while dragging and reordering the rows in oj-table
I am using oj-table with row-reorder. My drag and drop of row works fine but when I drag the row the border of the table is shown along with the row. How to override the style of row while dragging?
0
votes
1
answer
52
views
Oracle Jet RESTDataProvider does not fulfill table
I am working on an Oracle Jet Project and I am trying to fill a table with data from a request.
I have confirmed that the data does get pulled through though it seems the issue is the data is ...
0
votes
2
answers
95
views
Ojet Row reordering shows the entire table selection when dragging the single row
I am using oj table with row reordering. When I try to drag and drop the row instead of dragging the singe row it looks like dragging the entire table
Expected result:
But when I try to drag it looks ...
0
votes
0
answers
39
views
Oracle VBCS - Implanting esLint and Css Style Lint
Look to provide Oracle VBCS with superpowers and coding best practices for the Development Team involved; I'm doing research about implementing Linters for ECMAScript and CSS Code styling in order to ...
2
votes
2
answers
73
views
detect width change in a div and trigger a function Knockout JS
How do I detect when the width of a div with id X changes? I have a function 'wrapLines' which needs to be called whenever this div container's width changes. because of following reasons
whether the ...
0
votes
0
answers
41
views
Oracle Jet table data not refreshing when oj-option button is toggled
I have a data table using oracle jet with 3 oj-option buttons to toggle between 3 different sets of data that should be fetched when a new option is selected, however its not doing that. How can i get ...
0
votes
1
answer
51
views
Problem with using Govuk-Frontend npm package in Oracle JET Application
Problem with 'Get started' (https://frontend.design-system.service.gov.uk/get-started/)
I am trying to use Govuk-Frontend npm package in Oracle JET Application. I have included the package in ...
1
vote
1
answer
67
views
fireCustomEvent is undefined
I'm getting error saying Uncaught TypeError: Cannot read properties of undefined (reading 'fireCustomEvent'). Please help how to resolve this as I'm making use of Oracle JET to write this javascript ...
0
votes
1
answer
133
views
How to dynamically generate OJET components using document.createElement
Is there a way to dynamically generate ojet components using document.createElement()?
e.g.
var ss = document.createElement('oj-select-single');
ss.setAttribute("data","[[arrayData]]&...
0
votes
1
answer
824
views
Oracle-JET : How do I dynamically adding content to oj-list-view using oj-paging-control
I want to fetch data based on the page number. i.e. I check if page no. is 1, make an API call which returns 1-100 output rows and those are displayed in the list-view. Whenever page number is changed,...
0
votes
1
answer
328
views
Dynamically build the ojet menu with submenu using JSON input
How to bind the option of oj-menu with submenu options from javascript in ojet
1
vote
1
answer
397
views
OracleJet : Cannot build the app with platform Android?
Yesterday , I built my OracleJet app with platform android but I got this error :
> npx @oracle/[email protected] serve android --device
Task index.html theme path injection finished.
...
-1
votes
1
answer
707
views
Proplem with oj-button (oracle jet button)
Why oj-button concatenate its label text to itself when we keep clicking on it,
here is an example of the button in this cookbook button (try when keep click on it) :
https://www.oracle.com/webfolder/...
0
votes
2
answers
783
views
How to show input field in only Uppercase using Oracle Jet oj-input-text?
I want to show letters only in uppercase in input text field.
<oj-input-text style="text-transform: uppercase;" id="text-input" placeholder="Select new Item number"
...
0
votes
1
answer
1k
views
oj-table row grouping and row selection type checkbox
I have below requirement. I only need to use oracle-jet oj-table:
On page load organization data is loaded with different roles of
employees. Need to bind this data to oj-table, with rows grouped on
...
0
votes
1
answer
229
views
OJET table length attribute
I have recently started working on Oracle JET where I'm having a requirement of creating a table in which I have to populate the first three items or dataset from the api response data, I'm able to ...
0
votes
1
answer
161
views
Monaco-Editor fails on oracle jet build/serve when in release mode
I'm trying to implement the Monaco editor within my oracle jet web application. I've tried with the dev and min folders. It works fine when I run serve without the release mode option but when I ...
0
votes
1
answer
121
views
How to show a static error page on invalid route in ojet
How to display an error page for an Oracle Ojet application when someone hits an invalid url? If appController.js is where the main routes are defined, how to use to add the invalid hits?
Thanks!
0
votes
1
answer
125
views
Oracle Jet 11 - DetailedRouteConfig canEnter equivalent (Ojet 3.2)
In Oracle Jet 3.2 I used to be able to specify is a user use a route or not:
self.routingInfo = ko.observable({
'signin': {label: 'Sign In', canEnter: true, ...
1
vote
0
answers
173
views
Unable to add library(intl-messageformat) to ojet project
I am trying to add intl-messageformat to my project, but i am getting undefined
when i tried to load the module.
In path_mapping.json
{
...
"libs": {
...
"intl-...
1
vote
1
answer
102
views
get the child element value from first array irrespective of parent element name in JSON
I'm getting below response (snippet) from JSON (for detailed json response hit (GET) https://restcountries.com/v3.1/all in postman or browser)
[
{
"status": "officially-...
0
votes
1
answer
1k
views
oj-bind-text and oj-bind-if return the same value even if I use not operator
Currently I have a web app using Oracle Jet and knockout js, I am using oj-bind-if to show some html code but I have noticed that the following sentence:
<oj-bind-text value="[[presenter....
0
votes
2
answers
320
views
How to not expose REST calls to the client in Oracle Visual Builder?
After working with Oracle ADF for a while, I am now developing an application using Oracle Visual Builder. When calling REST services using the action chain component "Call REST", the call ...
0
votes
0
answers
302
views
Oracle Jet, Core Router - Reconfigure function
In an Oracle Jet APP i'm trying to achieve some resource authorization behavior based on user authentication,
the idea is:
Initiallize Router with only login route
This is the code used in ...
0
votes
1
answer
457
views
Oracle JET how to include data in JS file?
I am trying to add Oracle JET timeline to Oracle APEX 21., I added timeline from link below but, I can't load data. https://www.oracle.com/webfolder/technetwork/jet/jetCookbook.html?component=timeline&...
0
votes
0
answers
127
views
How to add pagination to a table with dynamic data source?
I want to dynamically fetch data, when the particular page is clicked in the pagination bar at the bottom.
How to add pagination to a table with dynamic data source?
The pagination works with ...
0
votes
0
answers
76
views
Content Server Request Failed
This error took me a long time and I couldn't find a solution for it.
The problem is when I go to https://www.oracle.com/webfolder/technetwork/jet/cookbook I see the error:
Content Server Request ...
0
votes
1
answer
1k
views
Integration of Oracle JET with APEX
I am trying to integrate Oracle JET with Oracle APEX, I tried to find information about integration. I found some blog posts for older version of APEX and Oracle JET - I can't find a way to download ...
0
votes
1
answer
189
views
Oracle JET Single Page Application without Starter-Template
Over the last week I tried to create a single page application without using the template provided by Oracle. My goal is to load the modules by clicking on simple headers or divs.
I know that OJ-...
0
votes
2
answers
462
views
Xpath: Getting preceding span element where a button contains specific text
Trying to get the Button with span and text equals "Delete" as per below xpath selector for a later click
//text()='Delete'//preceding::span
But it does not work. Html is below. How do i ...
1
vote
1
answer
639
views
How do we upgrade from OJet ( Oracle JavaScript Extension Toolkit) 7.x to 10.0? Where do we find the oraclejet.zip for v. 10.0?
We are trying to upgrade existing application that makes use of OJet 7.x.
Since we will need to upgrade to latest version, we found this documentation :
https://docs.oracle.com/en/middleware/developer-...
0
votes
0
answers
1k
views
Validation on oj-select-single in OJET
I am trying to create a component that uses oj-select-single to select one value.
Now he will choose the related two fields which are input-text and that becomes my one component.
Component is
1. ...
1
vote
1
answer
204
views
cordova build android -- release not loading files
I'm trying to build android apk in release type but when run on android device it just show white screen.
so I served release type on browser to check then I found there are lot of missing files all ...
1
vote
3
answers
278
views
How to add popper.js in an oracle JET project
I am trying to include bootstrap in my OJET project where I use ojet v6 library.
I got an error saying ojmodule failed due to "popper is required".
What I have Tried
I have added the popper....
1
vote
1
answer
1k
views
How to set infinite scroll in OJET Table?
I am using OJET framework's oj-table component. The structure of the table looks as below:
protected render(): VComponent.VNode {
return (
<div>
<oj-table
id="table"
...
0
votes
1
answer
196
views
Trouble implementing moment.js in Oracle Jet
i'm making an app using Oracle Jet in typescript.
I want to use the moment.js librairy but i have trouble implementing it.
To install it, I did npm install moment --save
In my .ts file I included it ...
0
votes
1
answer
825
views
Gantt Chart Oracle Apex
I need some help in creating a Gantt chart in Oracle Apex. In a previous release, the AnyChart Flash .swf files were removed from the /images folder. This results in your charts no longer rendering. ...
1
vote
1
answer
2k
views
Dynamically Binding the the Oracle jet switcher slot to the oracle jet add and remove tab(Make switcher slot dynamic in oracle jet)
I want to make tab switcher auto decide the slot for the switcher but when I am trying to make it dynamic with the help of observable no data is showing the tab content area until I write the slot ...
0
votes
0
answers
135
views
Oracle JET : Unable to build ojet hybrid project after upgrading xcode to Version 12.0 (12A7209)
This morning I updated my xcode to Version 12.0 (12A7209) and since then I am not able to build the project for ios
Replication steps
ojet create testapp --template=navbar
cd testapp
ojet add hybrid
...
2
votes
1
answer
611
views
Default decimal format Oracle JETt
In our application we store big amount of decimal data. Conform to Oracle JET documentation there is possibility to format decimal numbers according provided pattern for individual input text controls....
0
votes
0
answers
269
views
How to add external routes in an OJET application
There is a scenario where there is an app written in angular and another app written in Oracle JET running on the same server. The OJET application is required to reuse a few modules from the existing ...
0
votes
3
answers
744
views
Oracle JET: Getting error while launching ojet hybrid app for android
Android emulator shows error when we launch a bare bone app, please see the screenshot attached.
It works as expected for iOS.
I have tried all the default templates navbar,navdrawer and blank.
...
0
votes
2
answers
397
views
Oracle Jet: Unable to make hybrid app with Ojet cli 9.1
I am trying to build a hybrid app using ojet and ojet-cli. I am referring the getting started page on the official ojet site.
I can successfully scafold web app using the ojet-cli and serve it but ...
0
votes
1
answer
2k
views
Adding a hierarchical Gantt-Chart in Oracle Apex
I'm trying to add a Gantt-Chart (Oracle JET) with hierarchical data to my Oracle Apex (19.1) Application just like the example in the Cookbook (Hierarchical Tasks) by using the built-in implementation ...
2
votes
1
answer
821
views
Create Dynamic Table using row data as column headers in OJET
how can I use row data from a child table and present it as column data (one row is the header and the next is corresponding data) on the parent table while displaying some additional data from the ...
1
vote
2
answers
500
views
OJET - How do I alert a user before leaving my page?
I am working on a single page application using Oracle JET. In the page I'm building, I'm trying to alert the user when they try to leave the page without saving their changes.
So when leaving the ...
0
votes
1
answer
299
views
How to set firstday of the week in oracle jet datepicker
I am not able to set first day of the week in oracle jet datepicker while its simple to set in jquery ui
Thanks.
0
votes
0
answers
133
views
SonarQube configuration in the Oracle Jet project
I'm trying to configure my Oracle JET based project to the sonar qube. On executing sonar-scanner command I ended up with following error:
ERROR: Language of file 'src\js\path_mapping.json' can not ...