Re: Modifying componentfeedbackpanel output

2018-02-22 Thread Maxim Solodovnik
Here is Quickstart with small customization to feedback message
https://github.com/solomax/custom-feedback

Is it what you want?

On Fri, Feb 23, 2018 at 4:48 AM, Rob Audenaerde
 wrote:
> Can't your front end guy use CSS content to accomplish this?
>
> On Feb 22, 2018 20:39, "Entropy"  wrote:
>
>> I'm not sure what a quickstart would do to demonstrate what I'm after.
>> It's
>> not a bug I am trying to work through, I don't even know how to get control
>> so I can add the tags.  The specific tags I'm adding don't even matter.
>> It's static content, but it has to wrap the message.
>>
>> Just imagine I was trying to wrap the "This field is required" with any
>> arbitrary content inside the innermost tags of the feedback panel.  Like
>> maybe I wanted every message to be "[start]this field is required.[end]".
>> Where would I get control to write that?
>>
>> --
>> Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-
>> f1842947.html
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>



-- 
WBR
Maxim aka solomax

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Modifying componentfeedbackpanel output

2018-02-22 Thread Rob Audenaerde
Can't your front end guy use CSS content to accomplish this?

On Feb 22, 2018 20:39, "Entropy"  wrote:

> I'm not sure what a quickstart would do to demonstrate what I'm after.
> It's
> not a bug I am trying to work through, I don't even know how to get control
> so I can add the tags.  The specific tags I'm adding don't even matter.
> It's static content, but it has to wrap the message.
>
> Just imagine I was trying to wrap the "This field is required" with any
> arbitrary content inside the innermost tags of the feedback panel.  Like
> maybe I wanted every message to be "[start]this field is required.[end]".
> Where would I get control to write that?
>
> --
> Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-
> f1842947.html
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: Modifying componentfeedbackpanel output

2018-02-22 Thread Entropy
I'm not sure what a quickstart would do to demonstrate what I'm after.  It's
not a bug I am trying to work through, I don't even know how to get control
so I can add the tags.  The specific tags I'm adding don't even matter. 
It's static content, but it has to wrap the message.

Just imagine I was trying to wrap the "This field is required" with any
arbitrary content inside the innermost tags of the feedback panel.  Like
maybe I wanted every message to be "[start]this field is required.[end]". 
Where would I get control to write that?

--
Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Modifying componentfeedbackpanel output

2018-02-21 Thread Maxim Solodovnik
no tags :(((

Maybe you can create quickstart project with
1) desired structure
2) your subclass


On Wed, Feb 21, 2018 at 11:01 PM, Entropy  wrote:
> I'm not sure how to make the markup show right in the post.  I'll try
> wrapping it in PRE.
>
> 
>
>
>   //Error: This field is required.
>
>
> 
>
> Anyway, yes, I am subclassing the component feedback, but it adds the
> controls and iterates to produce the messages.  If I just modify the
> contents of that inner span in the html, of course it overwrites everything.
> I would need to get control when the individual message is being worked on,
> AND then inject my boilerplate.
>
> Fortunately, that inner stuff doesn't need to change per message or
> anything.  Just structure so the message will render how they want.
>
> --
> Sent from: 
> http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>



-- 
WBR
Maxim aka solomax

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Modifying componentfeedbackpanel output

2018-02-21 Thread Entropy
I'm not sure how to make the markup show right in the post.  I'll try
wrapping it in PRE.


  

  //Error: This field is required.

  


Anyway, yes, I am subclassing the component feedback, but it adds the
controls and iterates to produce the messages.  If I just modify the
contents of that inner span in the html, of course it overwrites everything. 
I would need to get control when the individual message is being worked on,
AND then inject my boilerplate.  

Fortunately, that inner stuff doesn't need to change per message or
anything.  Just structure so the message will render how they want.

--
Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Modifying componentfeedbackpanel output

2018-02-21 Thread Maxim Solodovnik
It is hard to read your markup :(
You can extend FeedbackPanel and provide your own markup 
Would it work?

On Wed, Feb 21, 2018 at 10:10 PM, Entropy  wrote:
> Ooops, I see nabble is hiding the tags.  Trying again with  and 
>
>   span class="feedbackPanel"
> span class="feedbackPanelERROR"
>   span class="feedbackPanelERROR"i
> aria-hidden="true" class="fas fa-exclamation-triangle" title="Error
> "/ispan class="sr-only"Error: /spanThis field is
> required./span
> /span
>   /span
>
>
>
>
> --
> Sent from: 
> http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>



-- 
WBR
Maxim aka solomax

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Modifying componentfeedbackpanel output

2018-02-21 Thread Entropy
Ooops, I see nabble is hiding the tags.  Trying again with  and 

  span class="feedbackPanel"
span class="feedbackPanelERROR"
  span class="feedbackPanelERROR"i
aria-hidden="true" class="fas fa-exclamation-triangle" title="Error
"/ispan class="sr-only"Error: /spanThis field is
required./span
/span
  /span




--
Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org