Questions tagged [property-placeholder]

77 questions
0
votes
1 answer

How do I add placeholder text for a Memo in a Python FMX GUI App?

When using TextPrompt on my Edit like in this answer, then it works, but using TextPrompt for my Memo does not work. When using it on my Memo, I get an error: AttributeError: Error in setting property TextPrompt Here's my full code: from delphifmx…
Shaun Roselt
  • 1,650
  • 5
  • 18
  • 44
0
votes
0 answers

Property placeholder in non-bean xml file

I have a abc.xml file which is not a spring-bean definition/context file in a Spring boot application. It is just a custom xml file that application needs. The abc.xml has a password tag which needs an environment specific value and which cannot be…
0
votes
0 answers

how to render sql with colon named parameters

I have a sql like insert into USER(NAME,AGE) VALUES(:NAME,:AGE) and I have an object like User(name='gggg',age=10) how to render the sql get the result like insert into USER(NAME,AGE) VALUES('ggg',10)
Kovacs
  • 33
  • 7
0
votes
0 answers

I get Parse error: syntax error, unexpected variable "$nav"

`I get this error Parse error: syntax error, unexpected variable "$nav" and here is this php code include_once "views/navigation.php"; include_once "views/side-navigation.php"; include_once "classes/Page_Data.class.php"; string $nav = ""; …
sihanat
  • 1
  • 1
0
votes
1 answer

How to add placeholder text to Edit in a Python FMX GUI App?

I have made a Form with an Edit component using the DelphiFMX GUI Library for Python and I'm trying to add a placeholder text to the Edit component, but I'm not sure how. I've tried doing self.myEdit.Placeholder = "Enter your name...", but this just…
Shaun Roselt
  • 1,650
  • 5
  • 18
  • 44
0
votes
2 answers

SpringBoot - Property placeholder configuration not working with @Service annotation

I'm trying to define the service bean name using a property placeholder value. But getting error saying no bean found for the specific name. I got to know that the issue is with reading the property value, because while hardcoding the value it's…
Shihad Salam
  • 79
  • 2
  • 11
0
votes
0 answers

JAVA placeholder annotation

What java annotation should I use to alert the class / method user that currently the class / method don't preform there declared intent? (When used as a placeholder) @deprecated is not quite right because it suggests there is some other method to…
avivgood2
  • 227
  • 3
  • 19
0
votes
1 answer

Generate sql statements with flyway placeholders

I trying to save some sql insert statements to files to use them for testing. I would like to use flyway placeholders for that but I'm not able to find any. Some example in Java: var sqlTXT = sql.insertInto(table("TBLNAME")) …
0
votes
1 answer

Spring Expression Language issue

I have the following class. I have verified in the console, the constructor of this class is called(during bean creation) before resolving the topic placeholder value in Kafka listener: public class MsgReceiver extends AbstractMsgReceiver
0
votes
1 answer

Custom PropertyPlaceholderConfigurer doesn't resolve embedded property values

I have a Spring 4.3 custom PropertyPlaceholderConfigurer that does extra processing on values read from the properties files before injection: public class MyPropertyPlaceholderConfigurer extends PropertyPlaceholderConfigurer{ @Override …
wi2ard
  • 1,471
  • 13
  • 24
0
votes
0 answers

How to access property placeholder defined in a domain project (Mule)?

I put a property placeholder in my domain project, Project A. However, I cannot access the property placeholder from Project B (dependent on Project A). Project B returns the correct response when I directly put the property placeholder in Project…
0
votes
1 answer

Mule 4 secure property placeholder not working

This is my config where i have defined my properties file ie dev.properties which has some encrypted values. I have defined my secure property placeholder but its not working
0
votes
1 answer

Refresh property every hour in Camel

Using this code Camel load foo.properties at application start: is there a way to reload foo.properties every hour? It can be useful if foo.properties changes.
GSX
  • 63
  • 7
0
votes
0 answers

Cannot read application.properties file value using context:property-placeholder in spring boot

I am using application.properties file for generic configurations which i intend to do profile based later on. Now i am using another config file root-context.xml where jaxws client bean is configured. i want to pass the endpoint address for that…
0
votes
2 answers

Spring bean customization with configurable properties

I have an xml bean configuration as follows:
liotur
  • 809
  • 2
  • 17
  • 36