You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Srinivas V <vu...@gmail.com> on 2007/03/02 09:30:38 UTC
how to avoid validation
I have a selectBox, some text boxes and a commandbutton.
on change of select box I need to show some text boxes.
On click of the commandbutton i need to validate the validate the textboxes.
But on change of select box it is validating the text boxes.
How to avoid this validation on change of select box for which i submit the
page?
Any ideas will be appriciated.
Regards srinivas
RE: how to avoid validation
Posted by Madhav Bhargava <Ma...@infosys.com>.
I am not sure about the version it was added. I would get the latest
versions of tomahawk/sanbox.
________________________________
From: Srinivas V [mailto:vuyyuru.srinivas@gmail.com]
Sent: Friday, March 02, 2007 3:44 PM
To: MyFaces Discussion
Subject: Re: how to avoid validation
also when is subForm tag added to sandbox? which version?
I am having initial version.
On 3/2/07, Srinivas V <vu...@gmail.com> wrote:
For command link
<t:commandLink id="genreport1"
value="#{msgBundle.EPCMGR_Reports_ViewReport}"
action="#{reportsBean.getReport}"
target="_new"
rendered="#{ reportsBean.renderViewReport}"
styleClass="kiosk_cmd_link_for_report"
actionFor="inputValuesForm" >
</t:commandLink>
I am getting an exception "Attribute actionFor invalid for tag
commandLink according to TLD"
When is actionFor added?
is it in tomahawk initial release? (myfaces 1.1)
On 3/2/07, Madhav Bhargava <Madhav_Bhargava@infosys.com > wrote:
You can have a look at:
http://www.irian.at/myfaces-sandbox/home.jsf
On the page you will examples for all the components of sanbox. You can
look at " SubForm - Partial validation and model update with SubForms
<http://www.irian.at/myfaces-sandbox/subForm.jsf> "
Other place you can look for example code is the source repository :
http://myfaces.apache.org/source-repository.html
You can browse the online source repo and check out the examples. These
will the same that are present at irian site given above.
~madhav
________________________________
From: Srinivas V [mailto: vuyyuru.srinivas@gmail.com]
Sent: Friday, March 02, 2007 2:13 PM
To: MyFaces Discussion
Subject: Re: how to avoid validation
can you give me an example?
On 3/2/07, Madhav Bhargava < Madhav_Bhargava@infosys.com
<ma...@infosys.com> > wrote:
Use subForm component.
________________________________
From: Srinivas V [mailto: vuyyuru.srinivas@gmail.com]
Sent: Friday, March 02, 2007 2:01 PM
To: MyFaces Discussion
Subject: how to avoid validation
I have a selectBox, some text boxes and a commandbutton.
on change of select box I need to show some text boxes.
On click of the commandbutton i need to validate the validate the
textboxes.
But on change of select box it is validating the text boxes.
How to avoid this validation on change of select box for which i submit
the page?
Any ideas will be appriciated.
Regards srinivas
**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended
solely for the use of the addressee(s). If you are not the intended
recipient, please notify the sender by e-mail and delete the original
message. Further, you are not to copy, disclose, or distribute this
e-mail or its contents to any other person and any such actions are
unlawful. This e-mail may contain viruses. Infosys has taken every
reasonable precaution to minimize this risk, but is not liable for any
damage you may sustain as a result of any virus in this e-mail. You
should carry out your own virus checks before opening the e-mail or
attachment. Infosys reserves the right to monitor and review the content
of all messages sent to or from this e-mail address. Messages sent to or
from this e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***
Re: how to avoid validation
Posted by Srinivas V <vu...@gmail.com>.
also when is subForm tag added to sandbox? which version?
I am having initial version.
On 3/2/07, Srinivas V <vu...@gmail.com> wrote:
>
> For command link
> <t:commandLink id="genreport1"
> value="#{msgBundle.EPCMGR_Reports_ViewReport}"
> action="#{reportsBean.getReport}"
> target="_new"
> rendered="#{ reportsBean.renderViewReport}"
> styleClass="kiosk_cmd_link_for_report"
> actionFor="inputValuesForm" >
> </t:commandLink>
>
> I am getting an exception "Attribute actionFor invalid for tag commandLink
> according to TLD"
>
> When is actionFor added?
> is it in tomahawk initial release? (myfaces 1.1)
>
>
> On 3/2/07, Madhav Bhargava <Ma...@infosys.com> wrote:
> >
> > You can have a look at:
> >
> > http://www.irian.at/myfaces-sandbox/home.jsf
> >
> >
> >
> > On the page you will examples for all the components of sanbox. You can
> > look at " SubForm - Partial validation and model update with SubForms<http://www.irian.at/myfaces-sandbox/subForm.jsf>
> > "
> >
> >
> >
> > Other place you can look for example code is the source repository :
> > http://myfaces.apache.org/source-repository.html
> >
> > You can browse the online source repo and check out the examples. These
> > will the same that are present at irian site given above.
> >
> >
> >
> > ~madhav
> >
> >
> > ------------------------------
> >
> > *From:* Srinivas V [mailto: vuyyuru.srinivas@gmail.com]
> > *Sent:* Friday, March 02, 2007 2:13 PM
> > *To:* MyFaces Discussion
> > *Subject:* Re: how to avoid validation
> >
> >
> >
> > can you give me an example?
> >
> > On 3/2/07, *Madhav Bhargava* < Madhav_Bhargava@infosys.com> wrote:
> >
> > Use subForm component.
> >
> >
> > ------------------------------
> >
> > *From:* Srinivas V [mailto: vuyyuru.srinivas@gmail.com]
> > *Sent:* Friday, March 02, 2007 2:01 PM
> > *To:* MyFaces Discussion
> > *Subject:* how to avoid validation
> >
> >
> >
> >
> >
> > I have a selectBox, some text boxes and a commandbutton.
> >
> > on change of select box I need to show some text boxes.
> >
> > On click of the commandbutton i need to validate the validate the
> > textboxes.
> >
> > But on change of select box it is validating the text boxes.
> >
> > How to avoid this validation on change of select box for which i submit
> > the page?
> >
> > Any ideas will be appriciated.
> >
> >
> >
> > Regards srinivas
> >
> > **************** CAUTION - Disclaimer *****************
> > This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended
> > solely for the use of the addressee(s). If you are not the intended
> > recipient, please notify the sender by e-mail and delete the original
> > message. Further, you are not to copy, disclose, or distribute this e-mail
> > or its contents to any other person and any such actions are unlawful. This
> > e-mail may contain viruses. Infosys has taken every reasonable precaution to
> > minimize this risk, but is not liable for any damage you may sustain as a
> > result of any virus in this e-mail. You should carry out your own virus
> > checks before opening the e-mail or attachment. Infosys reserves the right
> > to monitor and review the content of all messages sent to or from this
> > e-mail address. Messages sent to or from this e-mail address may be stored
> > on the Infosys e-mail system.
> > ***INFOSYS******** End of Disclaimer ********INFOSYS***
> >
> >
> >
>
>
RE: how to avoid validation
Posted by Madhav Bhargava <Ma...@infosys.com>.
I am not sure which version of tomahawk are you using?
Check out the TLD documentation at:
http://myfaces.apache.org/tomahawk/tlddoc/index.html
You will find actionFor attribute as part of both t:commandLink and
t:commandButton
Rgds,
Madhav
________________________________
From: Srinivas V [mailto:vuyyuru.srinivas@gmail.com]
Sent: Friday, March 02, 2007 3:40 PM
To: MyFaces Discussion
Subject: Re: how to avoid validation
For command link
<t:commandLink id="genreport1"
value="#{msgBundle.EPCMGR_Reports_ViewReport}"
action="#{reportsBean.getReport}"
target="_new"
rendered="#{ reportsBean.renderViewReport}"
styleClass="kiosk_cmd_link_for_report"
actionFor="inputValuesForm" >
</t:commandLink>
I am getting an exception "Attribute actionFor invalid for tag
commandLink according to TLD"
When is actionFor added?
is it in tomahawk initial release? (myfaces 1.1)
On 3/2/07, Madhav Bhargava <Ma...@infosys.com> wrote:
You can have a look at:
http://www.irian.at/myfaces-sandbox/home.jsf
On the page you will examples for all the components of sanbox. You can
look at " SubForm - Partial validation and model update with SubForms
<http://www.irian.at/myfaces-sandbox/subForm.jsf> "
Other place you can look for example code is the source repository :
http://myfaces.apache.org/source-repository.html
You can browse the online source repo and check out the examples. These
will the same that are present at irian site given above.
~madhav
________________________________
From: Srinivas V [mailto: vuyyuru.srinivas@gmail.com]
Sent: Friday, March 02, 2007 2:13 PM
To: MyFaces Discussion
Subject: Re: how to avoid validation
can you give me an example?
On 3/2/07, Madhav Bhargava < Madhav_Bhargava@infosys.com
<ma...@infosys.com> > wrote:
Use subForm component.
________________________________
From: Srinivas V [mailto: vuyyuru.srinivas@gmail.com]
Sent: Friday, March 02, 2007 2:01 PM
To: MyFaces Discussion
Subject: how to avoid validation
I have a selectBox, some text boxes and a commandbutton.
on change of select box I need to show some text boxes.
On click of the commandbutton i need to validate the validate the
textboxes.
But on change of select box it is validating the text boxes.
How to avoid this validation on change of select box for which i submit
the page?
Any ideas will be appriciated.
Regards srinivas
**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended
solely for the use of the addressee(s). If you are not the intended
recipient, please notify the sender by e-mail and delete the original
message. Further, you are not to copy, disclose, or distribute this
e-mail or its contents to any other person and any such actions are
unlawful. This e-mail may contain viruses. Infosys has taken every
reasonable precaution to minimize this risk, but is not liable for any
damage you may sustain as a result of any virus in this e-mail. You
should carry out your own virus checks before opening the e-mail or
attachment. Infosys reserves the right to monitor and review the content
of all messages sent to or from this e-mail address. Messages sent to or
from this e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***
Re: how to avoid validation
Posted by Srinivas V <vu...@gmail.com>.
For command link
<t:commandLink id="genreport1"
value="#{msgBundle.EPCMGR_Reports_ViewReport}"
action="#{reportsBean.getReport}"
target="_new"
rendered="#{reportsBean.renderViewReport}"
styleClass="kiosk_cmd_link_for_report"
actionFor="inputValuesForm" >
</t:commandLink>
I am getting an exception "Attribute actionFor invalid for tag commandLink
according to TLD"
When is actionFor added?
is it in tomahawk initial release? (myfaces 1.1)
On 3/2/07, Madhav Bhargava <Ma...@infosys.com> wrote:
>
> You can have a look at:
>
> http://www.irian.at/myfaces-sandbox/home.jsf
>
>
>
> On the page you will examples for all the components of sanbox. You can
> look at "SubForm - Partial validation and model update with SubForms<http://www.irian.at/myfaces-sandbox/subForm.jsf>
> "
>
>
>
> Other place you can look for example code is the source repository :
> http://myfaces.apache.org/source-repository.html
>
> You can browse the online source repo and check out the examples. These
> will the same that are present at irian site given above.
>
>
>
> ~madhav
>
>
> ------------------------------
>
> *From:* Srinivas V [mailto:vuyyuru.srinivas@gmail.com]
> *Sent:* Friday, March 02, 2007 2:13 PM
> *To:* MyFaces Discussion
> *Subject:* Re: how to avoid validation
>
>
>
> can you give me an example?
>
> On 3/2/07, *Madhav Bhargava* <Ma...@infosys.com> wrote:
>
> Use subForm component.
>
>
> ------------------------------
>
> *From:* Srinivas V [mailto: vuyyuru.srinivas@gmail.com]
> *Sent:* Friday, March 02, 2007 2:01 PM
> *To:* MyFaces Discussion
> *Subject:* how to avoid validation
>
>
>
>
>
> I have a selectBox, some text boxes and a commandbutton.
>
> on change of select box I need to show some text boxes.
>
> On click of the commandbutton i need to validate the validate the
> textboxes.
>
> But on change of select box it is validating the text boxes.
>
> How to avoid this validation on change of select box for which i submit
> the page?
>
> Any ideas will be appriciated.
>
>
>
> Regards srinivas
>
> **************** CAUTION - Disclaimer *****************
> This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended
> solely for the use of the addressee(s). If you are not the intended
> recipient, please notify the sender by e-mail and delete the original
> message. Further, you are not to copy, disclose, or distribute this e-mail
> or its contents to any other person and any such actions are unlawful. This
> e-mail may contain viruses. Infosys has taken every reasonable precaution to
> minimize this risk, but is not liable for any damage you may sustain as a
> result of any virus in this e-mail. You should carry out your own virus
> checks before opening the e-mail or attachment. Infosys reserves the right
> to monitor and review the content of all messages sent to or from this
> e-mail address. Messages sent to or from this e-mail address may be stored
> on the Infosys e-mail system.
> ***INFOSYS******** End of Disclaimer ********INFOSYS***
>
>
>
RE: how to avoid validation
Posted by Madhav Bhargava <Ma...@infosys.com>.
You can have a look at:
http://www.irian.at/myfaces-sandbox/home.jsf
On the page you will examples for all the components of sanbox. You can
look at "SubForm - Partial validation and model update with SubForms
<http://www.irian.at/myfaces-sandbox/subForm.jsf> "
Other place you can look for example code is the source repository :
http://myfaces.apache.org/source-repository.html
You can browse the online source repo and check out the examples. These
will the same that are present at irian site given above.
~madhav
________________________________
From: Srinivas V [mailto:vuyyuru.srinivas@gmail.com]
Sent: Friday, March 02, 2007 2:13 PM
To: MyFaces Discussion
Subject: Re: how to avoid validation
can you give me an example?
On 3/2/07, Madhav Bhargava <Ma...@infosys.com> wrote:
Use subForm component.
________________________________
From: Srinivas V [mailto: vuyyuru.srinivas@gmail.com]
Sent: Friday, March 02, 2007 2:01 PM
To: MyFaces Discussion
Subject: how to avoid validation
I have a selectBox, some text boxes and a commandbutton.
on change of select box I need to show some text boxes.
On click of the commandbutton i need to validate the validate the
textboxes.
But on change of select box it is validating the text boxes.
How to avoid this validation on change of select box for which i submit
the page?
Any ideas will be appriciated.
Regards srinivas
**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended
solely for the use of the addressee(s). If you are not the intended
recipient, please notify the sender by e-mail and delete the original
message. Further, you are not to copy, disclose, or distribute this
e-mail or its contents to any other person and any such actions are
unlawful. This e-mail may contain viruses. Infosys has taken every
reasonable precaution to minimize this risk, but is not liable for any
damage you may sustain as a result of any virus in this e-mail. You
should carry out your own virus checks before opening the e-mail or
attachment. Infosys reserves the right to monitor and review the content
of all messages sent to or from this e-mail address. Messages sent to or
from this e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***
Re: how to avoid validation
Posted by Srinivas V <vu...@gmail.com>.
can you give me an example?
On 3/2/07, Madhav Bhargava <Ma...@infosys.com> wrote:
>
> Use subForm component.
>
>
> ------------------------------
>
> *From:* Srinivas V [mailto:vuyyuru.srinivas@gmail.com]
> *Sent:* Friday, March 02, 2007 2:01 PM
> *To:* MyFaces Discussion
> *Subject:* how to avoid validation
>
>
>
>
>
> I have a selectBox, some text boxes and a commandbutton.
>
> on change of select box I need to show some text boxes.
>
> On click of the commandbutton i need to validate the validate the
> textboxes.
>
> But on change of select box it is validating the text boxes.
>
> How to avoid this validation on change of select box for which i submit
> the page?
>
> Any ideas will be appriciated.
>
>
>
> Regards srinivas
> **************** CAUTION - Disclaimer *****************
> This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended
> solely for the use of the addressee(s). If you are not the intended
> recipient, please notify the sender by e-mail and delete the original
> message. Further, you are not to copy, disclose, or distribute this e-mail
> or its contents to any other person and any such actions are unlawful. This
> e-mail may contain viruses. Infosys has taken every reasonable precaution to
> minimize this risk, but is not liable for any damage you may sustain as a
> result of any virus in this e-mail. You should carry out your own virus
> checks before opening the e-mail or attachment. Infosys reserves the right
> to monitor and review the content of all messages sent to or from this
> e-mail address. Messages sent to or from this e-mail address may be stored
> on the Infosys e-mail system.
> ***INFOSYS******** End of Disclaimer ********INFOSYS***
>
RE: how to avoid validation
Posted by Madhav Bhargava <Ma...@infosys.com>.
Use subForm component.
________________________________
From: Srinivas V [mailto:vuyyuru.srinivas@gmail.com]
Sent: Friday, March 02, 2007 2:01 PM
To: MyFaces Discussion
Subject: how to avoid validation
I have a selectBox, some text boxes and a commandbutton.
on change of select box I need to show some text boxes.
On click of the commandbutton i need to validate the validate the
textboxes.
But on change of select box it is validating the text boxes.
How to avoid this validation on change of select box for which i submit
the page?
Any ideas will be appriciated.
Regards srinivas
**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***