Geeting All Managed Beans

2006-02-22 Thread Ali Raza
Greetings,Is there some method which would return me all the managed beans in the application. I tried using org.apache.myfaces.config.impl.digester.DigesterFacesConfigDispenserImpl class but the iterator returned by getManagedBeans function was empty. If someone could point me to a working example

jsf Page Refresh Problem

2006-02-20 Thread Ali Raza
Greetings yet again,I am facing a problem with myfaces. Whenever i refresh the page the previous action that i have performed (event trigerred) is repeated. I am quite far along in my work on custom jsf components and might have to scrap all my work because of this problem. Any help in this regard

Re: Adding UIColumns and Factes to HtmlDataTable

2006-02-15 Thread Ali Raza
Thanx a lot. worked like a charm.On 2/16/06, Craig McClanahan <[EMAIL PROTECTED]> wrote: On 2/15/06, Ali Raza <[EMAIL PROTECTED]> wrote: Greetings,I am trying to add a DataTable object to my custom component as a child. I have made UIColumn objects to add to the datatable but can

Adding UIColumns and Factes to HtmlDataTable

2006-02-15 Thread Ali Raza
Greetings,I am trying to add a DataTable object to my custom component as a child. I have made UIColumn objects to add to the datatable but can not find the Facet class to add facets to UIColumn. Any help or example reference would help a lot. ThanxAli-- "A sixteenth century inventor called Wan Hu

Re: HtmlCommandButton problem

2006-02-11 Thread Ali Raza
), its true. so now im completely stumped and would really appreciate your help. Thanx AliOn 2/11/06, Ali Raza <[EMAIL PROTECTED]> wrote: Thanx Martin,my rendered page code is as follows:The current problem happens only when i encode submit type HtmlCommandButton to submit the form... and not

Re: HtmlCommandButton problem

2006-02-11 Thread Ali Raza
t;                            src="">                            />Comment1Comment1Comment111 <br>                        Feb 2006</td><br>                    </tr><br>                    <tr><br>                        <td><input id=&q

HtmlCommandButton problem

2006-02-10 Thread Ali Raza
Greetings,   I am trying to add an object of HtmlCommandButton to my parent component as a submit type button. but for some reason when the button is encoded the onclick attribute is also encoded hence instead of the form being submit i get redirected to my index page ... any idea why ???   this i

HtmlInputCalendar problem

2006-02-07 Thread Ali Raza
Greetings,I made a custom component in which i created an object of HtmlInputCalendar. i set the renderaspopup to true but it doesnt show me the dates on the popup. the page from which i am calling the component has all the scripts for jscalendar included. I have attached a screen shot of the probl

Re: Panel Grid custom component

2006-02-05 Thread Ali Raza
That works with only HtmlPanelGrid as the base class and not with UIInput or UIPanel.On 2/5/06, Ali Raza <[EMAIL PROTECTED] > wrote:But i was wondering whether i could exten my component from UIInput or something and add an HTmlPanelGrid to it as a child ?? ThanxAliOn 2/5/06, Ali Raza &

Re: Panel Grid custom component

2006-02-05 Thread Ali Raza
But i was wondering whether i could exten my component from UIInput or something and add an HTmlPanelGrid to it as a child ??ThanxAliOn 2/5/06, Ali Raza <[EMAIL PROTECTED]> wrote: Holas Volker,Thanx a lot for your help. I saw the way u had done it and realized my error. i was extendi

Re: Panel Grid custom component

2006-02-05 Thread Ali Raza
Holas Volker,Thanx a lot for your help. I saw the way u had done it and realized my error. i was extending the component from UIPanel and then adding an Html Panel Grid to it as a child which doesnt make sense to begin with. Although even though what i was doing was wrong design wise it still

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 )    {   

Panel Grid custom component

2006-02-02 Thread Ali Raza
Greetings again,Instead of adding components by rendering the htl myself i am adding chilid components and calling their encode methods as following:public void encodeBegin( FacesContext context )    {     try    {    ResponseWriter writer = context.getResponseWriter();    w

Adding Child Components to a custom Component Dynamically

2006-02-01 Thread Ali Raza
Greetings yet again,can i add child components to  my existing custom components dynamically  without having to  generate HTML  i.e. encode everything myself? I found an exmple of this at http://www.jsffaq.com/Wiki.jsp?page=HowToAddFormComponentsDynamically  but it didnt work as it was supposed t

Re: Page Refresh Problem

2006-02-01 Thread Ali Raza
> Thanx> ALI>> On 2/2/06, Laurie Harper <[EMAIL PROTECTED]> wrote:>> Ali Raza wrote:>>> Greetings, >>>>>> Is there any way to determine whether a page has been refresehed ? Is>> there>>> some object in the request Map or somethin

Re: Page Refresh Problem

2006-02-01 Thread Ali Raza
hey Laurie,I browsed the shale package details etc and all the functionality was either devlopoing or evolving in terms of stability ratings. are there any stable alternatives ?Thanx ALI On 2/2/06, Laurie Harper <[EMAIL PROTECTED]> wrote: Ali Raza wrote:> Greetings,>> Is there any w

Page Refresh Problem

2006-01-31 Thread Ali Raza
Greetings,Is there any way to determine whether a page has been refresehed ? Is there some object in the request Map or something to indicate that the page has been refreshed from the client instead of actual postback from some submit button  ? My problem is that when the page is refreshed the last

Re: Reading context-param from java code

2006-01-31 Thread Ali Raza
Thanx a lot Dennis. On 1/27/06, Dennis Byrne <[EMAIL PROTECTED]> wrote: I believe you are looking for the following :FacesContext.getCurrentInstance().getExternalContext().getInitParameter()Dennis Byrne>-Original Message----->From: Ali Raza [mailto: [EMAIL PROTECTED]]>Sent: Fri

Reading context-param from java code

2006-01-27 Thread Ali Raza
Greetings,Is there any way i can read the value of the context-param tag in web.xml from java code without having to actually parse the web.xml using some xml reader/parser class ?ThanxA -- "A sixteenth century inventor called Wan Hu designed a rocket-propelled chair on which he planned to ascend i

Re: My Faces extensions component problem

2005-12-20 Thread Ali Raza
mahawk/extensionsFilter.htmlOn 12/20/05, Ali Raza < [EMAIL PROTECTED]> wrote:> Greetings,>>  I have downloaded my faces examples and the simple project (simple.war)> runs fine.>  but when i try to use  the same components on my own seperate new project > it does not render the tag>>  

My Faces extensions component problem

2005-12-20 Thread Ali Raza
Greetings, I have downloaded my faces examples and the simple project (simple.war) runs fine. but when i try to use  the same components on my own seperate new project it does not render the tag //-->   in the head of the page. Any idea why this happens ? Thanx A-- "A sixteenth century invento

myFaces 1.1.1 Date problem

2005-12-14 Thread Ali Raza
Greetings Im facing a problem in that my project used to work fine before on 1.0.9 but since iv migrated to 1.1.1 i have been encountering a starnge error. some jsf setting( porbably locale) sets the dates that the current dates that jsf displays are of the previous date i.e. 1 less than they hsou

Error calling action method of component

2005-12-08 Thread Ali Raza
Greetings, I am migrating my project from myfaces 1.0.9 to 1.1.1 (latest 6th Dec nightly build). on one page when i click a button to post user input values i get the exception :   type Exception report message description The server encountered an internal error () that prevented it from fulf