How configure the auditory columns for the user in Session?
I want to have my page of login to enter the application.
After validating to the login/password according to user table
create table usuario(
id number not null,
login varchar2(15) not null,
pasword varchar2(15) not null,
);..., set to user in HttpSession
I wish to configure in mys entities(bc4j) the audit columns (userCreation/userModification) similar to dateCreation and dateModification...For example for the following table
crate table Cliente(
id not null,
name varchar2(20),
userCreation varchar(15) not null,
userModification varchar(15),
dateCreation date not null,
dateModification date
...For the date columns I configure as history columns in the edition of the entity objects and works correctly...
thanks
Rigoberto
Take a look at this topic and see if it helps:
Re: User Authentication: prepareSession() vs. jbo.sessioncookie.JHS_USER
Kind regards,
Peter Ebell
JHeadstart Team
Similar Messages
-
How can I give different Editors in the same column for the jTable?
I am having a JTable with 2 columns and 10 rows. In the 2nd column, for the first 2 rows
I need to show JCheckBox, for nect 2 JComboBox and for remaining JTextField as the editor.
How can I do this. Thanks in Advance.Remember, the parent class of a cell renderer does NOT have to be a Component itself. Most do simply because the end result of the getCellRenderer call is the component itself.
Create 3 cell renderers, one based off of the checkbox, one based off the combobox, one based off of Object. The Object based one will hold instances of the other two renderers and will be the actual renderer supplied to the JTable. When called, based on the row, it will forward the call to the to the appropriate renderer and return the result of the call.
Technically, the internal components do not NEED to be renderers themselves, but doing so makes it a lot easier to test them independently of the combined renderer. -
How can I download a purchased ringtone so that it appears in the sounds column for the alarm clock sound
Welcome to the Apple Community Elizabeth.
You should be able to access any book you have purchased from iTunes anywhere.
Do you have settings > iBooks > Show all purchases turned on. -
How to create New columns for the Internal Table Dynamically?
HI Guys,
In my logic i have to create new columns depending on the logic which i am executing.
My requirement is .I have to display o/p like this
Material || Year || Period || Mix ratio || Vendor ||Mix Ratio || Vendor || Mix Ratio Vendor || Mix ratio || Vendor || Mix ratio.............................from table's CKMLMV003 and CKMLMV001.Her i have to display the o/p in the above format and i have to display Vendor and Mix Ratio for 5 columns irrespective of data .If i have more than 5 columns for any record then i have to create a New columns dynamically for Vendor and Mix ratio.If anybody want my code i can Submit But plz tell with example how to do?
<b>The O/P must be finally shown in ALV Grid</b>
Thanks,
GopiYou must create the entire internal table dynamically, you can not add columns to a statically define internal table. Here is an example of creating a dynamic internal table.
Creation of internal table dynamically based on the Date Range entered
Regards,
Rich Heilman -
ALV List in the same Column for the row CELL i need button or value
Hi,
In my ALV list for the same column I need Button or Value for the different rows (CELL) depending upon my condition.
as well as I have to make read only of 3 rd column CELL based on my first column dropdown value CELL for this Row Only.
Depends upon the value in column 1 / row 2 I have to read only the CELL of column 5 / row 2 ie for the same row.
Depends upon the value in Column 1/ row 3 I have to EDITABLE or Button the CELL of column 5 / row 3 ie for the same row
How to do the logic for this.
I tried and got it for the entire column only.
But my requirement is for the sepecific cell in the column.
Kindly help to proceed further.
Thanks in advance.
DavHere is how you can make a particular cell in the row read-only based on certain conditions.
In my example I am displaying the flight details in an ALV. Here I am checking the airline id and if it is "AA' I am making the cell in the column airline id as readonly. In my example I am putting a check and readonly on the same column. However you can do this for different columns as well.
In order to achieve this you need to add a new context attribute 'READONLY' of type abap_bool to the context node which is bound to data node of ALV.
The method where I populate the node has the following code to populate the data.
data: lr_input_node type ref to if_wd_context_node,
lr_flight_node type ref to if_wd_context_node,
lv_cityfrom type s_from_cit,
lv_cityto type s_to_city,
ls_from type bapisfldst,
ls_to type bapisfldst,
lt_flights type table of bapisfldat,
ls_flights type bapisfldat.
data: lt_final type if_mainview=>elements_node_flighttab,
ls_final type if_mainview=>element_node_flighttab.
* Instantiate the variable lr_input_note to the node NODE_FLIGHT
lr_input_node = wd_context->get_child_node( name = 'NODE_FLIGHT' ).
* Instantiate the variable lr_flight_note to the node NODE_FLIGHTTAB
lr_flight_node = wd_context->get_child_node( name = 'NODE_FLIGHTTAB' )
* Get the attributes CityFrom und CityTo
lr_input_node->get_attribute( exporting name = 'CITYFROM'
importing value = lv_cityfrom ).
lr_input_node->get_attribute( exporting name = 'CITYTO'
importing value = lv_cityto ).
* Fill the stuctures ls_from and ls_to
ls_from-city = lv_cityfrom.
ls_to-city = lv_cityto.
* Call the function BAPI_FLIGHT_GETLIST
call function 'BAPI_FLIGHT_GETLIST'
exporting
destination_from = ls_from
destination_to = ls_to
tables
flight_list = lt_flights.
Now I am going to check if the airline id is 'AA' and based on that I will fill the readonly context attribute.
loop at lt_flights into ls_flights.
MOVE-CORRESPONDING ls_flights to ls_final.
if ls_flights-airlineid = 'AA'.
ls_final-readonly = abap_true.
else.
ls_final-readonly = abap_false.
endif.
append ls_final to lt_final.
endloop.
Finally bind the data to the context node.
* Bind the data to the node NODE_FLIGHTTAB
lr_flight_node->bind_elements( lt_final ).
Now you need to do the ALV configuration settings.
* create an instance of ALV component
DATA:
lr_salv_wd_table_usage TYPE REF TO if_wd_component_usage.
lr_salv_wd_table_usage = wd_this->wd_cpuse_alv( ).
IF lr_salv_wd_table_usage->has_active_component( ) IS INITIAL.
lr_salv_wd_table_usage->create_component( ).
ENDIF.
* get ALV component
DATA:
lr_salv_wd_table TYPE REF TO iwci_salv_wd_table.
lr_salv_wd_table = wd_this->wd_cpifc_alv( ).
wd_this->alv_config_table = lr_salv_wd_table->get_model( ).
CALL METHOD wd_this->alv_config_table->if_salv_wd_table_settings~set_read_only
EXPORTING
VALUE = ABAP_FALSE
* set visible row count
DATA:
lr_table_settings TYPE REF TO if_salv_wd_table_settings.
lr_table_settings ?= wd_this->alv_config_table.
lr_table_settings->set_visible_row_count( '10' ).
DATA:
lr_column_settings TYPE REF TO if_salv_wd_column_settings,
lr_column TYPE REF TO cl_salv_wd_column.
lr_column_settings ?= wd_this->alv_config_table.
DATA: lr_input_field TYPE REF TO cl_salv_wd_uie_input_field.
lr_column = lr_column_settings->get_column( 'AIRLINEID' ).
CREATE OBJECT lr_input_field EXPORTING value_fieldname = 'AIRLINEID'.
lr_column->set_cell_editor( lr_input_field ).
lr_input_field->set_read_only_fieldname( value = 'READONLY' ).
CALL METHOD lr_column_settings->delete_column
EXPORTING
id = 'READONLY' -
When searching for emails I would like to adjust the columns in the search results list view, e.g. add the sender's address. This I would like to save as standard columns specifically for the search results list view, since in other contexts I do not need it. However, I can only set standard columns for existing folders, not for the context of "search results".
re :When searching for emails
what method are you using?
Are you talking about 'Quick filter' or 'Global Search' or via 'Edit' > 'Find' > 'Search Messages' ?
'''If you used the Global Search:'''
Typed in a word: eg: Birthday and selected 'Messages mentioning birthday'
Then a search is returned in a new tab.
You click on 'open email as list' - to open in a new tab.
Is this the search results list view that you are refering to?
the default columns should be:
From, Subject, Date, Location
If you only want to see eg: From and Date
click on the icon 'select columns to display' located to far right of header column name.
deselect Subject and Location
next time you run a global search then only those columns appear in the 'open email as list' view.
'''If via 'Edit' > 'Find' > 'Search Messages' ?'''
enter search parameters and click on 'Search'
Is this the search results list view that you are refering to?
the default columns should be:
From, Subject, Date, Location
Subject and Location cannot be edited.
Other column headers can be selected in the same way using the far right 'Select columns to display' icon.
Any column headers you select will not be remembered if you close and later peform another search.
If you click on 'Save as Search folder'
This will create a folder in your Folder Pane and you can select column(s) you wish to display.
Any Column headers you choose to display are selected for that saved search folder.
The column headers only change if you select to reset defaults on that folder or from another folder you select to apply to other folders for either the search folder or all folders in the account.
'''If using Quick Filter:'''
The QuickFilter type of search is done on the folder that is selected.
You are still in the same folder, it has simply ''filtered'' what it is displaying, so it will obviously still display the same column headers. -
The binary code for the script is not found error for the Script component - SSIS 2012
Hi,
I'm implementing a SSIS 2012 pkg. For a data flow task, I'm using a Visual Basic 2010 script component with an Oracle input flow. For the script component I've an input column and I've created an output column. Inside the script code I've edited only inside
Public Overrides Sub Input0_ProcessInputRow(ByVal Row As Input0Buffer).
The written code is:
If Year(Row.OFFDATAORI) < 1900 Then
Row.OFFDATAORIconv = CDate(CStr("1900" + "-" + Right("00" + CStr(Month(Row.OFFDATAORI)), 2) + "-" + Right("00" + CStr(DatePart(DateInterval.Day, Row.OFFDATAORI)), 2))
Else : Row.OFFDATAORIconv = Row.OFFDATAORI
End If
It is to note that OFFDATAORI isn't the name of the input column for the script component.
When I close the script component I've an error about "The binary code for the script is not found".
Any helps to me, please?
ThanksHi,
I've solved. There was a syntax error, a bit hidden.
Bye -
"I would like to know how to set the default view for the columns that are shown in iTunes. Every time I open it, I have to either go to the options, or right-click to get the pop-up options, and delete "rating" and add "composer." I'd really like to just do it once and be done with it." Somewhere I read you could do this by clicking on the Music icon under LIBRARY then arramge the columns. Trouble is, I can't find a Musi Folder or icon in my user library.
Any help would be appreiated. OSX 10.9.2 iTunes version 11.1.5 Thanks!!! CW!From the iTunes menu bar try View>Show View Options. Make sure what you want to see is checked and what you don't is unchecked. You can do this (may need to do this) for any playlists, your main Library, etc.
Good luck
srb -
How do I use the same profile for two users on the same computer
I use my laptop both at home and at work. And in each venue I use a different user log on. But I wish to have firefox use the same profile for each user log on. How can I get firefox to point to the same profile for each user?
Note that only one user (Firefox instance) can use a profile folder at the time, so if you would switch the Windows user to another account then you would first have to close Firefox.
* http://kb.mozillazine.org/Creating_a_new_Firefox_profile_on_Windows
* http://kb.mozillazine.org/Shortcut_to_a_specific_profile
* http://kb.mozillazine.org/Using_multiple_profiles_-_Firefox
* http://kb.mozillazine.org/Bypassing_the_Profile_Manager -
We have two Apple ID's but share the same computer....that runs Itunes...How do i setup Icloud for ea. user ID?
You can't merge Apple IDs. What you could do is set up your phone to use the same iCloud accout you are using on your Mac. To do this, go to Settings>iCloud and turn all synced data (Contacts, Calendars, etc.) to Off. When prompted, choose to keep the data on the phone. When everything is off, scroll to the bottom and tap Delete Account. Now add the iCloud account you set up on your Mac (with the same Apple ID) and turn syncing back on for Calendars, Contacts, etc. When prompted, you will probably want to choose merge, to merge the data on your phone with the existing data on this iCloud account.
-
How do I add the rotate button to the main toolbar for all users
How do I add the rotate button to the main toolbar for all users. I have a Windows 2003 Citrix farm with Adobe Reader 8. I can add it user by user but I want to add it to all users at once. All users need this rotate button,
Thanks in advance
NDTry the Reader forum. I have no clue.
-
How to implement tooltip for the list items for the particular column in sharepoint 2013
Hi,
I had created a list, How to implement tooltip for the list items for the particular column in SharePoint 2013.
Any help will be appreciatedWe can use JavaScript or JQuery to show the tooltips. Refer to the following similar thread.
http://social.technet.microsoft.com/forums/en/sharepointdevelopmentprevious/thread/1dac3ae0-c9ce-419d-b6dd-08dd48284324
http://stackoverflow.com/questions/3366515/small-description-window-on-mouse-hover-on-hyperlink
http://spjsblog.com/2012/02/12/list-view-preview-item-on-hover-sharepoint-2010/ -
How do the change management for the configuration of the adapters
Hi all.
How do the change management for the configuration of the adapters, when i transport the software version component from an development system to production system.
For example, for to change the url parameters of adapters soap inside the production system. I will need type, the news values in this system?
Thanks
Best Regards.There is an option to pass all the paramters except those who changes from
system to system.
for example,
if you are reading from a file from the directory: <SYS>\CREMAS_<TS>.XML
when <SYS> is DEV or QAS or PROD, and <TS> is time stamp,
you can create channel template that read file with file pattern CREMAS_*.XML,
this can save you a lot of work, however, parameters that are diffrent in every system, (in this case the directory DEV,QAS,PROD) you must enter manually in every system. -
How to see the group membership for a user in oidadmin
how to see the group membership for a user in oidadmin?
I see the memberships in oiddas, but I would like to know if its possible to see them in oidadmin? Thanks.Hi,
For what I understand, you know the user and want to know the groups that the user is member of (am i wrong?)...
With this query you pass the user's DN to the ldapsearch and the search gives you back the list of groups the member is a member of, all you need to do is change the value "uniquemember=cn=orcladmin" in the query for your own user.
For example:
$ORACLE_HOME/bin/ldapsearch -h localhost -p 389 -D "cn=orcladmin" -w oracle10g -b "dc=acme,dc=com,dc=au" -s sub "uniquemember=cn=orcladmin" dn
will give you the list of groups that the user "cn=orcladmin" is a member of.
$ORACLE_HOME/bin/ldapsearch -h localhost -p 389 -D "cn=orcladmin" -w oracle10g -b "dc=acme,dc=com,dc=au" -s sub "uniquemember=cn=smithj,cn=Users,dc=acme,dc=com,dc=au" dn
will grive you all the groups that the user smithj is a member of.
if you don't want to get the DN of the group you can change the last parameter of the query like this
$ORACLE_HOME/bin/ldapsearch -h localhost -p 389 -D "cn=orcladmin" -w oracle10g -b "dc=acme,dc=com,dc=au" -s sub "uniquemember=cn=smithj,cn=Users,dc=acme,dc=com,dc=au" cn
will give you the CN of the groups the user is member of.
let me know if this is what you need.
Regards,
Juan -
Hi, I've been trying to configure my MacBook Air to the iCloud and for the last 3 days it's still uploading my calender. Also a few entries made to the calender in the last few days seem to have gone missing. Is this normal? How long will the upload take?
Since the maximum OS X version for an eMac is 10.5, how are you running OS X 10.7.5 on the eMac?
http://support.apple.com/kb/TS1591
Maybe you are looking for
-
I have an iphone 5s and it is synced to itunes and works fine. previously I have downloaded audiobooks to my wifes 6th gen nano using this account - now I tunes does not recognize the device and also it seems that it is not being read by the computer
-
My iPhone Will Not Sync Since I Got My Laptop Back From Repair
I wanted to mention first that my laptop was repaired by a friend who is very well versed in all types of computer software and operating systems. I have Windows 7 and downloaded the most resent update of iTunes. I have been downloading different sof
-
Installing "Java for Mac OS X 10.5 Update 6" (1.0) causing problems
Hi, I installed the "Java for Mac OS X 10.5 Update 6" (1.0)" yesterday evening and it caused problems: - network - date/time screwed up - Time Machine crashed My environment is a MacBook Pro, running 10.5.8, all latest patches applied. During the ins
-
Preflight error message . . .
Hi - never needed to use this forum before, but I've found the Indesign lot incredibly helpful on various occasions in the past. I'm running CS4 on XP pro, the whole suite is installed in its own separate partition on a non system drive, and I also h
-
RuntimeException: Maximum number of gradient stops exceeded (paint uses 17
I run into this exception occasionally java.lang.RuntimeException: Maximum number of gradient stops exceeded (paint uses 17 stops, but max is 12) at com.sun.prism.impl.ps.PaintHelper.stopsToImage(PaintHelper.java:94) at com.sun.prism.impl.ps.PaintHel