Hi,

I'm still having problems to take the templates images out of .jar.

I'm trying to take the images that compose the Tab in a TabbedPanel, and
thus, use my own images with my own colors. I got this replacing the images
inside the .jar, but it is not a good approach.

I got use my own css using templateCssPath, but I changed the url for get
images from /MyCTX/images/core/tab
Does anyone have any example about how take the images out of .jar?

The weird thing is that it was supposed to be a simple thing, isn't it?

regards...

Felipe Rodrigues


Musachy Barroso wrote:
> 
> Look at TabContainer.html here:
> 
> http://svn.apache.org/viewvc/struts/struts2/branches/STRUTS_2_0_X/core/src/main/resources/org/apache/struts2/static/dojo/src/widget/templates/
> 
> which is the template used by Dojo to build the widget.
> 
> regards
> musachy
> 
> On 3/16/07, Felipe Rodrigues <[EMAIL PROTECTED]> wrote:
>>
>>
>> But what exactly are the css's that I have to override?
>>
>> I mean, what properties does TabbedPanel allow to set from css?
>> Is there any place to find it out?
>> I'm asking this because I didn't found any place at
>> TabConteiner.csssetting
>> up the font of a Tab.
>>
>> Another question would be, where does dojo set the css classes for this
>> file? Is that important to know or I just have to create a new css file
>> with
>> the same properties and my own values?
>>
>>
>> Felipe
>>
>>
>>
>> Nate Drake wrote:
>> >
>> > Awesome!  I didn't realize that.  Thanks.
>> >
>> > Musachy Barroso <musachy <at> gmail.com> writes:
>> >
>> >>
>> >> You can use the templateCssPath property to point to your css.
>> >>
>> >> musachy
>> >>
>> >
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > For additional commands, e-mail: [EMAIL PROTECTED]
>> >
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/TAbbedPanel-and-CSS-tf3416215.html#a9522435
>> Sent from the Struts - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 
> -- 
> "Hey you! Would you help me to carry the stone?" Pink Floyd
> 
> 

-- 
View this message in context: 
http://www.nabble.com/TAbbedPanel-and-CSS-tf3416215.html#a9574285
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to