List Info

Thread: MyFaces Sandbox + Facelets




MyFaces Sandbox + Facelets
user name
2007-01-26 10:30:14
I have found Tomahawk +Facelets :
http://wiki.apache.org/myfaces/Use_Facelets_with_Tomahawk

Also their is Sandbox + Facelets taglib.xml file :
http://wiki.java.net/bin/view/Projects/FaceletsTaglibsMyfacesSandbox

Wondering what should i name taglib.xml file for sandbox.
 Should it be tomahawk.taglib.xml OR sandbox.taglib.xml

What if i want both Tomahawk and Sandbox along with Facelets in my application. In otherwords i am looking for step-by-step instruction to integrate Tomahawk and Sandbox with Facelets into my application

Regards
Bansi


Don't be flakey. Get Yahoo! Mail for Mobile and
always stay connected to friends.
Re: MyFaces Sandbox + Facelets
user name
2007-01-26 10:54:54
I just created sandbox.taglib.xml and the context-param in web.xml points to this file as
<context-param>
 &nbsp; &nbsp; &nbsp;  <param-name>facelets.LIBRARIES</param-name>;
 &nbsp; &nbsp; &nbsp;  <param-value>/WEB-INF/sandbox.taglib.xml</param-value>;
 &nbsp;  </context-param>;

Now their is a error at the top of sandbox.taglib.xml.
<?xml version="1.0"?>
<!DOCTYPE facelet-taglib PUBLIC
  "-//Sun Microsystems, Inc.//DTD Facelet Taglib 1.0//EN"
  "http://java.sun.com/dtd/facelet-taglib_1_0.dtd">

MyEclipse 5.0 editor shows warning sign at "http://java.sun.com/dtd/facelet-taglib_1_0.dtd" stating

The file cannot be validated as the host "java.sun.com" is currently unreachable

Regards
Bansi



Bansilal Haudakari <mail2bansiyahoo.com&gt; wrote:
I have found Tomahawk +Facelets :
http://wiki.apache.org/myfaces/Use_Facelets_with_Tomahawk

Also their is Sandbox + Facelets taglib.xml file :
http://wiki.java.net/bin/view/Projects/FaceletsTaglibsMyfacesSandbox

Wondering what should i name taglib.xml file for sandbox.
 Should it be tomahawk.taglib.xml OR sandbox.taglib.xml

What if i want both Tomahawk and Sandbox along with Facelets in my application. In otherwords i am looking for step-by-step instruction to integrate Tomahawk and Sandbox with Facelets into my application

Regards
Bansi


Don't be flakey. Get Yahoo! Mail for Mobile and
always stay connected to friends.


Sucker-punch spam with award-winning protection.
Try the free Yahoo! Mail Beta.
Re: MyFaces Sandbox + Facelets
user name
2007-01-26 15:25:48
That's what I have (separate files for tomahawk and sandbox):

 &nbsp;  <context-param>
 &nbsp;   &nbsp;  <param-name>facelets.LIBRARIES</param-name>;
 &nbsp;   &nbsp;  <param-value>
&nbsp;    &nbsp;   &nbsp;  /WEB-INF/tomahawk.taglib.xml;/WEB-INF/sandbox.taglib.xml
   ;  &nbsp;  </param-value>
  ;  </context-param>;

Regards,
Siarhei

On 1/26/07, Bansilal Haudakari < mail2bansiyahoo.com"> mail2bansiyahoo.com> wrote:
I just created sandbox.taglib.xml and the context-param in web.xml points to this file as
<context-param>
 &nbsp; &nbsp; &nbsp;  <param-name>facelets.LIBRARIES</param-name>;
 &nbsp; &nbsp; &nbsp;  <param-value>/WEB-INF/sandbox.taglib.xml</param-value>;
 &nbsp;  </context-param>;

Now their is a error at the top of sandbox.taglib.xml.
<?xml version=&quot;1.0&quot;?>
<!DOCTYPE facelet-taglib PUBLIC
  "-//Sun Microsystems, Inc.//DTD Facelet Taglib 1.0//EN&quot;
  " http://java.sun.com/dtd/facelet-taglib_1_0.dtd&quot;>

MyEclipse 5.0 editor shows warning sign at " http://java.sun.com/dtd/facelet-taglib_1_0.dtd&quot; stating

The file cannot be validated as the host " java.sun.com" is currently unreachable

Regards
Bansi




Bansilal Haudakari < mail2bansiyahoo.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> mail2bansiyahoo.com> wrote:
I have found Tomahawk +Facelets :
http://wiki.apache.org/myfaces/Use_Facelets_with_Tomahawk

Also their is Sandbox + Facelets taglib.xml file :
http://wiki.java.net/bin/view/Projects/FaceletsTaglibsMyfacesSandbox

Wondering what should i name taglib.xml file for sandbox.
 Should it be tomahawk.taglib.xml OR sandbox.taglib.xml

What if i want both Tomahawk and Sandbox along with Facelets in my application. In otherwords i am looking for step-by-step instruction to integrate Tomahawk and Sandbox with Facelets into my application

