Return-Path: Delivered-To: apmail-incubator-pivot-user-archive@minotaur.apache.org Received: (qmail 6174 invoked from network); 17 Nov 2009 18:41:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Nov 2009 18:41:21 -0000 Received: (qmail 1140 invoked by uid 500); 17 Nov 2009 18:41:21 -0000 Delivered-To: apmail-incubator-pivot-user-archive@incubator.apache.org Received: (qmail 1123 invoked by uid 500); 17 Nov 2009 18:41:21 -0000 Mailing-List: contact pivot-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: pivot-user@incubator.apache.org Delivered-To: mailing list pivot-user@incubator.apache.org Received: (qmail 1114 invoked by uid 99); 17 Nov 2009 18:41:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Nov 2009 18:41:21 +0000 X-ASF-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of tvolkert@gmail.com designates 209.85.220.214 as permitted sender) Received: from [209.85.220.214] (HELO mail-fx0-f214.google.com) (209.85.220.214) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Nov 2009 18:41:18 +0000 Received: by fxm6 with SMTP id 6so337409fxm.20 for ; Tue, 17 Nov 2009 10:40:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=fwc+DNz5QeCUoXpTB0Dta8llwM0lgIYQG/q12sizSsU=; b=VrR4aTgx9HDrnpVy2f0ejC1iArqyUg1q60jW68RSUV+Hv7aGUL7lQuRt3fy0xGURXR 0mLegcbpGuu6cTPmQf2wGp0BIzXfqgCOnUUyko9mk/qIwhqJDPoFCs6V6CGZNBTeg013 0NBQPTp1Zps3t0JEmeaPrpiOvtrLYRvzcRtUo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=buVnFZHdCUSzU214jm7X3y1cZr1vo19kWZRkHyjAGxkArqJlavaA6TXj4qOxngtXfO yIa7J7hioSJvDxNN7lF0oUtWVO93Q7x7gcLfGqdnJbknjRB/PIX6rSbWHrcIg+hPzc60 dqLSFHFdA2yxvsnB8ySNiVmbwxCZikJ8HNvGo= MIME-Version: 1.0 Received: by 10.239.237.77 with SMTP id i13mr951499hbp.198.1258483257090; Tue, 17 Nov 2009 10:40:57 -0800 (PST) In-Reply-To: <62b7cb8a0911171025g63600a63o4f4317f4794836c5@mail.gmail.com> References: <62b7cb8a0911170553s2fa78a34o366498264c7be96e@mail.gmail.com> <62b7cb8a0911170605w1aa3edd0g616264832050036@mail.gmail.com> <168ef9ac0911170608g34ad471uc2e9e94e9cf7f0e6@mail.gmail.com> <62b7cb8a0911170610w24659ccbj508730400d039c4e@mail.gmail.com> <62b7cb8a0911171025g63600a63o4f4317f4794836c5@mail.gmail.com> Date: Tue, 17 Nov 2009 13:40:57 -0500 Message-ID: <168ef9ac0911171040n552214eaqbf34913d2d7144f7@mail.gmail.com> Subject: Re: How To Specify Location of Image in wtkx file From: Todd Volkert To: pivot-user@incubator.apache.org Content-Type: multipart/alternative; boundary=00163600d8b67ea3ba0478957742 --00163600d8b67ea3ba0478957742 Content-Type: text/plain; charset=ISO-8859-1 Thanks for the positive feedback, Bob! If you're itching to tackle tickets, we're here to help. These two might be attainable, depending on your area of expertise or how adventurous you are: http://issues.apache.org/jira/browse/PIVOT-28 (Add tick marks to Slider component) The work would be limited to http://svn.apache.org/repos/asf/incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/terra/TerraSliderSkin.javaand would amount to creating a new bean property that governed the tick marks. http://issues.apache.org/jira/browse/PIVOT-35 (Complete Dispatcher support) The work would be limited to http://svn.apache.org/repos/asf/incubator/pivot/trunk/core/src/org/apache/pivot/util/concurrent/Dispatcher.javaand would amount to creating a working thread pool. This one is technically a lot tougher, but in the off-chance that thread pooling is your area of expertise... :) Or if you see an opportunity to fix a bug or implement a new feature, you can always create a new ticket in JIRA and attach the patch to the new ticket :) Cheers, -T On Tue, Nov 17, 2009 at 1:25 PM, Bob Santos wrote: > To the Pivot team, > > Great job on Pivot! > > Although I just started a few hours ago I find myself liking it and I am > planning on using it on a future dev work. > > So how does Pivot get out of incubation and be endorsed by ASF? > > I would like to contribute by fixing bugs but as I was going through the > bugs I find that most of them is out of my league, for now. But if I find > anything I can fix I will definitely help. > > Again, Great Job! > > > Thanks and Regards, > > Bob > > > On Tue, Nov 17, 2009 at 10:10 PM, Bob Santos wrote: > >> I'll do just that. >> >> Thanks again Todd! >> >> >> On Tue, Nov 17, 2009 at 10:08 PM, Todd Volkert wrote: >> >>> We're quick on the draw :) >>> >>> I'd start by studying the WTKX primer ( >>> http://incubator.apache.org/pivot/1.3/tutorials/wtkx_primer.html) -- it >>> explains how WTKX translates to Java API calls. Once you understand how it >>> works, you'll know all the attributes and elements you can use by browsing >>> the Javadocs :) >>> >>> Cheers, >>> -T >>> >>> >>> On Tue, Nov 17, 2009 at 9:05 AM, Bob Santos wrote: >>> >>>> Hi Todd and Greg! >>>> >>>> Thanks for the fastest reply I have ever received for my questions. :) >>>> >>>> You just confirmed my guess earlier. So time for me to learn how to add >>>> resources to the classpath in Maven. >>>> >>>> I'm learning Maven and Pivot at the same time. >>>> >>>> By the way, where can I see a list of the attributes and the styles I >>>> can use? >>>> >>>> >>>> Thanks, >>>> >>>> Bob >>>> >>>> >>>> On Tue, Nov 17, 2009 at 10:01 PM, Greg Brown wrote: >>>> >>>>> Hi Bob, >>>>> >>>>> You need to make sure that the images directory is on your classpath. >>>>> Then you can say: >>>>> >>>>> >>>>> >>>>> where the value of the "image" attribute is simply the name of an image >>>>> on your classpath, using the same syntax you would pass to >>>>> Class#getResourceAsStream(). >>>>> >>>>> Greg >>>>> >>>>> On Nov 17, 2009, at 8:53 AM, Bob Santos wrote: >>>>> >>>>> Hi All! >>>>> >>>>> I am trying to replicate the example in the Labels and Image Views >>>>> section of the tutorials. I've been looking for something that will help me >>>>> in the documentation, unfortunately I found nothing or I'm just looking at >>>>> the wrong places. >>>>> >>>>> I just want to ask how do I specify the location of an image in >>>>> "main.wtkx" located in the "image" folders if I have this directory layout. >>>>> >>>>> I >>>>> >>>>> >>>>> And here's the content of "main.wtkx": >>>>> >>>>> >>>> xmlns:wtkx="http://pivot.apache.org/wtkx" >>>>> xmlns="org.apache.pivot.wtk"> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> Thanks and Regards, >>>>> >>>>> Bob Santos >>>>> >>>>> >>>>> >>>> >>> >> > --00163600d8b67ea3ba0478957742 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks for the positive feedback, Bob!

