Re: GAE problem

2010-12-13 Thread ken keller
primefaces & richfaces teams seem to dismiss myfaces. Maybe the myfaces team should get closer to these teams. Latest icefaces might not work w/ myfaces: http://jira.icefaces.org/browse/ICE-5858 Being a Java programmer isn't easy :) On Mon, Dec 13, 2010 a

Re: java.io.InvalidObjectException: enum constant attributes does not exist in class javax.faces.component.UIComponent$PropertyKeys

2010-12-11 Thread ken keller
I've verified that if you set the cipher & MAC keys in web.xml, myfaces works reliably on gae w/ client-side state saving. I've appended sample settings. http://wiki.apache.org/myfaces/Secure_Your_Application "encryption* must be used in production* environments and disable it could only be valid

Re: java.io.InvalidObjectException: enum constant attributes does not exist in class javax.faces.component.UIComponent$PropertyKeys

2010-12-10 Thread ken keller
I disabled encryption (see below), redeployed, & everything works--seemingly it is much more responsive too. What's the purpose of the encryption? When I View Source, ViewState field looks like a long, hex string. Even if it can be reverse-engineered, the values are likely to be the same ones sent

Re: java.io.InvalidObjectException: enum constant attributes does not exist in class javax.faces.component.UIComponent$PropertyKeys

2010-12-10 Thread ken keller
ers the >> session.getAttribute functions, also it happens only occasionally and >> shortly after it is picked up again, which means the session object then >> is not null anymore but is there again. >> >> >> >> >> Werner >> >> >> Am

Re: java.io.InvalidObjectException: enum constant attributes does not exist in class javax.faces.component.UIComponent$PropertyKeys

2010-12-09 Thread ken keller
h mapping probably. Either way doing the proper jsf >> ending mapping and redirection resolves that. >> >> Either way outside of that the view id must point properly to the jsf >> page I could not find any pitfall, I will give you a download link to >> the full projec

Re: java.io.InvalidObjectException: enum constant attributes does not exist in class javax.faces.component.UIComponent$PropertyKeys

2010-12-09 Thread ken keller
for me it works locally >>> here. So I assume you run into a GAE related issue here as well. >>> >>> I will do a GAE testsetup as my scarce time permits to run this through, >>> but I really assume a gae related problem or a deployment related >>> problem he

Re: myfaces popularity

2010-12-06 Thread ken keller
; > need to do anything - but if gae doesn't support it, > > then you would most > > > likely be doomed :/ > > > > > > Maybe try asking Ali Ok, he did a few things on GAE in > > the past. > > > > > > LieGrue, > > > strub > &g

Re: myfaces popularity

2010-12-05 Thread ken keller
; > >>Foo(id) > > > >>to be invoked. > > > > > > > > you can use a no-arg constructor and an init method > > > annotated with > > > > @PostConstruct. So something like this: > > > > > > > > @PostConstruct > &g

Re: myfaces popularity

2010-12-03 Thread ken keller
to implement an editor action? The managed bean needs to be initialized before rendering it. So instead of invoking the no-arg constructor, I want something like: Foo(id) to be invoked. On Fri, Dec 3, 2010 at 10:04 AM, Kito Mann wrote: > Hello Ken, > > There's definitely a lot of activi

Re: myfaces popularity

2010-12-03 Thread ken keller
> strub > > --- On Fri, 12/3/10, Matthias Wessendorf wrote: > > > From: Matthias Wessendorf > > Subject: Re: myfaces popularity > > To: "MyFaces Discussion" > > Date: Friday, December 3, 2010, 7:44 AM > > On Fri, Dec 3, 2010 at 7:28 AM, ken

myfaces popularity

2010-12-02 Thread ken keller
This mailing list isn't very active. Most of the messages seem to be about component libs like Trinidad. Is myfaces popular? Wouldn't a searchable group be more convenient than a mailing list?

Re: java.io.InvalidObjectException: enum constant attributes does not exist in class javax.faces.component.UIComponent$PropertyKeys

