RE: MyFaces packaging

2005-04-19 Thread Jesse Alexander (KBSA 21)
-Original Message- Basically the myfaces.jar lumps the api, impl and components (w/goodies) all into one jar. -Original Message- why not name it so, that this "all-in-one" feature is more visible? Eg. Checkstyle names it checkstryle-all_.jar regards Alexander

Re: requirement

2005-04-19 Thread Craig McClanahan
On 4/19/05, tony kerz <[EMAIL PROTECTED]> wrote: > before i pose the following question i want to provide kudos for the > myfaces team for their tremendous effort in implementing to the spec > (and then some) and getting the project elevated to an apache top level. > > please don't take my comment

requirement

2005-04-19 Thread tony kerz
before i pose the following question i want to provide kudos for the myfaces team for their tremendous effort in implementing to the spec (and then some) and getting the project elevated to an apache top level. please don't take my comments as criticism, just looking for some rationale: is the r

RE: inputCalendar

2005-04-19 Thread Korhonen, Kalle
> -Original Message- > From: Tang, Jason [mailto:[EMAIL PROTECTED] > Subject: RE: inputCalendar > Thanks, it now works fine as I put back the filter-mapping for /faces. > one more question, when I try to supply my own date format in > the attribute of inputCalendar > popupDateFormat="yyy

RE: inputCalendar

2005-04-19 Thread Tang, Jason
Thanks, it now works fine as I put back the filter-mapping for /faces. one more question, when I try to supply my own date format in the attribute of inputCalendar popupDateFormat="-mm-dd" it returns 200519 instead of 2005-05-19 after I selected the date. Any help will be appreciated! Ja

Re: Refreshing the view/component/page

2005-04-19 Thread Sean Schofield
> 1 - Being able to add/remove nodes on the fly. > Currently I think doing things like changing the > text of a tree node works (does for me, anyway) > If you setup an example of how to do this, you'll > quickly see the problems. What do you mean by "on the fly?" At what point

New tree2 examples

2005-04-19 Thread Sean Schofield
Just checked in some new tree2 examples. I added an example that shows the hiding of the root node (plus changing the facet to show a person icon for the people.) Second new example shows how you can use the power of tree2 and jsf together to make a tree that wraps nicely when forced inside a tab

Re: inputCalendar

2005-04-19 Thread Sean Schofield
I think it would also be nice if you could specify an alternate script/image/style location for some of the myfaces components like you can with tree2. This way you can skip the extensions filter. Plus you have the option to override the scripts/images/styles with your own. sean On 4/19/05, Ko

Re: MyFaces packaging

2005-04-19 Thread Sean Schofield
> Sorry if I am asking an FAQ, but I haven't seen this doco'd anywhere. http://myfaces.apache.org/components/overview.html (see requirements and setup) Basically the myfaces.jar lumps the api, impl and components (w/goodies) all into one jar. > Stan Silvert sean

RE: inputCalendar

2005-04-19 Thread Korhonen, Kalle
> -Original Message- > From: Tang, Jason [mailto:[EMAIL PROTECTED] > Subject: RE: inputCalendar > I think I did. > > extensionsFilter > *.jsf > > > extensionsFilter > /secure/* > > I got the simple example working, the only difference is the > url of calendar.j

MyFaces packaging

2005-04-19 Thread Stan Silvert
Can anyone give me a good overview of the MyFaces jars and why they are packaged as such?   Specifically, myfaces-impl.jar and myfaces.jar have a lot of the same stuff in them.  Are there instances where I would use one without the other?  If not, why are there duplicate classes, TLD’s, e

RE: inputCalendar

2005-04-19 Thread Tang, Jason
I think I did. Here is part of my web.xml extensionsFilter org.apache.myfaces.component.html.util.ExtensionsFilter uploadMaxFileSize 100m uploadThresholdSize 100k extensionsFilter *.jsf extensionsFilter /secur

Re: inputCalendar

2005-04-19 Thread Rob Decker
You probably need to set up the extension filter so the javascript and images are accessible. See http://myfaces.apache.org/docs/extensionsFilter.html - Original Message - From: "Tang, Jason" <[EMAIL PROTECTED]> To: Sent: Tuesday, April 19, 2005 4:48 PM Subject: inputCalendar > Hi >

Re: tiles support

2005-04-19 Thread Rob Decker
This has been a real issue for me as well. The whole interaction with JSTL/JSP/HTML/_javascript_ (or lack thereof to be more exact) is a major flaw in jsf. Even when I thought I saw a value in having f:verbatim wrap my html it turned out to be useless when I couldn't add the rendered attribu

inputCalendar

2005-04-19 Thread Tang, Jason
Hi I tried to use inputCalendar in my jsf page but I got an error page which said failure to locate jscalendarSetImageDirectory reported from the javascript console. Error: jscalendarSetImageDirectory is not defined What is jscalendarSetImageDirectory? Also, I notice some errors in the log

Re: Refreshing the view/component/page

2005-04-19 Thread Jon Travis
Sean, To check your statement that you strenuously disagree that tree2 doesn't work in a dynamic environment -- I guess we have to decide what 'dynamic' means.. ;-) A couple issues I would describe as dynamic which don't currently work are: 1 - Being able to add/remove nodes on the fly. Current

Re: DataModel.getRowData() behaves inconsistent?

2005-04-19 Thread Patrick B Haggood
On Thu, 2005-02-03 at 18:01 +0100, Christian Kesselheim wrote: > I think it's the preserveDataModel="true" on my dataTable that's > causing all those side effects. Preservation of the dataModel cannot > be used in conjunction with getRowData() and friends? Did you ever get this problem solved? It

Re: tiles support

2005-04-19 Thread Claudio Tamietto
Thanks for the answer ! I realized but i think it is a severe limitations and i hope in a near future some workaround to bypass the problem. - Original Message - From: James Salt To: MyFaces Discussion ; [EMAIL PROTECTED] Sent: Tuesday, April 19, 2005 2:47 PM Subject

Re: Antwort: display errors

2005-04-19 Thread Heath Borders
I would put a param inside your commandLink to signify that the panelGrid should still be rendered, and then have your showErrors method check both for errors, and the presence of that param. On 4/19/05, Csík Norbert <[EMAIL PROTECTED]> wrote: Srikanth Madarapu wrote:> In your initial post you did

Re: f:subview use with tiles imported html.

2005-04-19 Thread Sean Schofield
This is a major issue with the current JSF and JSP specs. It is being addressed in new specs that are being reviewed right now. It is possible to use Tiles and JSF (see my earlier post on where to find that info) but you are a bit limited and yes it looks awful with all of those subview and verb

Re: tiles support

2005-04-19 Thread Sean Schofield
Check out http://myfaces.apache.org. There is a section on Tiles support in the "Components" tab. There are some limitations with Tiles and JSF but things are going to get better with Tiles becoming a TLP, increased support in Shale and improvements to the JSF and JSP specs on the horizon. sean

Re: Refreshing the view/component/page

2005-04-19 Thread Sean Schofield
Right we have a JIRA issue on that one I believe. Thats not the particular problem being discussed here though. Mihir's problem is that he is not seeing his new data. I believe in your test scenario you were randomly changing your data between requests. While that might simulate a real world sc

Re: Antwort: display errors

2005-04-19 Thread Csík Norbert
Srikanth Madarapu wrote: In your initial post you did not have action="#{SomeBean.showErrors}" but you had action="showErrors". Make sure you have the method binding correctly. Trust me, it is correct ;-) If you are looking for the messeges in the context, in your showErrors method, the messages

RE: Antwort: display errors

2005-04-19 Thread Srikanth Madarapu
In your initial post you did not have action="#{SomeBean.showErrors}" but you had action="showErrors". Make sure you have the method binding correctly. If you are looking for the messeges in the context, in your showErrors method, the messages may not be there for this new request. Have you debu

RE: tiles support

2005-04-19 Thread hermod . opstvedt
Hi   You have to surround all "pure" html with f:verbatim tags   Hermod -Original Message-From: Claudio Tamietto [mailto:[EMAIL PROTECTED]Sent: Tuesday, April 19, 2005 1:58 PMTo: myfaces-user@incubator.apache.orgSubject: tiles support is there an effective support for ty

RE: tiles support

2005-04-19 Thread James Salt
Hi Claudio   It appears there are work arounds, but the basic idea is that you cannot put html inside an included file (using tiles), you can only use jsf components.   The way around it is to use around all the html tags in the included file.   I hope this helps.   I don’t thin

tiles support

2005-04-19 Thread Claudio Tamietto
is there an effective support for tyles in  myfaces implementation ?. I posted the question because i have the following problem :   i have a first jsp page with a lot of html . At some point i include another jsp.page            

Re: Antwort: display errors

2005-04-19 Thread Csík Norbert
Jesse Alexander (KBSA 21) wrote: No for booleans isErrorToDisplay() is correct (both is possible) The problem must be somewhere in the faces-config file or the components beyond Redisplaying the same view often is the result of some error in the navigation-configuration. Eg: when there is no

Re: Refreshing the view/component/page

2005-04-19 Thread Rob Decker
I get a fatal exception when the data changes and the user clicks a node that no longer exists so the tree never gets a chance to render the new tree node. Given that, I can't see that it works at all in a dynamic environment. - Original Message - From: "Sean Schofield" <[EMAIL PROTECTED]

Re: Antwort: display errors

2005-04-19 Thread Csík Norbert
Jesse Alexander (KBSA 21) wrote: No for booleans isErrorToDisplay() is correct (both is possible) The problem must be somewhere in the faces-config file or the components beyond Redisplaying the same view often is the result of some error in the navigation-configuration. Eg: when there is no

f:subview use with tiles imported html.

2005-04-19 Thread James Salt
Hi All I am using tiles within my application, but I am finding that in the included page any html is rendered at the end of the included page section. I am following the direction indicated in previous emails, to enclose all html code in a subview by using f:verbatim, this appears to be

Re: Antwort: display errors

2005-04-19 Thread Csík Norbert
[EMAIL PROTECTED] wrote: I think for method must be getErrorToDisplay() instead of isErrorToDisplay() the method works fine, that isn't the problem. -- Csík Norbert

RE: Antwort: display errors

2005-04-19 Thread Jesse Alexander (KBSA 21)
No for booleans isErrorToDisplay() is correct (both is possible)   The problem must be somewhere in the faces-config file or the components beyond   Redisplaying the same view often is the result of some error in the navigation-configuration. Eg: when there is no navigation-outcome that respo

Antwort: display errors

2005-04-19 Thread christian . rueedi
I think for method must be  getErrorToDisplay() instead of  isErrorToDisplay() Chris Csík Norbert <[EMAIL PROTECTED]> 19.04.2005 11:59 Bitte antworten an "MyFaces Discussion"                 An:        users@myfaces.apache.org         Kopie:                 Thema:        display errors

display errors

2005-04-19 Thread Csík Norbert
HI! I have the following code: The FrameworkBean.errorToDisplay returns true if there is an error to display. The problem is when I click on the Details link nothing happens, the original page reloads itself. I figured out the problem is that, when I click on the commandLink

Re: Are there any plans for a JSF 1.2 book?

2005-04-19 Thread Bill Dudney
I'll be doing an update to Mastering JSF. TTFN, -bd- On Apr 18, 2005, at 3:45 PM, Sean Schofield wrote: Obviously the spec is not done yet but I'd be curious if any of the JSF authors are thinking about an updated book covering the 1.2 spec? Bill? Kito? David? Hans? sean

Re: MyFaces & Weblogoc 8.1 sp4

2005-04-19 Thread rosalba bochicchio
Hi Roger, I had the same problem trying to make myFaces examples 1.0.9 work in WebLogic8.1 SP3 while examples from version 1.0.8 work fine.The exception I get when trying to run the examples is the following one: Error 500--Internal Server Error javax.faces.FacesException: javax/servlet/jsp/el/Fu