Scheduling Gantt Tooltip
Hello guys
I'm jdev 11.1.2.3
I have a schedulingGantt that has a ToolTip, the tooltipKeys and the label are sent through the bean as an array of strings, I am sure that the keys are correct and that they correspond to the properties of the task class and labels will also match keys
the problem is when I hover over a task I get the following exception
javax.faces.model.NoRowAvailableException at javax.faces.model.ListDataModel.getRowData(ListDataModel.java:150) at org.apache.myfaces.trinidad.model.SortableModel.getRowData(SortableModel.java:127) at org.apache.myfaces.trinidad.model.ChildPropertyTreeModel.getRowData(ChildPropertyTreeModel.java:216) at oracle.adfinternal.view.faces.bi.renderkit.gantt.RichSchedulingGanttRenderer.getTask(RichSchedulingGanttRenderer.java:1924) at oracle.adfinternal.view.faces.bi.renderkit.gantt.RichGanttRenderer.renderTooltip(RichGanttRenderer.java:6194) at oracle.adfinternal.view.faces.bi.renderkit.gantt.RichGanttRenderer.encodeAll(RichGanttRenderer.java:950) at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
need help please
Thank you
the problem was with gantt chart model that if the model was empty when the Gantt chart is first loaded it causes such a problem trying to add nodes to the model
the solution is to first load with an empty resource gantt chart so you can add as much as you want
Tags: Java
Similar Questions
-
Filling of scheduling Gantt chart using the APi or PL/SQL complexL of back blocks
Hello
We implement scheduling Gantt in the ADF. I have a question about the Population data in the Gantt planning running.
Can I use a mechanism to fill data in the Gantt planning running without resorting to the VO data controls/Bindings.To be more specific, we can use web services or API that return complex data types (like Arrays)
fill the gantt(Programmatically/Declaratively) of Scheduling.
Thanks and greetings"resource" is the value of the attribute "var" specified in your jspx.
You can check the tagdoc below to learn more about the 'var' attribute
http://jdevadf.Oracle.com/ADF-richclient-demo/docs/DVT/tagdoc/dvt_schedulingGantt.html
-
Scheduling Gantt: legend
Hi all!
ADF/JDev version: 12.1.3
On the Gantt chart scheduling, we have included a legend.
In the tags and keys, we have defined what should be displayed in the legend.
The documentation says the following:
Labels - labels for keys of data specified in the attribute keys object. This attribute is always used in conjunction with keys, and the number of keys must match the number of labels.
Key - the key of data object used to retrieve values for fill in the legend. These values are essentially properties associated with the task object returned by the attribute GanttModelThis is always used in conjunction with the labels, and the number of keys must match the number of labels.
If the key is null, the legend is printed in red letters missed.
Example:
Description: a description
Reference: failed
Can we influence somehow the missed Word?
Kind regards
Diana
Hi Billett,
We found: af | DVT - gantt:legend - missing data
THX,
Diana
-
Scheduling Gantt Chart - highlighting of modified duties
We strive to implement our Gantt chart behavior as on the actions of the user like drag-and-drop, changes are not immediately committed to the database.
We ask a commit on the transaction to save all changes when the user presses a button 'save'.
However, we would like to highlight modified (for example, the extended duration task) duties in a different color to keep track of all the actions of the user, while the changes are not yet validated.
Commit, all jobs must go back to the default color.
I'm doing it with the TaskbarFormatManager, but can't find a way to use it for this particular requirement.
Can I use a column in my table to map the type of task for the Gantt chart, and how to upgrade this attribute in my VO / Gantt chart when a task is changed?
I managed to solve this problem quite awhile, but I forgot to post the solution.
I have added a transitional attribute to my entity object.
<>
Name = "TaskChanged".
ColumnName = "" $aucun$ ""
SQLType = 'VARCHAR '.
Type = "Java.lang.String"
ColumnType = "" $aucun$ ""
IsQueriable = "false".
IsPersistent = "false" / >
In the entity bean Get accessor method.
public String getTaskChanged() {}
If (this.getEntityState () is EntityImpl.STATUS_MODIFIED)
return "CHANGED";
If ((String) getAttributeInternal (TASKCHANGED) is nothing)
on the other
'CLEAN '; return
}
Add this attribute of the entity object to the original Version. The application of VO is unchanged.
In the Gantt chart in the jspx, I put the Task Type to the attribute TaskChanged.
And the code for TaskbarFormatManager is as usual:
public TaskbarFormatManager getFormatManager() {}
TaskbarFormatManager _manager = new TaskbarFormatManager();
_manager.registerTaskbarFormat ("CHANGE", TaskbarFormat.getInstance ("gold", UISchedulingGantt.GOLD_FORMAT));
_manager.registerTaskbarFormat ('CLEAN', TaskbarFormat.getInstance ("blue", UISchedulingGantt.STEEL_BLUE_FORMAT));
Return _manager;
}
When the validation is called when the click on the "Save" button, the entity is no longer in an altered state, and all the recorded tasks back to the steel blue format.
-
I try the table of schedulingGantt DVT for a prototype for a new application. The application requires that adjust us the duration of the task in 15 minute intervals. Each task can last 3-4 hours.
The code of the time axis:
< f: facet 'major' = name >
< dvt:timeAxis scale = "hours" id = "ta1" / >
< / f: facet >
< f: facet 'minor' = name >
< dvt:timeAxis scale = "quarterhours" id = "ta2" / >
< / f: facet >
When I try this, each task spans more than the width of the entire page, making it almost impossible to understand.
An inspection of Chrome from Google told me that each unit of minor time column is 278 px wide, and it does not resemble a CSS problem...
Is there a way to reduce the width of the columns, or perhaps set up a default zoom on the Gantt chart set value?
I have searched on the net for the last hours of a solution, but have not yet found.Turns out it was a really simple solution. I have set up a customized calendar for the quarter of an hour instead of the quarterhours option.
When I tried this out, the columns collapsed to the width of the label.
customTimeScales = "#{viewScope.viewBean.customTimescales}" > "
...
In the bean managed:
public map
getCustomTimescales() {} Map customScales = new HashMap () ; customScales.put ("fifteenminutes", new FifteenMinuteTimescale());
Return customScales;
}
Class FifteenMinuteTimescale implements CustomTimeScale
{
private DateFormat format = new SimpleDateFormat("mm");
private calendar = Calendar.GetInstance ();
public String getScaleName()
{
Return to "Fifteen minutes";
}
public Date getNextDate (date of)
{
calendar.setTime (date);
Calendar.Add (Calendar.MINUTE, 15);
Return calendar.getTime ();
}
public String getLabel (date of)
{
Return format.format (date);
}
public Date getPreviousDate (date of)
{
calendar.setTime (date);
Calendar.Set (Calendar.MILLISECOND, calendar.getMinimum (Calendar.MILLISECOND));
Calendar.Set (Calendar.SECOND, calendar.getMinimum (Calendar.SECOND));
Calendar.Set (Calendar.MINUTE, calendar.getMinimum (Calendar.MINUTE));
Calendar.Set (Calendar.HOUR_OF_DAY, calendar.getMinimum (Calendar.HOUR_OF_DAY));
Return calendar.getTime ();
}
}
P.S. I tried the solution of the ad three times last week before giving up, the new forum seemed to have a bad day... Hoping that fourth time lucky!
-
NoClassDefFoundError when you use the FOProcessor to print Gantt chart
Hi all
I've been implementing print function for a gantt scheduling and use the sample code in this post
It's my implementation for the method of management.
if (GanttActionEvent.PRINT == ganttActionEvent.getActionType()) { try { FacesContext context = FacesContext.getCurrentInstance(); HttpServletResponse response = (HttpServletResponse) context.getExternalContext().getResponse(); response.setContentType("application/pdf"); OutputStream sos = response.getOutputStream(); // Generate FO GanttPrinter printer = new GanttPrinter(schedulingGantt); File file = File.createTempFile("gantt", "fo"); OutputStream out = new FileOutputStream(file); printer.print(out); out.close(); // generate pdf FOProcessor processor = new FOProcessor(); processor.setData(new InputStreamReader(new FileInputStream(file), "UTF-8")); processor.setOutputFormat(FOProcessor.FORMAT_PDF); processor.setOutput(sos); processor.generate(); sos.close(); context.responseComplete(); } catch (Exception ex) { //handler ex.printStackTrace(); } } }
In line 22, the FOProcessor.generate method, I got an exception to this.
javax.el.ELException: java.lang.NoClassDefFoundError: oracle/apps/fnd/i18n/common/util/calendar
at com.sun.el.parser.AstValue.invoke(AstValue.java:258)
at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:302)
at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodExpression(UIXComponentBase.java:1838)
at oracle.adf.view.faces.bi.component.gantt.UIGantt.broadcast(UIGantt.java:2078)
at oracle.adf.view.faces.bi.component.gantt.UISchedulingGantt.broadcast(UISchedulingGantt.java:565)
Truncated. check the log file full stacktrace
Caused by: java.lang.NoClassDefFoundError: oracle/apps/fnd/i18n/common/util/calendar
at oracle.xdo.common.formula2.impl.DefaultContext.init(DefaultContext.java:114)
to oracle.xdo.common.formula2.impl.DefaultContext. < init > (DefaultContext.java:94)
at oracle.xdo.common.formula2.FPContextFactory.createDefaultContext(FPContextFactory.java:34)
to oracle.xdo.template.fo.datatype.ExpressionCalc. < init > (ExpressionCalc.java:39)
at oracle.xdo.template.fo.FOProcessingEngine.process(FOProcessingEngine.java:359)
Truncated. check the log file full stacktrace
Caused by: java.lang.ClassNotFoundException: oracle.apps.fnd.i18n.common.util.Calendar
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:335)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:302)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:180)
Does anyone know what is the problem?
Thank you
Hoang
java.lang.NoClassDefFoundError: oracle/apps/fnd/i18n/common/util/calendar
The class is in the i18nAPI_v3.jar of BI Publisher jar. Add i18nAPI_v3.jar to the classpath.
-
Hello
I produced a query based Gantt chart
Select the Null link,
TaskName,
Task_Id,
Parent_id,
actual_start,
actual_end,
progress null,
planned_start,
Planned_End
Of query_table
Everything looks good, except that I don't want to show the progress since we do not actually hold this value. I tried setting it null, as shown above, but it shows up on the table as 0%. Is it possible to remove this display on every spot on the card value?
Thank you
Hello
You will need to customize the XML to achieve this behavior. On page table attributes, the value "use Custom XML' to Yes and in the XML delete all references to:
Complete: full {%} %
This will remove references to the progress bar in the ToolTips used on the Gantt chart. Then you will need to update the
tag to include information label for the bar. It looks like the complete label is the default label associated with a project Gantt chart, although I have not found anything in the online documentation indicating this. I'll follow up with AnyChart on it. In the meantime, I recommend you read Guide their use online, specifically labels in spots, where you will find information on possible labels, you can set for the bars in the area of the chronology of the graph. If you leave the tags empty, or simply do not include them, it looks like the bar without any label, which perhaps is the behavior you're trying to reach. Here is the XML code, you can add to your chart: .....
.........
.. .or the tags in grey above already exist in the XML table, so should not be copied. I hope this helps.
Kind regards
Hilary
-
Simple function to create ToolTip in Actionscript 3
Hello
I'm new to Actionscript 3 and I'm creating an application in which I need to use tooltips. I thought it would be simple because in VBA and other object-oriented languages, you have a tooltip for a button and all property you need to enter the text (or even schedule it, which is very simple). However, I can't seem to create tooltips in Flash using AS3, I tried 6 different methods (fairly complex) from code I found online but could get any of them to work. Can someone please give me a simple function that takes as parameters the ToolTip text and the original button, then the right function creates the ToolTip automatically once it's called? Any help would be greatly appreciated. Thank you.
If the two functions add and remove are on the same timeline you will not see this error message. but I see typo:
create a buttonObj for all your buttons
var buttonObj:Object = {};
//////////////////////////////////////change nothing above ////////////////////////////////////
the next 3 lines must be made for all your buttons
buttonObj [yourbutton] = ['Hello', 2, 2];
yourbutton.addEventListener (MouseEvent.MOUSE_OVER, addToolTipF);
yourbutton.addEventListener (MouseEvent.MOUSE_OUT, removeToolTipF);
change nothing below.
function addToolTipF(e:MouseEvent):void {}
var a: Array = buttonObj [e.currentTarget];
var tf:TextField = new TextField();
buttonObj [e.currentTarget] .push (tf);
TF. Text = a [0];
TF. Multiline = false;
tf.autoSize = "left";
TF. Border = true;
addChild (tf);
TF.x = a [1] + e.currentTarget.x;
TF.y = a [2] + e.currentTarget.y;
}
function removeToolTipF(e:MouseEvent):void {}
removeChild(buttonObj[e.currentTarget][3]);
buttonObj [e.currentTarget]. splice (3,1);
}
-
showing ToolTips tab is no longer
Hi recently firefox has stopped the display of tooltips on tabs. As I usually have a large number of tabs open at any given time it is really annoying, because I don't know what each of the tabs contains unless I click on it, all I had to do was pointing with the mouse. Now when I hover over with the mouse, firefox just says: "current profile:" and then the name of my current firefox profile. It does this on all tabs. Except that everything is normal. Any ideas what is happening? Thank you very much!
Start Firefox in Safe Mode to check if one of the extensions (Firefox, Tools/menu key > Modules > Extensions) or if hardware acceleration is the cause of the problem.
- Put yourself in the DEFAULT theme: Firefox, Tools/menu key > Modules > appearance
- Do NOT click on the reset button on the startup window Mode safe
- https://support.Mozilla.org/KB/safe+mode
- https://support.Mozilla.org/KB/troubleshooting+extensions+and+themes
You can check the preferences of browser.chrome. * on the topic: config page to see if any specifications "BOLD" (user set).
You can open the topic: config page via the address bar.
You can accept the warning and click on "I'll be careful" to continue. -
After upgrading to El Capitan of Lion (10.7.5) - I jumped over the Mountain Lion, the Mavericks and the Yosemite - now I'm missing a very important feature in the new calendar (iCal formally): it cannot launch applications such as events scheduled at set intervals.
I also absolutely do not remove the possibility that it is me who is a bad thing.
In some other forums people suggest to uncheck calendars in iCloud settings and then create a local calendar (and name it for example "on my Mac") who should be able to launch applications and then synchronize the calendars in iCloud again.
Unfortunately, as soon as I uncheck calendars in iCloud, the application calendar itself does not create new calendars at all - local or not.
I'm doing something wrong? If not, is there perhaps a workaround?
Any help will be greatly appreciated!
Use Automator to create a calendar alarm clock that would launch the applications.
When you open the automate, create a new Document.
Choose the type of alarm calendar.
Stretching the library of utilities in an action to launch the Application. Set this to the application you want to run.
Save it and it will create a local calendar with an event in its operation this alarm clock calendar. You can then handle this event.
-
That makes the text difficult to read in some situations, as when you're hovering tabs right on the icons next to the address bar. Overlays of text with icons and it is difficult to read. And Furthermore, it is then... unattractive.
At the beginning, when I upgraded this morning, I thought it was something to do with my theme, but I changed it and it stays the same...
I am attaching a picture of the effect. It's the same with any theme.I'm under Antergos (distribution based Archlinux), just in case this info could be of any help.
Thank you!
COR - el said
Future builds of Linux will move to GTK + 3 (3.4 widget GTK +), so you may need to update your distribution of Linux.
Like I said, Arch Linux here. Distribution of rolling release. Updated daily.
And I have GTK + 3 is installed and a bunch of themes support.After a long search, I noticed that the only thing that solves this problem change my GTK theme flower with lxappearance.
One of the other themes supporting GTK + 3 this in Firefox Developer (I used to use Zukiwi, also GTK + 3 compatible).
ToolTips now have a black background and are perfectly readable.
In any case, it's strange. I guess I can start firefox developer with
$ GTK_THEME = best firefox-developer
and continue to use the rest of the programs with my favorite GTK theme. -
new default event is 'holiday' schedule, not Basic. How can I change this?
When I create a new event, the default calendar is the calendar of public holidays. I want the default to my personal base calendar. How can I change the default calendar to which events are added?
Click the Schedule tab to display the calendar.
Select the calendar-calendar-view pane
Make sure that display the calendar component and calendar list are checked.
Select the calendar in the list you want to be the default. The selected calendar will be one that is the default value when adding and event. -
Is it possible to return the text of ToolTip using Firefox? I noticed that this feature is available in some other browsers.
Sorry, I'm not interested in this issue more. I found this div a - moz-user-select: none; property.
-
How to choose a new calendar as a "schedule in writing"?
Thunderbird 24.3.0/Mac OS X Mavericks/Lightning 2.6.4.
I have a set schedule in place for synchronization with a cloud Internet service (not Google; not iCloud). This calendar has worked well for me for months and I have many events calendar and tasks on your calendar. Anyone who can be changed and I can create new calendar entries, but I can't create new tasks.
On the window of the tasks in the area of the new task, I see an error message that says: "Please select an accessible calendar in writing." But I can not enter something in this field. I can create a local calendar and move existing tasks in the current calendar to that newly created, but I can't find a way to create NEW tasks on the existing calendar or the newly selected calendar. Is there a place that I can choose the new default schedule for tasks? It would be even better to keep the tasks on the calendar sync, but I'll adjust if necessary.
Tasks not covered by the standards of formatting and almost inevitably do not synchronize. Thunderbird / Lightning does not synchronize tasks with gmail or Live either.
SoGO claim to have work with their tools open source.
-
ToolTips not working in FF 24, 25 &; 26
I uninstalled and reinstalled several times. I rebooted several times that I can count. I deleted (not only deactivated) all plugins and extensions, including Java. I have no installed service and use the default theme. I tried to install FF 24, 25 and 26. In any case, I have a very simple HTML page that has a title = "bookmarks" on the subject. The ToolTip displays in "safe mode" but does not appear in normal view. Which is very surprising because I thought all say safe mode to disable all extensions and plugins.
I searched the web and seen suggestions that this may be caused by the acceleration of the toolbar Google or HW. I do not have the Google toolbar (do not have) and if it were caused by hardware acceleration, then if the problem wouldn't show up in SafeMode too?
Just in case, I have a Thinkpad W520.
Help, please. I would like to know how to turn on tracing to help solve this problem!Safe mode is more than just disable modules, it also resets some parameters including hardware acceleration. If the problem does not occur in Mode safe and you don't have any installed extensions then the problem could be the hardware acceleration.
Please follow these steps to disable hardware acceleration:
- Firefox top-left > Options > advanced > General > uncheck use hardware acceleration if available > restart Firefox
Just a note, Mode safe mode disables not plug-ins.
See this article for more information:
Maybe you are looking for
-
I have install the module "adblock more ' on my android furefox browser, but not block, he adds. What can I do? Please help me quickly.
-
Hello! I recently acquired an Officejet Pro 8600 and immediately connected to my network wireless as stated in the manual. No other type of connection has been used beforehand and the operating system is Windows 7 64 bit. After that the installation
-
Turn off the power of airplane Mode?
Hi, I have a T440p and it seems that the package dependencies of parameters Auto-setting Lenovo updated sometime in the last few days. Since then, whenever I pass in airplane mode to disable Wifi, energy mode gets automatically changed. Is it possibl
-
My computer guard restart from 30 to 45 minutes even if im watching netflix
Hello, my guard computer restart every 30 to 45 min cannot even watch a movie on netfliks because it keeps restart please help.thanks
-
When I click on Outlook Express, all I get is the blue 'title field' then the hourglass and it won't go any further than that. The blue box stays there indefinitely, and all other functions on my PC just slowing down. Any ideas please? original tit