Regards
Bansi


Don't be flakey. Get Yahoo! Mail for Mobile and
always stay connected to friends.


Sucker-punch spam with award-winning protection.
Try the free Yahoo! Mail Beta.


Re: MyFaces Sandbox + Facelets
user name
2007-01-26 19:33:02
Bansilal,

In my taglib files I just have:

<?xml version=&quot;1.0&quot;?>
<;!DOCTYPE facelet-taglib PUBLIC "-//Sun Microsystems, Inc.//DTD Facelet Taglib 1.0//EN&quot; "facelet-taglib_1_0.dtd&quot;>
<facelet-taglib>
....

and everything is working fine for me.

the facelet-taglib_1_0.dtd file is at the root of my jsf-facelets.jar file.  Check that the dtd file is in the jar (and obviously in the classpath), then you should just be able to set it like mine.

Good Luck,
Jay

On 1/26/07, Bansilal Haudakari < mail2bansiyahoo.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">mail2bansiyahoo.com> wrote:
I just created sandbox.taglib.xml and the context-param in web.xml points to this file as
<context-param>
 &nbsp; &nbsp; &nbsp;  <param-name>facelets.LIBRARIES</param-name>;
 &nbsp; &nbsp; &nbsp;  <param-value>/WEB-INF/sandbox.taglib.xml</param-value>;
 &nbsp;  </context-param>;

Now their is a error at the top of sandbox.taglib.xml.
<?xml version=&quot;1.0&quot;?>
<!DOCTYPE facelet-taglib PUBLIC
  "-//Sun Microsystems, Inc.//DTD Facelet Taglib 1.0//EN&quot;
  " http://java.sun.com/dtd/facelet-taglib_1_0.dtd&quot;>

MyEclipse 5.0 editor shows warning sign at " http://java.sun.com/dtd/facelet-taglib_1_0.dtd&quot; stating

The file cannot be validated as the host " java.sun.com&quot; is currently unreachable

Regards
Bansi




Bansilal Haudakari < mail2bansiyahoo.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> mail2bansiyahoo.com> wrote:
I have found Tomahawk +Facelets :
http://wiki.apache.org/myfaces/Use_Facelets_with_Tomahawk

Also their is Sandbox + Facelets taglib.xml file :
http://wiki.java.net/bin/view/Projects/FaceletsTaglibsMyfacesSandbox

Wondering what should i name taglib.xml file for sandbox.
 Should it be tomahawk.taglib.xml OR sandbox.taglib.xml

What if i want both Tomahawk and Sandbox along with Facelets in my application. In otherwords i am looking for step-by-step instruction to integrate Tomahawk and Sandbox with Facelets into my application

Regards
Bansi


Don't be flakey. Get Yahoo! Mail for Mobile and
always stay connected to friends.


Sucker-punch spam with award-winning protection.
Try the free Yahoo! Mail Beta.


Re: MyFaces Sandbox + Facelets
user name
2007-10-09 11:07:09
Hi, 
 
   I am trying to use InputSuggestAjax Component. I am
getting the following
error:

  javax.faces.FacesException: Undefined component type
org.apache.myfaces.InputSuggestAjax
	at
org.apache.myfaces.application.ApplicationImpl.createCompone
nt(ApplicationImpl.java:392)
	at
com.sun.facelets.tag.jsf.ComponentHandler.createComponent(Co
mponentHandler.java:224)
	at
com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHan
dler.java:135)
	at
com.sun.facelets.tag.CompositeFaceletHandler.apply(Composite
FaceletHandler.java:47)
	at
com.sun.facelets.tag.ui.DefineHandler.apply(DefineHandler.ja
va:58)
	at
com.sun.facelets.tag.ui.CompositionHandler.apply(Composition
Handler.java:128)
	at
com.sun.facelets.impl.DefaultFaceletContext$TemplateManager.
apply(DefaultFaceletContext.java:306)
	at
com.sun.facelets.impl.DefaultFaceletContext.includeDefinitio
n(DefaultFaceletContext.java:279)
	at
com.sun.facelets.tag.ui.InsertHandler.apply(InsertHandler.ja
va:68)
	at
com.sun.facelets.tag.CompositeFaceletHandler.apply(Composite
FaceletHandler.java:47)
	at
com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(C
omponentHandler.java:295)
	at
com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHan
dler.java:165)
	at
com.sun.facelets.tag.jsf.core.ViewHandler.apply(ViewHandler.
java:109)
	at
com.sun.facelets.tag.CompositeFaceletHandler.apply(Composite
FaceletHandler.java:47)
	at
com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHa
ndler.java:49)
	at
com.sun.facelets.tag.CompositeFaceletHandler.apply(Composite
FaceletHandler.java:47)
	at
com.sun.facelets.compiler.EncodingHandler.apply(EncodingHand
ler.java:26)
	at
com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.
java:248)
	at
com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.
java:294)
	at
com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.
java:273)
	at
