Here is the Post:
Here is the summary of the above Post:
1. remove all connection from your project
2. close JDEV
3. remove the cwallet.sso file (search for it in the workspace folder first)
Note: if cwallet is under source control - remove from source control
4. start JDEV
5. add the needed connection back to the application (the cwallet.sso file will be created)
Note: Don't put cwallet.sso under version control
Friday, April 6, 2012
Thursday, April 5, 2012
Managing your code TODO list and tasks
To add a line to your task list -- Simply Type // TODO
Then check them in View / Tasks
============================================
This assumes you have "turned on" the TODO function -- here is how to turn on
To create a task associated with a comment line in source code:
To create a task associated with an application, project or file:
Then check them in View / Tasks
============================================
This assumes you have "turned on" the TODO function -- here is how to turn on
- From the main menu, choose Tools > Preferences.
- In the Preferences dialog, select Tasks .
- On the Tasks page, Load.
- Click OK.
To create a task associated with a comment line in source code:
- Open the tasks window View > Tasks .
- Within the source code file, Simply Type // TODO
- type the comment, which will appear in the task in the tasks window.
- Set the other options in the task window
To create a task associated with an application, project or file:
- In the navigator, object to task.
- Open the tasks window by choosing View > Tasks Window.
- Select the Add Tasks button, which will open the Add Task dialog.
- Complete the dialog for the task that you want to create.
Sunday, April 1, 2012
Some cryptic thoughts on getting binding data via View Objects or RowImpl
//get the iterator ----------------------------
BindingContext bc = BindingContext.getCurrent();
DCBindingContainer binding = (DCBindingContainer)bc.getCurrentBindingsEntry();
DCIteratorBinding iter = binding.findIteratorBinding("The_Iterator");
//get a View representation of the data via View Object
ViewObject voTableData = iter.getViewObject();
//get RowImpl representation via ViewRowClass
RunTrendUVORowImpl aRowImpl;
// get the current Row
Row theCurrentRow = voTableData.getCurrentRow();
aRowImpl = (RunTrendUVORowImpl)voTableData.getCurrentRow();
// all the hitting the same data.
System.out.println("Daystweenpt: " + theCurrentRow.getAttribute("Daystweenpt").toString());
System.out.println("Numdaysforavg: " + theCurrentRow.getAttribute("Numdaysforavg").toString());
System.out.println("Rundate: " + theCurrentRow.getAttribute("Rundate").toString());
System.out.println("RuntrendPk: " + theCurrentRow.getAttribute("RuntrendPk").toString());
System.out.println("aRowImpl Daystweenpt: " + aRowImpl.getAttribute("Daystweenpt").toString());
System.out.println("aRowImpl Numdaysforavg: " + aRowImpl.getAttribute("Numdaysforavg").toString());
System.out.println("aRowImpl Rundate: " + aRowImpl.getAttribute("Rundate").toString());
System.out.println("aRowImpl RuntrendPk: " + aRowImpl.getAttribute("RuntrendPk").toString());
System.out.println("aRowImpl.get Daystweenpt: " + aRowImpl.getDaystweenpt());
System.out.println("aRowImpl.get Numdaysforavg: " + aRowImpl.getNumdaysforavg());
System.out.println("aRowImpl.get Rundate: " + aRowImpl.getRundate() );
System.out.println("aRowImpl.get RuntrendPk: " + aRowImpl.getRuntrendPk());
Subscribe to:
Posts (Atom)