You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Santiago Aucejo (JIRA)" <ji...@apache.org> on 2008/02/06 12:05:08 UTC

[jira] Created: (WICKET-1325) according to Ajax-Feedback-Problem-in-1.3 at nabble-forum-wicket-user

according to Ajax-Feedback-Problem-in-1.3 at nabble-forum-wicket-user
---------------------------------------------------------------------

                 Key: WICKET-1325
                 URL: https://issues.apache.org/jira/browse/WICKET-1325
             Project: Wicket
          Issue Type: Test
    Affects Versions: 1.3.0-final, 1.2.6
         Environment: MS XP, Java5, Eclipse3.3europe
            Reporter: Santiago Aucejo
            Priority: Trivial


As described in Ajax-Feedback-Problem-in-1.3 in the nabble forum "wicket-user" there is a Problem with the validation, wich i had not been able to solve.
The validation works fine in 1.2.6 but does not in 1.3 .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (WICKET-1325) according to Ajax-Feedback-Problem-in-1.3 at nabble-forum-wicket-user

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-1325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Vaynberg resolved WICKET-1325.
-----------------------------------

    Resolution: Invalid
      Assignee: Igor Vaynberg

add this to the ajax behavior you add to the birthDateComponent

                       @Override
			protected void onError(AjaxRequestTarget target, RuntimeException e)
			{
				target.addComponent(birthDateComponent);
			}

> according to Ajax-Feedback-Problem-in-1.3 at nabble-forum-wicket-user
> ---------------------------------------------------------------------
>
>                 Key: WICKET-1325
>                 URL: https://issues.apache.org/jira/browse/WICKET-1325
>             Project: Wicket
>          Issue Type: Test
>    Affects Versions: 1.2.6, 1.3.0-final
>         Environment: MS XP, Java5, Eclipse3.3europe
>            Reporter: Santiago Aucejo
>            Assignee: Igor Vaynberg
>            Priority: Trivial
>         Attachments: ValidationTest.iamzip
>
>
> As described in Ajax-Feedback-Problem-in-1.3 in the nabble forum "wicket-user" there is a Problem with the validation, wich i had not been able to solve.
> The validation works fine in 1.2.6 but does not in 1.3 .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (WICKET-1325) according to Ajax-Feedback-Problem-in-1.3 at nabble-forum-wicket-user

Posted by "Santiago Aucejo (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-1325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Santiago Aucejo updated WICKET-1325:
------------------------------------

    Attachment: ValidationTest.iamzip

Here there are the two examples in one zipfile.

> according to Ajax-Feedback-Problem-in-1.3 at nabble-forum-wicket-user
> ---------------------------------------------------------------------
>
>                 Key: WICKET-1325
>                 URL: https://issues.apache.org/jira/browse/WICKET-1325
>             Project: Wicket
>          Issue Type: Test
>    Affects Versions: 1.2.6, 1.3.0-final
>         Environment: MS XP, Java5, Eclipse3.3europe
>            Reporter: Santiago Aucejo
>            Priority: Trivial
>         Attachments: ValidationTest.iamzip
>
>
> As described in Ajax-Feedback-Problem-in-1.3 in the nabble forum "wicket-user" there is a Problem with the validation, wich i had not been able to solve.
> The validation works fine in 1.2.6 but does not in 1.3 .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (WICKET-1325) according to Ajax-Feedback-Problem-in-1.3 at nabble-forum-wicket-user

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-1325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12567688#action_12567688 ] 

Igor Vaynberg commented on WICKET-1325:
---------------------------------------

you are welcome

> according to Ajax-Feedback-Problem-in-1.3 at nabble-forum-wicket-user
> ---------------------------------------------------------------------
>
>                 Key: WICKET-1325
>                 URL: https://issues.apache.org/jira/browse/WICKET-1325
>             Project: Wicket
>          Issue Type: Test
>    Affects Versions: 1.2.6, 1.3.0-final
>         Environment: MS XP, Java5, Eclipse3.3europe
>            Reporter: Santiago Aucejo
>            Assignee: Igor Vaynberg
>            Priority: Trivial
>         Attachments: ValidationTest.iamzip
>
>
> As described in Ajax-Feedback-Problem-in-1.3 in the nabble forum "wicket-user" there is a Problem with the validation, wich i had not been able to solve.
> The validation works fine in 1.2.6 but does not in 1.3 .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (WICKET-1325) according to Ajax-Feedback-Problem-in-1.3 at nabble-forum-wicket-user

