Win a copy of Java Challengers this week in the Java in General forum!

Dmitriy Kastikovich

Greenhorn
+ Follow
since Jun 29, 2008
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
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Dmitriy Kastikovich

Hi!

Can anyone say why MySQL InnoDB param 'innodb_log_files_in_group' need minimum two file for logging?
Is it for locking one file to save it to real data while current transactions will save to the second binary log file?

Thanks.
Hi!

I try to color cells and it is OK, but not for all colors.
For example:



Commented color not appears not in LibreOffice, nor in OpenOffice.

Libs info: POI 3.8, DynamicJasper 4.0.2, JasperReports 4.7.0

Is it possible to fix it?
8 years ago
Hi!

I have unidirection manyToMany:



From another side I have a List<Day> workingDays and how can I get all Markets, where list of days contains all from workingDays?

Thanks.

nitin pokhriyal wrote:just a wild guess.. try "return true" keyword in js function.



nothing changed...
please, see WAR file:

http://upload.com.ua/get/901049747/?mode=free
(enter numerical CAPTCHA and press green button, wait for a 1 min)

to run: http://127.0.0.1:8080/test/pages/reports.jsf
11 years ago
JSF
Hello.

I have a A4J form with inputFileds.
And a button:




So, when I press button, new window appears, but after request it closes itself without any questions.
If I change oncomplete to onclick, then all is OK, except that no data from fileds are setted to managed bean.

Thanks.
11 years ago
JSF

Cameron Wallace McKenzie wrote:

Can you load the one record first, and then merge the new one and see what happens?



Just an idea. I'm speaking purely out of ignorance on this one.



No, I cant load first. I need a hand-set ID on already created entities with id-generators.
Hi!

I want to update row with some id, but the result is createing a new row.
So I have entity:



Then I do so(see that the ids is the same):



Result: two rows with not my id:
ID | VALUE
---------------------------
1 | value=123456789
2 | value=987654321


So, is it possible in Hibernate to update row in such way ?
Thanks.
I have code such as:

1. User click on h:commandButton
2. Server sends responce:


A menu with OPEN,SAVE,CANCEL appears.. but I need to click twice on OPEN. Why can it be so??

I have:
IE7
Jboss 4.2.3
RF: 3.3.0
12 years ago
JSF
Is it possible and if, so how?
12 years ago
JSF

Bauke Scholtz wrote:Just let the attribute depend from a bean property or so?



I think, you didnt understand me - I dont want to use server side for changing attribute. And if I understand a dependency on bean will use server.
So the question was, how to change it on client side. Or it is not possible as the page has been already rendered with all components?
12 years ago
JSF

Bauke Scholtz wrote:By the 'this' reference? Do you understand Javascript at any way?


I already tried 'this.id' - it doesnt work ((
It returns event as I think, so no id is available.

No, I dont know JavaScript, but I have task and have no time to learn theory - so I use google, examples, forums... but sometimes I cant find an answer. I know that people dont like to answer on simple questions. So take it easy ))
12 years ago
JSF
Code
works fine, but I cant find how to get ID of calendar component.

How to get it?
12 years ago
JSF
Hi!

For example, I want to disable entering date in calendar for user until he not selected it. Then he can edit.

I use to disable input. But then
I want to enable manual date editing.

I remember that I can use [''], but cant remeber it. And I dont wont to use server side for this.
As a solution i can create second calendar with enabled manual input and show it after date was setted....
12 years ago
JSF
Hi!

I want something like inputHidden. I have tried rendered=false and type='hidden' - not the same as inputHidden.

Simply I want to press on visible button OK, run JS function and then from JS click() hidden button.

How to do so?
12 years ago
JSF