If you're itching to tack= le tickets, we're here to help.=A0 These two might be attainable, depen= ding on your area of expertise or how adventurous you are:

http://issues.apache.org= /jira/browse/PIVOT-28 (Add tick marks to Slider component)
The work would be limited to http://svn.apache.org/repos/asf/incubator/pivot/trunk/wtk/src/org/apa= che/pivot/wtk/skin/terra/TerraSliderSkin.java and would amount to creat= ing a new bean property that governed the tick marks.

http://issues= .apache.org/jira/browse/PIVOT-35 (Complete Dispatcher support)
The w= ork would be limited to ht= tp://svn.apache.org/repos/asf/incubator/pivot/trunk/core/src/org/apache/piv= ot/util/concurrent/Dispatcher.java and would amount to creating a worki= ng thread pool.=A0 This one is technically a lot tougher, but in the off-ch= ance that thread pooling is your area of expertise... :)

Or if you see an opportunity to fix a bug or implement a new feature, y= ou can always create a new ticket in JIRA and attach the patch to the new t= icket :)

Cheers,
-T

On Tue, Nov= 17, 2009 at 1:25 PM, Bob Santos <bob.santosjr@gmail.com> wrote:
To the Pivot team= ,

Great job on Pivot!

Although I just started a few hours ag= o I find myself liking it and I am planning on using it on a future dev wor= k.

