Editing component property values in the Properties tab seems to no longer work in ver 2.1.0 - redhawksdr

I recently upgraded to RedHawk V2.1.0, which has fixed several of the issues I had with previous versions, but one feature that I used seems to now not work. I have rebuilt and installed working components and waveforms. One of the components has a unsigned short property that is configured as readwrite and has an external id in the waveform. With v 2.0.1 I could launch and start the waveform and then view the properties in the properties tab at the bottom of the IDE window for the waveform or any component I clicked on and I could change a value in that window while the component was running or stop the component change it and restart. With version 2.1.0 I can still override the value when launching the waveform, but after launch the properties tab at the bottom displays the original default value (not the overridden value from launch) and it is not editable when the component is started or stopped. Was this changed intentionally or is this a bug? It seems to be true of all properties my components have. I have checked that these are still listed as readwrite in the prf file.
Or is there now a different way to change property values on the fly?
I should add that I am running in a domain, NOT the sandbox.

I think that I noticed this in the 2.0.5 IDE as well. For the time being, try just removing the "external" attribute from the PRF for that property and see what you get. I anticipate that this will be fixed in the next release of the 2.0.x and 2.1.x series.

Action type="external" in PRF or declaring in externalproperties in SAD does NOT affect ability to edit in the Properties panel, but I found that the checkbox for "Pass on command line" DID affect this. I am fairly certain that with v2.0.1 I was able to check pass on command line and still edit the value in the panel. With 2.1.0 checking it makes it NOT editable but without it checked I CAN edit. I am not sure if this change was intentional or not but at least I know how to work around it.

Related

Plug-in org.springsource.ide.eclipse.commons.gettingstarted was unable to load class

Version: 3.8.2.RELEASE
Build Id: 201610040743
Platform: Eclipse Neon.1 (4.6.1)
This is my version
Plug-in org.springsource.ide.eclipse.commons.gettingstarted was unable to load class org.springsource.ide.eclipse.commons.gettingstarted.dashboard.WelcomeDashboard
It can depends on your OS, as seen here
The 'WelcomeDashboard' uses JavaFX which requires Java 1.8 and GTK2 on unix systems. Eclipse 4.4 runs with GTK3 by default.
As mentioned in issue 252,
The error log probably contains more detailed information and/or other errors that might help determine why this class could not be loaded. You can use menu "Window >> Show View >> Other >> Error Log" to show the error log.
Maybe something indicative of problems activating bundles. The reason the class can't be found is probably because some bundle requirement aren't satisfied on startup.
you could also try to open a console view, switch to the Host OSGI Console, and try a > diag org.springsource.ide.eclipse.commons.gettingstarted to see if there is a problem with that bundle (not resolved for any reason, for example).
As in:
You would see typically:
The same issue adds:
You can use the 'Old Dashboard' as a workaround. It offers the same functionality as the one that for still unknown reason isn't work for you. To switch to the old dashboard do as follows:
Go to Menu "Window >> Preferences".
Search for 'dashboard'. Then select 'Use Old Dashboard' as in the screenshot below.
Then click the 'Apply and Close' button to save the changed setting.
Then close the 'new dashboard' (that is the view in your screenshot that has the error in it).
Now you can reopen the dashboard by clicking on the Dashboard icon in the toolbar. I.e. this one:

Using Bootsfaces Datatable- Not able to use dataTableColumn

I m using Bootsfaces0.9.1. When i try to use the bootsfaces datatable as suggested in showcase, i am not able to use b:dataTableColumn tag. It says that the "value" attribute is not defined in b:dataTableColumn tag.
<b:dataTable value="#{bookingAdminController.itemsBookDet}" var="items">
<b:dataTableColumn value="#{items.}"
</b:dataTable>
I am not able to access "items" in value attribute.
Actually, that's a bug (or feature) of Netbeans. The application works, but your IDE shows an error (or a warning). Either use BootsFaces-0.9.2-SNAPSHOT (see issue #369 on the BootsFaces GitHub repository to see how to get it), ignore the squiggly lines or use another IDE. You can also use the standard h:column tag, but in this case, the other attributes aren't supported by your IDE.
There's also a (solved) bug report on the BootsFaces bug tracker which addresses the problem.
Please note that the snapshot version is a developer preview. Don't use it in production.

Catel nested UserControl: ViewModel instantiated multiple times (with Example)

