myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bernd Bohmann <bernd.bohm...@atanion.com>
Subject Re: AW: Re: [Tobago] How to set individual styles for individual components
Date Mon, 20 Nov 2006 12:08:09 GMT
Hello Helmut,

added a short description to the faq.

Regards

Bernd

swaczinna@wlp-systems.de wrote:
> Hello Bernd,
> 
> thank you for this information. This is what I needed. I'll wait for
> your howto then. You don't need to hurry with the howto. Next week will be ok.
> 
> Regards
> Helmut
> 
> 
>> Hello,
>>
>> with a own theme you can define additonal markup for components that 
>> support the markup property. At this time out, in and box (trunk).
>>
>> I will prepare a short howto for "Own Theme and Custom Markup" later.
>> Because lack of time this won't be finished until tonight :-(
>>
>> Regards
>>
>> Bernd
>>
>> swaczinna@wlp-systems.de wrote:
>>> Hi! 
>>>
>>>  
>>>
>>> In HTML, I write for example: 
>>>
>>>  
>>>
>>> <style> #xyz { color: red; } </style> 
>>>
>>> ... 
>>>
>>> <input type="text" id="xyz" value=""/> 
>>>
>>>  
>>>
>>> In Tobago, I must write: 
>>>
>>>  
>>>
>>> <tc:style> #page1:xyz { color: red; } </tc:style> 
>>>
>>> ...
>>> <tc:page label="Test" id="page1">
>>> ...
>>>
>>> <tc:in value="Test" id="xyz">
>>>
>>> Because Tobago concatenates all hierarchical ids with a colon.
>>> But in style denifitions colons are not allowed for ids. So the style 
>> definition 
>>> has no effect.
>>> Is there a workaround for this problem? Or is there any other way to set the

>>> style for
>>> indiviual components?
>>>
>>> Thanks for any help!
>>> Regards
>>> Helmut
>>>
> 

Mime
View raw message