| time |
nick |
message |
04:04 |
<user5> |
hi there is anyone online :D need help badly |
05:02 |
<adollfff> |
hi |
05:03 |
<adollfff> |
why is my image.jpg doesnt show up using facelet and richfaces |
05:03 |
<adollfff> |
it is included in a template file. |
05:04 |
<adollfff> |
i used <ui:include src="heading.xhmtl" /> |
05:04 |
<adollfff> |
where heading.xhtml contains the logo.jpg |
05:04 |
<adollfff> |
it doesnt show up |
05:11 |
<adollfff> |
should i convert it to .gif or .png |
05:11 |
<adollfff> |
? |
05:11 |
<jdlee> |
~pastebin |
05:11 |
<javabot> |
http://rifers.org/paste |
05:11 |
<jdlee> |
you have until this download of glassfish and jetty are done, then I'm going to bed :P |
05:16 |
<jdlee> |
jdlee slinks off |
05:36 |
<adollfff> |
@jdlee hello this is my souce code http://pastebin.com/m224d6f35 |
05:37 |
<adollfff> |
why is my .jpg doesnt display |
05:39 |
<adollfff> |
http://pastebin.com/m5039675b |
05:40 |
<adollfff> |
the logo appears in the web page editor |
06:08 |
<cofeineSunshine> |
adollfff: |
06:09 |
<cofeineSunshine> |
why does heading1.xhtml template has <head>&<body> tags? |
06:10 |
<cofeineSunshine> |
adollfff: pus some work on this example: https://facelets.dev.java.net/nonav/.../docbook.html#gettingstarted-view-guess |
06:11 |
<cofeineSunshine> |
~facelets |
06:11 |
<javabot> |
cofeineSunshine, facelets is a powerful templating system that allows you to define JSF views using HTML-style templates, reduces the amount of code necessary to integrate components into the view, is not dependent on a specific Web Container, and works with JSF 1.1 and JSF 1.2, including Sun's RI and Apache MyFaces.. Online book https://facelets.dev.java.net/nonav/docs/dev/docbook.html |
06:11 |
<cofeineSunshine> |
~tell adollfff facelets |
06:11 |
<javabot> |
The syntax is: tell nick about factoid - you missed out the 'about', cofeineSunshine |
06:11 |
<cofeineSunshine> |
~tell adollfff about facelets |
06:11 |
<javabot> |
adollfff, facelets is a powerful templating system that allows you to define JSF views using HTML-style templates, reduces the amount of code necessary to integrate components into the view, is not dependent on a specific Web Container, and works with JSF 1.1 and JSF 1.2, including Sun's RI and Apache MyFaces.. Online book https://facelets.dev.java.net/nonav/docs/dev/docbook.html |
06:11 |
<cofeineSunshine> |
:) |
06:11 |
<cofeineSunshine> |
and good morninng to everyone! |
06:15 |
<adollfff> |
cofieneSunshine so i have to remove them |
06:15 |
<adollfff> |
? tnx |
06:15 |
<adollfff> |
good morning |
06:16 |
<adollfff> |
cofeineSunshine nice |
06:17 |
<cofeineSunshine> |
adollfff: yes, look at the example i gave from facelets documentation |
06:17 |
<adollfff> |
yes tnx |
06:21 |
<adollfff> |
actually its a nested template |
06:21 |
<adollfff> |
index.xhtml ---> fron_page.xhmtl -->main.xhtml |
06:23 |
<adollfff> |
is 2 level template nesting a good practice |
06:23 |
<adollfff> |
? |
06:24 |
<cofeineSunshine> |
adollfff: and again: documentation: https://facelets.dev.java.net/nonav/docs/dev/docbook.html#template-detail-deep |
06:25 |
<cofeineSunshine> |
yes, it is good practice as long as it is simple and understandable to new development players;) |
06:26 |
<adollfff> |
yes tnx |
06:28 |
<adollfff> |
last question can a root tag be other than <html> like |
06:28 |
<adollfff> |
<rich:panel xmlns=f:"blah" > |
06:29 |
<adollfff> |
in my case where you said i have to strip off <html> and <body> tags |
06:30 |
<adollfff> |
richfaces still cant read my image file |
06:32 |
<cofeineSunshine> |
ghm |
06:32 |
<cofeineSunshine> |
try insert that image with <img tag |
06:32 |
<cofeineSunshine> |
on index.xhtml |
06:32 |
<cofeineSunshine> |
maybe path is wrong |
06:33 |
<cofeineSunshine> |
or there is no image at all |
06:33 |
<adollfff> |
its funny it doesnt show up |
06:33 |
<adollfff> |
i have a visual page editor it appears there |
06:46 |
<AdrienC> |
hi |
06:48 |
<adollfff> |
it really doesnt show up |
06:50 |
<adollfff> |
have anyone of you encountered this the image doesnt display .jpg |
07:03 |
<cofeineSunshine> |
i dont trust visual page editor |
07:03 |
<cofeineSunshine> |
adollfff: try to look at the source |
07:04 |
<cofeineSunshine> |
is there any img tag? |
07:04 |
<cofeineSunshine> |
or try to search for for text "jpg" |
07:17 |
<adollfff> |
yes i will tnx |
07:29 |
<adollfff> |
this is weird i cant believe it doesnt appear i am using xhtml |
07:29 |
<adollfff> |
i mean the images in jsf |
07:36 |
<adollfff> |
i read it has something to do with .xhtml because large image file has problem displaying in mobile phones |
07:36 |
<adollfff> |
im not sure |
07:39 |
<adollfff> |
this is weird anyone has idea |
09:19 |
<b52sky> |
hi |
09:20 |
<b52sky> |
http://pastebin.com/m31bfb5e6 ppl could anybody give me a help with this |
09:21 |
<b52sky> |
i got this when starting my tomcat |
09:31 |
<edburns> |
b52sky: First, I suggest you use glassfish. Please check out channel #glassfish-webtier for more. |
09:32 |
<edburns> |
b52sky: Second, have you followed exactly the instructions on how to install the JSF implementation into Tomcat? |
09:32 |
<b52sky> |
edburns, wa all people are glassfich supporter :D in freenode :) ; well i am training for a job related and the comap use tomcat , so i will stick with it ! biut thanks for the advice |
09:33 |
<b52sky> |
edburns, i am using myeclipse plugin |
09:33 |
<edburns> |
b52sky: I've never used that so I don't think I'm the most effective use of our time on this. |
09:33 |
<b52sky> |
edburns, hm ok |
09:46 |
<pietia> |
edburns, why glassfish ? |
09:46 |
<pietia> |
not WASCE or sth |
09:47 |
<jottinger> |
because WAS kinda sucks |
09:47 |
<jottinger> |
WASCE is better than WAS but lacks monolithic character |
09:47 |
<jottinger> |
and Glassfish is the reference impl for Java EE |
09:47 |
<pietia> |
jottinger, WASCE also .. (?) |
09:47 |
<edburns> |
b52sky: 1. Glassfish has BEA WebLogic features (management, performance, reliabitily) but a JBoss price ($0.00) |
09:47 |
<jottinger> |
and: not only that, but Ed works for Sun, and Glassfish is a Sun product |
09:47 |
<pietia> |
edburns, :) |
09:48 |
<pietia> |
jottinger, and that's the point :D |
09:48 |
<pietia> |
use mojarra not myfaces ;) |
09:48 |
<edburns> |
b52sky: 2. As Joe says, I want to keep my job, and I want to deliver JSF 2.0 to you! |
09:48 |
<jottinger> |
WASCE lacks monolithic character, like I said. geronimo is good, has an excellent console, but the nature of how its containers have been constructed means that it is very patchwork-like. |
09:48 |
<jottinger> |
Glassfish, on the other hand, is consistent. Consistency is good. We're engineers. |
09:49 |
<jottinger> |
heh |
09:49 |
<jottinger> |
geronimo's greated problem is in reliability |
09:49 |
<jottinger> |
it does a lot of things very very well |
09:49 |
<jottinger> |
but reliability... not so much |
09:50 |
<pietia> |
jottinger, yes reliability is poor in geronimo |
09:50 |
<jottinger> |
pietia: then why do you ask? |
09:50 |
<jottinger> |
If you know a container has a major flaw, and someone's using a container that lacks that flaw... well... that'd make perfect sense to me |
09:51 |
<pietia> |
jottinger, because i want to know why edburns prefers glassfish : ) ( excluding sun as a company) |
09:51 |
<pietia> |
as a employer |
09:52 |
<jottinger> |
pietia: ah. Well, his personal reasons are his personal reasons. I run glassfish on my servers, entirely by choice. |
09:52 |
<jottinger> |
That may change soon, because of dog food, but... may not. It depends. |
09:53 |
<pietia> |
jottinger, i should try glassfish.... in the future : ) ie using NB 6.5 |
09:53 |
<jottinger> |
pietia: I use glassfish with eclipse, idea, netbeans |
09:54 |
<pietia> |
jottinger, but integration with NB looks the best |
09:54 |
<edburns> |
pietia: In the interest of full disclosure, as a technologist and spec-lead, I haven't done much with other containers. But I will say that glassfish is good enough for what I use it for. For battle-tested experience, trust jottinger. |
09:54 |
<jottinger> |
pietia: I haven't noticed |
09:55 |
<jottinger> |
pietia: I deploy from IDEA and eclipse with no problem. Haven't tried jdev. |
09:56 |
<pietia> |
jottinger, i think glassfish deliverd with NB is a good start-point for newbies - 0 configuration... |
09:56 |
<jottinger> |
pietia: sure... although glassfish' install is pretty easy. I wish it didn't require a specific heap setting, but... minor quibble. |
09:57 |
<pietia> |
jottinger, ...like geronimo does.... (heap settings) |
09:58 |
<jottinger> |
pietia: I thought geronimo installed with unzip |
09:59 |
<pietia> |
jottinger, i must try to test WARs with jruby on rails apps at first (warbler) |
10:00 |
<jottinger> |
pietia: *nod* |
10:00 |
<jottinger> |
warbler's neat. |
10:01 |
<b52h> |
edburns, lol :) |
10:02 |
<pietia> |
edburns, is there any short list of new features of JSF2.0 ? |
10:03 |
<edburns> |
pietia: Yes. |
10:05 |
<edburns> |
http://weblogs.java.net/blog/edburns/archive/2007/05/index.html |
10:05 |
<pietia> |
http://blogs.sun.com/rlubke/entry/jsf_2_0_new_feature6 |
10:05 |
<pietia> |
thx |
10:09 |
<jottinger> |
edburns: incidentally.. check out http://enigmastation.com/pebble/qotd |
10:09 |
<jottinger> |
(has a JSF entry, but is basically showing something i want to do overall) |
10:09 |
<kizoomer> |
hey all, I am trying to use ICEfaces as well as JSF tag libraries. The problem is that after I have installed ICEfaces, the JSF tags are no longer interpreted. Is this because the tlds are not on the build path (the tags seem to be recognised in Eclipse). Any suggestions generally? |
10:10 |
<edburns> |
Yes, I like the JCR solution. |
10:11 |
<jottinger> |
edburns: well, i can do much better than that |
10:11 |
<jottinger> |
it was the idea of the site that I was showing you, not the specific top post :) |
10:11 |
<edburns> |
As a GS person, I know you can. |
10:11 |
<edburns> |
jottinger: Oh, I see. Very nice. You are making quite a commitment with that site. |
10:11 |
<jottinger> |
But you can see the sort of thing I'm trying to do: take interesting questions, and answer them concisely, in context |
10:11 |
<edburns> |
jottinger: and do it every day. |
10:11 |
<jottinger> |
edburns: the neat thing is: I'm really not, that represents very little work for me |
10:12 |
<jottinger> |
I can knock those out in no time flat |
10:12 |
<edburns> |
Bravo! |
10:12 |
<jottinger> |
I think the date parsing took longer than anything else, mostly because I had to remember the API for the format string |
10:12 |
<edburns> |
That is a tricky one. |
10:13 |
<edburns> |
ANd now, I really have to write the spec text for 287-ConfigAnnotations |
10:13 |
<jottinger> |
I'm worried about Swing and some other complex modeling, but I'm also going to see if I can get other people to help out |
10:39 |
<edburns_spec> |
edburns_spec checks in the 287ConfigAnnotations spec. |
10:49 |
<nikolaj_a> |
Hi guys. |
11:04 |
<pietia> |
jottinger, NB with richfaces support works great with glassfish |
12:08 |
<nikolaj_a> |
Is it possible to disable the buffering of data in the response when I want some custom content (a PDF file in this case) to be downloaded by the browser from a JSF request? |
12:21 |
<raydecampo> |
nikolaj_a: Won't you be using ExternalContext.getResponse() and accessing the output stream directly in this case? |
12:22 |
<nikolaj_a> |
raydecampo: Yes, and it's working perfectly :) |
12:22 |
<nikolaj_a> |
raydecampo: Until I generate several 100 MBs of data. |
12:23 |
<raydecampo> |
but the response is still buffered? |
12:23 |
<nikolaj_a> |
raydecampo: It seems like it. Perhaps it's for passing it to filters are something similar? |
12:23 |
<raydecampo> |
at that point you are effectively in the servlet world |
12:23 |
<nikolaj_a> |
nikolaj_a grabs Google. |
12:23 |
<raydecampo> |
nikolaj_a: I think some filters do buffer the response |
12:24 |
<raydecampo> |
Personally I would consider writing a servlet and using ExternalContext.redirect() |
12:25 |
<nikolaj_a> |
raydecampo: I need a LOT of input from a form to generate the PDF. |
12:26 |
<raydecampo> |
nikolaj_a: You could save it in session for the next request |
12:26 |
<raydecampo> |
Or you could generate the PDF on the file system and have the servlet relay it |
12:27 |
<raydecampo> |
or maybe you should continue with the path you were going down |
12:27 |
<nikolaj_a> |
raydecampo: Hehe, I don't mind changing how I'm doing it :) |
12:28 |
<nikolaj_a> |
raydecampo: I'd just prefer to not manually mapping all the input manually from the request or session. |
12:28 |
<raydecampo> |
well, I was just saying I don't think it is inherently bad and must be avoided |
12:28 |
<nikolaj_a> |
Wow, a lot of manually there :P |
12:28 |
<raydecampo> |
nikolaj_a: So all the input is not already in one bean instance? |
12:29 |
<nikolaj_a> |
raydecampo: No, but perhaps I can do the mapping in my action listener method and then do the redirect? |
12:30 |
<nikolaj_a> |
(The mapping is done automatically by JSF, of course. All I have to do is put the bean in the request or session) |
12:31 |
<nikolaj_a> |
What happens exactly if I send a redirect? Will I short-circuit the JSF life-cycle, or do I still have to call facesContext.responseComplete()? |
12:32 |
<raydecampo> |
nikolaj_a: I believe ExternalContext.redirect() invokes responseComplete() for you |
12:33 |
<raydecampo> |
yup, that's what the javadoc says |
12:33 |
<nikolaj_a> |
Great, less work for me :) |
12:34 |
<nikolaj_a> |
raydecampo: It's still the same request-object send along to the redirect, isn't it? |
12:35 |
<raydecampo> |
nikolaj_a: No, the redirect is the response sent to the browser. The browser then initiates a new request for that URL. |
12:35 |
<nikolaj_a> |
raydecampo: Aww, so I have to put my bean in the session for it to work. |
12:35 |
<raydecampo> |
nikolaj_a: Right |
12:36 |
<nikolaj_a> |
I'll try it out. Thanks for the help :) |
12:36 |
<raydecampo> |
No problem |
12:36 |
<cofeineSunshine> |
this rule rocks: <to-view-id>/kontrole/dgv1CowEventInput.jsf?cow_id=#{param['cow_id']}&km_id=#{param['km_id']}</to-view-id> |
12:37 |
<raydecampo> |
cofeineSunshine: Does that work? |
12:37 |
<nikolaj_a> |
cofeineSunshine: What's with the Cow stuff? :P |
12:37 |
<cofeineSunshine> |
i can directly from jsf template redirect to any page with params |
12:37 |
<raydecampo> |
He's just trying to moooove his project along |
12:37 |
<cofeineSunshine> |
raydecampo: yes, thats works |
12:37 |
<nikolaj_a> |
cofeineSunshine: And yes, that's actually pretty cool :) |
12:37 |
<nikolaj_a> |
raydecampo: That was a very lame pun :P |
12:38 |
<raydecampo> |
cofeineSunshine: I didn't think query parameters were allowed |
12:38 |
<raydecampo> |
nikolaj_a: Just picking up the slack for jdlee |
12:38 |
<cofeineSunshine> |
i've been working with jsf for 0.5 yrs and only now found thant. I needed that so badly sometimes |
12:38 |
<nikolaj_a> |
raydecampo: Haha |
12:38 |
<raydecampo> |
nikolaj_a: It cud be that I am mistaken |
12:38 |
<nikolaj_a> |
*sigh* |
12:39 |
<raydecampo> |
I'm going to milk with one for all it is worth |
12:39 |
<nikolaj_a> |
stoooooop! |
12:39 |
<nikolaj_a> |
:D |
12:39 |
<nikolaj_a> |
Just to be sure I got it correctly, "cud" is what cows do when they eat, right? |
12:39 |
<raydecampo> |
nikolaj_a: Specifically, when they regurgitate and re-eat something |
12:40 |
<raydecampo> |
nikolaj_a: It is called "chewing your cud" |
12:40 |
<nikolaj_a> |
Sounds a little disgusting actually... |
12:41 |
<raydecampo> |
nikolaj_a: yup |
12:45 |
<raydecampo> |
cofeineSunshine: Are you using that with or without a <redirect>? |
12:54 |
<vezzoni> |
good morning! |
12:54 |
<raydecampo> |
hello |
12:56 |
<nikolaj_a> |
vezzoni: Hi :) |
13:10 |
<jdlee> |
raydecampo: hey! :P |
13:10 |
<jdlee> |
fwiw iirc cows have four stomachs. i don't wanna make too much hay over that, so I'll just let you chew on that one for a while |
13:11 |
<nikolaj_a> |
*siiiiiigh* |
13:11 |
<jdlee> |
slides are due today for JSFOne. I had better hoof it if I'm going to get things handed in on time |
13:11 |
<nikolaj_a> |
~smack jdlee |
13:11 |
<javabot> |
javabot smacks jdlee in the mouth |
13:11 |
<raydecampo> |
jdlee: That is udderly amazing |
13:11 |
<jdlee> |
heheh |
13:11 |
<jdlee> |
w00t! |
13:12 |
<jdlee> |
err... |
13:12 |
<jdlee> |
m00t! :P |
13:12 |
<nikolaj_a> |
You guys should really have your heads looked at... |
13:12 |
<jdlee> |
hehe |
13:12 |
<dragonOfTheWest> |
Yeah, I think they have mad cow disease |
13:12 |
<jdlee> |
i'm glad I could farm out some of my duties :) |
13:13 |
<jdlee> |
dragonOfTheWest: well, I do have hoof in mouth disease sometimes.. :P |
13:13 |
<nikolaj_a> |
dragonOfTheWest: It's "bovine spongiform encephalopathy" to you, mister :P |
13:13 |
<dragonOfTheWest> |
:P |
13:14 |
<jdlee> |
hungry...time to go graze... biab :P |
13:14 |
<jdlee> |
[08:12] <hani> are they any jersey people here? |
13:14 |
<jdlee> |
[08:12] <hani> the jsr311 thing, not the crap state |
13:14 |
<jdlee> |
hehe |
13:14 |
<nikolaj_a> |
:O |
13:32 |
<jottinger> |
heh |
13:33 |
<nikolaj_a> |
ExternalContext.redirect(url)... How absolute does that url have to be? Including "http://" or will a relative url from the context path be sufficient? |
13:37 |
<raydecampo> |
nikolaj_a: I'd be surprised if a relative URL from the context path wasn't sufficient |
13:37 |
<b52h> |
man why is j2ee books are so hard :( |
13:37 |
<b52h> |
for exemple ruby on rails most books are easy ! to pick ! |
13:38 |
<raydecampo> |
nikolaj_a: Check this out: http://forums.sun.com/thread.jspa?messageID=10402860 |
13:40 |
<nikolaj_a> |
raydecampo: Check the javadoc... It's very clear that it expects an absolute url. |
13:40 |
<nikolaj_a> |
http://java.sun.com/javaee/javaserverfaces/1.2/docs/api/ |
13:41 |
<raydecampo> |
nikolaj_a: See the javadoc for HttpServletResponse.sendRedirect(), which does the heavy lifting |
13:42 |
<nikolaj_a> |
raydecampo: Yeah, I'm familiar with that one, which is why I was wondering what all the fuss was about :P |
13:45 |
<nikolaj_a> |
Isn't it possible to send parameters to an action listener method, e.g. with <f:param>? |
13:46 |
<raydecampo> |
<f:param> will create request parameters |
13:46 |
<nikolaj_a> |
I'm using a command button to fire the action. |
13:46 |
<raydecampo> |
<f:attribute> will add attributes to the component |
13:47 |
<raydecampo> |
if you are using an action listener, the component attributes will be easily accessible |
13:47 |
<nikolaj_a> |
actionEvent.getComponent().getAttributes()? |
13:47 |
<raydecampo> |
exactly |
13:47 |
<nikolaj_a> |
Cool :) |
13:48 |
<nikolaj_a> |
What about a mechanism similar to servlet init params? |
13:48 |
<nikolaj_a> |
Ah wait, I can set properties from the faces-config. That might be better. |
14:00 |
<nikolaj_a> |
Is it possible to get the current bean's EL name (from within an action or action listener method)? |
14:02 |
<raydecampo> |
The component should be an ActionSource2 implementation, which has getActionExpression(), which could be parsed |
14:03 |
<nikolaj_a> |
raydecampo: A lot of methods to implement, including a lot with deprecated classes as return types... |
14:04 |
<raydecampo> |
nikolaj_a: ??? |
14:04 |
<nikolaj_a> |
raydecampo: It's a bean I want the name of. Not a component. |
14:04 |
<nikolaj_a> |
I'm not sure it's even possible :) |
14:04 |
<raydecampo> |
nikolaj_a: Right, the ActionSource2.getActionExpression() will contain the EL for the action |
14:05 |
<nikolaj_a> |
So, the command button is an ActionSource2 implementation? |
14:05 |
<raydecampo> |
nikolaj_a: Right |
14:06 |
<raydecampo> |
Of course, that only gives the action EL, not any action listener EL and the action method is the one that doesn't get the component as an argument |
14:07 |
<nikolaj_a> |
raydecampo: Luckily, I'm in an action listener method :) |
14:07 |
<nikolaj_a> |
raydecampo: The action method can be hacked by binding the command button to the bean. |
14:08 |
<raydecampo> |
(10:07:20) nikolaj_a: raydecampo: Luckily, I'm in an action listener method |
14:08 |
<raydecampo> |
then that solution won't work |
14:08 |
<nikolaj_a> |
raydecampo: And what is the action EL, then? |
14:09 |
<raydecampo> |
nikolaj_a: Are we talking about the same thing? |
14:09 |
<nikolaj_a> |
raydecampo: I don't think so :) |
14:09 |
<raydecampo> |
<h:commandButton actionListener="#{x.y}"> is an action listener |
14:09 |
<raydecampo> |
<h:commandButton action="#{a.b}"/> is an action method |
14:10 |
<raydecampo> |
loosely speaking |
14:10 |
<raydecampo> |
before edburns yells at me |
14:10 |
<nikolaj_a> |
<h:commandButton actionListener="#{employeePeriodReport.generateReport}" value="Generate Report"/> |
14:10 |
<raydecampo> |
nikolaj_a: It that case the ActionSource2.getActionExpression() does not work |
14:11 |
<nikolaj_a> |
That's what I have in the page. In the action listener method (generateReport) I need to get hold of the "employeePeriodReport" part of the EL. |
14:11 |
<raydecampo> |
nikolaj_a: I think by that point it is not even saved anywhere in the component |
14:12 |
<nikolaj_a> |
raydecampo: Right, I'll just set the bean name with a property in the faces-config. |
14:12 |
<raydecampo> |
nikolaj_a: Although it is probably buried in the MethodExpressionActionListener instance |
14:12 |
<raydecampo> |
nikolaj_a: that might be best :) |
14:13 |
<nikolaj_a> |
raydecampo: Easier, at least :) |
14:13 |
<nikolaj_a> |
raydecampo: Come to think about it, the bean holding the data might be another than the one receiving the action event. |
14:14 |
<raydecampo> |
Leads to the question of whether it might be useful to have a ManagedBeanContext class |
14:14 |
<raydecampo> |
which could be injected to beans conforming to a specific interface |
14:14 |
<nikolaj_a> |
raydecampo: Not in this case, but generally speaking I think it would be very useful. |
14:14 |
<raydecampo> |
nikolaj_a: In this case the it could provide the EL binding for the bean |
14:15 |
<raydecampo> |
nikolaj_a: with no extra effort on your part (except implementing the interface) |
14:16 |
<jdlee> |
raydecampo: i fear wendy just poured gas on mbaz's fire :( |
14:17 |
<raydecampo> |
jdlee: yeah, I've been following that |
14:17 |
<raydecampo> |
jdlee: that's why I didn't engage yesterday |
14:18 |
<jdlee> |
jdlee nods |
14:18 |
<jdlee> |
if I didn't have so much going, I might have tried helping, but his tone, I think, would have stayed my hand even then |
14:24 |
<raydecampo> |
Now I am in the mood for TMBG (http://tmbw.net/wiki/Lyrics:Withered_Hope) |
14:27 |
<jdlee> |
TMBG++ |
14:27 |
<jdlee> |
fingertips++ :P |
14:27 |
<raydecampo> |
jdlee: Somehow I'm not surprised |
14:28 |
<jdlee> |
haha |
14:28 |
<jdlee> |
please pass the milk please |
15:21 |
<adollff> |
hey what's the motivation in creating the facelet tag <ui:component> |
15:22 |
<adollff> |
hey what's the motivation in creating the facelet tag <ui:component> </ui:component> |
15:23 |
<al80> |
it's like ui:composition but accepts also binding attribute for example |
15:23 |
<al80> |
it's a true component |
15:24 |
<jdlee> |
but not a true UIComponent, i.e., it can only be used with Facelets, fwiw |
15:26 |
<adollff> |
yeah is it frequently used in templating? or facelets |
15:26 |
<adollff> |
i dont seem to find reason to use it |
15:27 |
<nikolaj_a> |
adollff: Neither did it for the <ui:remove> tag, until I discovered how nice it is to put in static test data ;) |
15:27 |
<nikolaj_a> |
Neither did I * |
15:28 |
<adollff> |
ic tnx |
15:28 |
<nikolaj_a> |
adollff: I haven't found a use case for <ui:component> yet, but I'm sure I'll find one eventually. |
15:30 |
<adollff> |
yes maybe it has use case... |
15:30 |
<adollff> |
about richfaces |
15:30 |
<adollff> |
i want to create a skinned command button |
15:31 |
<adollff> |
i cant seem to find the skinned ajax component |
15:31 |
<adollff> |
i mean commandButton or inputText for richfaces |
15:33 |
<adollff> |
<rich:commandButton> :) |
15:42 |
<adollff> |
im still experimenting the appearance of all the tags so far the virtualword tag is good |
15:42 |
<adollff> |
:D |
16:14 |
<rlubke> |
jimdriscoll: Morning - are you on swan? |
16:14 |
<jimdriscoll> |
Always :-) |
16:15 |
<rlubke> |
jimdriscoll: Mind checking what hudson was complaining about last night? |
16:15 |
<nikolaj_a> |
medwards: You there? |
16:16 |
<jimdriscoll> |
Revision 5236 by edburns: |
16:16 |
<jimdriscoll> |
Issue: 287 |
16:16 |
<jimdriscoll> |
A jsf-api/src/javax/faces/render/FacesRenderKit.java |
16:16 |
<jimdriscoll> |
M jsf-api/src/javax/faces/render/FacesRenderer.java |
16:16 |
<jimdriscoll> |
M jsf-api/src/javax/faces/convert/FacesConverter.java |
16:16 |
<jimdriscoll> |
M jsf-api/src/javax/faces/validator/FacesValidator.java |
16:16 |
<jimdriscoll> |
M jsf-api/src/javax/faces/component/FacesComponent.java |
16:16 |
<jimdriscoll> |
- Specify how these annotations are to be processed. |
16:17 |
<jimdriscoll> |
com.sun.faces.application.resource.TestResourceHandlerImpl.testHandleResourceRequest13 |
16:17 |
<jimdriscoll> |
Failing for the past 1 build (Since Unstable#164 ) |
16:17 |
<jimdriscoll> |
Took 0 seconds. |
16:17 |
<jimdriscoll> |
java.lang.NullPointerException |
16:17 |
<jimdriscoll> |
at com.sun.faces.application.resource.ResourceCache.<init>(ResourceCache.java:151) |
16:17 |
<jimdriscoll> |
at com.sun.faces.application.resource.ResourceManager.<init>(ResourceManager.java:118) |
16:17 |
<jimdriscoll> |
at com.sun.faces.application.resource.ResourceHandlerImpl.<init>(ResourceHandlerImpl.java:74) |
16:17 |
<jimdriscoll> |
at com.sun.faces.application.resource.TestResourceHandlerImpl.testHandleResourceRequest13(TestResourceHandlerImpl.java:719) |
16:18 |
<rlubke> |
Huh. |
16:18 |
<jimdriscoll> |
So, one failing test after Ed's putback. |
16:18 |
<jimdriscoll> |
Hudson is currently running again. |
16:19 |
<jimdriscoll> |
From my last putback. |
16:22 |
<jimdriscoll> |
Will you look at it? Should I? Or should we make Ed do it :-) ? |
16:23 |
<rlubke> |
I'm running the tests locally. |
16:24 |
<rlubke> |
I saw Ed's commit but I'm not sure how that would cause the resource cache problems. |
16:31 |
<rlubke> |
jimdriscoll: passed locally. Weird. |
16:39 |
<rlubke> |
edburns_spec: Hi Ed, can you review spec-323? I attached the updated mods we discussed yesterday. |
16:47 |
<medwards> |
guys, I got a really freaking weird bug here that I can't spin into a test-case for you quickly so I was hoping for some comments on my description of it: |
16:48 |
<medwards> |
We have an h:commandButton who's action spits out a PDF... this works fine and dandy everywhere else in our app, but for this PDF generator IE7 gives an error and says that the site is unavailable. |
16:48 |
<medwards> |
Has anyone seen or heard of this sort of problem? |
16:58 |
<jimdriscoll> |
rlubke: Having a problem running the ajax-queue demo: Interesting error... |
16:58 |
<jimdriscoll> |
Caused by: java.io.FileNotFoundException: http://java.sun.com/dtd/facelet-taglib_1_0.dtd |
16:58 |
<jimdriscoll> |
Definately a WTF moment. |
16:59 |
<jimdriscoll> |
Which means it can't find it locally, and it's trying to find it on the website. |
17:01 |
<rlubke> |
jimdriscoll: Ed was working on the schema related changes before passing it off to me. It wasn't fully backed. This is probably a side effect of that. |
17:02 |
<jimdriscoll> |
OK, I'll try a workaround. |
17:13 |
<raydecampo> |
rlubke: You probably saw already, but I started a thread on the JSF forum to solicit feedback on the Posting Guidelines |
17:13 |
<rlubke> |
raydecampo: I haven't. I'll take a look shortly. |
17:13 |
<raydecampo> |
rlubke: Take your time, it is not exactly lighting up the switchboards :) |
17:14 |
<rlubke> |
raydecampo: It will probably be ignored just like the guidelines :) |
17:14 |
<raydecampo> |
rlubke: In that case it is right on track |
17:16 |
<jdlee> |
hahaha |
17:22 |
<jimdriscoll> |
Roger and I found the error - there was a call to the dtd in the taglib def file. Which raises the question - shouldn't we also support the old dtd? |
17:22 |
<rlubke> |
jimdriscoll: Yes, we should. |
17:23 |
<rlubke> |
At least that's my opinion. Ed may be thinking differently. |
17:23 |
<jdlee> |
hasn't EE5 gone to schemas? |
17:23 |
<jimdriscoll> |
Yes, but we want to support old facelets code, so we need to support old dtds. |
17:23 |
<jimdriscoll> |
Just like EE supports the old dtds |
17:24 |
<jimdriscoll> |
Despite having been bitten by schema madness. |
17:24 |
<jimdriscoll> |
I'll file a bug. |
17:24 |
<rlubke> |
There's already an issue for the parsing work. |
17:25 |
<rlubke> |
jimdriscoll: I'd recommend updating that |
17:25 |
<jimdriscoll> |
Issue #? |
17:25 |
<rlubke> |
jimdriscoll: impl 778 |
17:25 |
<rlubke> |
I'll take a look shortly. |
17:26 |
<jdlee> |
jimdriscoll: good point |
17:29 |
<edburns> |
does anyone here use Thunderbird Lightning for their SUN Calendar access? |
17:29 |
<rlubke> |
edburns: I have been. Some features don't work correctly though. |
17:29 |
<jdlee> |
i don't |
17:29 |
<jdlee> |
in fact, I'm not even using Thunderbird :P |
17:29 |
<rlubke> |
edburns: also, can you review spec-323? I attached the updated mods we discussed yesterday. |
17:31 |
<edburns> |
rlubke: Yes, I will review 323 right after I get this Lightning thing working. |
17:32 |
<edburns> |
rlubke: When I do "new calendar", what do I do next? |
17:32 |
<edburns> |
yaramhsenger: Hello, welcome back. |
17:33 |
<edburns> |
rlubke: Reviewing it now. |
17:33 |
<rlubke> |
edburns: I'm looking for the email that details the configuration |
17:33 |
<edburns> |
ok |
17:33 |
<edburns> |
edburns is looking at your change-bundle for 323. |
17:34 |
<rlubke> |
edburns: email sent |
17:34 |
<edburns> |
rlubke: I've given r=edburns in the issue tracker. |
17:34 |
<edburns> |
Please go ahead and check it in. |
17:34 |
<edburns> |
rlubke: Also, I've committed the annotations spec changes. |
17:35 |
<rlubke> |
edburns: Ok. And the EG? |
17:35 |
<rlubke> |
edburns: RE annotations: Ok |
17:36 |
<jdlee> |
edburns: what's the server name you're using for you calendar? are you outside the firewall? |
17:36 |
<edburns> |
rlubke: No, I'm on a sunray. |
17:36 |
<jdlee> |
ok |
17:36 |
<edburns> |
rlubke: You worry about those fighters, I'll worry about the tower. |
17:36 |
<rlubke> |
edburns: haha |
17:37 |
<yaramhsenger> |
edburns: hello. thank you. |
17:38 |
<edburns> |
rlubke: ha2sca-cal1.sfbay.sun.com |
17:39 |
<rlubke> |
edburns: I'm using: https://cal-sfbay.sun.com/ |
17:43 |
<jdlee> |
https://cal-amer.sun.com works from outside |
17:46 |
<rlubke> |
Think it works from inside and out as I'm able to use my calendar in both situations. |
17:50 |
<jimdriscoll> |
edburns: If you can't get it working, let me know - it's up on my Windows side, but I never bothered to put it into Linux. (Windows == manager, Linux == engineer :-) |
17:50 |
<rogerk10> |
jimdriscoll: queue demo should be fine now. There aren't any custom artifacts for that demo so we never needed that taglib anyway. Still fixing ajaxRequest demo |
17:50 |
<jdlee> |
rlubke: *nod* |
17:50 |
<jimdriscoll> |
So I'd have to reboot to retreive config. |
17:51 |
<jimdriscoll> |
rogerk10: I'll give it a try. |
17:51 |
<jdlee> |
i just set up JSCalendarSync to sync my sun cal with ical |
18:01 |
<pietia> |
jimdriscoll, macos == ? |
18:01 |
<pietia> |
;)\ |
18:01 |
<pietia> |
rails developer ;) |
18:02 |
<jimdriscoll> |
MacOS == engineer with budget |
18:02 |
<jimdriscoll> |
:-( |
18:02 |
<jdlee> |
hehe |
18:03 |
<pietia> |
jimdriscoll, solaris ? |
18:03 |
<pietia> |
: ] |
18:04 |
<pietia> |
engineer from sun |
18:04 |
<jimdriscoll> |
*smart* engineer :-) |
18:04 |
<pietia> |
any pro-engineering OS ? |
18:04 |
<pietia> |
linux without x server |
18:05 |
<pietia> |
;) |
18:05 |
<jimdriscoll> |
Actually, Solaris x86 is supposedly pretty sweet. I just haven't had a chance to install it... nor will I, until we ship. |
18:05 |
<pietia> |
jimdriscoll, Solaris ? or OpenSolaris ? |
18:05 |
<pietia> |
solaris is not free, is it ? |
18:06 |
<jimdriscoll> |
Same thing, pretty much. The main difference, IIRC, is the support contract and patching regime. |
18:08 |
<jdlee> |
i've run OpenSolaris in a VirtualBox VM on my Mac Book Pro :) |
18:08 |
<pietia> |
jdlee, and? |
18:08 |
<jdlee> |
even in a VM, it felt pretty snappy. the use of GNOME (vs. CDE) is a pretty welcome change too |
18:09 |
<edburns> |
I am seeing very strange behavior in lightning regarding timezone. |
18:09 |
<edburns> |
I set my edgecal and lightning timezones to the same: America/New York |
18:10 |
<edburns> |
When I create a new event, it shows up as EDT in the event window, and PDT in the daily view. At the same time. |
18:10 |
<edburns> |
It's like the daily view is set for a different timezone than the event window. |
18:11 |
<edburns> |
I bet Lightning is picking up the System timezone, which is PDT. |
18:12 |
<_rogerio1> |
jdlee: dude |
18:14 |
<jdlee> |
_rogerio_: dude |
18:14 |
<jdlee> |
_rogerio_: you're going to be in VA and will be attending my talks at JSFOne? That's awesome! :P |
18:15 |
<jdlee> |
(i just wanted to work in a JSFOne plug :) |
18:16 |
<_rogerio_> |
jdlee: I would like, but I'm always without money to travel |
18:17 |
<_rogerio_> |
jdlee: ed has been very close to my city few weeks back but... |
18:27 |
<edburns> |
rlubke: I'm sending mail to the EG about UIInput.validate now. |
18:27 |
<edburns> |
and reviewing your PENDING comments in that area. |
18:30 |
<rlubke> |
edburns: Ok |
18:30 |
<edburns> |
rlubke: you removed my other, now completely errant, docs on this issue, right? |
18:30 |
<rlubke> |
edburns: Yes |
18:36 |
<jdlee> |
_rogerio_: *nod* |
18:37 |
<edburns> |
edburns updates the spec prose document stuff for 323 as well |
18:40 |
<_rogerio_> |
jdlee: I hope to have a good job in the future that makes me earn enougth money to be in all tech events with my friends (ed, jdlee, jottinger, rlube, al80 and amitev) |
18:41 |
<edburns> |
_rogerio_: That's a nice goal, and we'd certainly love to see you. I humbly suggest a slight shift in perspective where your job *pays you* to go to those events and see your friends. |
18:42 |
<edburns> |
IMHO, that's a better goal! |
18:42 |
<cheeser> |
cheeser weeps a little at being left out. |
18:42 |
<edburns> |
Next time in NYC, we'll get together. |
18:42 |
<cheeser> |
8^)= |
18:42 |
<edburns> |
I'm goin to see jdlee when he comes to Otown here, when, March? |
18:42 |
<_rogerio_> |
cheeser: to see you too, my lovely and dear cheeeeser |
18:42 |
<_rogerio_> |
hehehehe |
18:44 |
<cheeser> |
cheeser swoons |
18:44 |
<_rogerio_> |
lol |
18:46 |
<edburns> |
rlubke: Found an error in my UIInput docs. Fixing now. |
18:47 |
<_rogerio_> |
edburns: very good suggestion! |
18:47 |
<rlubke> |
edburns: Ok |
18:48 |
<edburns> |
rlubke: Does your new proposal address Neil's integer concern? |
18:49 |
<edburns> |
rlubke: the old EL case? |
18:49 |
<rlubke> |
edburns: The test case covers it. However, I think he may be dealing with a bug in whatever implementation he's using. |
18:49 |
<edburns> |
ok, |
18:50 |
<rlubke> |
Roger Keayes replied to Neil stating he wasn't seeing the issue in 1.2_04p02 |
18:51 |
<edburns> |
saw that |
19:01 |
<jdlee> |
edburns rlubke_away: either of you get iexpense to work? i'm trying to submit an expense report for iWork expenses, and I keep getting 500s from ibis.central when I log in |
19:13 |
<edburns> |
jdlee: I got it to work two days ago. |
19:13 |
<edburns> |
Let me make sure you have the right login URL. |
19:13 |
<edburns> |
Here's what I used. |
19:13 |
<edburns> |
http://ibis.central.sun.com/oa_servlets/AppsLogin |
19:14 |
<edburns> |
jdlee: I was able to log in successfully there. |
19:15 |
<edburns> |
then click on iEXpense entry. |
19:15 |
<jdlee> |
hrm...i got the same error :( |
19:15 |
<jdlee> |
looks like i get to call support :\ |
19:15 |
<edburns> |
But I just logged in fine. |
19:16 |
<jdlee> |
jdlee nods |
19:16 |
<jdlee> |
i've been trying for days, always with the same result |
19:17 |
<jdlee> |
and again |
19:17 |
<jdlee> |
hehe |
19:17 |
<jdlee> |
did you sit through the training? i haven't yet |
19:17 |
<edburns> |
No, I didn't and I found I didn't need to. |
19:17 |
<jdlee> |
that's what I figured. how hard can it be? :) |
19:17 |
<edburns> |
Are you using your employeeid and swan password? |
19:18 |
<jdlee> |
jl<sun id> + LDAP password |
19:18 |
<edburns> |
try taking off the jl |
19:18 |
<jdlee> |
trying that now |
19:18 |
<jdlee> |
i think i had tried that before, but I'll try again |
19:19 |
<jdlee> |
same thing :| |
19:19 |
<edburns> |
Must be some new account thing. |
19:19 |
<edburns> |
Sorry Yossarian. |
19:21 |
<jdlee> |
yeah...i'll call sundial |
19:49 |
<jdlee> |
edburns: do you use OO.org? i need create that 2-up PDF of my slides for Kito, and I'm not seeing how to do that in OOo |
19:55 |
<edburns> |
jdlee: Yes, I use OO.org. |
19:55 |
<edburns> |
jdlee: Yes, I have to do that as well. |
19:55 |
<jdlee> |
do you know how? :P |
19:55 |
<edburns> |
I'd have to boot into it to do it. I haven't done that yet. |
19:55 |
<edburns> |
jdlee: Can it wait? |
19:56 |
<edburns> |
rogerk10: Just so you know, it's your turn this time to update the date in all the spec Framemaker docs. |
19:56 |
<edburns> |
We'll do that towards the end. |
19:56 |
<rogerk10> |
how exciting.... I can't wait... ;-) |
19:56 |
<edburns> |
I did it last time. |
19:56 |
<rogerk10> |
I know thanks for dong that.. |
19:56 |
<rogerk10> |
doing |
19:57 |
<jdlee> |
edburns: sure |
19:57 |
<jdlee> |
edburns: i'll keep looking, but if you happen to figure it out, remember, etc., I'd appreciate it if you could email/PM/whatever where to look :) |
20:21 |
<raydecampo> |
if anyone is on the Facelets mailing list, can you check that I've not leading Samuel Mendenhall down the rabbit hole? |
20:21 |
<raydecampo> |
s/I've/I'm |
20:21 |
<raydecampo> |
I need to learn to proofread before submitting... |
20:25 |
<jdlee> |
fwiw, for two-up PDF "printing" in OOo, here's what I did |
20:25 |
<jdlee> |
(on the Mac. YMMV on other platforms) |
20:27 |
<jdlee> |
Start the print process as normal. Select two pages per sheet from the Layout section of the Print dialog. Click PDF in the lower left corner, then Save As PDF...Enter the name and pick the location, then click save. On the printer options page, select Drawing, Handouts, Grayscale (if you want B&W, which I do), and Fit to Page. Click OK. |
20:27 |
<jdlee> |
the only issue is that I have three blank pages at the start of the file |
20:30 |
<edburns> |
rlubke: Do you recall where in the spec we state that the inheritance hierarchy must not be searched? |
20:31 |
<rlubke> |
edburns: No, I don't. |
20:31 |
<edburns> |
ok |
20:31 |
<edburns> |
I bet I know. |
20:32 |
<rlubke> |
edburns: If I recall, there was a release_pending regarding that topic in the API |
20:33 |
<edburns> |
I found the right place. |
20:43 |
<edburns> |
rlubke: Hello? |
20:43 |
<rlubke> |
edburns: Hello |
20:43 |
<edburns> |
What happens if sourceBaseType is null? use source.getClass()? |
20:45 |
<edburns> |
rlubke: Ahh, |
20:45 |
<edburns> |
rlubke: I see it in your issue. |
20:45 |
<edburns> |
never mind. |
20:45 |
<rlubke> |
edburns: right, source.getClass() as before. |
20:56 |
<jdlee> |
ah! uncheck Handouts to get rid of the empty pages |
20:56 |
<edburns> |
rlubke: about to check in. |
20:57 |
<rlubke> |
edburns: Great! |
22:01 |
<rogerk10> |
jimdriscoll: the ajax-request deo should work with the dtd |
|