2010-10-24 Thread ken keller
;t update: On Thu, Oct 21, 2010 at 9:32 PM, ken keller wrote: > I'm a JSF2/myfaces rookie. I have it working w/ Eclipse Helios & gae > Eclipse plugin. When I deploy it & visit my test page, a blank page is > displayed & the log entry is appended to this me

java.io.InvalidObjectException: enum constant attributes does not exist in class javax.faces.component.UIComponent$PropertyKeys

2010-10-21 Thread ken keller
I'm a JSF2/myfaces rookie. I have it working w/ Eclipse Helios & gae Eclipse plugin. When I deploy it & visit my test page, a blank page is displayed & the log entry is appended to this message. It appears to be a session deserialization problem. Thx. for your help. javax.servlet.ServletException

inputHtml

2010-09-20 Thread Ken McArthur
ination of MyFaces and Tomahawk. What is latest release combination of MyFaces and Tomahawk is anyone seeing inputHtml work? Thanks for any ideas you may have, Ken -- 303-619-6607 dynoSite creator adsea.com

Re: inputHtml

2008-02-07 Thread Ken McArthur
Martin, Yea, I originally thought it must be tomahawk but then thought otherwise because 1.1.6 worked fine with myfaces 1.1.5. Anyway, new issue is https://issues.apache.org/jira/browse/TOMAHAWK-1192 Thanks, Ken On Feb 6, 2008 11:57 PM, Martin Marinschek <[EMAIL PROTECTED]> wrote: >

Re: inputHtml

2008-02-06 Thread Ken McArthur
Martin, Issue key = myfaces-1813 Thanks again and have a great day, Ken On Feb 6, 2008 5:21 PM, Martin Marinschek <[EMAIL PROTECTED]> wrote: > http://myfaces.apache.org/issue-tracking.html > > regards, > > Martin > > On Feb 7, 2008 1:08 AM, Ken McArthur <[EMAIL

Re: inputHtml

2008-02-06 Thread Ken McArthur
Martin, That's very cool you found the problem. I could not find myfaces project on jira.codehaus.org. Where do I need to go to open an issue? Thanks, Ken On Feb 6, 2008 1:14 PM, Martin Marinschek <[EMAIL PROTECTED]> wrote: > I have a fix for this problem - please open an

inputHtml

2008-02-04 Thread Ken McArthur
) at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:556) Any ideas? Thanks, Ken

Re: javax.faces.ViewState contents?

2007-08-23 Thread Ken McArthur
ViewState by adding the following to web.xml: org.apache.myfaces.COMPRESS_STATE_IN_CLIENT true This cut ViewState down by about 1/5th. Thanks again to all. I think I have good temporary solution but will look more into server side state saving. Ken On 8/23/07, Ken McArth

Re: javax.faces.ViewState contents?

2007-08-23 Thread Ken McArthur
Great advise, I'll try it all and update board when I figure it out. Thanks. On 8/23/07, Mario Ivankovits <[EMAIL PROTECTED]> wrote: > > Hi! > > With client state saving, I was under the impression that only managed > > beans in session scope or used in t:saveState would be serialized into > > the

Re: javax.faces.ViewState contents?

2007-08-23 Thread Ken McArthur
gt; Anything that is returned from saveState on any object implementing > StateHolder is saved into the view state. (All UIComponents implement > StateHolder) > > On 8/23/07, Ken McArthur <[EMAIL PROTECTED]> wrote: > > > > With client state saving, I was under the impr

javax.faces.ViewState contents?

2007-08-23 Thread Ken McArthur
ate saving? Thanks, I appreciate any advice, Ken

Re: jscookMenu target attribute

