jules poit

Greenhorn
+ Follow
since Oct 06, 2009
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 jules poit

Yes

The solution right know I implemented is the following, we already have a little java script routine for google analytic, so it is on every page, and what I had is just that :



it is working perfectly.

My server.xml is the following :



I removed the virtual host/alias stuff lol Any idea what I should put in the server.xml to make it work this way ?

Thanks for your help !
11 years ago
Hello

Currently for my project I have registered 2 domain addresses on the same IP. But now, I would like to redirect one of this domain to the other one. I am using Tomcat

My two domains :
a.domain.com
b.domain.com

So when the user will enter a.domain.com, I want to see/being redirected to b.domain.com (both domain are pointing on the same webapp).
How can I do that ?

I tried with Aliases but it does not seemed to work - I probably did not configured the server.xml properly lol

Thanks for your help
11 years ago
Thanks for your answer,
I looked at it at I did exactly like that, I created a class that will handle all the messages for my project, and It is working great !

12 years ago
JSF
Hello guys

I have a little question on the validation in JSF, I googled it but there is not much information :/

Basically I have a form, and I am doing a basic validation :




Everything is working how it should when the information are not inputed with the good values, but when all the values are good, I would like to display a message on the same page like : "Modifications applied", but I do not know how to do that :-/ I am seeing a passedLabel in the messages but how should I use that ?

Thanks for your help
12 years ago
JSF
Thanks for the help

Two "issues" with your code,

The first one is by using the class to highlight the element found in the suggestion box , itdoes not scroll to the position of the element (I have more than 200 elements in my list), but when I scroll to my element, it is highlighted

The second issue is after the highlight of an element, if I select an other element, then the previous found element stays highlighted
12 years ago
JSF
Hum, I can retrieve the active item in the shuttle list :
document.getElementById('chartSettingsForm:parametersListShuttle').component.sourceList.activeItem

So, I looked in the API, and there is a setActiveItem, but I cannot make it work :/
I tried document.getElementById('chartSettingsForm:parametersListShuttle').component.sourceList.setActiveItem('myStringInTheShuttleList'), or .setActiveItem('chartSettingsForm:parametersListShuttle:3') but doesn't seem to work

It seems to be easy :/ There is no example with the activeItem attribute of the shuttle list , and I do not now how to use it to set an active item.
12 years ago
JSF
Ho, sorry about that,
I did not know both of these forums where related
12 years ago
JSF
Hi everyone

I have a question
I am using Richfaces the suggestionbox with a listShuttle. Basically what I want to do is when a user selects/clicks on an item in the suggestionBox that this item is selected in my listShuttle (in the sourceValue list). (Let say I have 1000 values -String - in my listShuttle, then the suggestionBox is used to find quickly an item and focus on it in the listShuttle, it is more convenient than using the scroller of the listShuttle ).

What I am doing right know, is using a javascript function on the onselect="selectItem();" event of the suggestionBox, so I have :



I retrieve the good value but I do not know how to "focus" on the element in my list ... I am pretty sure is it simple but I tried, t.select(), t.focus() ... but nothing is working :/

Thanks for your help
12 years ago
JSF