Re: another commandLink problem

2006-01-17 Thread Mike Kienenberger
Right. We know the navigation rules are correct which is why I didn't ask for them. The jsp code and possibly the managed bean definitions are what we need to see. On 1/17/06, Garner, Shawn <[EMAIL PROTECTED]> wrote: > > /context07/summary.jsp > > college > /context07/coll

RE: another commandLink problem

2006-01-17 Thread Garner, Shawn
I tried client and now it blows up on every link on pages that use to work. I don't use the back button.  I just use the same url from a new browser window after I restart the server.   Shawn   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 17, 2006 2

Re: myFaces and dynamic table model

2006-01-17 Thread Andreas Zeller - zit-systems
My idea was as follows: Add a remove button like "-", arrows for moving columns from left to right all inside a panelgroup in the table header. Columns have IDs, that's how I identify them. For each ID there's a position. I store these values inside a Map. When building the actual table Mode

Re: myFaces and dynamic table model

2006-01-17 Thread Simon Kitching
On Tue, 2006-01-17 at 21:20 +0100, Andreas Zeller - zit-systems wrote: > Hi there, > > I have been working with myFaces for the past few weeks and tried to > implement a product management tool. > > Works as follows: > > It displays and html table with several columns, that should as well be > r

Re: myFaces and dynamic table model

2006-01-17 Thread Mike Kienenberger
Well, I'd base it on the Swing Table model rather than inventing this all from scratch. You actually need two models: - Your data model, where columns can be marked disabled. - Your column view model, which only contains the columns in the rendering order. So your data model has 1,2,3,4,5 and you

RE: another commandLink problem

2006-01-17 Thread Gary VanMatre
>From: "Garner, Shawn" <[EMAIL PROTECTED]> >I tried client and now it blows up on every link on pages that use to work. >I don't use the back button.  I just use the same url from a new browser window after >I restart the server.   What does the exception say?    >Shawn   Gary  

Re: another commandLink problem

2006-01-17 Thread Dennis Byrne
>I tried client and now it blows up on every link on pages that use to work. Stacktrace? Meaningful description? Dennis Byrne

Re: myFaces and dynamic table model

2006-01-17 Thread Mike Kienenberger
> - Your data model, where columns can be marked disabled. Oops. The disabled marking would really be in your adaptor class, not in your raw data model. Stream of conciousness typing error. On 1/17/06, Mike Kienenberger <[EMAIL PROTECTED]> wrote: > Well, I'd base it on the Swing Table model rat

Re: myFaces and dynamic table model

2006-01-17 Thread Andreas Zeller - zit-systems
Hi Simon, I am already using the columns tag. I'm just not getting my model to do what I want to do. I'd be glad to have a look at your renderer. Would probably be a good idea to try something else. You mentioned using the columns tag. If you have a simple example for exactly that purpose whi

Re: myFaces - servlet redirect.

2006-01-17 Thread Udo Schnurpfeil
I think, the mapping for the NonFacesRequestServlet can also called /faces/NonFacesRequestServlet (it might be a little nicer) to the difference of myfaces and the sun-ri: I've setup an example here http://svn.apache.org/repos/asf/incubator/tobago/trunk/tobago-example/tobago-example-nonfacesreque

RE: another commandLink problem

2006-01-17 Thread Garner, Shawn
I don't think it's meaningful: javax.faces.FacesException: Unhandled exception thrown from /context07/personal.jsp:16 at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(Servl etExternalContextImpl.java:421) at org.apache.myfaces.application.jsp.JspViewHandler

RE: another commandLink problem

2006-01-17 Thread Gary VanMatre
That's weird.  It looks like your page doesn't have a view root defined.  Do you have the tag in your jsp?     -- Original message -- From: "Garner, Shawn" <[EMAIL PROTECTED]> > I don't think it's meaningful: > > javax.faces.FacesException: Unhandled exception thrown from

Components referencing the parent class didn't get value

2006-01-17 Thread Emily Gu
Hi,    I have a page that have some components referencing the parent backing bean and some referencing the child backing bean. I need to do some action handling in child class. But the value of component referencing the parent class is null all the time. The component referencing the child class i

RE: another commandLink problem

2006-01-17 Thread Gary VanMatre
Sorry, I was off a few lines.  What is your faces servlet mapping?  Is it mapped to *.faces.    I'm guessing that that view handler thinks this is an external mapping that's why it's doing the dispatch versus swapping out the view.  Are you using /context07/personal.jsp from your browser or /cont

Re: Components referencing the parent class didn't get value

2006-01-17 Thread Simon Kitching
On Tue, 2006-01-17 at 17:07 -0500, Emily Gu wrote: > Hi, > > I have a page that have some components referencing the parent > backing bean and some referencing the child backing bean. I need to do > some action handling in child class. But the value of component > referencing the parent class is

