You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Helmut Swaczinna (JIRA)" <de...@myfaces.apache.org> on 2007/02/07 11:59:06 UTC

[jira] Created: (TOBAGO-273) Having a tc:command tag for change in tc:in would be useful

Having a tc:command tag for change in tc:in would be useful
-----------------------------------------------------------

                 Key: TOBAGO-273
                 URL: https://issues.apache.org/jira/browse/TOBAGO-273
             Project: MyFaces Tobago
          Issue Type: Improvement
          Components: Core
    Affects Versions: 1.0.10
         Environment: All
            Reporter: Helmut Swaczinna


With a tc:command tag for change in tc:in it would be possible to execute some server side
action when the user changes the content of a input field.

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


[jira] Commented: (TOBAGO-273) Having a tc:command tag for change in tc:in would be useful

Posted by "Guido Dubois (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOBAGO-273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12476709 ] 

Guido Dubois commented on TOBAGO-273:
-------------------------------------

It works! Thanks. 

The only thing: In one case I want to use this in a popup box. When I change the value of the first field, I am able now to update the content of another field. But the cursor jumps into the first editable field of the background form.

> Having a tc:command tag for change in tc:in would be useful
> -----------------------------------------------------------
>
>                 Key: TOBAGO-273
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-273
>             Project: MyFaces Tobago
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.0.10
>         Environment: All
>            Reporter: Helmut Swaczinna
>         Assigned To: Bernd Bohmann
>             Fix For: 1.0.10
>
>
> With a tc:command tag for change in tc:in it would be possible to execute some server side
> action when the user changes the content of a input field.

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


[jira] Commented: (TOBAGO-273) Having a tc:command tag for change in tc:in would be useful

Posted by "Guido Dubois (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOBAGO-273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12479331 ] 

Guido Dubois commented on TOBAGO-273:
-------------------------------------

Hello Bernd,

it works fine, but I have a site with tabpanes. If I click to another tab the change action is executed (the value for the second field is calculated and set) but the pane doesn't change. The tabchange event is consumed...

Is it possible to extend the functionality that the tab change anyway?

Another thing:
The page is completly submited for this behaviour. So the page will be reloaded every time. That's in some cases with many fields very slow. Is it possible to do this with an XMLHttpRequest that only the value for the second field is calculated and reloaded?

> Having a tc:command tag for change in tc:in would be useful
> -----------------------------------------------------------
>
>                 Key: TOBAGO-273
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-273
>             Project: MyFaces Tobago
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.0.10
>         Environment: All
>            Reporter: Helmut Swaczinna
>         Assigned To: Bernd Bohmann
>             Fix For: 1.0.10
>
>
> With a tc:command tag for change in tc:in it would be possible to execute some server side
> action when the user changes the content of a input field.

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


[jira] Commented: (TOBAGO-273) Having a tc:command tag for change in tc:in would be useful

Posted by "Guido Dubois (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOBAGO-273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12474574 ] 

Guido Dubois commented on TOBAGO-273:
-------------------------------------

Yes, thats a functionality I need too (urgently).

I have an input field <tx:in>. If the value changed (lost focus) I want to invoke a bean method to validate the value and if it's fine, I want to calculate a second value and display in another <tx:in disabled="true"> field.

I have tried to get working Ajax4jsf with tobago to solve this problem. But Ajax4jsf doesn't work together with the tobago renderer.

@Volker Weber: Have you a quick workaround for this behaviour?

> Having a tc:command tag for change in tc:in would be useful
> -----------------------------------------------------------
>
>                 Key: TOBAGO-273
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-273
>             Project: MyFaces Tobago
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.0.10
>         Environment: All
>            Reporter: Helmut Swaczinna
>
> With a tc:command tag for change in tc:in it would be possible to execute some server side
> action when the user changes the content of a input field.

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


[jira] Commented: (TOBAGO-273) Having a tc:command tag for change in tc:in would be useful

Posted by "Guido Dubois (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOBAGO-273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12476015 ] 

Guido Dubois commented on TOBAGO-273:
-------------------------------------

