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

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.

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

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: 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: 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: 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: 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: 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: 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: 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: 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

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: 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

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: 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 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
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 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: 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

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: 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

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 Garner, Shawn
Actually:       facesservlet-name>     *.facesurl-pattern>   servlet-mapping>           facesservlet-name>     *.htmlurl-pattern>   servlet-m

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

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: 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

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

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

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: 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: 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 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: 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: 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: 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: 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 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: 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: 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 Gary VanMatre
>From: "Garner, Shawn" [EMAIL PROTECTED] >I've noticed my commandLinks don't go to the page the first time.  >It seems to reload the page and then if I click on it again it goes to >the next view. >   This is common behavior in MyFaces when you use the brower back button to a dirty page and re

Re: myFaces and dynamic table model

2006-01-17 Thread Mike Kienenberger
On 1/17/06, Andreas Zeller - zit-systems <[EMAIL PROTECTED]> wrote: > Thanks for the quick reply. I already tried that, unfortunately I just get > empty columns, with not text at all, it doesn't actually remove the column. Yeah, you're right. That'd leave empty columns > I'd be really glad if

Re: myFaces and dynamic table model

2006-01-17 Thread Andreas Zeller - zit-systems
Hey Mike, Thanks for the quick reply. I already tried that, unfortunately I just get empty columns, with not text at all, it doesn't actually remove the column. I'd be really glad if there were some kind of a straight forward example. Someone must have done something like this by now, hasn't

RE: another commandLink problem

2006-01-17 Thread Garner, Shawn
/context07/summary.jsp college /context07/college.jsp ... rest of navigation-cases if I type in /context07/college.faces in the url the college page comes right up. However the on the summary page I have to click on it and then click on it again. Shawn

Re: another commandLink problem

2006-01-17 Thread Mike Kienenberger
Can you post your jsp or facelets page code? It's not really possible to give anything beyond the vague answers below without more specific information. It'd probably also be helpful to post the faces-config information for any managed beans being used. On 1/17/06, Garner, Shawn <[EMAIL PROTECTED

RE: another commandLink problem

2006-01-17 Thread Garner, Shawn
I don't get what the problem is then? Shawn -Original Message- From: Mike Kienenberger [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 17, 2006 2:27 PM To: MyFaces Discussion Subject: Re: another commandLink problem Right, but the second time you've clicked on the link, the page has be

Re: another commandLink problem

2006-01-17 Thread Mike Kienenberger
Right, but the second time you've clicked on the link, the page has been redrawn, the component tree updated, and the request map reset, etc, so that doesn't really eliminate any possibilities. :) If you're using a hardcoded action literal string, then yes, you can eliminate the navigation manage

Re: myFaces and dynamic table model

2006-01-17 Thread Mike Kienenberger
Perhaps instead of setting rendered=false for your column, try setting it for the component inside your column. On 1/17/06, Andreas Zeller - zit-systems <[EMAIL PROTECTED]> wrote: > Hi there, > > I have been working with myFaces for the past few weeks and tried to > implement a product management

RE: another commandLink problem