Wanting to validate *before* conversion

2006-01-17 Thread Dennis Byrne
I have a requirement to provide users with a single text field to specify time. The time must be in [0-23]:[0-59] format ( in the US, military format). The inputText field is bound to a java.util.Date in the domain model. In cases where users enter an invalid time, a ConverterException prevent

RE: another commandLink problem

2006-01-17 Thread Garner, Shawn
*.faces   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 17, 2006 4:18 PM To: MyFaces Discussion Subject: RE: another commandLink problem   Sorry, I was off a few lines.  What is your faces servlet mapping?  Is it mapped to *.faces.    I

RE: another commandLink problem

2006-01-17 Thread Garner, Shawn
Actually:       facesservlet-name>     *.facesurl-pattern>   servlet-mapping>           facesservlet-name>     *.htmlurl-pattern>   servlet-m

Re: Components referencing the parent class didn't get value

2006-01-17 Thread Emily Gu
Thanks for your quick reply, Simon!   I have something like following   public class A {        public void changeChoices(ValueChangeEvent event)  {   // Gets the car from the cars list     // Updates the myCar instance to be selected car.    }      public update () {     System.

RE: another commandLink problem

2006-01-17 Thread Gary VanMatre
From the stack it doesn't look like your are using Shale or Clay so you can remove all but the *.faces mapping.  I don't think that's your problem.   I can't see what is going on here.  I'm afraid that I'm just giving you bad information.   Gary     -- Original message -- F

z-order of drop down lists and t:inputCalendar

2006-01-17 Thread Dennis Byrne
For those of you using t:calendar, you may notice that it hides all drop down lists on the page whenever the calendar pops up. I was wondering if anyone can shed some light on why this happens. The last time I had this conversation with a colleague, I remeber him telling me that with some oper

Re: Components referencing the parent class didn't get value

2006-01-17 Thread Simon Kitching
You've got class B extending class A. You've got a managed-bean declaration mapping "a" to class A. You've got a managed-bean declaration mapping "b" to class B. When the JSP page references "a", this creates an instance of A and sets it up. When the JSP page references "b", this creates an insta

RE: z-order of drop down lists and t:inputCalendar

2006-01-17 Thread James Reynolds
That's correct, the drop down list is rendered in part by the operating system and not just the browser. I found this out when implementing a 'pop up' using css. The month dropdown list was at the top level, much to my chagrin. I dealt with it using the calendar's rendered attribute. In my page

Re: z-order of drop down lists and t:inputCalendar

2006-01-17 Thread Werner Punz
Dennis Byrne schrieb: For those of you using t:calendar, you may notice that it hides all drop down lists on the page whenever the calendar pops up. I was wondering if anyone can shed some light on why this happens. The last time I had this conversation with a colleague, I remeber him t

Re: z-order of drop down lists and t:inputCalendar

2006-01-17 Thread Simon Kitching
On Tue, 2006-01-17 at 23:55 +, Dennis Byrne wrote: > For those of you using t:calendar, you may notice that it hides all drop down > lists on the page whenever > the calendar pops up. I was wondering if anyone can shed some light on why > this happens. I believe it's a workaround for a nas

Re: z-order of drop down lists and t:inputCalendar

2006-01-17 Thread Werner Punz
Simon Kitching schrieb: On Tue, 2006-01-17 at 23:55 +, Dennis Byrne wrote: For those of you using t:calendar, you may notice that it hides all drop down lists on the page whenever the calendar pops up. I was wondering if anyone can shed some light on why this happens. I believe it's a

Re: z-order of drop down lists and t:inputCalendar

2006-01-17 Thread Dennis Byrne
Thanks to anyone who helped answer this. I asked because I occasionally get requirements where people seriously don't believe why something so simple can increase technical costs so much. Dennis Byrne >-Original Message- >From: Werner Punz [mailto:[EMAIL PROTECTED] >Sent: Tuesday, Ja

Re: How often does tree2 rebuild itself

2006-01-17 Thread Alex Burton
You could set up the backing bean to be in the session scope so that the TreeModelBase doesn't have to be created each time. You just have to update the model then if there is a change to it. cheers, alex. On 18/01/06, Adam <[EMAIL PROTECTED]> wrote: > Dear All, > > I have some code which if you

Pattern for shared data access object?

2006-01-17 Thread Tom Butler
I have a question / need help understanding how to configure backing bean and model objects so that memory and object creation/deletion is done as efficiently as possible.    1.  I have a .jsf page with a form and a commandbutton that submits the form inputs to a backing bean (enrollispb

Re: Pattern for shared data access object?

2006-01-17 Thread Simon Kitching
On Tue, 2006-01-17 at 21:00 -0500, Tom Butler wrote: > Where I need help understanding is how to set up the scope for the > managed beans and data access object. Currently, I have the backing > bean within the session scope (using the facesconfig.xml file). My > main question is how to set up th

Re: Components referencing the parent class didn't get value

2006-01-17 Thread Emily Gu
Hi Simon,     Thanks for such clear explaination. You are right if I put everything in B, it'll work. The form page B has included all components in form A plus some B specific components. If I don't use such parent and child class, the class B would have many duplicated method as class A. Do you h

Re: I need help in dataList.

2006-01-17 Thread Dave
Good idea. Make dataTable support dataList's layouts, especially "simple", and remove dataList. For the "simple" layout, dataTable does not have a workaround. We need that !   Also please add another attribute: newspaper, and remove newspaper component. consolidate and make life easier :)Mike

RE: Pattern for shared data access object?

2006-01-17 Thread Tom Butler
Simon, Thanks for your help understanding this - I will try placing my data access object in the application scope and the backing bean in a request scope. However, I'll need to use the t:saveState with the backing bean since I have a datamodel with a datascroller (as you had recommended in a pre

RE: Urgent: Collapsible Panel with data table not workingIllegalStateException: Client-id : _id3ToggleCollapsed

2006-01-17 Thread Saurabh Rasinghaney
Hi, In addition to this when I try deploying the application myfaces-example-simple.war given in \myfaces-current\tomahawk\examples\simple\target folder which is based on 1.1.2-SNAPSHOT jar as shown below I get this error when I try to access Collapsible panel

RE: Servlet Filter?

2006-01-17 Thread frohman
-Original Message- From: Bjørn T Johansen [mailto:[EMAIL PROTECTED] Sent: Thursday, May 05, 2005 8:50 AM To: MyFaces Discussion Subject: Re: Servlet Filter? Yes, you are correct... And after changing my url-pattern back to /protected/* it works like it should And what you say about

RE: Tree2 editting from other JSF page

2006-01-17 Thread Saurabh Rasinghaney
I haven’t tried that Post the solution if it works J   Best Regards, Saurabh Raisinghaney From: Gal Kirpichnikov [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 17, 2006 11:21 AM To: 'MyFaces Discussion' Subject: RE: Tree2 editting from other JSF page

RE: Urgent: Collapsible Panel with data table not workingIllegalStateException: Client-id : _id3ToggleCollapsed

2006-01-17 Thread Saurabh Rasinghaney
In tomahawk nightly build, sample application is throwing same exception - as given below - for many components and not just collapsible panel. Any body any clue? Is there any missing jar or some thing? java.lang.NoSuchMethodError: org.apache.myfaces.renderkit.html.HtmlRendererUtils.renderHidden

RE: Urgent: Collapsible Panel with data table not workingIllegalStateException: Client-id : _id3ToggleCollapsed

2006-01-17 Thread Saurabh Rasinghaney
Hi Martin, Thanks for your advice of using Nightly Build, It finally worked, I was able to run the sample application - the errors were due to a server issue - got resolved by disabling JBoss Web Loader - and the same fix resolved the problem with my application - which was not working with nightl

Re: z-order of drop down lists and t:inputCalendar

2006-01-17 Thread Werner Punz
Most people do not have a clue on how messy the whole dhtml area is, unfortunately, but understandable, because they do not see the effort it takes to navigate around various browser bugs like this one. The whole DHTML issue revolves around the problem that Microsoft hasn´t had any intention to f

CollapsablePanel & Facelets

2006-01-17 Thread Arash Bijanzadeh
I am trying to use collapsable panel within facelet. I did all the configuration and the page actually render without a collapsable panel and giving out this warning: 11:19:50,194 WARN  [HtmlRenderKitImpl] Unsupported component-family/renderer-type: javax.faces.Panel/"org.apache.myfaces.Collapsib

Re: z-order of drop down lists and t:inputCalendar

2006-01-17 Thread Werner Punz
Werner Punz schrieb: Simon Kitching schrieb: On Tue, 2006-01-17 at 23:55 +, Dennis Byrne wrote: For those of you using t:calendar, you may notice that it hides all drop down lists on the page whenever the calendar pops up. I was wondering if anyone can shed some light on why this happens.

Re: z-order of drop down lists and t:inputCalendar

2006-01-17 Thread Martin Marinschek
That has already been implemented in the calendar in the current SVN head version. regards, Martin On 1/18/06, Werner Punz <[EMAIL PROTECTED]> wrote: > Werner Punz schrieb: > > Simon Kitching schrieb: > >> On Tue, 2006-01-17 at 23:55 +, Dennis Byrne wrote: > >>> For those of you using t:cale

<    1   2