This week's book giveaway is in the OCP forum.
We're giving away four copies of OCP Java SE 8 Programmer II Exam Study Guide and have Kathy Sierra, Bert Bates, & Elizabeth Robson on-line!
See this thread for details.
Win a copy of OCP Java SE 8 Programmer II Exam Study Guide this week in the OCP forum!

Jordan Smith

Ranch Hand
+ Follow
since Apr 06, 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 Jordan Smith

Hi!

i am trying to implement dynamic role url.


where my filterSecurityMetadataSource implements only method getAttribute, and for getAllAttributes returns null:



i debuged spring-security source classes, and saw that securityMetadataSource is being overwritten by the default spring security metadata source.
I couldn't figure out which class overwrittes it, and what i was missing.
any help?
8 years ago
Hi
I saw somewhere that there is a command load xml. but, i didn't get how to use it.
as well, is it quicker than inserting each row alone?
I need to save the complete XML as it is (except for the header for sure)

as well, the names of the columns are not the same in the xml and in the database
HI!
my code, gets xml files and needs to insert the data into the database.
is there a difference if i use load xml or simply insert statements?
as well, how do i use load xml (i have just heard about it, but couldn't find a proper example except for the docs which was not clear)!
Hi

I fixed the code to this:

and the bean:


The function is being filled in the constructor.
Then i have getter and setter for servicesNames.

What is the problem?
8 years ago
JSF
Hi!
I wrote the following code:

my bean is:

the data in servicesNames is full with service names.

But on the screen it doesn't display any value when clicking on the arrow neither when starting to type the first letter.

What is the problem?
8 years ago
JSF
Hi!

I would like to download a zip file from a constant location on the server to the user (with a dialog).

I wrote the following code but it doesn't display it:

How can i open a save dialog? is there a util for that?
8 years ago
JSF
Hi!

I create the following code to run menuitem:
(it's only a sample of the whole menu)


but when choosing the item in menu group, it displays it randomly in the menu.

(see in the attached picture).

what have i done wrong?
8 years ago
JSF
Hi!

I am creating a dynamic menu. The values come from the data base.

To do that, i created MenuBean to display rich:dropDownMenu.

i would like the menu to be displayed on every screen. for that i created header.jsp that is included in every page with <jsp:include page="header.jpp">.

my question is about the scope: do i declare the scope as session? what does it mean? that MenuBean methods will be executed

only once in the user session?
8 years ago
JSF
hi!

well, i didn't know to what forum to submit the question.

Now, that there is struts2 working great and JSF 2.0 as well.

what would you recommend to use for a new application and why?
8 years ago
how do i send a periodic request from every page?
8 years ago
hi

i would like to invalidate the session when the browser/tab is closed by the user.

i thought that maybe using ajax will make it but i don't know how.

how can i do it?
8 years ago
sorry guys
it works well
the globalObject.getSessionOut() returned 50 instead of 5..
8 years ago
hi!

i am trying to add 20 minutes to a date object like this:


but in the log i see:
time is Sun Oct 25 03:52:01 IST 2009
time plus 5 minutes is Sun Oct 25 04:42:01 IST 2009 current time is Sun Oct 25 03:56:46 IST 2009

what is incorrect about the way that i add the 5 minutes?
8 years ago
because i generate the links in iterator and each link has a different video id:
8 years ago