struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Holmes" <ja...@jamesholmes.com>
Subject RE: struts-faces nightlies
Date Wed, 16 Jun 2004 21:18:02 GMT
What browser are you testing under?

In IE the base tag seems to be rendering an invalid base href.  FireFox gets
the invalid href too and just gracefully handles it.  In IE you can't even
create a new entry with the registration page.  IE tries to submit the page
to a URL with an invalid base href.

I am looking into this and hope to fix it soon.  If you have any more info
please let me know.

-James

-----Original Message-----
From: Michael Rasmussen [mailto:rasmusmc1@hotmail.com] 
Sent: Tuesday, June 15, 2004 9:15 AM
To: dev@struts.apache.org
Subject: RE: struts-faces nightlies

Actually the error I was seeing turned out to be "You are stupid" flashing 
on the screen.  I was missing a jar file.

I made some changes to the code on my box and got some interesting results.

First I changed the BaseTag.java code to reference BaseRenderer instead of 
this code

    public String getRendererType() {

        return ("org.apache.struts.faces.Base");

    }

Seemed logical.  This fixed the initial error, but caused some exceptions in

the jsf-impl code I think.  in UIComponent.  This seemed to stem from its 
attempts to call a method in BaseRenderer that maybe didn't exist.  I didn't

really ahve time to investigate.  The code I worked on is on my box at home,

so I can't send you a patch...but if you want ot work on it I would suggest 
ensuring that all of the getRenderType methods in the 
org.apache.struts.faces.taglib classes point to the correct renderer type.  
I imagine this is the source of many of the problems.
Of note...
I also get this error messgae with several pages in struts-faces 0.4 (with 
many of the actions)

WARNING: Unable to determine FaceServlet mapping for servlet path 
'/editRegistration.do'

I thought that the FacesRequestProcessor was supposed to route all 
navigation requests back to struts?

Michael

>From: "James Holmes" <james@jamesholmes.com>
>Reply-To: "Struts Developers List" <dev@struts.apache.org>
>To: "'Struts Developers List'" <dev@struts.apache.org>
>Subject: RE: struts-faces nightlies
>Date: Tue, 15 Jun 2004 10:01:23 -0400
>
>What error are you seeing?
>
>I was away for the weekend, but am ready now to pickup with this stuff and
>get any issues ironed out.
>
>-James
>
>-----Original Message-----
>From: Michael Rasmussen [mailto:rasmusmc1@hotmail.com]
>Sent: Thursday, June 10, 2004 6:33 PM
>To: 'Struts Developers List'
>Subject: struts-faces nightlies
>
>Is anyone else having trouble with the struts-faces nightly.  I get an
>exception on almost every page that relates to line 120 of
>org.apache.struts.faces.application.FacesRequestProcessor where there is a
>fixme  I don't understand what is supposed to happen here...but the error
>has rendered struts-faces useless (at least for me).
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>For additional commands, e-mail: dev-help@struts.apache.org
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>For additional commands, e-mail: dev-help@struts.apache.org
>

_________________________________________________________________
Is your PC infected? Get a FREE online computer virus scan from McAfeeR 
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message