Yes. If you use Facelets http://facelets.java.net/. Facelets uses XHTML
files and gets around the whole mess with having to use the <f:verbatim />
tag. It's also the default view renderer in JSF 2.x. The only catch is that
you have to use at least JSF 1.2.

I found this link useful in the past setting it up,
http://wiki.apache.org/myfaces/Websphere_Installation. I didn't end up using
the sun implementation instead of MyFaces, but the instructions still seemed
to work.

--
James R. Perkins


On Thu, May 12, 2011 at 14:05, Hockchai Lim
<lim.hock-chai@xxxxxxxxxxxxxxx>wrote:

are you saying that I can use jsf without putting jsf code in a jsp page?



"James Perkins" <jrperkinsjr@xxxxxxxxx> wrote in message
news:mailman.43531.1305226482.2702.web400@xxxxxxxxxxxx...
You can get it to support JSF 1.2 and Facelets, but it requires some
trickery :-) You have to either use a shared library or have the JSF 1.2
libraries (and Facelets if you want to use those which I would suggest)
in
the WEB-INF/lib folder. You then have to change the application to load
libraries from the application first. I can't remember the exact
terminology, but it's something like that.

I'd honestly not suggest learning JSF 1.1. So much has changed since then
and it's really a pretty bad version. If you use JSF 1.2 with Facelets
you
get close to JSF 2.0. If you can go to WAS 7, it uses JSF 1.2 by default.
At
one point I had JSF 2.0 working on it, but it breaks EJB injection.

As far as you're error, that's tough to say without seeing any source. It
could be lots of different things. I haven't used JSF with JSP's in many
years though.

--
James R. Perkins


On Thu, May 12, 2011 at 11:22, Hockchai Lim
<lim.hock-chai@xxxxxxxxxxxxxxx>wrote:

I'm using Websphere 6.1, which only support jsf 1.1.


"James Perkins" <jrperkinsjr@xxxxxxxxx> wrote in message
news:mailman.43521.1305224022.2702.web400@xxxxxxxxxxxx...
What version of JSF are you using? What application server, looks like
WAS,
are you running? IBM is way behind on JSF.
--
James R. Perkins


On Thu, May 12, 2011 at 10:00, Lim Hock-Chai
<Lim.Hock-Chai@xxxxxxxxxxxxxxx>wrote:

Ok. I see that I have mis-spelled an attribute name. I corrected it
and now. I'm getting a blank page. In the websphere ffdc log, I'm
setting this. Not sure if that is the cause of my blank page
problem:


Index Count Time of last Occurrence Exception SourceId ProbeId
------+------+---------------------------+--------------------------
1 1 5/12/11 11:55:30:182 CDT org.omg.CORBA.BAD_OPERATION
com.ibm.ws.naming.jndicos.CNContextImpl.isLocal 3510
------+------+---------------------------+--------------------------
+ 2 1 5/12/11 11:55:32:588 CDT
javax.naming.NameNotFoundException

com.ibm.ws.naming.ipcos.WsnOptimizedNamingImpl.do_resolve_complete_info
1133


...
------Start of DE processing------ = [5/12/11 11:55:32:588 CDT] , key
=
javax.naming.NameNotFoundException

com.ibm.ws.naming.ipcos.WsnOptimizedNamingImpl.do_resolve_complete_info
1133
Exception = javax.naming.NameNotFoundException
Source =

com.ibm.ws.naming.ipcos.WsnOptimizedNamingImpl.do_resolve_complete_info
probeid = 1133
Stack Dump = javax.naming.NameNotFoundException: Name
"RMIConnector2810"
not found in context "".
at

com.ibm.ws.naming.ipbase.NameSpace.lookupInternal(NameSpace.java:1095)
at
com.ibm.ws.naming.ipbase.NameSpace.lookup(NameSpace.java:991)
at com.ibm.ws.naming.ipcos.WsnOptimizedNamingImpl.do_resolve_
....


------Start of DE processing------ = [5/12/11 11:55:30:182 CDT] , key
=
org.omg.CORBA.BAD_OPERATION
com.ibm.ws.naming.jndicos.CNContextImpl.isLocal 3510
Exception = org.omg.CORBA.BAD_OPERATION
Source = com.ibm.ws.naming.jndicos.CNContextImpl.isLocal
probeid = 3510
Stack Dump = org.omg.CORBA.BAD_OPERATION: The delegate has not been
set!
vmcid: 0x0 minor code: 0 completed: No
at
org.omg.CORBA.portable.ObjectImpl._get_delegate(ObjectImpl.java:80)
at
org.omg.CORBA.portable.ObjectImpl._is_local(ObjectImpl.java:381)
at

com.ibm.ws.naming.jndicos.CNContextImpl.isLocal(CNContextImpl.java:4901)
at

com.ibm.ws.naming.jndicos.CNContextImpl.<init>(CNContextImpl.java:365)




"Hockchai Lim" <lim.hock-chai@xxxxxxxxxxxxxxx> wrote in message
news:<mailman.43490.1305217458.2702.web400@xxxxxxxxxxxx>...
I'm trying out this jsf thingy and am getting this error when I run
the jsp:

com.ibm.ws.jsp.translator.JspTranslationException: JSPG0227E:
Exception
caught while translating /pages/Convertor.jsp:
/pages/Convertor.jsp(14,5) --> JSPG0123E: Unable to locate tag
attribute
info for tag attribute coulmns.
at


com.ibm.ws.jsp.translator.visitor.validator.ValidateVisitor.validateCust
omTagAttributeValues(ValidateVisitor.java:1951)
at


com.ibm.ws.jsp.translator.visitor.validator.ValidateVisitor.visitCustomT
agStart(ValidateVisitor.java:327)
at


com.ibm.ws.jsp.translator.visitor.JspVisitor.processJspElement(JspVisito
r.java:267)


Can someone please clue me in on what to check or how I can debug
this?

thanks


--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.




--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.




--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.