• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

alternattive to usage of javscript

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am using javascript for delete confirmation,
is any other way for delete confirmation without using javascript.
Thanks
Jeyakumar
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please take the time to enter meaningful subject lines that are descriptive of your question. I initially closed this topic thinking that it was the same as your other topic which uses the exact same subject.
[ October 27, 2006: Message edited by: Bear Bibeault ]
 
Bear Bibeault
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
deleteConfim() -- or as I'm sure you meant it -- deleteConfirm() (please take care not to make such silly mistakes when posting) is not a standard Javascript function. So we have no way of knowing what it does so that your question can be answered.

In gerneral though, no, without Javascript, there's not much you can do in the way of client-side activity. You'll need to do it the hard way with a server-side request/response cycle.
 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi Jeyakumar,
According to my understanding you need to perform a validation
on the data before performing your business logic.

your client would have avoided uing JS coz critical process like data in database operation would have to be performed by server side validation since you cant expect all your end users to enable javascript in their browser.

i use struts serverside validation using validate method in ActionForm class(i suppose you are familiar with struts)

[ October 30, 2006: Message edited by: pradheesh manohar ]
[ October 30, 2006: Message edited by: pradheesh manohar ]
 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
If you are doing any validations it could be possible by using struts. If you are aware of struts then it can be replaced. but if it is just forwarding the request better use java script only.
reply
    Bookmark Topic Watch Topic
  • New Topic