url « Data « JSF Q&A

1. JSF Link Parameter get null    stackoverflow.com

I have a page with link http://localhost:8080/Test/Page.faces?id=asdasdasd The page got 2 text field and one button, after user key in the details and click submit, it works well when ...

2. parameter in URL jsf2    stackoverflow.com

I need to have this link: http://myserver:/myproject/innerpage/clip.jsf&id=9099 to extract the id from a code like this:

HttpServletRequest request = (HttpServletRequest)FacesContext.getCurrentInstance().getExternalContext().getRequest();
String clipId = request.getParameter("id");
When I run it on tomcat I get:
message ...

3. passing URL parameter using command Button in jsf portal using Jsr 168    stackoverflow.com

I am not able to recieve parameter from the URl when I am calling another portlet using Command Button in Jsf in JSR 168. Actually I am calling ...

4. why I cannot get the url parameter with jsf?    stackoverflow.com

I use jsf 1.x. I do not understand where I am wrong with my code. faces-config.xml


5. JSF2 URL GET parameter    stackoverflow.com

It's easily possible with JSF2 to process GET requests with this annotations:

  <f:viewParam name="id" value="#{bean.id}"/>
  <f:viewParam name="name" value="#{bean.name}"/>
  <f:event type="preRenderView" listener="#{bean.init}" />
and the init method in my bean:
public ...

6. Passing parameters on url    coderanch.com

7. Need parameters in URL !!!    coderanch.com

8. Stuck in URL parameter to JSF problem    coderanch.com

I'm stuck on this problem. I've googled a lot and I cant find why this is not working. could anyone help me? Any help would be apreciated. The consulta.jsp is invoked this way: http://localhost:8080/admsite/consulta.jsp?sigla=ECE my faces-config.xml: Usuario com.itautec.mdi.facades.Usuario request Servicos com.itautec.mdi.facades.Servicos request StatusDocumentos com.itautec.mdi.facades.StatusDocumentos request