myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrian Mitev" <adrian.mi...@googlemail.com>
Subject Re: Shale's <s:token> to prevent double click
Date Thu, 14 Dec 2006 08:37:39 GMT
Yes. There is a message attribute where you could specify the error message
you want to show, otherwise it shows its default message.

2006/12/14, pallavi.roy@wipro.com <pallavi.roy@wipro.com>:
>
>  Hi Adrian,
>
> Thank you for your reply.
> I can see the page is written by you.
> I visted the second link.But i can see several jar files.(
> mailreader-jpa-1.0.3.zip<http://people.apache.org/dist/shale/v1.0.3/mailreader-jpa-1.0.3.zip>
> ,shale-blank-1.0.3.zip<http://people.apache.org/dist/shale/v1.0.3/shale-blank-1.0.3.zip>
> ,shale-clay-usecases-1.0.3.zip<http://people.apache.org/dist/shale/v1.0.3/shale-clay-usecases-1.0.3.zip>
> etc).
> Which is the one that i need to download.
> Please let me know that if i use this <s:token> in my application.
> How can i test it if it is working.
> i can see in the example as
>  <h:form>
>      <h:message for="token"/>
>      ...
>      <s:token id="token"/>
>   </h:form>
> Does it throw an error message when the button is clicked twice.(<h:message
> for="token"/>)
> Best Regards,
> Pallavi
>
>  ------------------------------
> *From:* Adrian Mitev [mailto:adrian.mitev@googlemail.com]
> *Sent:* Thursday, December 14, 2006 1:46 PM
> *To:* MyFaces Discussion
> *Subject:* Re: Shale's <s:token> to prevent double click
>
> Info you can find in the wiki [1]. The sample project that contains
> shale-core.jar is in the download section [2].
>
> [1] http://wiki.apache.org/shale/Token
> [2] http://people.apache.org/dist/shale/v1.0.3/
>
> 2006/12/14, pallavi.roy@wipro.com <pallavi.roy@wipro.com >:
> >
> >  Hi Everybody,
> >
> > I have a JSF Portlet and i want to prevent the double click on a command
> > button.
> > After going through previous posts i have seen suggestions for using
> > <s:token>.
> > Can <s:token> work in this scenario.
> > (I not using Myfaces RI but SUN's RI)
> > If so,where are the jar's that i need to implement and where can i find
> > information on this component.
> > Your suggestions are welcome.
> >
> > Best Regards,
> > Pallavi
> >
> >
> > The information contained in this electronic message and any attachments
> > to this message are intended for the exclusive use of the addressee(s) and
> > may contain proprietary, confidential or privileged information. If you are
> > not the intended recipient, you should not disseminate, distribute or copy
> > this e-mail. Please notify the sender immediately and destroy all copies of
> > this message and any attachments.
> >
> > WARNING: Computer viruses can be transmitted via email. The recipient
> > should check this email and any attachments for the presence of viruses. The
> > company accepts no liability for any damage caused by any virus transmitted
> > by this email.
> >
> > www.wipro.com
> >
>
>
> The information contained in this electronic message and any attachments
> to this message are intended for the exclusive use of the addressee(s) and
> may contain proprietary, confidential or privileged information. If you are
> not the intended recipient, you should not disseminate, distribute or copy
> this e-mail. Please notify the sender immediately and destroy all copies of
> this message and any attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient
> should check this email and any attachments for the presence of viruses. The
> company accepts no liability for any damage caused by any virus transmitted
> by this email.
>
> www.wipro.com
>

Mime
View raw message