You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Scott MacKenzie (JIRA)" <ji...@apache.org> on 2009/02/12 01:39:59 UTC

[jira] Created: (WICKET-2098) Need to be able to override the way hidden input fields are written out in a form

Need to be able to override the way hidden input fields are written out in a form
---------------------------------------------------------------------------------

                 Key: WICKET-2098
                 URL: https://issues.apache.org/jira/browse/WICKET-2098
             Project: Wicket
          Issue Type: Improvement
          Components: wicket
    Affects Versions: 1.4-RC2
            Reporter: Scott MacKenzie


We are integrating wicket into our project and we need to control some markup which is being written out by the class:
org.apache.wicket.markup.html.form.Form

We have a specific way of writing out hidden form fields in our project and we need to be able to have our wicket forms follow the same standards.  Can we pull the way we write the hidden input block out from onComponentTagBody and move it into another method?

I've attached a diff on a possible way to do this.

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


[jira] Commented: (WICKET-2098) Need to be able to override the way hidden input fields are written out in a form

Posted by "Johan Compagner (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-2098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12672913#action_12672913 ] 

Johan Compagner commented on WICKET-2098:
-----------------------------------------

what is wrong with the current way? what do you want?
And how do you know what to do if you override it? Now you have to look at the sourcecode to see that you will mimic exactly the stuff we do?

> Need to be able to override the way hidden input fields are written out in a form
> ---------------------------------------------------------------------------------
>
>                 Key: WICKET-2098
>                 URL: https://issues.apache.org/jira/browse/WICKET-2098
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.4-RC2
>            Reporter: Scott MacKenzie
>            Priority: Minor
>         Attachments: form-hidden-inputs.diff
>
>
> We are integrating wicket into our project and we need to control some markup which is being written out by the class:
> org.apache.wicket.markup.html.form.Form
> We have a specific way of writing out hidden form fields in our project and we need to be able to have our wicket forms follow the same standards.  Can we pull the way we write the hidden input block out from onComponentTagBody and move it into another method?
> I've attached a diff on a possible way to do this.

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


[jira] Closed: (WICKET-2098) Need to be able to override the way hidden input fields are written out in a form

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

Scott MacKenzie closed WICKET-2098.
-----------------------------------

    Resolution: Won't Fix

> Need to be able to override the way hidden input fields are written out in a form
> ---------------------------------------------------------------------------------
>
>                 Key: WICKET-2098
>                 URL: https://issues.apache.org/jira/browse/WICKET-2098
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.4-RC2
>            Reporter: Scott MacKenzie
>            Priority: Minor
>         Attachments: form-hidden-inputs.diff
>
>
> We are integrating wicket into our project and we need to control some markup which is being written out by the class:
> org.apache.wicket.markup.html.form.Form
> We have a specific way of writing out hidden form fields in our project and we need to be able to have our wicket forms follow the same standards.  Can we pull the way we write the hidden input block out from onComponentTagBody and move it into another method?
> I've attached a diff on a possible way to do this.

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


[jira] Updated: (WICKET-2098) Need to be able to override the way hidden input fields are written out in a form

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

Scott MacKenzie updated WICKET-2098:
------------------------------------

    Attachment: form-hidden-inputs.diff

> Need to be able to override the way hidden input fields are written out in a form
> ---------------------------------------------------------------------------------
>
>                 Key: WICKET-2098
>                 URL: https://issues.apache.org/jira/browse/WICKET-2098
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.4-RC2
>            Reporter: Scott MacKenzie
>         Attachments: form-hidden-inputs.diff
>
>
> We are integrating wicket into our project and we need to control some markup which is being written out by the class:
> org.apache.wicket.markup.html.form.Form
> We have a specific way of writing out hidden form fields in our project and we need to be able to have our wicket forms follow the same standards.  Can we pull the way we write the hidden input block out from onComponentTagBody and move it into another method?
> I've attached a diff on a possible way to do this.

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


[jira] Updated: (WICKET-2098) Need to be able to override the way hidden input fields are written out in a form

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

Scott MacKenzie updated WICKET-2098:
------------------------------------

    Priority: Minor  (was: Major)

> Need to be able to override the way hidden input fields are written out in a form
> ---------------------------------------------------------------------------------
>
>                 Key: WICKET-2098
>                 URL: https://issues.apache.org/jira/browse/WICKET-2098
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.4-RC2
>            Reporter: Scott MacKenzie
>            Priority: Minor
>         Attachments: form-hidden-inputs.diff
>
>
> We are integrating wicket into our project and we need to control some markup which is being written out by the class:
> org.apache.wicket.markup.html.form.Form
> We have a specific way of writing out hidden form fields in our project and we need to be able to have our wicket forms follow the same standards.  Can we pull the way we write the hidden input block out from onComponentTagBody and move it into another method?
> I've attached a diff on a possible way to do this.

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


[jira] Commented: (WICKET-2098) Need to be able to override the way hidden input fields are written out in a form

Posted by "Scott MacKenzie (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-2098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12673018#action_12673018 ] 

Scott MacKenzie commented on WICKET-2098:
-----------------------------------------

I agree, a solution which depends on knowing the source code is not a very good one.  I've asked my web developers to explain the reasons in detail why this is not a good solution for them, apparently they can't.  Thank you for your quick response and sorry to waste your time, I am closing the ticket

> Need to be able to override the way hidden input fields are written out in a form
> ---------------------------------------------------------------------------------
>
>                 Key: WICKET-2098
>                 URL: https://issues.apache.org/jira/browse/WICKET-2098
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.4-RC2
>            Reporter: Scott MacKenzie
>            Priority: Minor
>         Attachments: form-hidden-inputs.diff
>
>
> We are integrating wicket into our project and we need to control some markup which is being written out by the class:
> org.apache.wicket.markup.html.form.Form
> We have a specific way of writing out hidden form fields in our project and we need to be able to have our wicket forms follow the same standards.  Can we pull the way we write the hidden input block out from onComponentTagBody and move it into another method?
> I've attached a diff on a possible way to do this.

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