Pamungkas Timotius

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

Recent posts by Pamungkas Timotius

I use tomcat. Well, lets just say i've installed tomcat on vps, and put my war on a webapps folder. I still don't have idea how can a person typed www.mysite.com (let's just say i rent that domain), and it redirects into my tomcat

On local computer, during development, I move tomcat to port 80, and type http://localhost/myapp (the context still have to be typed)

Also, as far as i know, tomcat is a servlet container, to run such thing, shouldn't I need something like apache http server?

thanks
13 years ago
JSF
standard jsf components does not have autocomplete feature. But you might interested on this: http://www.primefaces.org/showcase/ui/autocompleteHome.jsf
13 years ago
JSF
Virtual private server
13 years ago
JSF
Hi there,

I've created a JSF applicatioon for personal use, and planning to hire a vps and a domain (say www.myjsf.com). However, I can't find any tutorial about deploying JSF application to VPS, and don't have any idea how can when someone type www.myjsf.com, it will redirect to my vps. I'm sure most of you already go pass this thing, so i will gladly help if anyone can point me to a link tutorial, or share their experience. A simple google keywords are welcome, because my google keyword "deploy jsf web application to vps" returns mostly link to vps providers.

Thank you very much
13 years ago
JSF
Hi... I'm a java programmer, and not familiar with environment setting, so I hope I can get some information here.
At my office, we use Oracle e-business suite (Oracle Purchasing/PO, Payable/AP, Inventory/INV, and Fixed Asset/OFA), all version 11.5.10 and OS JVM is Java 1.4.2.

Now, we have to create our own custom application, which must communicate with PO and AP.
Developing it with Oracle Form will not a best solution, because most of us are Java-based developers. So I ask my manager whether we can use Java to develop such application, and the answer is no, because we have to buy license for Oracle Application Server (OAS). I wonder, whether we can use Apache Tomcat as web server and it will be better if can run under Java 6.

Is there any proffesional here who can share information? Maybe a link to step-by-step setting tutorial or blog? Thanks in advance.
15 years ago
I'm new at Ajax and JSF/A4J, and I'm trying to learn the very basic of it, but I found that behaviour for A4J is quite different from standard JSF (either RI or MyFaces). The first screen I made is login screen. Normally, using <h:commandButton>, when action controller method was called, whole page will be refreshed. Expecting following behaviour, I'm trying A4J:

1. When button "Login" was clicked, page will display message, such as "Validating user xxxxxx, please wait" and the login button itself will be disabled until request complete.
2. When request complete, hide message "Validating user xxxxxx, please wait", and (since this is Ajax studying) instead of redirecting page, I want the Login button to re-enabled.

So I write following jsp code




while this is the backing bean




But this approach does not work, the message "Validating user xxxx, please wait" is displayed after I clicked button Login, while the request itself still processed at server, but button login still enabled.
After validateLogin() complete, message still displayed, and no changes on button login.

So I try the second approach, based on Richfaces' user guide. Instead of disabling button at backing bean, I do it via jsp as follows


OK, the button behave as expected, but no "Validating user xxxx" message displayed.

I think I can't reference component, changing it's visual behaviour from backing bean, since the page is not reloaded all, Can I? So how can I get those behaviours?

Another question, when I add code at validateLogin() as follows:


How can I display appropriate error message?
Any references or solution? My google search did not find anything useful

Thanks
15 years ago
JSF
Never uses myEclipse...

However, just wonder.. Have you entered your JSF library in project's build path? (Right click on project > properties > Build Path, add your jar for JSF implementation)
16 years ago
JSF
Hi...

How can we load properties file under /WEB-INF/classes/locales/accountProperties_en.properties into backing bean?

this code:


where


always throws exception.
When I debug my code, I found that accountPropertiesFile.exists() always returns false even if it's in WEB-INF/classes/locales directory.

What happened?
16 years ago
JSF
Yes, it works...
But I'm expecting something more specific and user-friendly

For example, if user does enter password which length is less than 6 chars, my message should display 'Password must be at least 6 characters'
but when username entered is less than 5 chars, it must displays proper message : 'Username must be at least 5 characters'

I've tried this approach in properties file


but it displays component id (e.g. newUserForm:txtUsername)

Can I display custom text instead of component's id in <h:messages> ?

Thanks
16 years ago
JSF
Thanks for your information, I'll try it at once
16 years ago
JSF
Having this code




and a <h:messages> in corresponding JSP, can I replace default validator's message?

For example, instead of displaying "registerNewAccountFormOne:txtRequestedUserName: Validation Error: Value is less than allowable minimum of '6'", which will confusing for my end-users, can I display "user name too short (minimum 6 characters)"

Also, at the same time, can I customize validation for which attached on same input component (txtRequestedUSerName in this case).

Thanks..
16 years ago
JSF
Hi all

I try to use tomahawk component t:inputCalendar. I've configured my web.xml using following :



But after I configured web.xml, I can't access my file (e.g. http://localhost:8080/MyJSF/faces/index.faces). I can access my file if filter-mapping element



is removed, but as a result, I can't using tomahawk component.
I try to find information at http://myfaces.apache.org/tomahawk/extensionsFilter.html and google, but can't find any solution. Can somebody here give a solution?
16 years ago
JSF
My tomcat (Tomcat 4.1) is down when active sessions reaches 600. Any configuration to extend session, or something like tomcat session pooling?
16 years ago
Yogyakarta, Indonesia
But now I want to work in singapore... any vacancy for 24 years old java dev?

Just for information : Indonesia is not only Bali and Jakarta...
try to visit Lombok sometimes, personally, it's better than Bali
16 years ago