Re: Best Way to Get Request Parameters

2006-02-04 Thread Matthias Wessendorf
Hi Mike HttpServletRequest request = (HttpServletRequest)FacesContext.getCurrentInstance().getExternalContext().getRequest(); String someParameterValue = request.getParameter(Constants.SOME_PARAMETER_KEY); I have a feeling that this is not the best way. Is there some methodology in

weird error when using jscookmenu / not sure w here problem is

2006-02-04 Thread Marco Mistroni
hello all, i have a webapp that uses myfaces..as menu of application, i have always used struts-menu and everythingworked fine.. so i decided to move to use jscookmenu.Menu is displayed fine, however something weird is happening when i clikc on one menu item, i am redirected to the proper page (i

Re: Panel Grid custom component

2006-02-04 Thread Ali Raza
Hey Volker,I tried to add the components as you have instructed but nothing at all gets rendered that way. i wonder if im inheriting my component from the right base class UIPanel in my case any how the code im trying now is: public void encodeBegin( FacesContext context ) { try {

Re: Best Way to Get Request Parameters

2006-02-04 Thread Mike Duffy
Perfect. Thx Matthias --- Matthias Wessendorf [EMAIL PROTECTED] wrote: Hi Mike HttpServletRequest request = (HttpServletRequest)FacesContext.getCurrentInstance().getExternalContext().getRequest(); String someParameterValue =

UISelectOne or UISelectMany with spread layout in HtmlPanelGrid

2006-02-04 Thread Matthias Kahlau
Hi! If I add a UISelectOne or UISelectMany component with spread layout as child to a HtmlPanelGrid, does this component count as child or not. In JSP, I think it doesn't count as child, but the single HtmlRadio or HtmlCheckbox components. This is what I'd expect when I build the UI

How I can read managed property value from faces-config file in class constructor?

2006-02-04 Thread Yogesh Chaudhari
Hi, I would like to read show managed property value in InvoiceBean class constructor so I can populate different resultset in invoices arraylist to display on page. Thanks, Yogesh public class InvoiceBean { private String show; ArrayList invoices; public InvoiceBean ()

h:messages Tag Only Works Within a Request?

2006-02-04 Thread Mike Duffy
It seems that the h:messages tag only works within a request. If something goes wrong on the current page, the messages display fine. What I would like to be able to do is display a message on the next page (in a new request scope) once the current page has processed. I can't seem to get

Re: How I can read managed property value from faces-config file in class constructor?

2006-02-04 Thread Dennis Byrne
Whem Myfaces loads, it unmarshalls the faces configurations file(s) into an object model. It stores this in application scope, check the source in order to find out which attribute key this is, I forget. You can also just create your own. FacesConfigUnmarshaller _unmarshaller = new

Re: How I can read managed property value from faces-config file in class constructor?

2006-02-04 Thread Laurie Harper
Yogesh Chaudhari wrote: Hi, I would like to read show managed property value in InvoiceBean class constructor so I can populate different resultset in invoices arraylist to display on page. Thanks, Yogesh public class InvoiceBean { private String show; ArrayList invoices;

returning to same position within a datascroller?

2006-02-04 Thread Tom Butler
Is it possible to return to the same position within a datascroller after leaving the page and returning (i.e., datatable displays a large result set; user has scrolled through the data and is on the 3rd page of data; user selects a record which links them to a detail page; now want to