Right. That's kind of why I suggested a style sheet parser. The idea is to take some of the styles generated by file roller (the ones that we can) and use them to generate a Trinidad skinning file.
Sent from my iPhone On Jun 20, 2012, at 11:42 AM, Leonardo Uribe <lu4...@gmail.com> wrote: > Hi Walter > > Yes, I know that. There is no stopper that could avoid us to use the > datepicker widget, but note to limit the scope of the work, it sounds > more convenient to take some styles from that widget and make them > "fit" in the current implementation. It will take less time and > effort. Later, we could try to see if we can use the widget. > > regards, > > Leonardo Uribe > > 2012/6/20 Walter Mourão <walter.mou...@gmail.com>: >> Hi Leonard, >> I did not understand very well. >> >> Just take what's useful of >>> jQuery (css stuff) and forget about the rest. >>> >> >> How about the components ? Do you mean we can 'decorate' the inputs and >> other things using only the CSS ? The >> datepicker<http://jqueryui.com/demos/datepicker/>, >> for example, needs some javascript.. >> >> Thanks, >> >> Walter Mourão >> http://waltermourao.com.br >> http://arcadian.com.br >> http://oriens.com.br >> >> >> >> On Wed, Jun 20, 2012 at 12:58 PM, Leonardo Uribe <lu4...@gmail.com> wrote: >> >>> Hi >>> >>> I think it is possible, but note Trinidad skins has a lot more >>> details. In theory >>> you could extract the meta-info of the skin and try to generate a trinidad >>> skin, >>> from a parametrized template, but it is necessary to adjust tha >>> template "at hand". >>> For example, I tried to take casablanca skin, because its selectors are >>> more >>> simple to understand. >>> >>> The idea about create a custom RenderKit from scratch sounds like a lot of >>> work, >>> but if we make some simplifications it could be possible. After all, >>> it should be >>> possible to reuse code from other renderkits. What I like about this >>> is we can do >>> it without change any trinidad internals at all. Just take what's useful of >>> jQuery (css stuff) and forget about the rest. >>> >>> Sounds like something doable in a reasonable amount of time, and maybe it >>> is >>> something with high priority, given the amount of people interested. >>> After all, for >>> now MyFaces Core is in good shape, and there is some time until JSF 2.2. >>> >>> regards, >>> >>> Leonardo Uribe >>> >>> 2012/6/19 Scott O'Bryan <darkar...@gmail.com>: >>>> +1. Theme roller would be cool. The problem is the current skinning >>>> selectors. I'm wondering if themeroller themes couldn't be parsed >>>> into a skin. >>>> >>>> Sent from my iPhone >>>> >>>> On Jun 19, 2012, at 8:08 AM, Leonardo Uribe <lu4...@gmail.com> wrote: >>>> >>>>> Hi >>>>> >>>>> Interesting question. In my opinion, the most interesting part to use >>>>> from jQuery is its jQuery UI CSS Framework. Why? because defining some >>>>> small set of selectors and a "standard" html structure to apply them, >>>>> you can create a custom skin using ThemeRoller application. I tried to >>>>> do something as a "proof of concept" in >>>>> https://issues.apache.org/jira/browse/TRINIDAD-2120 , but after some >>>>> time I found that anyway it is necessary to create a whole RenderKit >>>>> that can fit better with jQuery UI. In that way, some good features >>>>> Trinidad already has will be lost, because jQuery UI is the one who >>>>> impose the restrictions. At the end you can't have everything. In my >>>>> opinion, I would take only jQuery UI CSS Framework, even if that means >>>>> lose some functionality in that mode. Change Trinidad internals to use >>>>> jQuery is overkill. >>>>> >>>>> Suggestions are welcome. >>>>> >>>>> regards, >>>>> >>>>> Leonardo Uribe >>>>> >>>>> 2012/6/19 <siyaphakama.sos...@accenture.com>: >>>>>> Hello Everyone >>>>>> >>>>>> I am a JSF and Trinidad Newbie, I just joined a project at work where >>> it's going to be using Trinidad. I was assigned a task to design some forms >>> and so far I haven't had the best experience with Trinidad, The Date Input >>> keeps giving me errors even though I use the same code as the Trinidad >>> Showcase( >>> http://example.irian.at/trinidad-components-showcase-2012061903/faces/pages/demoStart.xhtml). >>> The Tabbed Panel is not rendering but its showing the content. My >>> conclusion is I'm having issues with components that use JavaScript even >>> the Tree and there are no errors showing on Firebug. Please Help, I'm not >>> sure where I'm going wrong. >>>>>> >>>>>> My Opinion: >>>>>> >>>>>> Trinidad looks like a great component library for JSF, but I think its >>> documentation can use some upgrade, it's confusing for a newbie like me, >>> There is no simple starting point, e.g. a basic guide, where it going to >>> show basic steps to follow, like Primefaces Guide( >>> http://primefaces.org/documentation.html). When I played around with >>> Primefaces everything was straightforward but I wish to utilize Trinidad. >>>>>> >>>>>> Missing Components: >>>>>> >>>>>> Some will agree with me when I say I think a time picker needs to be >>> added to the Trinidad Library. >>>>>> An improved Date Picker would be a plus, Compare the JQuery Date >>> picker and the Trinidad Date Picker. >>>>>> >>>>>> Just My Opition >>>>>> >>>>>> Thank You >>>>>> >>>>>> Siya >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> ________________________________ >>>>>> Subject to local law, communications with Accenture and its affiliates >>> including telephone calls and emails (including content), may be monitored >>> by our systems for the purposes of security and the assessment of internal >>> compliance with Accenture policy. >>>>>> >>> ______________________________________________________________________________________ >>>>>> >>>>>> www.accenture.com >>>>>> >>>