Re: [jira] Closed: (PIVOT-392) Calendar issue?

2010-07-02 Thread Greg Brown
Verdana, the default font used by Pivot, does not support Chinese characters. However, you can specify a different font when your application starts up using Theme#setFont(). The localization tutorial includes an example of how this can be done automatically: http://pivot.apache.org/tutorials/l

[jira] Commented: (PIVOT-530) Create a doclet for WTKX (BXML)

2010-07-02 Thread Chris Bartlett (JIRA)
[ https://issues.apache.org/jira/browse/PIVOT-530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12884705#action_12884705 ] Chris Bartlett commented on PIVOT-530: -- What are we aiming for here? Documentation of

[jira] Commented: (PIVOT-530) Create a doclet for WTKX (BXML)

2010-07-02 Thread Greg Brown (JIRA)
[ https://issues.apache.org/jira/browse/PIVOT-530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12884708#action_12884708 ] Greg Brown commented on PIVOT-530: -- I think the first two would be sufficient. I imagine th

Re: [jira] Closed: (PIVOT-435) Override Settings of the Skin with Json file

2010-07-02 Thread Sandro Martini
Hi Greg, this is great ... have you got a suggestion to start exploring (in next months) this feature, to prepare a simple tutorial or demos for the 2.0 ? Thanks, Sandro -- View this message in context: http://apache-pivot-developers.417237.n3.nabble.com/jira-Created-PIVOT-435-Override-Setting

Re: [jira] Closed: (PIVOT-435) Override Settings of the Skin with Json file

2010-07-02 Thread Greg Brown
Yes, I will be adding some examples to demonstrate this feature. On Jul 2, 2010, at 11:39 AM, Sandro Martini wrote: > > Hi Greg, > this is great ... have you got a suggestion to start exploring (in next > months) this feature, to prepare a simple tutorial or demos for the 2.0 ? > > Thanks, > Sa

Re: [jira] Closed: (PIVOT-435) Override Settings of the Skin with Json file

2010-07-02 Thread Sandro Martini
Ok, great, thank you very much :-) Bye -- View this message in context: http://apache-pivot-developers.417237.n3.nabble.com/jira-Created-PIVOT-435-Override-Settings-of-the-Skin-with-Json-file-tp456414p938820.html Sent from the Apache Pivot - Developers mailing list archive at Nabble.com.

Re: [jira] Closed: (PIVOT-435) Override Settings of the Skin with Json file

2010-07-02 Thread Greg Brown
Re: Pivot 2.0 - you can see from the road map what features are being considered and/or worked on. If there is something missing that you think should be addressed, feel free to log a ticket for it. On Jul 2, 2010, at 12:38 PM, aappddeevv wrote: > My thought is that this could be useful (I pers

Named styles

2010-07-02 Thread Greg Brown
FYI, named styles are turning out to be a lot more challenging than I expected. The solution I proposed the other day doesn't work - elements in BXML aren't added to the parent element until the end tag is processed. So, given the following structure: when the styleClass attribute

[jira] Created: (PIVOT-559) use a PivotStyle annotation to help identify style properties on objects

2010-07-02 Thread Appddevvv (JIRA)
use a PivotStyle annotation to help identify style properties on objects Key: PIVOT-559 URL: https://issues.apache.org/jira/browse/PIVOT-559 Project: Pivot Issue Type:

Re: Named styles

2010-07-02 Thread Greg Brown
Hi all, I have been thinking about this and I think I have a fairly elegant solution that will also significantly extend the capabilities of BXMLSerializer. I am thinking of extending the tag to support loading of arbitrary content. Currently, it only supports includes of other BXML files, bu

Re: WTKXSerializer -> BeanSerializer

2010-07-02 Thread Michael Allman
On Mon, 19 Apr 2010, Greg Brown wrote: The fact that WTKXSerializer doesn't have any dependencies on WTK is almost a strong enough argument on its own to move it to pivot-core. Maybe it should? WTKX and WTKXSerializer are very elegant in their simplicity, but they aren't as convenient as the

Re: WTKXSerializer -> BeanSerializer

2010-07-02 Thread Michael Allman
I'm going to retract this message indefinitely as upon further reflection I am not fully committed to it. Cheers, Michael On Fri, 2 Jul 2010, Michael Allman wrote: On Mon, 19 Apr 2010, Greg Brown wrote: The fact that WTKXSerializer doesn't have any dependencies on WTK is almost a strong e

Re: WTKXSerializer -> BeanSerializer

2010-07-02 Thread Greg Brown
>> The fact that WTKXSerializer doesn't have any dependencies on WTK is almost >> a strong enough argument on its own to move it to pivot-core. > > Maybe it should? It has been moved to pivot-core and renamed BXMLSerializer for Pivot 2.0. > One thing that's been bugging me as I work on my first

Re: Named styles

2010-07-02 Thread Michael Allman
Hi Greg, How would one specify multiple named styles for a component element? Like Cheers, Michael On Fri, 2 Jul 2010, Greg Brown wrote: Hi all, I have been thinking about this and I think I have a fairly elegant solution that will also significantly extend the capabilities of BXMLSeria

Re: Named styles

2010-07-02 Thread Michael Allman
Hm... why not use a subset of CSS syntax? Define CSS classes inline or in stylesheets and define class attributes on elements? Kinda like html. Cheers, Michael On Wed, 30 Jun 2010, Greg Brown wrote: Hi all, I have recently been giving some thought to how we might support a form of

Re: Named styles

2010-07-02 Thread Sandro Martini
Hi Greg, I like this (great) idea, also the part for inclusion of data inside components, could be very useful. As you said we need a simple (and if possible without typing too much chars :-) ) way to specify the Serializer (short class name, or full class name ?) to use ... maybe only when the de

Re: Named styles

2010-07-02 Thread Greg Brown
I have been thinking about that and I have some ideas. But I would like to understand how often that use case actually comes up. I know CSS supports it, but in practice (in Pivot specifically) I wonder how important it is? On Jul 2, 2010, at 7:30 PM, Michael Allman wrote: > Hi Greg, > > How w

Re: Named styles

2010-07-02 Thread Michael Allman
It would be very premature for me to provide a good example. I've barely started my first Pivot app. Also, I can say that this can't be done with Flex apps either. So I never used it there. Doesn't mean it might not have come in handy once or twice... I dunno. It may be practically useles