How to NOT ignore java beans read only properties when serializing Java to AS?
As stated in the Adobe LCDS documentation, the read-only properties of a java bean are ignored in the AMF serialization process.
Would you know what to do so that Java beans read only properties do not get discarded when sending it via BlazeDS AMF?
Many thanks in advance.
Hi,
I've managed to get what I needed by using a shift register + event structure as suggested by Adnan. However, I face another problem after implementing SR+event. I've attached two files, first the original program and second the updated program using SR + event. (it's only the jpg file as I've forgotten to save the labview program, will upload the program by tomorrow.
In the original program, I have an elapsed time that is able to run continuously when I run the program. In the updated program, my elapsed time don't seem to run continuously when I run the program (as shown by elapsed time indicator). I need the elapsed time to run continuously as a input to calculate my motor profile.
I suppose this is caused by the introduction of the event structure, will adding a case structure to wrap the event structure solve the problem or is there another way to get pass this. Appreciate if someone could drop me a pointer or two.
Thanks
Attachments:
Mar 16 - continuous elapsed time.png 12 KB
Mar 16 - elapsed time not continuous after introducing shift register + event structure.png 17 KB
Similar Messages
-
How to make select list as read only
Hi All.
when i m loading a page ...how to make value of select list as read only ..
i tried doing this ....
i added readonly attribute to the select list's element attibute ...it is showing as read only field by darkening the select list field but ... the select list is editable even now... its allowing to choose from drag and drop ...
Thanks & Regard ,
NandiniI have the same requirment..
I have a select list on a editable form and i want to make that one read only.
When I use read only property it doent do anything. (But this is working for text items well).
When I use "disabled' option it works fine. But then that value does not post when use POST the form. So making select list disabled is not a solution.
Any Idea..
Thanks
mc -
How to make a DFF in read only mode
Hi All
There is a requirement to male an descriptive flexfield (in Puchasing PO Headers) i read only mode for all the users.
So that user must not select any values, Is any way to do this. Any workaround is possible ?
RegardsHi;
Please follow below and see its helpful:
[Solved] How to make a DFF segment 'Read-Only' using Form Personalization?
Also check:
http://download-west.oracle.com/docs/cd/A60725_05/html/comnls/us/fnd/ogenff03.htm
Regard
Helios -
Help with a fcpx library that is locked "could not be opened. Read-only file system"
Hi all,
I recently moved all my fcpx projects/events to a new Harddrive - I thought I did this correctly by copying/duplicating all projects/events from within FCPX.
When I last used FCPX all the projects/events were there - no issues. Also, when I look at package contents - everything is still there in terms of events and file sizes.
All the library files are on an external hard drive, on an encrypted disk image. Now a week later I have tried to open FCPX and I get the following error
"The document “MND_Z_FCPX” could not be opened. Read-only file system" and nothing will open.
Have checked permissions - these all seem in order. OSX is10.9.5
Any suggestions as to what might be the issue?
Thanks in advance.
Rthe permissions themselves look ok - they have my two computer profiles as read/write. I also note that on some occasions the library has opened in my other Computer profile, but not in the one that I want it to open.
So I think you're right, there is something with permissions happening here. I keep a work and personal computer profile.
Don't know how it happened - but the volume is definitely Read Only - even though I've created a Read/Write permissions for it -
How can I have both functions "Read Only" & "Write" mode on the same form?
Dear all,
How can I have both functions "Read Only" & "Write" mode on the same form? Is it possibile for this?
Please advice,
AmyThis is what I use in some dialogs:
PROCEDURE SET_QUERY_ONLY IS
-- Procedure Set_query_only
-- Rend les blocks non modifiables --
-- Disable menus Insert/Delete/Clear --
-- Entree :
-- Sortie :
-- Ent/Sortie :
-- Creation : FD 10/2003
-- Modification :
LC$Block Varchar2(30) ;
BEGIN
Set_Menu_Item_Property('Edit.Insert', ENABLED, PROPERTY_FALSE ) ;
Set_Menu_Item_Property('Edit.Remove', ENABLED, PROPERTY_FALSE ) ;
Set_Menu_Item_Property('Edit.Clear', ENABLED, PROPERTY_FALSE ) ;
Set_Menu_Item_Property('Action.Save', ENABLED, PROPERTY_FALSE ) ;
LC$Block := get_form_property( NAME_IN('System.Current_Form'), FIRST_BLOCK ) ;
-- Tous les blocs en Query only --
While LC$Block is not null Loop
Enable_Block( LC$Block, FALSE ) ;
LC$Block := get_block_property( LC$Block, NEXTBLOCK ) ;
End loop ;
END;
PROCEDURE ENABLE_BLOCK
PC$Block in Varchar2,
PB$Enable in Boolean Default TRUE
) IS
-- Procedure Enable_block
-- Rend le bloc Enable / Disable --
-- Entree : PC$Block (nom du bloc Forms)
-- : PB$Enable (TRUE ou FALSE)
-- Sortie :
-- Ent/Sortie :
-- Creation : FD 10/2003
-- Modification :
BEGIN
If PB$Enable Then
Set_Block_Property( PC$Block, INSERT_ALLOWED, PROPERTY_TRUE ) ;
Set_Block_Property( PC$Block, UPDATE_ALLOWED, PROPERTY_TRUE ) ;
Set_Block_Property( PC$Block, DELETE_ALLOWED, PROPERTY_TRUE ) ;
Set_Menu_Item_Property('Edit.Insert', ENABLED, PROPERTY_TRUE ) ;
Set_Menu_Item_Property('Edit.Remove', ENABLED, PROPERTY_TRUE ) ;
Set_Menu_Item_Property('Edit.Clear', ENABLED, PROPERTY_TRUE ) ;
Set_Menu_Item_Property('Action.Save', ENABLED, PROPERTY_TRUE ) ;
Else
Set_Block_Property( PC$Block, INSERT_ALLOWED, PROPERTY_FALSE ) ;
Set_Block_Property( PC$Block, UPDATE_ALLOWED, PROPERTY_FALSE ) ;
Set_Block_Property( PC$Block, DELETE_ALLOWED, PROPERTY_FALSE ) ;
Set_Menu_Item_Property('Edit.Insert', ENABLED, PROPERTY_FALSE ) ;
Set_Menu_Item_Property('Edit.Remove', ENABLED, PROPERTY_FALSE ) ;
Set_Menu_Item_Property('Edit.Clear', ENABLED, PROPERTY_FALSE ) ;
Set_Menu_Item_Property('Action.Save', ENABLED, PROPERTY_FALSE ) ;
End if ;
END;Francois -
How can we make SAP system READ ONLY !!!!!
Hi, we have an SAP R/3 4.6 C Application. We need to take the system for read only state means we dont want the users to allow any update for the system but they should be able to view the data what they have created. Mean while we dont want the database to be taken in read only mode as we the administrators or the users might want to update their password information.
It would be a big help if some one can through some tips on how we achieve this.
Thanks much in advance.
GuruHi
Please make the database in READ ONLY MODE. This will help. If it is an oracle database then.
Open a Database in Read-Only Mode
You can open any database in read-only mode to prevent its data from being modified by user transactions. Read-only mode restricts database access to read-only transactions, which cannot write to the datafiles or to the redo log files.
Disk writes to other files, such as control files, operating system audit trails, trace files, and alert files, can continue in read-only mode. Temporary tablespaces for sort operations are not affected by the database being open in read-only mode. However, you cannot take permanent tablespaces offline while a database is open in read-only mode. Also, job queues are not available in read-only mode.
Read-only mode does not restrict database recovery or operations that change the database's state without generating redo data. For example, in read-only mode:
Datafiles can be taken offline and online
Offline datafiles and tablespaces can be recovered
The control file remains available for updates about the state of the database
One useful application of read-only mode is that standby databases can function as temporary reporting databases
Opening a Database in Read-Only Mode
Opening a database in read-only mode enables you to query an open database while eliminating any potential for online data content changes. While opening a database in read-only mode guarantees that datafile and redo log files are not written to, it does not restrict database recovery or operations that change the state of the database without generating redo. For example, you can take datafiles offline or bring them online since these operations do not effect data content.
If a query against a database in read-only mode uses temporary tablespace, for example to do disk sorts, then the issuer of the query must have a locally managed tablespace assigned as the default temporary tablespace. Otherwise, the query will fail. This is explained in "Creating a Locally Managed Temporary Tablespace".
Ideally, you open a database in read-only mode when you alternate a standby database between read-only and recovery mode. Be aware that these are mutually exclusive modes.
The following statement opens a database in read-only mode:
ALTER DATABASE OPEN READ ONLY;
You can also open a database in read-write mode as follows:
ALTER DATABASE OPEN READ WRITE;
However, read-write is the default mode.
Regards -
Changing not possible; field is read-only
Hello,
I need update Expected Value in Opportunity.
Expected Value is bound Opportunity.SalesForecast.ExpectedRevenueAmount.content.
When I try to update in adsl, "Changing not possible; field is read-only" error appears in frontend to the user.
Thanks!Hi Rodrigo Mathias,Not an answer to your post just to share my problem
Seems Opportunity has a lot of problems. As in my case i am trying to code in BeforeSave method that when ever the opportunity gets create by code i have to poppulate my CUSTOM Invonved Party ( i have created custom party role ).
And i have passed partykey.partyId.content and RoleCode but when i click on save it gives me the error about Role Category!
now when debugged that all Parties ( i debugged and checked whole collection) had the Role category every party from that collection had the Role category associated!
So i tried to add r
ole category by code! but that is also public write access set as FALSE!
So finally i again opened the book for clod , and a line is specificaly written that PartyID node will not be used after 1402 there will be separate node PartyNAme where u can pass partyid , name or email!
but unfortunately that is also not available in the opportunity BO!
So i am also kind of stuck!
Btw one thing i would like to mention is when u try to maintain your custom role in opportunity manually it works and data gets saved!
Regards,
Dhruvin -
How to create sharepoint Group with read only permissions using powershell for entire site ?
How to create sharepoint Group with read only permissions using powershell for entire site (including subsites and top level site)
Hi
using (SPSite site = new SPSite(url))
using (SPWeb web = site.OpenWeb())
SPUserCollection users = Web.AllUsers;
SPUser owner = users[string.Format("{0}{1}", "Domain", "Owner Username")];
SPMember member = users[string.Format("{0}{1}", "Domain", "Default Member Username")];
SPGroupCollection groups = Web.SiteGroups;
string GroupName = “Super Exclusive”;//your group name
string GroupDescription = “Super exclusive group description.”;
groups.Add(GroupName, owner, member, GroupDescription);
SPGroup NewSPGroup = groups[GroupName];
SPRoleDefinition role = Web.RoleDefinitions["Read"];
SPRoleAssignment roleAssignment = new SPRoleAssignment(NewSPGroup);
roleAssignment.RoleDefinitionBindings.Add(role);
Web.RoleAssignments.Add(roleAssignment);
Web.Update();
Please 'propose
as answer' if it helped you, also 'vote
helpful' if you like this reply. -
How to make a DFF as Read only field
How to make a DFF as Read only field
Hi,
You can add the read only token ($RO$) to any of the segments in the list. For example:
segmentlist = "Context1|Segment1($RO$)|Segment2..."
Thanks,
Kumar -
Hi All,
When we try to update or Exchange 2013 CU3 environment to CU7 we get some errors when we try to prepare ad.
It fails at 98% with an error:
[2] [ERROR] Save() is not supported on a read-only object.
[2] [WARNING] An unexpected error has occurred and a Watson dump is being generated: Save() is not supported on a read-only object.
We have checked all the security settings with our test environment where it is working. Running command prompt as an admin and we have all necessary domain rights. Also checked alle the objects with Adsi edit, but no difference with our test environment.
Exchange error log:
[03/18/2015 20:17:47.0096] [2] Used domain controller <FQDN> to read object CN=Exchange Servers,OU=Microsoft Exchange Security Groups,DC=prod,DC=local.
[03/18/2015 20:17:47.0096] [2] Used domain controller <FQDN> to read object CN=Exchange Servers,OU=Microsoft Exchange Security Groups,DC=prod,DC=local.
[03/18/2015 20:17:47.0096] [2] [ERROR] Save() is not supported on a read-only object.
[03/18/2015 20:17:47.0096] [2] [WARNING] An unexpected error has occurred and a Watson dump is being generated: Save() is not supported on a read-only object.
[03/18/2015 20:17:47.0962] [1] The following 1 error(s) occurred during task execution:
[03/18/2015 20:17:47.0962] [1] 0. ErrorRecord: Save() is not supported on a read-only object.
[03/18/2015 20:17:47.0962] [1] 0. ErrorRecord: System.InvalidOperationException: Save() is not supported on a read-only object.
at Microsoft.Exchange.Data.Directory.ADDataSession.Save(ADObject instanceToSave, IEnumerable`1 properties, Boolean bypassValidation)
at Microsoft.Exchange.Management.Tasks.InitializeDomainPermissions.InternalProcessRecord()
at Microsoft.Exchange.Configuration.Tasks.Task.<ProcessRecord>b__8()
at Microsoft.Exchange.Configuration.Core.LatencyTrackerExtension.StartAndEndInternalTracking(LatencyTracker latencyTracker, String groupName, String funcName, Boolean logDetailsAlways, Action action)
at Microsoft.Exchange.Configuration.Core.CmdletLatencyTracker.StartAndEndInternalTracking(Guid cmdletUniqueId, String groupName, String funcName, Boolean logDetailsAlways, Action action)
at Microsoft.Exchange.Configuration.Tasks.Task.<ProcessRecord>b__7()
at Microsoft.Exchange.Configuration.Core.LatencyTrackerExtension.StartAndEndInternalTracking(LatencyTracker latencyTracker, String groupName, String funcName, Boolean logDetailsAlways, Action action)
at Microsoft.Exchange.Configuration.Core.CmdletLatencyTracker.StartAndEndInternalTracking(Guid cmdletUniqueId, String groupName, String funcName, Boolean logDetailsAlways, Action action)
at Microsoft.Exchange.Configuration.Tasks.Task.ProcessRecord()
at System.Management.Automation.CommandProcessor.ProcessRecord()
Thanks!
Regards, RaymondHello,
Please check the current schema version:
https://support.microsoft.com/en-us/kb/558112?wa=wsignin1.0
Try updating the schema by the following command:
Setup.exe /PrepareSchema
https://technet.microsoft.com/en-us/library/bb125224(v=exchg.150).aspx
Thanks,
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Simon Wu
TechNet Community Support -
I added apps by syncing with a Mac. It was under my husband's ACCT. When I tried to update apps on my iPad, it was his account. How do I change this? It only happens when I try to update apps
Apps will always be tied to the account from which they were purchased.
If they were purchased from your husbands account, then they will have to update using that account. -
Read only files when running in Nokia mode
I am using a Nokia 6085 running PC Suite in Nokia Mode. I have a problem whereby files saved on the memory card are accessible only as read-only files when opened in their appropriate application. However, in the Nokia browser and when in Data Storage mode they are normal (non-read only) files. This is somewhat annonying.
Perhaps I hould also add that when I try to save a file tothe memory from an application I am not allowed access to that folder (even though I have administrator functions on).
Can anyone help me?Fairly standard stuff actually.
I have tried to save both MS Word and Excel files.
I have noticed that when I try to "browse" to the phone (the Nokia 6085 icon not the phone browser icon) from my Gmail (using Firefox) I receive a message "browsing to this folder has been disabled" and no further explanation. -
HT4970 How do you set a reminder for only you when you are also sharing?
How do you set a reminder for only you when you are also sharing? I want to share the grocery list with my wife but she don't want to be reminded for me taking my medicine.
Hey Gin-from-SC!
Here is an article that can show you how to set a time and date alert for your reminders when you create them:
iCloud: Create, edit, and delete reminders
http://support.apple.com/kb/PH12088
Take care, and thanks for visiting the Apple Support Communities.
Cheers,
Braden -
How to create read only properties in a component?
I want to set a property in a nucleus component of global scope as read only, so that it cannot be set via dyn admin. I want this property to be set only via properties file at server startup. I tried removing the setter method as suggessted in the guide. But what happened was the property was not set with the value in the properties file and was set as null. It did appear as read only in dyn admin, but part of my purpose is still not resolved. Any help/info for setting the value from properties file alone and restricting thro dyn admin is appreciable.
Thanks,
Gopinath RamasamyYou may also try this in your component class by overriding doStartService() which will be called once the component is initialized with property setter has already been called:
import java.beans.PropertyDescriptor;
import java.beans.IntrospectionException;
import atg.core.util.BeanUtils;
import atg.nucleus.GenericService;
import atg.nucleus.ServiceException;
public class MyComponent extends GenericService {
private String x;
public String getX() {
return x;
public void setX(String value) {
this.x = value;
public void doStartService() throws ServiceException {
try {
//make property named "x" as non-writable
PropertyDescriptor pd = BeanUtils.getPropertyDescriptor(this.getClass(), "x");
pd.setWriteMethod(null);
} catch (IntrospectionException e) {
//handle exception
logError(e);
e.printStackTrace();
}I think it should make the property "x" rendered as read-only in dyn/admin after it has initialized through properties file.
Update: I have tried it in an existing ATG 9.4 setup and it was working as expected.
Edited by: Nitin Khare on Aug 14, 2012 9:01 PM -
How can I make Keynote files read-only (eg: to share with students)?
I would like to share some keynote files with students, and I would like to set them up as read-only, so that the students can tap the screen, read my presentation, but not alter it. I've tried to set the files up as read-only on my iMac desktop, but when I load the file onto my iPad, it's still editable.
Any ideas re: how to make Keynote files read-only?
I've tried to export the files as PDF and load them into iBook, but some of Keynote's basic "build" functions won't work this way. Specifically, I have files set up with questions and answers (ie - a question appears, and you have to tap the screen to see the answer, but this "build" function seems to disappear when I get it to show up in iBook).
Any ideas how to make Keynote files read-only? I am happy to use another program, but I want the students to tap the screen in order to see the answer to a question.
Thanks!as long as $PATH is set, you shouldn't need to reconnect them (i think). if you send the list of apps through | awk -F '/' '{print $NF}' | that'll strip the path
/edit: added the "(i think)" part
Last edited by brisbin33 (2009-06-02 21:33:06)
Maybe you are looking for
-
I have been researching and trying different apps all night and I've ended up spending four dollars that I ended up wasting. I'm sure there's a very easy answer. I have an iPad, it is the newest iOS software, my question is, is there anyway to get t
-
Imessage doesn't work with non iphone users
My imessage used to work with anyone who text me. Then it stopped working after I updated my software on my iphone. I have got imessage working for iphone users but not non-iphone users. If they don't have an iphone, I can no longer send or receiv
-
I have a Mac Pro operating 10.4.9 that gives every indication of being asleep when put to sleep via the apple menu -- pulsing LED for instance -- but which restarts when I attempt to wake it as usual, via the power bar. Anyone have a clue what might
-
Why are there double events in iCal?
I have an iMac, a MacBook Pro and and iPad and I sync my calendar in iCal on all three. The iPad and MacBook Pro work fine. Syncing is smooth, and each event appears only once. On the iMac, however, each event appears twice. If I try to delete the "d
-
"retail" tab not showing while creating PO thru' ME21N in IS-Retail
"retail" tab not showing in item level while creating PO thru' ME21N in IS-Retail