2007-07-24 Thread Ken McArthur
Found answer in another posting: Thanks, Ken On 7/24/07, Ken McArthur <[EMAIL PROTECTED]> wrote: It would seem normal to have a link in a dropdown menu to a url (i.e. not an action but http://... ) where target="_self" or "_parent" in navigationMenuItem s

jscookMenu target attribute

2007-07-24 Thread Ken McArthur
loaded in new frame. Ignoring target attribute seems very odd. Anyone come up with a clean way around this override? Thanks, Ken

Re: Need to switch image depending on odd or even row in datatable

2007-06-19 Thread Ken Clark
and then referenced that. In the next release we will switch to extending the Tomahawk datatable. Thanks for the assistance! Thanks, ken Mike Kienenberger wrote: > > Extend org.apache.myfaces.component.html.ext.HtmlDataTable instead, > and you should be set. > > > On

Re: Need to switch image depending on odd or even row in datatable

2007-06-18 Thread Ken Clark
I think our problem is that we have build our own datatable extension that I thought was based on the Tomahawk datatable but is actually based on the MyFaces baseline datatable implementation. Looking into switching that now... Thanks, ken Ken Clark wrote: > > Thanks for the quick

Re: Need to switch image depending on odd or even row in datatable

2007-06-18 Thread Ken Clark
a version dependency for rowIndexVar? Thanks, ken Christopher Cudennec wrote: > > Hi Ken, > > you can use attribute "rowIndexVar" for that. E.g. > > > #{_index % 2 == 0 ? 'even' : 'odd'} > > > see: http://myfaces.apache.org/t

Need to switch image depending on odd or even row in datatable

2007-06-18 Thread Ken Clark
the row is odd or even? Thanks, ken -- View this message in context: http://www.nabble.com/Need-to-switch-image-depending-on-odd-or-even-row-in-datatable-tf3941849.html#a11180728 Sent from the MyFaces - Users mailing list archive at Nabble.com.

Re: [Solved] GraphicImage Question

2007-02-22 Thread Ken McArthur
Michael, Here's another option you can try that I've used successfully. Store images in a database and create a PhaseListener to retrieve image and output the content. Ken On 2/22/07, m1380103 <[EMAIL PROTECTED]> wrote: Oh yeah of course. Can't believe I got stuck on

jscookMenu with outputLink?

2007-01-31 Thread Ken McArthur
Hi, Is there any way to use jscookMenu with a basic url instead of having to declare an action navigation rule? Thanks, Ken

jscookMenu with outputLink

2007-01-31 Thread Ken McArthur
Hi, Is there any way to use jscookMenu with a basic url instead of having to declare an action navigation rule? Thanks for great stuff, Ken

Re: t:inputHtml not working in IE

2006-11-30 Thread Ken McArthur
I've also experienced this. It appears Kupu cleans up all the html you enter here. In some ways it's good because it makes it xml compliant. However it also removes tags. :( Short answer - no. If anyone else has a clean workaround for this, I'm all ears. Ken On 11/23/0

Re: t:inputHtml not working in IE

2006-11-23 Thread Ken McArthur
Stefan, In case this still helps you or anyone else, I've just had the same experienced. For some reason adding a hight style attribute to inputHtml fixed rendering problem in IE. wrote: Hi Andrew, Thx for looking into this: I assume that it is then a weird combination of properties, that

Need help in getting 'commandButton'

2006-11-02 Thread ken carlino
I have the following form. The whole form is displayed correctly, include the input text field values are put out correctly. But when I click the 'save' button, it does not submit. It stays at the same page. And if I take out the following block(a label and an input text), the submit works.

How to use the inputfileupload component

2006-10-31 Thread ken carlino
All, I am trying to use the in myfaces. Here is my html file: And in my backbean, I have this : private UploadedFile file; public UploadedFile geFile() { return file; } public void setFile(UploadedFile file) {

[newbie] managed-property in face-config.xml

2006-10-31 Thread ken carlino
Can you help me understanding what is the difference between putting '#{param.userName}' vs putting '#{userManager}' as the value of a managed property? What is the meaning of the 'param' in the expression? userName #{param.userName} userManager

Common practice of using JSF to develop webapp

2006-10-29 Thread ken carlino
Hi, i am going to develop a Java webapp from scratch. What is the common/recommend practice of using JSF? What i learn so far is: * use facelet instead of jsp * use hibernate for ORM (instead of the whole EJB stuff) * run it inside servlet container instead of a full blown J2EE server What are

Re: Problem in marking an InputText to 'readonly' and 'disabled'

2006-10-29 Thread ken carlino
I am looking at this documentation, http://java.sun.com/javaee/javaserverfaces/1.1_01/docs/renderkitdocs/HTML_BASIC/javax.faces.Inputjavax.faces.Text.html I don't see it has the '"disabledOnClientSide" attribute. Thanks. On 10/29/06, ken carlino <[EMAIL PROTECTED]>

Re: Problem in marking an InputText to 'readonly' and 'disabled'

2006-10-29 Thread ken carlino
not posted back to server and it is ignored by the browser when submiting the form. But you can use t:inputText in combination with the attribute "disabledOnClientSide" which should be set to true. This makes sure that the value will be pushed to the form. regards, Gerald On 10/

Problem in marking an InputText to 'readonly' and 'disabled'

2006-10-29 Thread ken carlino
Hi, I have page using inputText in myfaces. It works okay. But when I try to mark the username field to either 'readonly' or 'disabled' equals to 'true'. Like this: the input field of the page in browser is not-changeable (as expected). But when i try to do a submit my form, I get

minor inputHtml oversight

2006-06-22 Thread Ken
n the classpath in sub-directory /resource of the package-directory. In fact, kupublank.html is in the resource directory.  When I copy file to resource/kupudrawers error message goes away. What is best way for noncommitter such as myself to fix this problem for everyone? Thanks, Ken

submit or fix inputHtml bug?

2006-06-21 Thread Ken McArthur
n the classpath in sub-directory /resource of the package-directory. In fact, kupublank.html is in the resource directory.  When I copy file to resource/kupudrawers error message goes away. What is best way for noncommitter such as myself to fix this problem for everyone? Thanks, Ken

jscookmenu nesting h:hiddenInput

2006-05-23 Thread Ken Clark
jscookmenu's form. Is there any way to do this? Thanks, ken clark -- View this message in context: http://www.nabble.com/jscookmenu+nesting+h%3AhiddenInput-t1669456.html#a4524641 Sent from the MyFaces - Users forum at Nabble.com.

Tomahawk 1.1.2 and inputCalendar with Safari

2006-05-16 Thread Ken
inputCalendar worked fine with Safari with myfaces_1.1.1.  Now with MyFaces 1.1.3 / Tomahawk 1.1.2 inputCalendar returns Na/Na/Na.  This is only a problem with Safari; all other browsers I've tested work fine.  Anyone have any ideas?

Re: Tomcat 5.5.16 problem

2006-05-11 Thread Ken McArthur
Try removing a couple of jar files from WEB-INF/lib of the application in webapp.I'm pretty sure one of them is commons-el-1.0.jar. Don't remember the other one but the MyFaces Tomcat configuration help page lists it. They conflict with what's shipped with Tomcat.  Good luck.On 5/11/06, Garg, Apoor

when is form tag required?

2006-05-11 Thread Ken
ing a difficult time finding consistent behavior.  Does anyone know when the commandButton and commandLink tags require to be in a form (or require a form within it's page) in order to execute its action event? Thank you all for any insights you may share,Ken

Re: Problem with simple JSF MyFaces deployment

2006-04-19 Thread Ken Clark
Thanks for pointing me in the right direction. I added jsp-2.0.jar to the WEB-INF/lib and that fixed the problem. Thanks, ken -- View this message in context: http://www.nabble.com/Problem-with-simple-JSF-MyFaces-deployment-t1472317.html#a3986692 Sent from the MyFaces - Users forum at

Problem with simple JSF MyFaces deployment

2006-04-18 Thread Ken Clark
its getMessage() value "javax/servlet/jsp/el/FunctionMapper" which doesn't tell me much of anything. Any ideas? Thanks, ken clark -- View this message in context: http://www.nabble.com/Problem-with-simple-JSF-MyFaces-deployment-t1472317.html#a3981514 Sent from the MyFaces - Users forum at Nabble.com.

myfaces and Geronimo

2006-03-22 Thread Ken McArthur
I just noticed that Geronimo is not listed under working myFaces Servlet Containers. I've successfully run myFaces 1.1.1 using Goneronimo 1.0 Tomcat and Jetty distributions.

Re: normal Link

2006-03-07 Thread Ken McArthur
Try something like this: http://www.domainName.com"   title="#{bundle.link_name}"   >   target="myId"           styleClass="lnk01 borderLeft">     value="#{bundle.link_name}"/> where popup01 = function popup02(id,width,he

Re: javascript function getScrolling()

2006-03-07 Thread Ken McArthur
- From: "Ken McArthur" <[EMAIL PROTECTED]>To: "MyFaces Discussion" <users@myfaces.apache.org>Sent: Tuesday, March 07, 2006 5:33 AM Subject: _javascript_ function getScrolling()Sometimes I'm returning to the same jsp page after executing an action.Page is rebuilt fine

javascript function getScrolling()

2006-03-06 Thread Ken McArthur
Sometimes I'm returning to the same jsp page after executing an action.  Page is rebuilt fine but position in browser returns to where I was.  Looks like culprit is _javascript_ function called getScrolling(). Anyone know how to suppress this _javascript_? I've put into my body tag but load now

Re: problem getting 1.1.1 from svn

2006-01-04 Thread Ken Weiner
Even with that suggested URL,     svn co http://svn.apache.org/repos/asf/myfaces/legacy/tags/before_maven_reorg/release/tags/1_1_1/ I get the same error:     Fetching external item into '1_1_1\share'     svn: URL 'https://svn.apache.org/repos/asf/myfaces/share/tags/1_1_1' doesn't exist I'm not

Re: utf-8 from resource bundle?

2006-01-04 Thread Ken McArthur
Got it working. Thanks a ton. On 1/4/06, xzuma <[EMAIL PROTECTED]> wrote: ResourceBundles need to be converted by native2ascii before use. The ResourceBundle Editor plugin for Eclipse does this conversion automatically.On 1/4/06, Ken McArthur < [EMAIL PROTECTED]> wrote: Hi, All my

Re: utf-8 from resource bundle?

2006-01-04 Thread Ken McArthur
from my ResourceBundle. I'd really appreciate any ideas any one may have. Thanks, Ken On 1/4/06, Ken McArthur <[EMAIL PROTECTED]> wrote: Hi, All my pages start with <[EMAIL PROTECTED] pageEncoding="utf-8" contentType="text/html; charset=utf-8" %> and have in

utf-8 from resource bundle?

2006-01-04 Thread Ken McArthur
pañol" comes back as "Espa&#195;&#177;ol".  File check on resource properties file comes back returns UTF-8 Unicode English text, with very long lines.  Any ideas what I'm doing wrong or what more I need to add? Thanks, Ken

problem getting 1.1.1 from svn

2006-01-03 Thread Ken Weiner
URL 'https://svn.apache.org/repos/asf/myfaces/share/tags/1_1_1' doesn't exist Am I using the right technique to obtain the MyFaces 1.1.1 sources from SVN? -Ken

Re: how can i arrange the style in the t:selectChecManyBox

2005-12-21 Thread Ken Weiner
Could you draw an example of the arrangement of the checkboxes that you're trying to produce?On 12/19/05, Lee YanSong < [EMAIL PROTECTED]> wrote:Hi all now i use to display a list of checkbox, but the style displayed is  not my wanted. if i want to arrange the width every column, how did i do ?  

Re: MyFaces Cherokee

2005-12-18 Thread Ken Weiner
Hi Matthias, Does the book have some good examples of building components that are based on child components, e.g. a PhoneNumber component with 3 InputText child components? -KenOn 12/16/05, Matthias Wessendorf <[EMAIL PROTECTED]> wrote: PS: The book is cool, I have read it already ;)On 12/16/05,

Re: ?

2005-11-18 Thread Ken Weiner
A while ago, I wrote some instructions regarding its use on the MyFaces wiki: http://wiki.apache.org/myfaces/ConvertBoolean .  I hope that helps.On 11/18/05, Bruno Aranda <[EMAIL PROTECTED]> wrote: That component is on the sandbox right now...Regards,Bruno2005/11/18, CONNER, BRENDAN (SBCSI) <[EMAIL

Re: Prevent Firefox from caching..

2005-11-10 Thread Ken Weiner
We use something similar which seems to work fine on Firefox and IE: no Cache no-store,no-cache 0 These are taglibs from http://jakarta.apache.org/taglibs/On 11/10/05, Mario Ivankovits < [EMAIL PROTECTED]> wrote:[EMAIL PROTECTED] wrote:>> Does anyone know, how to tell Firefox not to cache pages.

Re: ApplicationImpl Configuration Problem

2005-11-09 Thread Ken Weiner
d by: java.lang.NullPointerException     at org.apache.myfaces.application.ApplicationImpl.internalCreateConverter(ApplicationImpl.java:534)     ... 36 more Does this make sense? Is this a problem, or am I doing something wrong by writing my own application factory and application and delegating to the original? -Ken On 11/9/05, Martin Mar

ApplicationImpl Configuration Problem

2005-11-08 Thread Ken Weiner
I have a custom ApplicationFactory that wraps the original ApplicationFactory so that it can produce a custom Application that wraps the original Application.  It is configured via faces-config.xml:     custom.MyApplicationFactory As a result, the FacesConfigurator class is not able to properly

Re: t:commandLink disableOnUserRole

2005-09-27 Thread Ken
  Set up your own user role managed bean.  Give it a boolean property and tie it to the rendered attribute of the commandLink.    On 9/27/05, Eduardo Leite <[EMAIL PROTECTED]> wrote: Guys,   just to know if I'm not reinventing the wheel...   I need a property to tell a commandLink component when i

Re: Session expired

2005-09-25 Thread Ken
Assuming user logged in with an id, you could save this value as a property in your managed bean in session scope.  Then, you can see if session is expired by to checking if this property is null or empty. On 9/25/05, Dave <[EMAIL PROTECTED]> wrote: How to identify expired session so that I can sh

setting headers on the response in JSF

2005-09-15 Thread Ken Weiner
include a scriptlet in each JSP page? -Ken

Re: Boolean converter?

2005-09-15 Thread Ken Weiner
Yes, the issue in JIRA was http://issues.apache.org/jira/browse/MYFACES-451 You can get the source code from the MyFaces sandbox.On 9/14/05, Dennis Byrne <[EMAIL PROTECTED]> wrote: I think he put it in JIRA. Original message >Date: Wed, 14 Sep 2005 18:00:05 -0500 >From: "CONNER, BRENDAN \(S

extentions vs. tomahawk

2005-09-09 Thread Ken
Quick simple question.  Is there really a difference between <%@ taglib uri="http://myfaces.apache.org/extensions" prefix="x" %> and <%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t" %> Thanks, Ken

Re: changing the rendering behavior of HtmlSelectManyCheckbox

2005-09-09 Thread Ken Weiner
rsion of myfaces.You can find a working example of this on https://www.ivpv.ugent.be/contact/new.faces?lang=en . Also onhttp://www.ivpv.ugent.be/~jan/selectTest.jsp you can find a jsf file toget you started...Hope this helps.JanOn Thu, 01 Sep 2005 22:19:36 +0200, Ken Weiner <[EMAIL PR

Re: h:commandLink with h:dataTable problem

2005-09-06 Thread Ken
Use tomahawks dataTable with preserveDataModel="true". Sun's RI requires backing bean in dataModel to be in session scope; an unnecessary cost in many cases.  MyFaces will store your backing bean in this page only; an awsome extention without cost of making baking bean session scope! On 9/6/05, L

Re: help with JSF life cycle

2005-09-06 Thread Ken
If it helps, I'm certain that actionListeners get called before actionEvents; like one or two phases beforehand. On 9/6/05, javaone9 <[EMAIL PROTECTED]> wrote: I am looking at JSF spec. It is not clear to me. If the spec have had some examples/scenarios, it would have been much nicer.   Apply Requ

saveState vs. inputHidden

2005-09-01 Thread Ken
I agree that saveState is a great asset to MyFaces.  You can store whole classes between requests and it doesn't have to be nested between form tags.  Beyond this, does anyone know how it's any different then inputHidden?

Re: changing the rendering behavior of HtmlSelectManyCheckbox

2005-09-01 Thread Ken Weiner
  Thanks.     Extends standard selectManyCheckbox by user role support.     Additionally this extended selectManyCheckbox accepts a layout attribute     of value "spread" (see custom checkbox tag). -KenOn 9/1/05, Ken Weiner <[EMAIL PROTECTED]> wrote: I

changing the rendering behavior of HtmlSelectManyCheckbox

2005-09-01 Thread Ken Weiner
ing SelectItemGroups?  I'm ultimately trying to create a 2 X 2 set of checkboxes.  Thanks! -Ken

Re: best way to initialize BackingBean?

2005-08-31 Thread Ken Weiner
I hadn't thought of that.  I guess it would work fine when you want to specify a converter by ID.  However, it wouldn't work when JSF looks for a converter by Class, would it?On 8/31/05, Craig McClanahan <[EMAIL PROTECTED]> wrote: On 8/31/05, Ken Weiner < [EMAIL PROTECTED]>

Re: JSF + Spring + Hibernate

2005-08-31 Thread Ken Weiner
.It is one of those border cases...Larry Meadors wrote:> Heheh, are you suggesting that making your DAO layer depend upon your> view layer is a bad idea?> > I would have to agree>> Larry>>> On 8/31/05, Ken Weiner <[EMAIL PROTECTED]> wrote:>>>I have a

Re: best way to initialize BackingBean?

2005-08-31 Thread Ken Weiner
The Spring JSF integration I've seen focuses on enabling Spring IoC for JSF managed beans.  There is a way to enable IoC for JSF Converters, Validators, and UIComponents too.  I posted information on the Spring JSF Wiki: http://opensource.atlassian.com/confluence/spring/x/Qgo I was hoping Spring wo

Re: JSF + Spring + Hibernate

2005-08-31 Thread Ken Weiner
azy-loaded object graphs can change DAO implementations easily? -Ken

Re: Errors

2005-08-29 Thread Ken Weiner
I think you need to make sure servlet.jar is in your classpath.On 8/29/05, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote:Hello!I try to implement my own custom compontent. But I get one Error in my Tag.java  and one Error for the project.The type javax.servlet.jsp.tagext.Tag cannot be resolved. It

Re: x:convertBoolean

2005-08-26 Thread Ken Weiner
Thanks Sean. I just created http://issues.apache.org/jira/browse/MYFACES-451 and uploaded my code and patches in case anyone wants to take a look. I'm happy to add more docs and unit tests if required. On 8/25/05, Sean Schofield <[EMAIL PROTECTED]> wrote: > Looking forward to your contribution.

Re: h:commandLink with f:param not working with expired session.

2005-08-26 Thread Ken
FYI, Looks like there's a bug in JSF. See http://forum.java.sun.com/thread.jspa?threadID=549675&tstart=0 Hope this helps anyone else who may be running into this problem. On 8/24/05, Ken <[EMAIL PROTECTED]> wrote: > I'm attempting to convert working Sun JSF RI

Re: x:convertBoolean

2005-08-25 Thread Ken Weiner
ocumentation and a simple example (or add to an existing > simple example) when appropriate. The docs and examples are now > required for new tomahawk goodies. > > sean > > On 8/25/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > Looks convenient Ken. P

x:convertBoolean

2005-08-25 Thread Ken Weiner
JSF has and , but nothing I've seen to convert Booleans to custom values. Has something like already been written by anyone? I have just written one and would be willing to contribute it to MyFaces if there is interest. It is used like this: -Ken

Re: How to call a method in the backing bean from a JSF page

2005-08-24 Thread Ken Weiner
, ...); } public PhaseId getPhaseId() { return PhaseId.RESTORE_VIEW; } } Disclaimer: I haven't tried this code so I don't know if it would work or even compile. -Ken On 8/24/05, Saul Qunming Yuan <[EMAIL PROTECTED]> wrote: > Thanks for your response. I guess I d