I have a Problem with Catel, ViewModels are instantiated multiple times.
This is a duplicate of my own question, but the old question is a big wall of text (which didnt help), and now I decided to rather include a demo-Project.
The demo-Project can be downloaded from here:
Demo-Project (VS2013)
Here is the Problem:
Run Project,
Open one Customer (double click or select then "Edit")
Observe: the Nested Controls for the Orders: "OrderViewModelID" is 11...20 (actually you cannot see 16...20, forgot the scrollviewer)
--> it should be "1...10" cause it's the first 10 ViewModel of type Order created.
--> reason: OrderViewModel is instantiated MULTIPLE TIMES per Model
Click on "New Shipper" (any order)
"Cancel" the new Window
Observe: the "OrderViewModelID" is now 21...30 (they were instantiated yet again!!!)
I put lots of time in this Problem already, and I just cannot find the reason.
Any help / insights?
Johannes Colmsee
This was a bug. It has been fixed, see the issue report for the latest information.
btw. I really recommend that you use Catel.Fody, it will result in much cleaner view models.
I have to inform you, that the Bug is only fixed partly.
I will Highlight the steps which still are broken:
Run Project,
Open one Customer (double click or select then "Edit")
Observe: the Nested Controls for the Orders: "OrderViewModelID" is 11...20 (actually you cannot see 16...20, forgot the scrollviewer)
--> it should be "1...10" cause it's the first 10 ViewModel of type Order created.
--> reason: OrderViewModel is instantiated MULTIPLE TIMES per Model
- Click on "New Shipper" (any order)
- "Cancel" the new Window
- Observe: the "OrderViewModelID" is now 21...30 (they were instantiated yet again!!!)
Update:
It was a bug in Catel 4.4 which has been fixed. Link to the Catel Issue Tracker Item

how to render primefaces dynaform with ui-repeat,p:datalist

I'm trying to create multiple dynaforms in my page which will repeat multiple times by clicking button.
To do this i've used ui-repeat but this is not displaying any dynaform at all.As an alternative solution i have used primefaces datalist(or datatable) they are able to repeat the dynaforms. But here in this solution i'm facing another problem with pe:timepicker, that is if i change value in one time picker that effect all the time pickers in repeated dynaforms.
Is there any solution for repeating dynaforms in ui-repeat. How to isolate the timepicker value change specific to dynaform.
I am using JSF2.1.24,primefaces 4.0-snapshot and primefaces-extention-1.0.0.RC1.
ui:repeat was always buggy. And yes, DynaForm works within PrimeFaces data iteration components. How do you change value in pe:timepicker? There are some tricks for DynaForm. See e.g. this one.
I would suggest you ask in our sub-forum for more information.
Please also use the last final releases 4.0.0 and 1.0.0 respectively.

Following Android drag and drop example, error "btn_default_pressed cannot be resolved or is not a field"

Working in min API 15, I'm trying to find how I can drag and drop one item element out of a ListView list onto a TextView above it (just to copy the text into it).
I'm trying to follow this example:
http://techdroid.kbeanie.com/2011/10/drag-and-drop-honeycombics.html
Namely these two parts...
http://code.google.com/p/myandroidwidgets/source/browse/trunk/HCDragDrop/src/com/beanie/hcsample/dragdrop/MyDragShadowBuilder.java
http://code.google.com/p/myandroidwidgets/source/browse/trunk/HCDragDrop/src/com/beanie/hcsample/dragdrop/HCDragDropActivity.java
However, I can't figure out how to fix this error
The import android.view.View.DragShadowBuilder cannot be resolved
Or if I remove the import then DragShadowBuilder gives me
DragShadowBuilder cannot be resolved to a type
I changed my minSDK And target SDK both to '15'. Should I not have access to these classes now? How can I resolve this error?
edit: I've fixed that problem- properties, android, set target. Clean, refresh. Ok.
But now I'm getting
btn_default_pressed cannot be resolved or is not a field
on
mShadow = v.getResources().getDrawable(R.drawable.btn_default_pressed);
Looks like that class came in API 11. So probably you have one of a couple problems.
You have set the SDK target in your manifest, but you haven't updated your actual SDK. If this is the case, go to the SDK Manager and get the necessary updates.
You project is still linked to a API 10 or lower jar. If this is the case go into, Project > Properties > Android and pick the correct library.
Project > Clean and restarting Eclipse can't hurt either.

Resources