BUILD ERROR - Project ID: null:maven-resources-plugin:maven-plugin:2.3-20060725.131549-1

2008-01-22 Thread Ole Ersoy
Hi, I checked out core from the trunk about a month ago, and it built fine. Today I'm trying to build again, and noticed that maven tried to download some stuff. I immediately slaughtered a chicken and did a dance, but the build still failed. This is the message: [ERROR] BUILD ERROR

Build Question

2008-01-22 Thread Ole Ersoy
Hi, I have issues building the 1.2.0 version of core, so I checked out the trunk to see if I could build it. It builds fine. So now I need to check out the corresponding version of shared. When I lookup the version of shared in the pom, I see this: ${myfaces-shared.version} Anyone know

Re: Build Question

2008-01-22 Thread Ole Ersoy
OK - That was simple...it's defined in the properties element in the bottom of the pom. Sorry for the noise. - Ole Ole Ersoy wrote: Hi, I have issues building the 1.2.0 version of core, so I checked out the trunk to see if I could build it. It builds fine. So now I need to check out

Re: BUILD ERROR - Project ID: null:maven-resources-plugin:maven-plugin:2.3-20060725.131549-1

2008-01-22 Thread Ole Ersoy
I checked out core 1.2.2 and shared 3.0.2, which build fine, so I'm cruising. Please let me know if more information is needed in the case that this is something that still needs to be fixed. Cheers, - Ole Ole Ersoy wrote: Hi, I checked out core from the trunk about a month ago

Re: Getting the backing bean via a phase listener

2008-01-04 Thread Ole Ersoy
simon wrote: On Thu, 2008-01-03 at 22:13 -0600, Ole Ersoy wrote: Hi, I'd like to have a phase listener that retrieves the backing bean updated during a post. Is there a handle exposing it generically (Type Object) somewhere...? There is no concept of the backing bean for a view in JSF. A view

Re: How to Hack the HtmlFormRenderer?

2007-12-17 Thread Ole Ersoy
Hi Martin, Martin Marinschek wrote: Hi ole, what form are you using? h:form or s:form? I'm using the h:form. If you are using h:form, then you'll be working against: org/apache/myfaces/shared_impl/renderkit/html/HtmlFormRendererBase.java In any case, you are right, they stem from the

Re: Adding a property to a component and rendering it ... the magic way?

2007-12-17 Thread Ole Ersoy
Hi Simon, simon wrote: Hi Ole, It is good to know that Facelets adds attributes automatically. Yes it's great. Kudos to Jacob! Yes, I guess it would be possible to modify HtmlRendererUtils.renderHtmlAttributes to also look into the component it is passed for extra attributes that it

Re: How to Hack the HtmlFormRenderer?

2007-12-17 Thread Ole Ersoy
Hi Simon, Excellent explanation. It all makes much more sense now. I'll give it go. Thanks again, - Ole simon wrote: On Mon, 2007-12-17 at 09:52 -0600, Ole Ersoy wrote: This is what I did initially (Might be valuable in case there are some build issues): svn co http://svn.apache.org

Re: Adding a property to a component and rendering it ... the magic way?

2007-12-17 Thread Ole Ersoy
it in ResponseWriter is that it will work for all JSF components, not just the MyFaces ones. I think that is extremely useful.. Regards, Simon On Mon, 2007-12-17 at 00:22 -0600, Ole Ersoy wrote: Good News - The tag attributes are automatically added to the UIComponent.attributes map (At least

Re: Adding a property to a component and rendering it ... the magic way?

2007-12-16 Thread Ole Ersoy
Hey Guys, I tried hacking the org.apache.myfaces.shared.renderkit.html.HTML constants contained in dependency groupIdorg.apache.myfaces.shared/groupId artifactIdmyfaces-shared-core/artifactId version3.0.0/version scopecompile/scope /dependency to see if

How to Hack the HtmlFormRenderer?

2007-12-16 Thread Ole Ersoy
Hi, I've been trying to hack the HtmlFormRenderer. It's contained in org.apache.myfaces.shared.renderkit.html...but appears to be moved to org.apache.myfaces.shared_impl.renderkit.html during the build. I tried commenting out all of encodeBegin. Then I deleted the myfaces directory in my

Re: Adding a property to a component and rendering it ... the magic way?

2007-12-16 Thread Ole Ersoy
element to be able to add attributes. However, if the renderers are correctly using the response writer, they should be calling startElement(String, UIComponent). By subclassing this, you can trap the call, look for you attributes and add them to the element. -Andrew On Dec 14, 2007 7:07 PM, Ole

Re: Adding a property to a component and rendering it ... the magic way?

2007-12-15 Thread Ole Ersoy
, then the renderer would render the pass through attributes. Otherwise, we would get the current default behavior. Thoughts? Thanks again, - Ole simon wrote: On Fri, 2007-12-14 at 20:07 -0600, Ole Ersoy wrote: Hi, I have a attribute that I just need to get passed through to the corresponding html

Re: Adding a property to a component and rendering it ... the magic way?

2007-12-15 Thread Ole Ersoy
attributes. However, if the renderers are correctly using the response writer, they should be calling startElement(String, UIComponent). By subclassing this, you can trap the call, look for you attributes and add them to the element. -Andrew On Dec 14, 2007 7:07 PM, Ole Ersoy [EMAIL PROTECTED] wrote: Hi

Adding a property to a component and rendering it ... the magic way?

2007-12-14 Thread Ole Ersoy
Hi, I have a attribute that I just need to get passed through to the corresponding html element. For example: h:form id=registrationForm anAdditionalAttribute=I need to get through to the form element /h:form In the rendered output I would like: form ...

NPE when adding dependency to webapp

2007-09-13 Thread Ole Ersoy
Hi, I'm getting an exception with myfaces when adding a dependency to the webapp. This dependency contains a component and renderer, but I removed the META-INF directory, so it should just be interpreted as a simple java dependency. If I completely remove the dependency the test app deploys

Re: java.lang.IllegalStateException: No Factories configured for this Application

2007-09-13 Thread Ole Ersoy
This is causing the ruckus. If I revert to using ValueBinding and remove this dependency the app runs fine. Maybe I should have platform scope or something for this dependency. I'll give that a shot next. Cheers, - Ole Ole Ersoy wrote: Hi, I get a java.lang.IllegalStateException: No Factories

Re: java.lang.IllegalStateException: No Factories configured for this Application

2007-09-13 Thread Ole Ersoy
Got it. I changed the scope of the el dependency to provided, and it took care of it. dependency groupIdjavax.servlet.jsp/groupId artifactIdjsp-api/artifactId version2.1/version scopeprovided/scope /dependency Cheers, - Ole Ole Ersoy

jetty plugin with myfaces 1.2.0

2007-09-09 Thread Ole Ersoy
Hi, Does anyone know if there is any documentation anywhere on how to use the jetty-plugin with myfaces 1.2.0? Thanks, - Ole

Where is myfaces-1.2.0-examples.zip?

2007-09-08 Thread Ole Ersoy
Hi, Does anyone know whether there is a myfaces-1.2.0-examples.zip anywhere? Here: http://myfaces.apache.org/gettingstarted.html it says that there's one here: http://myfaces.apache.org/download.html Maybe the myfaces-1.2.0-examples is really referring to the tomahawk examples? Thanks, -