November 3, 2010  
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30

[00:00:06] <sbryzak> rruss: pong
[00:00:26] <sbryzak> lincolnthree: yes
[00:05:13] <rruss> sbryzak: do you have a document or list that shows issues with GAE?
[00:05:35] <rruss> sbryzak: e.g. what works, what doesn't, why ...
[00:05:44] <sbryzak> rruss: just the ir2 article i wrote a while back
[00:06:15] <rruss> sbryzak: ah ... I wasn't sure if there was any additional work done
[00:06:34] <sbryzak> not since then, it's on the to-do list though
[00:06:41] <sbryzak> once we get the release out :)
[00:08:12] *** bleathem has quit IRC
[00:08:18] *** lightguard_jp has quit IRC
[00:14:58] *** aslak has quit IRC
[00:15:00] *** mbg has quit IRC
[00:24:47] *** mbg has joined #seam-dev
[00:24:47] *** mbg has quit IRC
[00:24:47] *** mbg has joined #seam-dev
[00:31:55] *** rruss has quit IRC
[00:50:20] *** mbg has quit IRC
[01:17:32] *** rruss has joined #seam-dev
[01:35:01] *** lincolnthree has left #seam-dev
[01:36:04] *** tsurdilo has joined #seam-dev
[01:50:00] *** johnament has joined #seam-dev
[02:04:56] *** tsurdilo1 has joined #seam-dev
[02:08:22] *** tsurdilo has quit IRC
[02:10:27] *** rruss has quit IRC
[02:59:07] *** tsurdilo has joined #seam-dev
[03:02:24] *** tsurdilo1 has quit IRC
[03:10:27] *** rruss has joined #seam-dev
[04:20:16] *** mbg has joined #seam-dev
[04:55:42] *** tsurdilo has quit IRC
[07:21:51] *** mbg has left #seam-dev
[07:21:58] *** oskutka has joined #seam-dev
[08:08:09] *** mausbull has joined #seam-dev
[08:08:43] *** mausbull has left #seam-dev
[08:10:04] *** mausbull has joined #seam-dev
[08:28:53] *** stuartdouglas has left #seam-dev
[08:32:37] *** stuartdouglas has joined #seam-dev
[08:33:19] *** stuartdouglas_ has joined #seam-dev
[08:33:19] *** stuartdouglas has quit IRC
[08:33:23] *** stuartdouglas_ is now known as stuartdouglas
[08:51:18] *** marekn has joined #seam-dev
[09:07:19] *** jharting has joined #seam-dev
[09:45:19] *** shervin_a has joined #seam-dev
[10:05:38] *** rruss has quit IRC
[10:13:54] *** plenyi has joined #seam-dev
[10:18:16] *** rruss has joined #seam-dev
[10:21:19] *** aslak has joined #seam-dev
[10:21:19] *** aslak has quit IRC
[10:21:19] *** aslak has joined #seam-dev
[10:43:04] *** rruss has quit IRC
[10:50:31] *** aslak has quit IRC
[10:51:10] *** aslak has joined #seam-dev
[10:59:18] *** aslak has quit IRC
[11:00:10] *** aslak has joined #seam-dev
[11:00:58] *** aslak has quit IRC
[11:01:26] *** aslak has joined #seam-dev
[11:14:18] *** aslak has quit IRC
[11:15:10] *** aslak has joined #seam-dev
[11:24:05] *** johnament has quit IRC
[12:20:55] *** kpiwko has joined #seam-dev
[13:55:43] *** balunasj has joined #seam-dev
[14:06:53] *** rruss has joined #seam-dev
[14:10:28] *** tsurdilo has joined #seam-dev
[14:45:23] *** lightguard_jp has joined #seam-dev
[14:46:44] *** lincolnthree has joined #seam-dev
[15:12:45] *** oskutka has quit IRC
[15:13:52] *** mbg has joined #seam-dev
[15:14:07] *** balunasj has quit IRC
[15:14:29] *** balunasj has joined #seam-dev
[15:29:16] *** jharting has quit IRC
[15:47:57] *** jharting1 has joined #seam-dev
[16:00:25] *** jharting1 has quit IRC
[16:09:25] *** plenyi has quit IRC
[16:27:33] *** kpiwko has quit IRC
[16:33:44] *** jharting has joined #seam-dev
[16:39:10] *** shervin_a has quit IRC
[16:47:07] *** tsurdilo has quit IRC
[16:47:36] *** tsurdilo has joined #seam-dev
[17:33:32] *** marekn has quit IRC
[17:35:30] *** mausbull has quit IRC
[17:55:24] *** varunss1 has joined #seam-dev
[17:56:25] *** varunss1 has left #seam-dev
[18:11:37] *** tsurdilo1 has joined #seam-dev
[18:13:56] *** tsurdilo has quit IRC
[18:22:51] <jbossbot> git [faces] push master 0773080.. Lincoln Baxter, III rebuild
[18:22:51] <jbossbot> git [faces] push master URL: http://github.com/seam/faces/compare/5f21066...0773080
[18:23:09] <lincolnthree> %jbossbot help
[18:23:19] <lincolnthree> %help
[18:27:31] *** tsurdilo2 has joined #seam-dev
[18:29:38] *** tsurdilo1 has quit IRC
[18:59:37] *** varunss1 has joined #seam-dev
[19:01:13] *** varunss1 has quit IRC
[19:32:24] *** jganoff has joined #seam-dev
[20:07:06] <lightguard_jp> Looking at using http://docs.jboss.org/cdi/api/1.0/javax/enterprise/inject/spi/AnnotatedMethod.html I guess I just need to use the wildcard for the generic because I have no idea what it'll be.
[20:14:14] <lincolnthree> lightguard_jp: that's usually the case
[20:14:23] <lincolnthree> though sometimes it's easier just to leave the wildcard out entirely
[20:15:34] <lightguard_jp> Just use the base type?
[20:16:11] <lincolnthree> sometimes it's easier
[20:16:27] <lincolnthree> I start with the <?> wildcard, then remove it if i get in to trouble sometimes
[20:16:40] <lightguard_jp> Fair enough
[20:17:38] *** marekn has joined #seam-dev
[20:22:20] *** marekn has left #seam-dev
[20:27:23] <jganoff> lightguard_jp, you just might end up with more warnings without the generic type (or in your case, the wildcard)
[20:27:28] <jganoff> btw, hello :)
[20:27:34] <lightguard_jp> hehe
[20:27:35] <lightguard_jp> :)
[20:28:00] <lincolnthree> hey jordan :)
[20:28:25] <jganoff> hey lincoln.  man I've been busy
[20:28:31] <lincolnthree> yeah I hear that :(
[20:28:31] <jganoff> how are things going around here?
[20:28:35] <lincolnthree> busy
[20:28:39] <lincolnthree> devoxx is in less than 2 weeks time
[20:28:42] <lincolnthree> ive got nothing yet
[20:29:02] <jganoff> yea, i feel ya.  have had almost no time to work on seam-jms :/
[20:29:14] <jganoff> hopefully pete can find some help for it :(
[20:29:46] <jganoff> that's what I get for joining another open source company :P  no time to work on other open source stuff hehe
[20:30:13] <lincolnthree> I didn't realize your company was an OS company, that's awesome
[20:30:40] <jganoff> yea - been involved with a LOT at pentaho since I started.  it's been great but limits my time to work on other projects ;)
[20:41:58] *** marekn1 has joined #seam-dev
[20:43:58] *** marekn1 has left #seam-dev
[21:12:35] <lincolnthree> Hey aslak - seen this? http://pastebin.com/Bp6RsQH6
[21:12:57] <lincolnthree> When running weld 1.1.0.BetaX on Arquillian Alpha4 weld-embedded-se-1.1
[21:16:41] <lightguard_jp> If I have an object: MyObject<X extends ...> is there any way to do new MyObject<...> if I don't know what X is at compile time?
[21:17:06] <lincolnthree> in a method I assume?
[21:17:21] <stuartdouglas> lightguard_jp: you can just do new MyObject()
[21:17:34] <stuartdouglas> cause of type erasure, it's all the same at runtime
[21:17:36] <lincolnthree> Or you can add a generic type to the method
[21:18:41] <lightguard_jp> Yeah, I guess it doesn't matter that much, the generic type that is
[21:18:57] <lincolnthree> that's kind of what I was saying about dropping the generic when you get stuck ;)
[21:19:05] <lincolnthree> there are just some places it's too nasty to do
[21:19:37] *** rruss has quit IRC
[21:19:51] <stuartdouglas> some places you just have to
[21:21:01] <lightguard_jp> True
[21:24:56] *** balunasj has quit IRC
[21:28:39] *** marekn1 has joined #seam-dev
[21:28:49] *** marekn1 has left #seam-dev
[22:01:07] *** aslak_ has joined #seam-dev
[22:01:07] *** aslak_ has quit IRC
[22:01:07] *** aslak_ has joined #seam-dev
[22:02:04] *** aslak has quit IRC
[22:49:39] *** bleathem has joined #seam-dev
[22:50:00] <bleathem> lincolnthree Hey Linclon...
[22:50:11] <lincolnthree> Hi Brain
[22:50:44] <bleathem> Seam Faces uses the @ViewScope annotation that is in the same package as the JSF ViewScoped annotation, right?
[22:51:11] <bleathem> Did you have to do anything special to "override" the JAS ViewScoped annotation, with the Seam Faces one?
[22:51:26] <bleathem> Or does CDI just "take over"?
[22:52:12] <lincolnthree> Yeah Seam Faces tells CDI to take over.
[22:52:25] <bleathem> How does it tell it to do that?
[22:52:30] <lincolnthree> One moment ;)
[22:52:41] <bleathem> ok!
[22:54:52] <lincolnthree> https://github.com/seam/faces/blob/master/impl/src/main/java/org/jboss/seam/faces/context/FacesAnnotationsAdapterExtension.java
[22:56:02] <bleathem> Cool, thanks!
[22:56:15] <lincolnthree> Np :)
[22:56:43] <lincolnthree> It enforces CDI actually
[22:56:52] <lincolnthree> You can't use @ManagedBean
[22:57:07] <lincolnthree> Or Seam Faces will fail to boot.
[22:57:43] <bleathem> But it doesn't say anything about @ViewScoped
[22:57:54] <bleathem> Why is that?
[22:58:06] <lincolnthree> Because it uses @ViewScoped :)
[22:58:24] <lincolnthree>  @ViewScoped is valid, @ManagedBean is not
[22:58:34] <bleathem> but @ViewScoped is a JSF annotation isn't it?
[22:58:41] <bleathem> or am I confused...
[22:58:43] <lincolnthree> it is
[22:58:45] <lincolnthree> we hijacked it
[22:59:04] <lincolnthree> Because you dont' want 2 bean-containers running
[22:59:09] <bleathem> Did you have to do something special to hijack it? Or does CDI just clobber JSF...
[22:59:37] <lincolnthree> It's all in there.
[22:59:52] 
[22:59:59] <lincolnthree> oh
[22:59:59] <lincolnthree> wait
[23:00:11] <lincolnthree> sorry that's somewhere else.
[23:00:21] <lincolnthree> There is no javax.faces.context.ViewScoped
[23:00:25] <lincolnthree> We created that
[23:00:47] <bleathem> ahh, ok.  that makes sense.
[23:02:51] <bleathem> Hold on, here's the JEE6 javadoc for ViewScoped: http://download.oracle.com/javaee/6/api/javax/faces/bean/ViewScoped.html
[23:03:07] <lincolnthree> oh right
[23:03:08] <lincolnthree> sorry
[23:03:09] <lincolnthree> heh
[23:03:13] <lincolnthree> im distracted
[23:03:18] <bleathem> So that means the important bit is the:  public void aliasJsfScopeIfDetected(@Observes final ProcessAnnotatedType<Object> annotatedType)
[23:03:22] <lincolnthree> we created FlashScoped, now RenderScoped
[23:03:25] <lincolnthree> no actually
[23:03:32] <lincolnthree> we hijack it in ViewScopedExtension
[23:03:57] <lincolnthree> public class ViewScopedExtension implements Extension
[23:03:57] <lincolnthree> {
[23:03:57] <lincolnthree>    public void addScope(@Observes final BeforeBeanDiscovery event)
[23:03:57] <lincolnthree>    {
[23:03:57] <lincolnthree>       event.addScope(ViewScoped.class, true, true);
[23:03:57] <lincolnthree>    }
[23:04:33] <bleathem> So CDI is able to hijack it if beacuse CDI take precedence over JSF?
[23:04:48] <lincolnthree> JSF doesn't make a class a managed bean unless you use @ManagedBean
[23:04:50] <bleathem> Just registering it as a CDI extension is enough?
[23:04:52] <lincolnthree> which Seam Faces rejects
[23:04:56] <bleathem> Oh, ok
[23:05:12] <lincolnthree> of course if you do this in XML it's your own fault
[23:05:14] <lincolnthree> hehe
[23:05:22] <bleathem> It's all coming together now.
[23:05:32] <bleathem> Thanks for taking the time!
[23:05:36] <lincolnthree> np :)
[23:12:52] *** lightguard_jp has quit IRC
[23:24:46] *** rruss has joined #seam-dev
[23:34:12] <bleathem> Hmm... didn't work.  I'll post to the forums so you (or someone else for that matter) can respond at their leisure.
[23:35:07] *** rruss has quit IRC
[23:35:41] *** jganoff has quit IRC
[23:35:45] <lincolnthree> I never read the forums ><
[23:35:47] <lincolnthree> :/
[23:36:03] <bleathem> oh. well I'll send you the link :P
[23:36:32] <bleathem> I can include more context in the forum post.
[23:45:31] <bleathem> Oops.  Apparently "Save" mean "Post"
[23:45:45] <lincolnthree> ;)
[23:45:46] <bleathem> and you can't edit a post.
[23:45:49] <bleathem> Great
[23:45:51] <lincolnthree> :(
[23:46:02] <lincolnthree> I thought you could edit
[23:46:07] <lincolnthree> check the left side bar
[23:46:09] <lincolnthree> near the bottom
[23:46:33] <bleathem> don't see it
[23:46:38] <lincolnthree> link
[23:46:58] <bleathem> http://seamframework.org/Community/HowDoesSeam3FacesHijackTheJSFViewScopedAnnotation
[23:47:18] <bleathem> Guess I'll reply as a continuation
[23:47:38] <lincolnthree> That's funny.
[23:47:41] <lincolnthree> I can edit it :-p
[23:47:51] <bleathem> Can you delete it?
[23:48:00] <lincolnthree>                  Controls
[23:48:00] <lincolnthree> PermLink
[23:48:00] <lincolnthree> WikiLink
[23:48:00] <lincolnthree> Create
[23:48:00] <lincolnthree> Regular Document                                      Weblog Entry                                  EditBrowse
[23:48:06] <lincolnthree> you dont see any of those options?
[23:48:16] <lincolnthree> right above "Built with Seam"
[23:48:48] <bleathem> Nope, I see the brown menu above "Built with Seam"
[23:48:52] <lincolnthree> k
[23:49:21] <lincolnthree> deleted
[23:49:35] <bleathem> Sweet, thanks!  Good to know someone on the "inside" :P
[23:50:19] <bleathem> I'm gonna dig in a little deeper before I post.
[23:50:41] <lincolnthree> :)
[23:51:17] <lincolnthree> ViewScopedExtension, ViewScopedContext
[23:51:23] <lincolnthree> are the two classess

top