I tried this with the nightly build from 26.02.2007 5:11. I can't see any effect. Is it already included in this build?

Perhaps I made it not right. Could you give a small howto example?

Thanks, Guido

> Having a tc:command tag for change in tc:in would be useful
> -----------------------------------------------------------
>
>                 Key: TOBAGO-273
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-273
>             Project: MyFaces Tobago
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.0.10
>         Environment: All
>            Reporter: Helmut Swaczinna
>         Assigned To: Bernd Bohmann
>             Fix For: 1.0.10
>
>
> With a tc:command tag for change in tc:in it would be possible to execute some server side
> action when the user changes the content of a input field.

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


[jira] Resolved: (TOBAGO-273) Having a tc:command tag for change in tc:in would be useful

Posted by "Bernd Bohmann (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TOBAGO-273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bernd Bohmann resolved TOBAGO-273.
----------------------------------

    Resolution: Fixed

> Having a tc:command tag for change in tc:in would be useful
> -----------------------------------------------------------
>
>                 Key: TOBAGO-273
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-273
>             Project: MyFaces Tobago
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.0.10
>         Environment: All
>            Reporter: Helmut Swaczinna
>         Assigned To: Bernd Bohmann
>             Fix For: 1.0.10
>
>
> With a tc:command tag for change in tc:in it would be possible to execute some server side
> action when the user changes the content of a input field.

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


[jira] Commented: (TOBAGO-273) Having a tc:command tag for change in tc:in would be useful

Posted by "Guido Dubois (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOBAGO-273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12476016 ] 

Guido Dubois commented on TOBAGO-273:
-------------------------------------

One thing more: Is it possible to implement the same behaviour for <tx:in> tag?

> Having a tc:command tag for change in tc:in would be useful
> -----------------------------------------------------------
>
>                 Key: TOBAGO-273
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-273
>             Project: MyFaces Tobago
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.0.10
>         Environment: All
>            Reporter: Helmut Swaczinna
>         Assigned To: Bernd Bohmann
>             Fix For: 1.0.10
>
>
> With a tc:command tag for change in tc:in it would be possible to execute some server side
> action when the user changes the content of a input field.

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


[jira] Commented: (TOBAGO-273) Having a tc:command tag for change in tc:in would be useful

Posted by "Bernd Bohmann (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOBAGO-273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12476751 ] 

Bernd Bohmann commented on TOBAGO-273:
--------------------------------------

you can configure the focus with the focusId attribute of tc:page

http://myfaces.apache.org/tobago/tobago-core/tlddoc/tc/page.html 

> Having a tc:command tag for change in tc:in would be useful
> -----------------------------------------------------------
>
>                 Key: TOBAGO-273
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-273
>             Project: MyFaces Tobago
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.0.10
>         Environment: All
>            Reporter: Helmut Swaczinna
>         Assigned To: Bernd Bohmann
>             Fix For: 1.0.10
>
>
> With a tc:command tag for change in tc:in it would be possible to execute some server side
> action when the user changes the content of a input field.

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


[jira] Commented: (TOBAGO-273) Having a tc:command tag for change in tc:in would be useful

Posted by "Bernd Bohmann (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOBAGO-273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12476023 ] 

Bernd Bohmann commented on TOBAGO-273:
--------------------------------------

Something like this should work
<tc:in >
  <f:facet name="change">
       <tc:command action="#{test.layout}" />
  </f:facet>
</tc:in>

it's not official it should work tx:in tc:date and tx:date.
I'm not happy with the date because the command is not invoked if you are using the datepicker.

> Having a tc:command tag for change in tc:in would be useful
> -----------------------------------------------------------
>
>                 Key: TOBAGO-273
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-273
>             Project: MyFaces Tobago
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.0.10
>         Environment: All
>            Reporter: Helmut Swaczinna
>         Assigned To: Bernd Bohmann
>             Fix For: 1.0.10
>
>
> With a tc:command tag for change in tc:in it would be possible to execute some server side
> action when the user changes the content of a input field.

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