You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "shi nong (JIRA)" <de...@myfaces.apache.org> on 2005/12/26 10:23:30 UTC

[jira] Created: (MYFACES-979) the implementation problem of validation

the implementation problem of  validation 
------------------------------------------

         Key: MYFACES-979
         URL: http://issues.apache.org/jira/browse/MYFACES-979
     Project: MyFaces
        Type: Bug
  Components: Implementation  
    Versions: 1.0.9m9, 1.1.1    
    Reporter: shi nong


I am using a commandLink to open a new window to show a report. 
To do this, i use the commandLink option target and set it to _blank. 

When i am now click on this link the first time, my report window is 
opened perfectly. But when i am now pressing a second time the 
link, a new window is opened and the page with the link is show in 
this window and not the report. 

When i use Sun's JSF RI, it works without any problems 
------------------------

Recently I compare the Sun's JSF RI and Myfaces,   I found one problem of myfaces.

If you page has many input tags with validation , just like below 
 
<h:inputText id="qc_1" value="#{tyjqj.indexNumber}" required="true">
	<f:validateLength minimum="4" maximum="8"/>
</h:inputText>
<h:inputText id="qc_2" value="#{tyjqj.indexName}" required="true">
	<f:validateLength minimum="1" maximum="20"/>
</h:inputText>
		

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (MYFACES-979) the implementation problem of validation

Posted by "Martin Marinschek (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/MYFACES-979?page=comments#action_12361235 ] 

Martin Marinschek commented on MYFACES-979:
-------------------------------------------

Can you try again with current SVN head?

that sounds much like the back-button problem which has already been solved...

regards,

Martin

> the implementation problem of  validation
> -----------------------------------------
>
>          Key: MYFACES-979
>          URL: http://issues.apache.org/jira/browse/MYFACES-979
>      Project: MyFaces
>         Type: Bug
>   Components: Implementation
>     Versions: 1.0.9m9, 1.1.1
>     Reporter: shi nong

>
> I am using a commandLink to open a new window to show a report. 
> To do this, i use the commandLink option target and set it to _blank. 
> When i am now click on this link the first time, my report window is 
> opened perfectly. But when i am now pressing a second time the 
> link, a new window is opened and the page with the link is show in 
> this window and not the report. 
> When i use Sun's JSF RI, it works without any problems 
> ------------------------
> Recently I compare the Sun's JSF RI and Myfaces,   I found one problem of myfaces.
> If you page has many input tags with validation , just like below 
>  
> <h:inputText id="qc_1" value="#{tyjqj.indexNumber}" required="true">
> 	<f:validateLength minimum="4" maximum="8"/>
> </h:inputText>
> <h:inputText id="qc_2" value="#{tyjqj.indexName}" required="true">
> 	<f:validateLength minimum="1" maximum="20"/>
> </h:inputText>
> 		

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (MYFACES-979) the implementation problem of validation

Posted by "shi nong (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/MYFACES-979?page=comments#action_12361229 ] 

shi nong commented on MYFACES-979:
----------------------------------

sorry,    "create" before I finsh it , please see this issue in  No 980

> the implementation problem of  validation
> -----------------------------------------
>
>          Key: MYFACES-979
>          URL: http://issues.apache.org/jira/browse/MYFACES-979
>      Project: MyFaces
>         Type: Bug
>   Components: Implementation
>     Versions: 1.0.9m9, 1.1.1
>     Reporter: shi nong

>
> I am using a commandLink to open a new window to show a report. 
> To do this, i use the commandLink option target and set it to _blank. 
> When i am now click on this link the first time, my report window is 
> opened perfectly. But when i am now pressing a second time the 
> link, a new window is opened and the page with the link is show in 
> this window and not the report. 
> When i use Sun's JSF RI, it works without any problems 
> ------------------------
> Recently I compare the Sun's JSF RI and Myfaces,   I found one problem of myfaces.
> If you page has many input tags with validation , just like below 
>  
> <h:inputText id="qc_1" value="#{tyjqj.indexNumber}" required="true">
> 	<f:validateLength minimum="4" maximum="8"/>
> </h:inputText>
> <h:inputText id="qc_2" value="#{tyjqj.indexName}" required="true">
> 	<f:validateLength minimum="1" maximum="20"/>
> </h:inputText>
> 		

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira