JSF occured problem for browser

hi

i need ask about th browser and problem of browser

JSF have event handling i think is use fron javascript

?

any wayJSF have scrpting tag

such as

<ui:script binding="#{AlbumView.script1}" id="script1"

return confirm("Are you sure?")

></ui:script>

the question is when the broswer disabled will be occured the problem ?

or the JSF comming for solved is

thanks

[558 byte] By [javaskilleda] at [2007-11-27 5:36:40]
# 1

Where do you want to apply this? You can just use it in an onclick attribute for example.

Delete button example:<h:commandButton value="delete" action="#{myBean.delete}" onclick="return confirm('Are you sure?');" />

BalusCa at 2007-7-12 15:07:43 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
ok i knowbut my question is he will be effect when the browser is disbale ? iam test isbefor momentthis will be effect thanks
javaskilleda at 2007-7-12 15:07:43 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
The client can indeed choose to disable JS. But then half of the Internet will be unuseable for the client. If you want to prevent that, move the logic to the server side.
BalusCa at 2007-7-12 15:07:43 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...