Good day,


I am thinking now I can say that this was jetty.  That is text from the eclipse "Display" window  (debug perspective).


facesContext.getExternalContext().getRequestParameterMap().get("_id4:tit")
     null
     (java.lang.String)

facesContext.getExternalContext().getRequestParameterMap().keySet()
     (org.apache.myfaces.context.servlet.AbstractAttributeMap$KeySet) [_id4:_id13, _id4:tit, _id4_SUBMIT, _id4:nam, _id4:_id10, jsf_state_64, _id4:_id11, Community, _id4:_link_hidden_, _id4:_id12, _id4:res, jsf_tree_64, jsf_viewid]
     (org.apache.myfaces.context.servlet.AbstractAttributeMap$KeySet) [_id4:res, _id4_SUBMIT, jsf_viewid, Community, jsf_state_64, _id4:_link_hidden_, _id4:_id10, _id4:nam, _id4:_id11, _id4:_id12, jsf_tree_64, _id4:_id13, _id4:tit]


There are two expressions. For each _expression_ there two results. The first result (second result line) I have got from the resin, the second (first result line) -- from the jetty6. We can see, for example in both keys the request parameter map contains the key "_id4:tit". But for jetty the value of this parameter is null. Resin gives expected result -- empty string "".

I do not remember servlet specification. Now I can say that jetty6 (current snapshot) and myfaces are not compatible.


Best regards.



24.03.06, Mike Kienenberger <[EMAIL PROTECTED]> написал(а):
Well, that is a bit odd.  I don't see anything wrong with the code you posted.

How are you including your ui:composition in your master page?


Things I would try if I were you:

1) Another browser -- the submitted values from your form are
generated by your browser -- maybe the one you're using is doing
something odd!   I'm using Firefox 1.5.0.1, although I've also used IE
6 for some testing int he past.

2) Another container -- As you say, Jetty 6 is still in beta and might
be causing this, although I don't see how it could create null values
for form fields that the browser doesn't submit.

3) Duplicating your master page and composition and
methodically-deleting tags until you've reduced this down to the
minimal page code that reproduces the problem.   Then post that here.


On 3/23/06, Serge Bogatyrjov <[EMAIL PROTECTED]> wrote:
> I am using maven-jetty-plugin based on jetty6. This plugin is good for
> development. But this is a snapshot and there are bugs. Some days ago a have
> written a converter to convert a submitted empty string to null. But today I
> encountered with nulls in request parameters. Definitely, I do not sure, I
> will try.
>
>  The page is large, but it is quite simple. I have reduced it a little.
>
> 23.03.06, Mike Kienenberger <[EMAIL PROTECTED]> написал(а):
> > Seems unlikely.   I recommend posting your actual page code.
> >
> > I use facelets and jetty 5.1.x, and I haven't had these problems.
> >
> >
>
>

Reply via email to