Re: How to call a method in the backing bean from a JSF page

2005-08-24 Thread Ken
ng from the method so nothing gets printed out from > . > > > - Original Message - > From: "Ken" <[EMAIL PROTECTED]> > To: "MyFaces Discussion" > Sent: Wednesday, August 24, 2005 9:53 PM > Subject: Re: How to call a method in the backing bean from a JSF page >

Re: How to call a method in the backing bean from a JSF page

2005-08-24 Thread Ken
Try h:commandLink or h:commandButton. If your method returns a string that doesn't match any navigation-rule in your faces-confix.xml then the same page you came from will be rendered again. On 8/24/05, Saul Qunming Yuan <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm wondering what's the correc

h:commandLink with f:param not working with expired session.

2005-08-24 Thread Ken
d after my session has expired? Thanks, Ken

Re: Questions on required="true" attribute

2005-08-24 Thread Ken Weiner
pecific to MyFaces: Isn't it only specific to the MyFaces extensions? In other words, couldn't I use it with the RI as long as I included the myfaces-extensions-1.0.9.jar and referenced the taglib? -Ken On 8/24/05, Martin Marinschek <[EMAIL PROTECTED]> wrote: > Use the t:message

Re: confusion on best practices in regard to a VO in BackingBean

2005-08-24 Thread Ken Weiner
I believe Slawek was referring to "Rick Hightower". On 8/24/05, Rick Reumann <[EMAIL PROTECTED]> wrote: > On 8/24/05, Slawek <[EMAIL PROTECTED]> wrote: > > > > but Rick says in his article that: > > view is only jsp page, controler is backing bean and model has business > > logic > > I take it

