[01:05:39] *** jamezp is now known as jamezp_afk [01:39:33] *** tsurdilo1 has joined #seam-dev [01:43:10] *** tsurdilo1 has quit IRC [02:30:36] *** sgilda has joined #seam-dev [02:33:54] *** ssachtleben has quit IRC [02:36:08] *** sgilda has quit IRC [03:03:22] *** flashboss has quit IRC [04:34:47] *** stuartdouglas has quit IRC [04:35:51] *** stuartdouglas has joined #seam-dev [07:33:32] *** koentsje has joined #seam-dev [08:17:31] *** koentsje has quit IRC [10:54:26] *** aslak has joined #seam-dev [10:54:41] *** aslak has quit IRC [11:24:00] *** flashboss has joined #seam-dev [11:26:10] *** flashboss1 has joined #seam-dev [11:26:10] *** flashboss has quit IRC [12:45:43] <flashboss1> jamezp_afk , I tried it but it cannot be taken through expression language. I suppose you thought to use it in a jsp [13:15:48] *** koentsje has joined #seam-dev [14:01:27] *** koentsje has quit IRC [14:13:34] *** kpiwko has joined #seam-dev [14:21:21] *** koentsje has joined #seam-dev [14:23:26] *** flashboss1 has quit IRC [14:24:59] *** sbryzak has quit IRC [15:02:59] *** koentsje has quit IRC [15:46:32] *** flashboss has joined #seam-dev [17:03:40] *** Diablo-D3 has quit IRC [17:24:51] *** jamezp_afk has quit IRC [17:25:47] *** jamezp_afk has joined #seam-dev [17:37:15] *** johnament has joined #seam-dev [17:47:59] *** johnament has quit IRC [18:39:17] *** jamezp_afk is now known as jamezp [18:41:05] <jamezp> flashboss: I would probably expose it through a backing style bean. [18:41:55] <jamezp> It's been a while since I've done any JSP's, you can import statically in JSP's? [18:48:45] <flashboss> jamezp?. no problem [18:49:49] <flashboss> only thinking that anyone'ld prefer use the resource bundle instead of the @MessageBundle because writing a backing bean is minus confortable [18:50:27] <jamezp> Yes, that makes sense. [18:51:05] <flashboss> maybe you could write an automathism for it [18:52:09] <flashboss> for example adding getter method in the annotation implementations?so they can be used inside el [18:52:37] <flashboss> el script read only getter method in the classes [18:53:12] <jamezp> So would making the method in the interface a getter style method work? [18:53:26] <jamezp> e.g. getMyMessage() instead of myMessage? [18:53:36] <flashboss> yes exactly [18:54:03] <jamezp> In that case I would probably just use that in the interface. [18:54:04] <flashboss> but it should be written in the implementation [18:54:26] <flashboss> you need a method as: [18:54:57] <jamezp> Well, the way it works it would have to be in the interface. We use the interface to return the appropriate implementation. [18:55:02] <flashboss> String getMymessages() { return MESSAGES} [18:55:33] <flashboss> you say using inner classes in the interface? [18:57:22] <flashboss> it is an idea?.I should try [18:57:33] <flashboss> maybe there is no need of the authomatism [18:57:49] <jamezp> You could create a Messages class outside that has a bunch of getter methods. [18:58:37] <flashboss> nice?..maybe the inner classes will be finally useful [19:00:13] <flashboss> but I'm sure if the expression language engine can use them [19:00:37] <jamezp> Maybe something like this https://gist.github.com/1116961 [19:01:12] <jamezp> You'd probably have to have the message methods in the interface use getter style naming. [19:02:00] <flashboss> yes?.. I'm using the solder classes instead of jboss logging?.is it the same? [19:02:53] <jamezp> I think so. I looked at the source for it and it seems to be. [19:03:16] <flashboss> ok [20:37:08] *** sannegrinovero has joined #seam-dev [20:49:38] *** cbrock has joined #seam-dev [20:59:19] *** cbrock has quit IRC [21:01:09] *** cbrock has joined #seam-dev [21:01:09] *** cbrock has quit IRC [21:01:09] *** cbrock has joined #seam-dev [21:05:42] <flashboss> nothing to do?.you can use only backing bean :) [21:06:24] <flashboss> first..you need the @Named annotation?but it cannot be used in a interface [21:08:41] <jamezp> Ah, maybe we should ask the Seam guys then :-) I'm not too familiar with Seam. [21:10:10] *** cbrock has quit IRC [21:12:23] <flashboss> it's a rule?. you are forced to call the bean through the implementation class?never with the interfaces [21:12:36] <flashboss> so you should get a @Named annotation in the Mymessages_$bundle [21:12:58] <flashboss> and I understand it is not much elegant :) [21:18:00] <flashboss> jamezp?an other solution could be avoid to use the .i18n extension and use for example _i18n [21:18:15] <flashboss> so it goes in the classloader [21:18:30] <flashboss> and it can be called as resource bundle [21:19:24] <jamezp> We would have to have the solder guys handle that. [21:19:59] <jamezp> We have projects already using that naming convention. [21:21:54] <flashboss> is someone here? [21:23:36] <jamezp> Probably not. kenfinnigan is the one who wrote the Solder integration. [21:38:09] <flashboss> I'ld like join to them?.in theese days I have a few of free time [21:38:28] *** jamezp is now known as jamezp_afk [21:39:46] <flashboss> an other thing jamezp_afk ?. also the internationalization is not ok [21:40:18] <flashboss> I've the locale it but I ever see the strings of the default implementation class [21:40:29] <flashboss> 'it_IT' [21:43:36] *** kpiwko has quit IRC [21:49:15] <flashboss> resolved?. the keys in the properties file need to start with 'get' if I want a final format for expression languae [21:49:53] <flashboss> it is very far away from el?? [21:53:15] <flashboss> I open a jira issue in solder [21:54:27] *** jamezp_afk is now known as jamezp [21:55:27] <jamezp> flashboss: Yeah, we definitely didn't plan for el usage :-) [21:55:59] <jamezp> I'm in the process of a major refactor on the base logging tools now. It should make it a lot easier to extend. [22:02:30] <flashboss> good [22:02:59] <flashboss> I suppose it will be in jboss 8 :) [22:03:28] <jamezp> Indeed it will. Gotta go for now. Might be back later tonight :-) Later [22:03:35] *** jamezp is now known as jamezp_afk [22:04:00] <flashboss> ok [22:18:01] *** ssachtleben has joined #seam-dev [23:07:57] *** hannelita has joined #seam-dev [23:28:16] *** sbryzak has joined #seam-dev [23:43:28] *** johnament has joined #seam-dev