com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(D
efaultFaceletContext.java:143)
	at
com.sun.facelets.tag.ui.CompositionHandler.apply(Composition
Handler.java:113)
	at
com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHa
ndler.java:49)
	at
com.sun.facelets.compiler.EncodingHandler.apply(EncodingHand
ler.java:26)
	at
com.sun.facelets.impl.DefaultFacelet.apply(DefaultFacelet.ja
va:95)
	at
com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHan
dler.java:546)
	at
com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHa
ndler.java:589)
	at
org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(
RenderResponseExecutor.java:41)
	at
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleI
mpl.java:132)
	at
javax.faces.webapp.FacesServlet.service(FacesServlet.java:14
0)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFi
lter(ApplicationFilterChain.java:269)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App
licationFilterChain.java:188)
	at
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(E
xtensionsFilter.java:100)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFi
lter(ApplicationFilterChain.java:215)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App
licationFilterChain.java:188)
	at
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(E
xtensionsFilter.java:147)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFi
lter(ApplicationFilterChain.java:215)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App
licationFilterChain.java:188)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(Standar
dWrapperValve.java:210)
	at
org.apache.catalina.core.StandardContextValve.invoke(Standar
dContextValve.java:174)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHo
stValve.java:127)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo
rtValve.java:117)
	at
org.apache.catalina.core.StandardEngineValve.invoke(Standard
EngineValve.java:108)
	at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd
apter.java:151)
	at
org.apache.coyote.http11.Http11Processor.process(Http11Proce
ssor.java:870)
	at
org.apache.coyote.http11.Http11BaseProtocol$Http11Connection
Handler.processConnection(Http11BaseProtocol.java:665)
	at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Poo
lTcpEndpoint.java:528)
	at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(
LeaderFollowerWorkerThread.java:81)
	at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru
n(ThreadPool.java:685)
	at java.lang.Thread.run(Thread.java:595)


          Any help is appreciated.

Regards,
Rashmi



Siarhei Dudzin wrote:
> 
> That's what I have (separate files for tomahawk and
sandbox):
> 
>     <context-param>
>        
<param-name>facelets.LIBRARIES</param-name>
>         <param-value>
>            
/WEB-INF/tomahawk.taglib.xml;/WEB-INF/sandbox.taglib.xml
>         </param-value>
>     </context-param>
> 
> Regards,
> Siarhei
> 
> On 1/26/07, Bansilal Haudakari <mail2bansiyahoo.com> wrote:
>>
>> I just created sandbox.taglib.xml and the
context-param in web.xml points
>> to this file as
>> <context-param>
>>        
<param-name>facelets.LIBRARIES</param-name>
>>        
<param-value>/WEB-INF/sandbox.taglib.xml</param-val
ue>
>>     </context-param>
>>
>> Now their is a error at the top of
sandbox.taglib.xml.
>> <?xml version="1.0"?>
>> <!DOCTYPE facelet-taglib PUBLIC
>>   "-//Sun Microsystems, Inc.//DTD Facelet
Taglib 1.0//EN"
>>   "http://java.sun.com/dtd/facelet-taglib_1_0.dtd">

>>
>> MyEclipse 5.0 editor shows warning sign at "
>> 
http://java.sun.com/dtd/facelet-taglib_1_0.dtd"
stating
>>
>> The file cannot be validated as the host
"java.sun.com" is currently
>> unreachable
>>
>> Regards
>> Bansi
>>
>>
>>
>> *Bansilal Haudakari <mail2bansiyahoo.com>* wrote:
>>
>> I have found Tomahawk +Facelets :
>> http://wiki.apache.org/myfaces/Use_Facelets_with_Tomaha
wk
>>
>> Also their is Sandbox + Facelets taglib.xml file :
>> http://wiki.java.net/bin/view/Projects/Facel
etsTaglibsMyfacesSandbox
>>
>> Wondering what should i name taglib.xml file for
sandbox.
>>  Should it be tomahawk.taglib.xml OR
sandbox.taglib.xml
>>
>> What if i want both Tomahawk and Sandbox along with
Facelets in my
>> application. In otherwords i am looking for
step-by-step instruction to
>> integrate Tomahawk and Sandbox with Facelets into
my application
>>
>> Regards
>> Bansi
>>
>>  ------------------------------
>> Don't be flakey. Get Yahoo! Mail for
>> Mobile<http://us.rd.yahoo.com/evt=43909/*http://mo
bile.yahoo.com/mail>and
>> always stay
>> connected<http://us.rd.yahoo.com/evt=43909/*http://mob
ile.yahoo.com/mail>to
>> friends.
>>
>>
>> ------------------------------
>> Sucker-punch spam with award-winning protection.
>> Try the free Yahoo! Mail Beta.
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/MyFaces-Sandbox
-%2B-Facelets-tf3123662.html#a13118660
Sent from the java.net - facelets users mailing list archive
at Nabble.com.

------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribefacelets.dev.java.net
For additional commands, e-mail: users-helpfacelets.dev.java.net


[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )