Questions tagged [resource-id]

51 questions
1
vote
0 answers

ResourceID in Spring Security 5.7x versions

I have a backend developed using micro service architecture which used Spring Security older version where we can use @EnableResourceServer, ResourceServerConfigurerAdapter and public void configure(ResourceServerSecurityConfigurer config) { …
1
vote
1 answer

Android: read window title resource id

I am trying to create a custom title layout but I'd still want to use the activity's original label text. Is there a way to reference the window title (label attribute) in my custom title xml? Thanks.
Eric Chen
  • 3,562
  • 7
  • 39
  • 58
1
vote
1 answer

Azure CLI - How to get ResourceId of an storage container?

I am trying to run this command Set-AzSqlDatabaseAudit ` >> -ResourceGroupName "" ` >> -ServerName "" ` >> -DatabaseName "" ` >> -BlobStorageTargetState Enabled ` >> -StorageAccountResourceId "?" To setup auditing on SQL database but I am not able…
Muflix
  • 6,192
  • 17
  • 77
  • 153
1
vote
1 answer

Is there a way to tell the differences of a PostgreSQL, MySQL or MSSQL connection resource?

If I have $dbConn (a database connection) and I don't know if it's MySQL, MSSQL or PostgreSQL can I tell what type of connection it is? Just wanted to know if there is a method to return the connection type of a resource id? EDIT: Sorry, yes PHP…
Phill Pafford
  • 83,471
  • 91
  • 263
  • 383
1
vote
3 answers

Azure cosmos db issues with connection by resource token

I'm trying to connect to my cosmos db database by using a Resource token instead of a account master key which I used before. Before I used the following way to create DocumentClient: var client = new DocumentClient(new Uri(configAccountName),…
dododo
  • 3,872
  • 1
  • 14
  • 37
1
vote
1 answer

@id is not working inside Relative Layout

As far as I know, the difference between @+id and @id is to create a resource id first time and reuse that already existed resource id in different places. For instance, If we have a Relative layout having two textViews one below another, we shall…
Aveek
  • 849
  • 1
  • 12
  • 28
1
vote
1 answer

fullcalendar - how to render only actived resource events at agenda weekly view?

please help. this is following my code.. i'm working fullcalendar.js library how to render only resourceId "A" resource events at agenda weekly view? now working all events rendered. i want render by resourceId events $(Calendar).fullCalendar({ …
1
vote
0 answers

How to get the resource ID for Multiple view with same type in Android

I want to create multiple views of same type.I have created that here is the code. LinearLayout mainRoot = (LinearLayout) findViewById(R.id.wrapper); LayoutInflater inflater =…
Priyanka
  • 61
  • 5
1
vote
4 answers

Android : Custom object can't preserve resource ID

App shows images in a Gridview. In the adapter of GridView, I generate # of images reqd randomly from the resources available. A new Integer[] imageIDs is created & those resource IDs are saved in this new array. I also want to store this resourceID…
Tvd
  • 4,463
  • 18
  • 79
  • 125
1
vote
1 answer

Set id for spinner programmatically

It feels like I am missing something but how do you set the resource ID when making a spinner programmatically? (for example R.id.myspinner) Thanx JP.
JaperTIA
  • 129
  • 1
  • 2
  • 13
1
vote
1 answer

WM_CTLCOLORSTATIC lParam, C++ WINAPI

I'm trying to include into my Dialog Window Procedure, that when the msg WM_CTLCOLORSTATIC is received that I get the ID of the Control that is sending the message. case WM_CTLCOLORSTATIC: UINT ID = GetWindowLong((HWND)lParam,…
user3041838
1
vote
1 answer

How to create a resource with Resource id?

When I used proc_open, it returns a resource handle represented as Resource id #4. This code runs on the server, and I want to use this 'handle' again using the id. But after some kind of data transfer between the client and the server, all I got is…
dahui
  • 115
  • 1
  • 8
0
votes
1 answer

symfony pass resource identifier to template from action

my action: public function executePreview(sfWebRequest $request) { $this->setLayout('layout_preview'); $text=''; $text= $request->getGetParameter('text'); $this->img=''; …
prongs
  • 9,422
  • 21
  • 67
  • 105
0
votes
1 answer

android, how to get resource identifier from bitmap/drawable in memory?

I am working with an arraylist populated by downloading files referenced from an RSS feed. I don't think at this point it's ever saved to disk. If I don't save to disk, would I, in fact, even have a resource identifier? If so, how would I retrieve…
Dave
  • 1,910
  • 2
  • 21
  • 27
0
votes
1 answer

Resource id force replacement observed at Terraform Plan stage after importing resource due to case sensitivity (Azurerm module, Azure cloud)

I am importing all Azure Front Door related resources and after importing Front Door WAF and Security policy, I am saying force replacement due to change - frontDoorWebApplicationFirewallPolicies to frontdoorWebApplicationFirewallPolicies and…