| |
| |
| |
|
Page: 1 2 3
Comments:
<0> lol <1> usually?...when DO they? <2> sabre when you implement them <2> or after I mean <1> :z <1> in which case they are no longer imaginary <1> don't ya just love logic? <2> heh <2> I think they call it, "Being a Smart ***" <3> I just covered my back, in case somebody pointed out some case where imaginary methods work. <3> E.g., Perl's AUTOLOAD.
<1> yeah..occupational hazard <2> which is supposed to be better than being a "Dumb ***" <2> sometimes I'm both smart *** and dumb *** at the same time lol <2> bbl <3> Dart***? <3> Smum***? <1> sad*** <4> hey all <0> hey <4> is this the place to ask jsp / jsf questions <4> or just plain java <1> it's the place to just ask <4> I am using facelets and in my web.xml I want to load my facelets.LIBRARIES from a jar file <4> not from the web directory <4> <context-param> <4> <param-name>facelets.LIBRARIES</param-name> <4> <param-value>cl***path://com/netoffice/facelets/tags/netoffice.taglib.xml</param-value> <4> is that possible <1> did you try it? <4> Yes <4> SEVERE: Error Loading Library: com/netoffice/facelets/tags/netoffice.taglib.xml <4> java.io.FileNotFoundException: com/netoffice/facelets/tags/netoffice.taglib.xml <1> it doesn't work <4> nope <4> hmmm <1> this is inside of a <init-param> tag? <4> its inside the web.xml <4> as a context-param <4> <param-name>facelets.LIBRARIES</param-name> <4> <param-value>cl***path://com/netoffice/facelets/tags/netoffice.taglib.xml</param-value> <4> its giving a java.io <1> ok that must be different than my servlet config <1> i'm using struts <4> this is for faclets :) <1> websphere <1> yeah <4> but you are able to load them from a jar <4> Im using com.sun.facelets.FaceletViewHandler as my handler <1> i don't do it that way no <1> i package them in the application <4> in the war <1> yes
<4> I want to package them in a jar and not part of the main app <4> this way I can deploy them for many apps <1> just put it on the cl***path then <4> it is <1> then it should work when you call that package <1> import it <4> i copied the jar into the lib directory <4> its not a cl*** file but a xml and a xhtml <4> so i cant import it <1> oh <1> well then you need to call it from a relative path <4> I have created some custom compositions and want to use them as tags <4> if i put the jar in /deploy <4> then can i say <4> like this /deploy/com/jsf/sss.xml <4> would that work <4> will the jav.io go into a jar <1> i see what you're saying but i don't know if you can call a non cl*** file from another jar <4> ya <1> can import the cl***es in that jar tho with no problem? <4> ya <4> URL imgURL = Thread.currentThread().getContextCl***Loader <4> ().getResource("img/drop_pear_blue1.jpg"); <4> Toolkit kit = Toolkit.getDefaultToolkit(); <4> Image img = kit.getImage(imgURL); <4> could extend the loader and do something like this <1> http://www.rgagnon.com/javadetails/java-0077.html <4> lol <3> new ImageIcon is 'better'. <4> we are on the same page <3> ash-java: http://cime.net/~ricky/netsim/pi/graphics.html <3> I'm glad you're not asking about faclets anymore. <4> thanks guys <4> lol <4> they are really cool <4> look into them <4> facelets <4> lol <1> you can't read ImageIcon like a file tho can you? <1> i don't think that would work <3> I didn't read the question. ;) <3> Cl***.getResource <1> now i see what you mean by imaginary methods :) <3> Eh? <1> <3> Imaginary methods don't usually work. <1> <--smart*** <1> don't hurt nobody :)
Return to
#java or Go to some related
logs:
#teens #c #mirc #AllNiteCafe #mirc teengrl #linux #mirc steve ceaser malta gensertrykk
|
|