2006-01-17 Thread Garner, Shawn
Well I'd say it's definitely know to the navigation handler because it finds the page the second time I click on the same link. Shawn -Original Message- From: Mike Kienenberger [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 17, 2006 2:14 PM To: MyFaces Discussion Subject: Re: another c

myFaces and dynamic table model

2006-01-17 Thread Andreas Zeller - zit-systems
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 removable and movable. I managed to implement sorting with commandSortHeader and inline-ed

Re: another commandLink problem

2006-01-17 Thread Mike Kienenberger
If the returned string for the action is null or unknown to the navigation manager, it'll show the same page again. Also, if the commandLink isn't rendered either before or after the request, it'll return the same page. Same thing if the link is inside a UIData component and the UIData model isn'

Re: Shale and MyFaces

2006-01-17 Thread Werner Punz
Craig McClanahan schrieb: On 1/17/06, *Werner Punz* <[EMAIL PROTECTED] > wrote: Anyway, I checked out the extensions, and personally think they are heavens sent, but in my opinion there is huge room for more. What I really love about Seam and what is missi

Re: Find label of component

2006-01-17 Thread Veit Guna
Yes, ok you're right - sorry. I didn't know, that you have to specify two different IDs: --cut here-- FacesMessage lFM = getFacesMessage(FacesMessage.SEVERITY_ERROR, pMsgKey, new Object[] {lShortFieldId}); getFacesContext().addMessage(pFieldId, lFM); --cut here-- Where pShortFieldId is e.g. pas

another commandLink problem

2006-01-17 Thread Garner, Shawn
I've noticed my commandLinks don't go to the page the first time.  It seems to reload the page and then if I click on it again it goes to the next view. Anyone know what is causing this, how to fix it?   Shawn **

Re: I need help in dataList.

2006-01-17 Thread Mike Kienenberger
Yeah, I don't think we really gain anything by not specifying columns for a dataList-like component, so I don't see a problem with requiring them. The advantages of maintaining a single t:dataList are obvious. On 1/17/06, Dennis Byrne <[EMAIL PROTECTED]> wrote: > I see what you mean now. I thin

Re: I need help in dataList.

2006-01-17 Thread Dennis Byrne
I see what you mean now. I think you have a good idea, but there are a few attributes, like @layout for dataList, that are not currently there for the t:dataTable component. Also, I think it may be technically difficult because UIData looks for columns and facets for processUpdates and process

RE: Problem hardcoding commandLink action outcome

2006-01-17 Thread Garner, Shawn
I gave up. I'm just going to hard code the 12 cases in the jsp file with c:choose and c:when. Shawn -Original Message- From: Mike Kienenberger [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 17, 2006 1:31 PM To: MyFaces Discussion Subject: Re: Problem hardcoding commandLink action outc

Re: myFaces - servlet redirect.

2006-01-17 Thread Matthias Wessendorf
On 1/17/06, Volker Weber <[EMAIL PROTECTED]> wrote: > No ! > > "/faces/*" is the mapping for FacesServlet > > "/faces" is the mapping for NonFacesRequestServlet > > I don't like it, but this works with Jeff's example app. ah! that is a hack :-) Udo's email sounds *interesting*. I'll look at it!

Re: myFaces - servlet redirect.

