Felix Erendi

Greenhorn
+ Follow
since Apr 16, 2003
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 Felix Erendi

Example 1
Just add this script to your page and it will automatically redirect to jsEnabled.html if javaScript is enabled and add the parameter jsEnabled=true to the query string.



Example 2
This link will add the parameter jsEnabled=true or false to the query string.



Example 3
This one will do the same but is enabled from a form


n.b replace the k in onklick with a c (some javaranch policy)

Br Felix
Cheers Eric!

/Felix
18 years ago
JSP
Thanks Ulf,

That would do the trick!
Do you have any example code to submit?

/Felix
18 years ago
JSP
Thanks Ulf,

That would do the trick!
Do you have any example code to submit?

/Felix
Does anyone know if it is possible from a jsp-page to check if a browser is javascript enabled?

Br Felix K
Does anyone know if it is possible from a jsp-page to check if a browser is javascript enabled?

Br Felix K
18 years ago
JSP
Mark,
Since English is not my first language maby you can help me? Is this sentence so vagely written that I can interpret it not to use the input string "any" for my wildcard search implementation, or does it say that "any" is a requirement?
-------------------------------------------------
The user must be able to describe enter the string value "any" for the origin, destination, or both, so as to implement a wildcard-like feature.
-------------------------------------------------
/Felix
Thank you Mark and Andrew!
After considering your answers, I decided to go for the JTextField outside of the table.
/Felix
I have extracted all the data fields dynamically
from the database and added all of them as searchable JLabel - JTextField pairs in the GUI. Do you think that I will get lower grades from the examinors because I have more search possibilities than stated in the assignment.
My way of doing it makes it easy to add fileds to the db and then they are automatically searchable without adding any coe at all.There are no possibility to miss spell the field names either.

I have also not implemented the "any" string. But in stead if a fields is left empty the wildcard search will take place. all empty will show all records in the db. What do you think?
/Felix
Can anybody help me with my struggles with
JTable. I'm using the model-view-control pattern
and I have implemented the search and the data
presentation, in a JTable, part of the GUI.
I have added a JTextFiled for chair bookins to
each row of the JTable but I don't know how to add
an actionlistner to them. And the number entered
does not "stick" when focus is moved from that
cell?
/Felix