chicha sonu

Ranch Hand
+ Follow
since Sep 15, 2013
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
2
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by chicha sonu

Jeanne Boyarsky wrote:There are a lot of "or" statements in your requirement.

Have you looked at the Timer API?. You could write Java code to figure out when the last Monday is. The others are easier to directly specify.



Thanks for Reply.

I am speaking ,something related to Outlook Recurrence meeting scheduler
5 years ago

Jeanne Boyarsky wrote:There are a lot of "or" statements in your requirement.

Have you looked at the Timer API?. You could write Java code to figure out when the last Monday is. The others are easier to directly specify.




Let us say i have scheduled meeting on Monday, and subscription is for every monday and friday ,for every 2 weeks.
1) I should be able to determine next appointment is on friday , if i create meeting on Monday
2) I should be able to determine next appointment is on monday after 2 weeks, if i create it on Friday

I am struggling to figure it out the above case.
Can some one please suggest

Thanks in Advance
5 years ago
Is Their a way to find out based on Day(Like Monday,Tuesday,Wed),which day comes first and which day comes later .
I am not expecting by comparing the dates,only by Day Name

Thanks in Advance
5 years ago
I have to build an API where user selects appointment to be scheduled recursively,something like every week monday and friday OR Monthly First Monday and Last Monday.
Can someone suggest a gud api .Or on How Database should be designed.As i need to run a crob job to send email or to performa a backend job

Thanks In Advance
5 years ago
Is their any way to Increase Performance in the Following Process of Preparing the XMl and Convert it to String
As some time it takes more than 50ms .

6 years ago
Hi,
Why default scope in Spring Bean in Singleton.Why not Proto Type or Any Other Scope

Thanks and Regards
Bantraj Kandi
6 years ago
first.log has been created..but not redirecting hibernate logs to first.log.
Its still written in server.log
7 years ago
And also i need to set the value to combo
for a selection i need to get key,key1 and value

Thanks in Advance
as described in the post, i am unable to set the value to the combo

Thanks in Advance
Can you Please provide me a working example.That would help me a lot
Thanks in Advance
Hi
I am using Angularjs with Select as below

objArr=
[{"key":"A","key1":"B","value":"C"}
{"key":"D","key1":"E","value":"F"}
{"key":"G","key1":"H","value":"I"}
{"key":"J","key1":"K","value":"L"}];

<select chosen id="myModel" class="chosen-select"  ng-model="myModel" ng-options="obj.key as obj.value for obj in objArr"  ng-change="onChange()" required >
<option value=""></option>
</select>

1)Now On Change i get only key,where as i need complete object to manipulate other fields based on the key key1 and value,which i am unable to do
2)I am unable to set the default value into the combo

Please help me with the same
Thanks in Advance
Thanks for Reply
HI

log4j.rootCategory=INFO
log4j.logger.org.hibernate=INFO,FIRST_APPENDER
log4j.logger.FIRST_APPENDER=INFO,FIRST_APPENDER
log4j.appender.FIRST_APPENDER=org.apache.log4j.RollingFileAppender
log4j.appender.FIRST_APPENDER.maxFileSize=10MB
log4j.appender.FIRST_APPENDER.MaxBackupIndex=2
log4j.appender.FIRST_APPENDER.layout=org.apache.log4j.PatternLayout
log4j.appender.FIRST_APPENDER.layout.ConversionPattern=[%d{ISO8601}]%5p%6.6r[%t]%x(%F:%L) - %m%n
log4j.appender.FIRST_APPENDER.File=G:/first.log

it still Didnt Work
7 years ago
log4j.level.org.springframework.web=INFO
log4j.level.org.hibernate=info, stdout, R

Sorry for the Late Reply
7 years ago
Hi,
I am Using Jboss 7.1 with Spring 4 and Hibernate4.
When i start the server i see many logs related to org.hibernate.tool.hbm2ddl and org.springframework.web.servlet.

How can i use log4j to redirect these logs to separate log file instead of Server Log.Can some one provide a working example

Thanks in Advance
7 years ago