2006-01-17 Thread Volker Weber
No ! "/faces/*" is the mapping for FacesServlet "/faces" is the mapping for NonFacesRequestServlet I don't like it, but this works with Jeff's example app. Regards Volker Matthias Wessendorf wrote: >> /faces > > > /faces/* > > just like discussed here: > http://www.mail-archive.com/

Re: myFaces - servlet redirect.

2006-01-17 Thread Udo Schnurpfeil
I've also tested it, and figured out, that it works also with the Sun Implementation WITHOUT Volkers change. So the Sun stuff works a little different. We should find the correct way (without hacking) and put an full example somewhere... Jeffrey Porter schrieb: THANKS! I defiantly owe you

Re: Problem hardcoding commandLink action outcome

2006-01-17 Thread Mike Kienenberger
Right, but it'll render the original request value as the parameter value, it will then assign the old value ("college") to a new request value (the parameter key) on the next page. On 1/17/06, Garner, Shawn <[EMAIL PROTECTED]> wrote: > That f:param thing just prints out the value at the end of th

Problem double click dataScroller

2006-01-17 Thread Miller, John
Has anyone seen issues double clicking dataScroller. I am going to try and reproduce with the examples app, and am not sure if it’s the dataScroller of buffer, but will follow up with the findings from the examples app.   The behavior I have seen in my app is either an empty response with a

Re: I need help in dataList.

2006-01-17 Thread Mike Kienenberger
Exactly. We need dataList's renderer ported over to dataTable, and then we can just dump the dataList component. On 1/17/06, Dennis Byrne <[EMAIL PROTECTED]> wrote: > >If you can't make it render like you want, then create your own > >renderer for t:dataTable, and submit it as a replacement for

RE: Problem hardcoding commandLink action outcome

2006-01-17 Thread Garner, Shawn
That f:param thing just prints out the value at the end of the link so I don't think it works with that. I'm not sure what t:saveState does exactly so I'll take a look. Shawn -Original Message- From: Mike Kienenberger [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 17, 2006 1:21 PM To:

Re: myFaces - servlet redirect.

2006-01-17 Thread Volker Weber
No, the url must than be: http://localhost:8080/servredirect/faces?id=1 Jeffrey Porter wrote: > THANKS! > > I defiantly owe you a beer or two! > > So when you say you changed the servlet mapping for NonFacesRequestServlet. > > Do you mean you changed... > > > NonFacesRequestServle

Re: myFaces - servlet redirect.

2006-01-17 Thread Matthias Wessendorf
> /faces /faces/* just like discussed here: http://www.mail-archive.com/users@myfaces.apache.org/msg13865.html (sent you the link already ;)) -Matthias

Re: Problem hardcoding commandLink action outcome

2006-01-17 Thread Mike Kienenberger
In that case, either try the f:param approach or t:saveState the entire list of values, and reference the link by list index I'd still try the t:saveState first. I'm surprised someone else hasn't jumped in an recommended better solutions, though :) On 1/17/06, Garner, Shawn <[EMAIL PROTECTED

Re: I need help in dataList.

2006-01-17 Thread Dennis Byrne
>If you can't make it render like you want, then create your own >renderer for t:dataTable, and submit it as a replacement for dataList I agree that t:dataTable is probably a better alternative. The problems with dataList actually have to do with the UIComponent rather than it's renderer. In c

RE: myFaces - servlet redirect.

2006-01-17 Thread Jeffrey Porter
THANKS! I defiantly owe you a beer or two! So when you say you changed the servlet mapping for NonFacesRequestServlet. Do you mean you changed... NonFacesRequestServlet /NonFacesRequestServlet to NonFacesRequestServlet /faces And then just used the U

RE: Problem hardcoding commandLink action outcome

2006-01-17 Thread Garner, Shawn
Yeah, sounds good but this code is in a loop and each few iterations has different values for linkPage. Shawn -Original Message- From: Mike Kienenberger [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 17, 2006 12:09 PM To: MyFaces Discussion Subject: Re: Problem hardcoding commandLink a

dataScroller total page number (large data set)

2006-01-17 Thread Emmanuel Jay
Hi all,We are trying the use the dataScroller for a large data set (I have read the threads about that). Our business logic is all there but we can't figure out how to set the total number of pages on the dataScroller without loading the whole model. Basically we just want to specify on the dataScr

Re: Confused by the Number of Method Calls

2006-01-17 Thread Dennis Byrne
The component is part of several processing phases. Most of these phases process the component differentlt depending upon whether or not the component isRendered() . So more than one phase is going to call this method. Dennis Byrne >-Original Message- >From: Mike Duffy [mailto:[EMAIL

Re: Find label of component

2006-01-17 Thread Mike Kienenberger
Right, I understood you meant customized (programmically created) calls to addMessage. But that's the same thing that the validators do internally -- call addMessage. So if standard validation is working, perhaps the problem is that you've specified the wrong clientid value? (I find it easiest to

Re: myFaces - servlet redirect.

2006-01-17 Thread Volker Weber
Hi Jeff, i just played a bit with your app. when i change the mapping for the NonFacesRequestServlet to "/faces" than it works! For a reason i currently don't know, (and also have no time to investigate) the form action is prefixed with the servlet name. So using the mapping "/faces" is a hack,

Re: Find label of component

2006-01-17 Thread Veit Guna
Hi. No, I mean no std. Validation Error messages. These work fine. I mean custom Messages that you add with FacesContext.addMessage(ClientId, FacesMessage). This will be printed "as-is" with no field label attached to it (as {0} or similar). I've used some workaround that is used internally by my

Re: I need help in dataList.

2006-01-17 Thread Mike Kienenberger
Marco, UIData components (like t:dataList/h:dataTable/t:dataTable/t:newspaperTable/t:columns) use a Flyweight pattern. http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/FlyweightPattern.htm What this means is that one component is used multiple times to encode/render and decode/parse y

Confused by the Number of Method Calls

2006-01-17 Thread Mike Duffy
I have a JSF page with the following tag: Whether or not the panel is rendered is determined by a call to a method in the backing bean: rendered="#{home.hasIssuesAssigned}" When I trace the code path I see that this method is called four times. Can anyone provide a clear explanation as to why

Re: Problem hardcoding commandLink action outcome

2006-01-17 Thread Mike Kienenberger
Hmm. Since you put it that way, maybe not. I'm not entirely certain. Try it and see, but I think you might be right. In that case, I'd recommend using t:saveState on a copy of your request variable. Create a YourBean instance variable to hold a copy of "#{param.linkPage}", and add getter/sette

jscookmenu problem?

2006-01-17 Thread Wei Chiang
It seems that the following problem has something to do with jscookmenu because the problem disappears once I remove jscookmenu related code from the jsp page. I use jsf(myfaces 1.1.1), tiles and jscookmenu. A null pointer exception appears on the very first entry to a tiled page after the app

Re: Find label of component

2006-01-17 Thread Mike Kienenberger
If you've set everything else up, it should be automatic: http://www.mail-archive.com/users%40myfaces.apache.org/msg15110.html On 1/16/06, Veit Guna <[EMAIL PROTECTED]> wrote: > Hi. > > How can I get the label (outputLabel) for a specific component? I need > this, to add the label text to a custo

Re: Error during model data update

2006-01-17 Thread Mike Kienenberger
It's possibly a conversion/converter error. On 1/17/06, Arash Bijanzadeh <[EMAIL PROTECTED]> wrote: > Hi > After some changes, all I get from the application is this error message > next to inputs, there is no exception no warnings, nothing just "Error > during model data update"! > Could somebod

RE: Problem hardcoding commandLink action outcome

2006-01-17 Thread Garner, Shawn
So the bean's action method is evaluated during render time and not after they click on the link? Shawn -Original Message- From: Mike Kienenberger [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 17, 2006 11:51 AM To: MyFaces Discussion Subject: Re: Problem hardcoding commandLink action

Re: Shale and MyFaces

2006-01-17 Thread Craig McClanahan
On 1/17/06, Werner Punz <[EMAIL PROTECTED]> wrote: Anyway, I checked out the extensions, and personally think they areheavens sent, but in my opinion there is huge room for more.What I really love about Seam and what is missing in the extensions isan easy dialog mechanism. Currently you have to def

Re: Problem hardcoding commandLink action outcome

2006-01-17 Thread Mike Kienenberger
It doesn't need to. The value is resolved during render time. On 1/17/06, Garner, Shawn <[EMAIL PROTECTED]> wrote: > Can you explain what this is actually doing? > How does it know how to resolve ("#{param.linkPage}") after the page is > rendered? > > Shawn > > -Original Message- > From:

RE: Problem hardcoding commandLink action outcome

2006-01-17 Thread Garner, Shawn
Can you explain what this is actually doing? How does it know how to resolve ("#{param.linkPage}") after the page is rendered? Shawn -Original Message- From: Mike Kienenberger [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 17, 2006 10:57 AM To: MyFaces Discussion Subject: Re: Problem h

Re: Error during model data update

2006-01-17 Thread ::SammyRulez::
It happens to me wher I mistype the neame of the managed bean bound tho the component 2006/1/17, Arash Bijanzadeh <[EMAIL PROTECTED]>: > Hi > After some changes, all I get from the application is this error message > next to inputs, there is no exception no warnings, nothing just "Error > during m

RE: Tree2 editting from other JSF page

2006-01-17 Thread Gal Kirpichnikov
Thanks, but I’m talking about the opposite event: change in “detailedFrame” effects the tree, Do you have idea?   Best regards,   From: Saurabh Rasinghaney [mailto:[EMAIL PROTECTED] Sent: ג 17 ינואר 2006 18:38 To: MyFaces Discussion Subject: RE: Tree2 editting from other JSF p

Re: I need help in dataList.

2006-01-17 Thread Marco
Any suggestions please...All i need to do is to update the model from the generated UI components from the dataList.Thanks a lot

welcome-file-list + facelets question

2006-01-17 Thread Kalman Hazins
Hi, group. I am just starting out on the long Facelets/JSF path and have the following (simple I hope) question. I have a login.xhtml page in my .../webapps/myproj directory on Tomcat 5.5. I have configured facelets to work for my application and the following works just fine http://localhost/my

inputDate seems to be Caching a value

2006-01-17 Thread James Reynolds
Hello all,   I'm using the inputdate component in a panelgrid and it appears to be caching the first value to which it's assigned.  I searched the mail archives and found one note from Colin Chambers describing the same issue.  He indicated that it was due to including the component in a pa

Re: Problem hardcoding commandLink action outcome

2006-01-17 Thread Mike Kienenberger
Yes, you're trying to fight the technology. Just do this. public class YourBean { public String getActionForLinkPage() { FacesContext facesContext = FacesContext.getCurrentInstance(); String action = (String)facesContext.getApplication().createValueBinding("#{param.lin

RE: myFaces - servlet redirect.

2006-01-17 Thread Jeffrey Porter
Firstly I'd like to thank Matthias & Volker for there help so far with this! Ok, I've stripped out all the excess code and got a sample of problem together. Download the ear (inc src) http://www.porter.eu.com/jeff/servletRedirect.ear URL to request once running... http://localhost:8080/servred

RE: Problem hardcoding commandLink action outcome

2006-01-17 Thread Garner, Shawn
>>The attribute "action" takes only a string literal or a method binding >>that returns a String. It does not take a value binding that evaluates to >>a String. So if you need the action target to be variable, you need to >>write java code to perform this logic. >>Possibly you could use some ki

Re: How can I redirect from a servlet to a JSF page (that isbacked by a bean)?

2006-01-17 Thread Matthias Wessendorf
Jeff can you update wiki page, if udos hint is successful ? -Matthias On 1/17/06, Udo Schnurpfeil <[EMAIL PROTECTED]> wrote: > Hi Jeff, > > please try to map the NonFacesRequestServlet like: > > > NonFacesRequestServlet > /NonFacesRequestServlet > > > And use the external URL: > >

RE: Problem hardcoding commandLink action outcome

2006-01-17 Thread Garner, Shawn
Damn, get an exception with f:attribute. I thought that should work. To do I would have to do a choose/when condition checking the value of #{linkPage} which can have like 12 different values. Seems like a messy solution to me. Shawn -Original Message- From: Garner, Shawn Sent: Tuesd

RE: Tree2 editting from other JSF page

2006-01-17 Thread Saurabh Rasinghaney
By setting the target to the second page u can do that Eg: see target in facet         Re: How can I redirect from a servlet to a JSF page (that isbacked by a bean)?
url: http://wiki.apache.org/myfaces/InvokingJsfPagesWithStandardUrls On 1/17/06, Matthias Wessendorf <[EMAIL PROTECTED]> wrote: > Jeff > > can you update wiki page, if udos hint is successful ? > > -Matthias > > On 1/17/06, Udo Schnurpfeil <[EMAIL PROTECTED]> wrote: > > Hi Jeff, > > > > please try

RE: Problem hardcoding commandLink action outcome

How about using the f:attribute tag for name="action"? Shawn -Original Message- From: Mike Kienenberger [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 17, 2006 10:21 AM To: MyFaces Discussion Subject: Re: Problem hardcoding commandLink action outcome You are correct. It's trying to

  1   2   >