Posted by "Santiago Aucejo (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-1325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12566520#action_12566520 ] 

Santiago Aucejo commented on WICKET-1325:
-----------------------------------------

Well that does not work either, sorry.

When I add this to the birthDateComponent, what should happen? This component is not set required!
e.g.:
when you enter a birthdate the ageY or the ageD will be calculated in order if you are older than one Year or not.
If you leave this field blank,  allright.
But the fields AgeY and AgeD have to be set, wether to a value or to 0 (zero, null is not allowed).
That is because you can calculate an Age out of a Date but not vice versa.

When I add these lines to e.g. ageInYearsComponent and clean the AgeY field and press enter or TAB an Ajax call should happen and the feedbackpanel should be drawn.
That does not happen with the 1.3, even not with these additional lines.
When I press the button, the feedbackpanel shows up, allright.
But that should happen as a result of the ajax-call, too.



> according to Ajax-Feedback-Problem-in-1.3 at nabble-forum-wicket-user
> ---------------------------------------------------------------------
>
>                 Key: WICKET-1325
>                 URL: https://issues.apache.org/jira/browse/WICKET-1325
>             Project: Wicket
>          Issue Type: Test
>    Affects Versions: 1.2.6, 1.3.0-final
>         Environment: MS XP, Java5, Eclipse3.3europe
>            Reporter: Santiago Aucejo
>            Assignee: Igor Vaynberg
>            Priority: Trivial
>         Attachments: ValidationTest.iamzip
>
>
> As described in Ajax-Feedback-Problem-in-1.3 in the nabble forum "wicket-user" there is a Problem with the validation, wich i had not been able to solve.
> The validation works fine in 1.2.6 but does not in 1.3 .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (WICKET-1325) according to Ajax-Feedback-Problem-in-1.3 at nabble-forum-wicket-user

Posted by "Santiago Aucejo (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-1325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12567546#action_12567546 ] 

Santiago Aucejo commented on WICKET-1325:
-----------------------------------------

Thank you. Now it works (the Wicket way)!
Thank you for the time you spent on that.


> according to Ajax-Feedback-Problem-in-1.3 at nabble-forum-wicket-user
> ---------------------------------------------------------------------
>
>                 Key: WICKET-1325
>                 URL: https://issues.apache.org/jira/browse/WICKET-1325
>             Project: Wicket
>          Issue Type: Test
>    Affects Versions: 1.2.6, 1.3.0-final
>         Environment: MS XP, Java5, Eclipse3.3europe
>            Reporter: Santiago Aucejo
>            Assignee: Igor Vaynberg
>            Priority: Trivial
>         Attachments: ValidationTest.iamzip
>
>
> As described in Ajax-Feedback-Problem-in-1.3 in the nabble forum "wicket-user" there is a Problem with the validation, wich i had not been able to solve.
> The validation works fine in 1.2.6 but does not in 1.3 .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (WICKET-1325) according to Ajax-Feedback-Problem-in-1.3 at nabble-forum-wicket-user

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-1325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12566682#action_12566682 ] 

Igor Vaynberg commented on WICKET-1325:
---------------------------------------

ah yes, forgot the missing piece. sorry. in that feedbacktextfield remove all that ifeedback stuff, and simply do

oncomponenttag(tag) {
  if (!isvalid()) {
     appenderrorstyle();
  } else {
     appendnormalstyle();
  }
}

all that feedback stuff you are doing is way over engineered.

> according to Ajax-Feedback-Problem-in-1.3 at nabble-forum-wicket-user
> ---------------------------------------------------------------------
>
>                 Key: WICKET-1325
>                 URL: https://issues.apache.org/jira/browse/WICKET-1325
>             Project: Wicket
>          Issue Type: Test
>    Affects Versions: 1.2.6, 1.3.0-final
>         Environment: MS XP, Java5, Eclipse3.3europe
>            Reporter: Santiago Aucejo
>            Assignee: Igor Vaynberg
>            Priority: Trivial
>         Attachments: ValidationTest.iamzip
>
>
> As described in Ajax-Feedback-Problem-in-1.3 in the nabble forum "wicket-user" there is a Problem with the validation, wich i had not been able to solve.
> The validation works fine in 1.2.6 but does not in 1.3 .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.