Re: Dynamic AJAX text in WebMarkupContainer

2011-06-12 Thread Josh Kamau
Scott,

What if you use a label(with a span) inside your jq-styled component, then
you call renderBodyOnly on the label ? The idea is to put content inside
your jq-styled component.

Josh.

On Sun, Jun 12, 2011 at 4:54 AM, Scott Reed  wrote:

> Thank you, Benoît.
>
> I am not familiar enough with the inner workings of Wicket to know how to
> rewrite the tag changes. I looked at the source code and can see that it's
> not that simple. Can you (or anyone else here) point me to some examples or
> explanatory documentation that might help me.
>
> I'm also not clear why I need to create a Form based on text (Label?) when
> all I want is a version of Label that does not override the jQM styling.
>
>   Scott
>
>
> On 6/11/2011 3:29 PM, Benoît de Biolley wrote:
>
>> Hi Scott,
>> you can write your own FormComponent based on the textComponent,
>> just rewrite the methods that changes the  tags.
>>
>> I did it with a panel, so I tooks the code from wicket panel.
>>
>>
>>
>>
>>
>>
>>
>> Benoît de Biolley
>>
>>
>>
>>
>>
>>
>>
>>
>>  Date: Sat, 11 Jun 2011 00:03:36 -0400
>>> From: sr...@avacoda.com
>>> To: users@wicket.apache.org
>>> Subject: Dynamic AJAX text in WebMarkupContainer
>>>
>>> I am using Wicket with jQuery Mobile. I cannot use Wicket Label because
>>> it interferes with (eliminates) the jQM styling. I am using
>>> WebMarkupContainer for most components but I need to have dynamic AJAX
>>> text and would appreciate help on how  to do it with WebMarkupContainer
>>> or any other ideas on how to resolve this issue.
>>>Thanks,
>>>  Scott
>>>
>>> -
>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>>
>>>
>>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: Dynamic AJAX text in WebMarkupContainer

2011-06-11 Thread Scott Reed

Thank you, Benoît.

I am not familiar enough with the inner workings of Wicket to know how 
to rewrite the tag changes. I looked at the source code and can see that 
it's not that simple. Can you (or anyone else here) point me to some 
examples or explanatory documentation that might help me.


I'm also not clear why I need to create a Form based on text (Label?) 
when all I want is a version of Label that does not override the jQM 
styling.


   Scott

On 6/11/2011 3:29 PM, Benoît de Biolley wrote:

Hi Scott,
you can write your own FormComponent based on the textComponent,
just rewrite the methods that changes the  tags.

I did it with a panel, so I tooks the code from wicket panel.







Benoît de Biolley









Date: Sat, 11 Jun 2011 00:03:36 -0400
From: sr...@avacoda.com
To: users@wicket.apache.org
Subject: Dynamic AJAX text in WebMarkupContainer

I am using Wicket with jQuery Mobile. I cannot use Wicket Label because
it interferes with (eliminates) the jQM styling. I am using
WebMarkupContainer for most components but I need to have dynamic AJAX
text and would appreciate help on how  to do it with WebMarkupContainer
or any other ideas on how to resolve this issue.
Thanks,
  Scott

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





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



RE: Dynamic AJAX text in WebMarkupContainer

2011-06-11 Thread Benoît de Biolley

Hi Scott,
you can write your own FormComponent based on the textComponent,
just rewrite the methods that changes the  tags.

I did it with a panel, so I tooks the code from wicket panel.

 





Benoît de Biolley








> Date: Sat, 11 Jun 2011 00:03:36 -0400
> From: sr...@avacoda.com
> To: users@wicket.apache.org
> Subject: Dynamic AJAX text in WebMarkupContainer
> 
> I am using Wicket with jQuery Mobile. I cannot use Wicket Label because 
> it interferes with (eliminates) the jQM styling. I am using 
> WebMarkupContainer for most components but I need to have dynamic AJAX 
> text and would appreciate help on how  to do it with WebMarkupContainer 
> or any other ideas on how to resolve this issue.
>Thanks,
>  Scott
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 
  

Dynamic AJAX text in WebMarkupContainer

2011-06-10 Thread Scott Reed
I am using Wicket with jQuery Mobile. I cannot use Wicket Label because 
it interferes with (eliminates) the jQM styling. I am using 
WebMarkupContainer for most components but I need to have dynamic AJAX 
text and would appreciate help on how  to do it with WebMarkupContainer 
or any other ideas on how to resolve this issue.

  Thanks,
Scott

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