So how does Pivot get out of incubation and be endorsed by ASF?

I would like to contribute by fixing bugs but as I was going through th= e bugs I find that most of them is out of my league, for now. But if I find= anything I can fix I will definitely help.

Again, Great Job!


Thanks and Regards,

Bob
<= div>


On Tue, Nov = 17, 2009 at 10:10 PM, Bob Santos <bob.santosjr@gmail.com> wrote:
I'll do just = that.

Thanks again Todd!


On Tue, Nov 17, 2009 at 10:08 PM, Todd Volkert <tvolkert@gmail.com>= ; wrote:
We're quick o= n the draw :)

I'd start by studying the WTKX primer (http://incubator.apache.org/pivot/1.3/tutorials/wtkx_primer.html) -- it explains how WTKX translates to Java API calls.=A0 Once you under= stand how it works, you'll know all the attributes and elements you can= use by browsing the Javadocs :)

Cheers,
-T

On Tue, Nov 17, 2009 at 9:05 AM, Bob Santos <bob.santosjr@gmail.com> wrote:
Hi Todd and Greg!

Thanks for the fastest reply I have ever received = for my questions. :)

You just confirmed my guess earlier. So time fo= r me to learn how to add resources to the classpath in Maven.

I'= m learning Maven and Pivot at the same time.

By the way, where can I see a list of the attributes and the styles I c= an use?


Thanks,

Bob


On Tue, Nov 17, 2009 at 10= :01 PM, Greg Brown <gkbrown@mac.com> wrote:
Hi Bob,

You need to make sure that = the images directory is on your classpath. Then you can say:

<ImageView image=3D"foo.png"/>

where the value of the "image" attribute is simp= ly the name of an image on your classpath, using the same syntax you would = pass to Class#getResourceAsStream().

Greg

On Nov 17, 2009, at 8= :53 AM, Bob Santos wrote:

Hi = All!

I am trying to replicate the example in the Labels and Image V= iews section of the tutorials. I've been looking for something that wil= l help me in the documentation, unfortunately I found nothing or I'm just looking at the wrong places.<= br>
I just want to ask how do I specify the location of an image in &quo= t;main.wtkx" located in the "image" folders if I have this d= irectory layout.

I <layout.PNG>


And here's the content of "main.wtkx":

<Window = title=3D"Hello Pivot" maximized=3D"true"
=A0=A0=A0 x= mlns:wtkx=3D"http://pivot.apache.org/wtkx"
=A0=A0=A0 xmlns=3D"org.apache.pivot.wtk">
=A0=A0=A0 <con= tent>
=A0=A0=A0 =A0=A0=A0 <BoxPane styles=3D"{padding4, verti= calAlignment'center'}">
=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 &l= t;ImageView image=3D"?" cursor=3D"link" />
=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 <Label text=3D"Add Table" styles= =3D"{font'Georgia bold 10'}" />
=A0=A0=A0 =A0=A0=A0= </BoxPane>
=A0=A0=A0 </content>
</Window>

<= br>Thanks and Regards,

Bob Santos






--00163600d8b67ea3ba0478957742--