Re: Why not reuse jsf-api.jar from Sun?

2005-08-24 Thread Ken Weiner
> Trust me ... you don't want to read all the EG threads on that topic > :-). But the short answer is, consider what happens in a future > version of JSF, when (for good reason) a new method signature is added > to the Renderer API. If it were an interface, you've just broken > every current impl

Re: Why not reuse jsf-api.jar from Sun?

2005-08-24 Thread Ken Weiner
" imply a class rather than interface or is it up to the implementation? -Ken On 8/24/05, Martin Marinschek <[EMAIL PROTECTED]> wrote: > Ken, > > can I ask you to file that as a jira-issue? > > If possible, include both yours and Craigs evaluation of the problem > as

Re: Why not reuse jsf-api.jar from Sun?

2005-08-23 Thread Ken Weiner
I realize I could override the encodeChildren() method to be safe, but don't you agree that it would be easy for someone to fall into a trap? Maybe, in this case, one of the implementations is not adhering to the spec. -Ken On 8/23/05, Sean Schofield <[EMAIL PROTECTED]> wrote: > > The way

Why not reuse jsf-api.jar from Sun?

2005-08-23 Thread Ken Weiner
actRenderer, and I extend javax.faces.render.Renderer, then my components could break if I switch between the RI and MyFaces. I hope someone can help me understand the nature of the JSF spec, API classes, and various implementations. Thanks. -Ken