Re: Tomahawk and ajax4jsf - t:datascroller and sortheaders don't work

2006-10-25 Thread Aneesha Govil
Hi Yee,Thanks for trying to help. I asked the question on the ajax4jsf mailing list as well but did not get a response. I am a little short on time right now. I will let you know if/when I am able to try the approach and it works. Thanks again.Regards,AneeshaOn 10/25/06, Yee CN <[EMAIL PROTECTED]>

Re: Use MyFaces for file download

2006-10-25 Thread Matthias Wessendorf
yeah, I suggest finishing that tutorial first, before doing a productive app. The myfaces wiki has also good resources or links to them jsfcentral.com might be interesting as well Try to buy "The complete reference JavaServer Faces" by Ed Burns (member of the guys that *create* JSF). -M On 10

Re: Use MyFaces for file download

2006-10-25 Thread Matthias Wessendorf
ying, yes it means in java: public String action() { ... } On 10/25/06, ying lcs <[EMAIL PROTECTED]> wrote: Matthias, Thanks for your link. Can you please help me understand what it means by 'You have to bind an action in the JSP to a method in your backing bean.'? Is there an example for

Re: Use MyFaces for file download

2006-10-25 Thread ying lcs
Should I do something like this: describe in here: http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JSFPage11.html On 10/25/06, ying lcs <[EMAIL PROTECTED]> wrote: Matthias, Thanks for your link. Can you please help me understand what it means by 'You have to bind an action in the JSP to a me

Re: Use MyFaces for file download

2006-10-25 Thread ying lcs
Matthias, Thanks for your link. Can you please help me understand what it means by 'You have to bind an action in the JSP to a method in your backing bean.'? Is there an example for that? Thanks again. On 10/25/06, Matthias Wessendorf <[EMAIL PROTECTED]> wrote: the myfaces wiki is a great so

Re: Use MyFaces for file download

2006-10-25 Thread Matthias Wessendorf
the myfaces wiki is a great source of already answered questions :) http://wiki.apache.org/myfaces/Sending_Files On 10/25/06, ying lcs <[EMAIL PROTECTED]> wrote: Hi, I am trying to write a Java web app using JSF. I have a page which takes some info from user and it has a submit button. If th

Use MyFaces for file download

2006-10-25 Thread ying lcs
Hi, I am trying to write a Java web app using JSF. I have a page which takes some info from user and it has a submit button. If the validation of the info entered by user is correct, the web app will send down a file. All the example I look at has navigation rule while navigate from one jsp to a

Re: calling authors

2006-10-25 Thread Matthias Wessendorf
I am writing one on Trinidad for the German Java Magazine, maybe we can translate it later (deadline is december 20th or so) (I know I need to send you the portlet article too :) ) -M On 10/25/06, Kito D. Mann <[EMAIL PROTECTED]> wrote: Hello, I'm currently looking for people who are interest

calling authors

2006-10-25 Thread Kito D. Mann
Hello,   I'm currently looking for people who are interested in writing great articles for JSF Central about MyFaces, Tomahawk, Tobago, Trinidad, or Shale. If you're interested, please reply! ~~~Kito D. Mann ([EMAIL PROTECTED])A

Re: nightly download page

2006-10-25 Thread Simon Kitching
Wendy Smoak wrote: On 10/25/06, fudster <[EMAIL PROTECTED]> wrote: Hi, I've been trying to download a snapshot of the sandbox components, from http://people.apache.org/builds/myfaces/nightly/ The download page has been down for days, and there is no notice on the myfaces download page as to w

Re: AW: Best Practice - Converting raw property values of Beans

2006-10-25 Thread Jonathan Harley
Bieringer Dominik wrote: Hey cool... thx very much... I didn't knew about the possibility to access the message from the bundle via That makes life easier. It does, but you still have to declare the message bundle for "msg". There's a technique I like that simplifies things even further, w

Re: Velocity and JSF

2006-10-25 Thread Matthias Wessendorf
I wrote a small article... http://people.apache.org/~matzew/jsfvelocity.html but people.apache.org is still down. -M On 10/25/06, Rogerio Pereira <[EMAIL PROTECTED]> wrote: Hi guys! I would like know if somebody wrote something related with Velocity renderers for JSF components. If yes, is t

AW: Best Practice - Converting raw property values of Beans

2006-10-25 Thread Bieringer Dominik
Thx. Very much... I will read the docs tomorrow I think. It sounds really promising ;) -Ursprüngliche Nachricht- Von: Gert Vanthienen [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 25. Oktober 2006 22:29 An: MyFaces Discussion Betreff: Re: Best Practice - Converting raw property values of

commandLink issue in datatable

2006-10-25 Thread ndnguy
Hi, I am trying to implement Master/Detail kind of application. If not exact I used a similar approach explained on Myfaces Wiki (http://wiki.apache.org/myfaces/ExecutingMethodsFromLinkButtonParameters). When I click on the link nothing happens, method is never called. My listBean is in session sc

AW: Best Practice - Converting raw property values of Beans

2006-10-25 Thread Bieringer Dominik
Hey cool... thx very much... I didn't knew about the possibility to access the message from the bundle via That makes life easier. Thx -Ursprüngliche Nachricht- Von: Andrew Robinson [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 25. Oktober 2006 22:30 An: MyFaces Discussion Betreff: Re

Velocity and JSF

2006-10-25 Thread Rogerio Pereira
Hi guys!I would like know if somebody wrote something related with Velocity renderers for JSF components. If yes, is there a url of this stuff?Thanks in advance.-- Yours truly (Atenciosamente), Rogério (_rogerio_)http://faces.eti.br

Re: Best Practice - Converting raw property values of Beans

2006-10-25 Thread Andrew Robinson
I "cheated" and made an interface for enum types: public interfaces EnumDescribed { public String getBundleKey(); } public enum TestEnum implements EnumDescribed { A("test.a"), B("test.b"); private final String bundleKey; private TestEnum(String bundleKey) { this.bundleKey = bundleKey;

Re: Best Practice - Converting raw property values of Beans

2006-10-25 Thread Gilles Demarty
read the section 'Multilanguage Support' from http://wiki.apache.org/myfaces/Create_and_Display_Messages It may do the trick. 2006/10/25, Bieringer Dominik <[EMAIL PROTECTED]>: Hi all, today I've wondered again about how to convert property values of Beans to locale specific strings in

Re: Best Practice - Converting raw property values of Beans

2006-10-25 Thread Gert Vanthienen
Dominik, The best way to do this will be by using a custom Converter. This way, your custom Converter class can contain the logic to 'translate' between e.g. the categoryId and the Category description. Your managed bean can remain unchanged and unaware of presentation layer issues. A good e

Best Practice - Converting raw property values of Beans

2006-10-25 Thread Bieringer Dominik
Hi all,   today I’ve wondered again about how to convert property values of Beans to locale specific strings in the presentation layer. To make it clear what I want to do, I will show you a small example (This code is not compileable… It’s just for demonstration purpose):   Consider a c

Re: nightly download page

2006-10-25 Thread Wendy Smoak
On 10/25/06, fudster <[EMAIL PROTECTED]> wrote: So, I'll switch over to some other work for a bit. If you become aware that the page will be delayed much longer, could you kindly let me know via reply? Or, better yet - have a notice posted on the myfaces download page? Just keep checking --

Re: nightly download page

2006-10-25 Thread fudster
Thanks Wendy and Simon... Happy to hear that, it'll definitely be better for me to wait till those servers are available again rather than building the jar from source - it sounds like we can expect it to be back "any time now"... So, I'll switch over to some other work for a bit. If you become

RE: Conversation Component with Facelets

2006-10-25 Thread Tom Innes
Hi Mario, I have added the issue to Other in Tomahawk as I did not see the Component nor a Sandbox Category. https://issues.apache.org/jira/browse/TOMAHAWK-753 The Issue has both the final code attached and svn diffs. Tom -Original Message- From: Mario Ivankovits [mailto:[EMAIL PROTECT

Re: nightly download page

2006-10-25 Thread Wendy Smoak
On 10/25/06, fudster <[EMAIL PROTECTED]> wrote: Hi, I've been trying to download a snapshot of the sandbox components, from http://people.apache.org/builds/myfaces/nightly/ The download page has been down for days, and there is no notice on the myfaces download page as to why. The server that

Re: nightly download page

2006-10-25 Thread Simon Lessard
Hello,A "non trivial" amount of Apache servers were moved last weekend, the setup and DNS refresh is not finished I guess. Hopefully it will be done soon.Regards,~ Simon On 10/25/06, fudster <[EMAIL PROTECTED]> wrote: Hi, I've been trying to download a snapshot of the sandbox components, fromhttp:/

nightly download page

2006-10-25 Thread fudster
Hi, I've been trying to download a snapshot of the sandbox components, from http://people.apache.org/builds/myfaces/nightly/ The download page has been down for days, and there is no notice on the myfaces download page as to why. I don't need a up-to-date today copy, just something recent. In

Re: Conversation Component with Facelets

2006-10-25 Thread Mario Ivankovits
Hi Tom! > > I am attaching all three changed classes in the hopes that you would > consider this change for the component. > Could you please send a "svn diff" format, or even better, attach it to a jira ticket at http://issues.apache.org/jira I'll have a look at it then, though, as I know myself

Conversation Component with Facelets

2006-10-25 Thread Tom Innes
  Mario,   I am having some difficulty in implementing the Conversation Component into my application when using Facelets and I have a suggestion for a small coding change.  Specifically my issue is with how the managed bean name is determined.   In my application I have a combination

Re: So let me get this straight....

2006-10-25 Thread Mike Kienenberger
There's a JSF 1.2 branch for MyFaces, but I don't know the current status -- check the MyFaces issue tracker for JSR-252 issues. On 10/25/06, monkeyden <[EMAIL PROTECTED]> wrote: Sweet! I assume, based on your comment, that MyFaces currently supports JSF 1.1. I checked the MyFaces manifest fi

fileupload makes tomcat 5.5 unresponsive for other users

2006-10-25 Thread Richard Koch
I am using the commons fileupload 1.1.1 along with the JSP/JSF tag tag.  Out application server is Tomcat 5.5.   When a user uploads a file, tomcat becomes completely unresponsive to any other requests until the upload is complete—this is the case no matter what the file size is 8K to 40

Re: So let me get this straight....

2006-10-25 Thread Reind
You can use the MyFaces Tomahawk components with Sun's 1.2 Implimentation instead of the MyFaces 1.1.X implimentation.On 10/25/06, monkeyden < [EMAIL PROTECTED]> wrote:Sweet!  I assume, based on your comment, that MyFaces currently supports JSF 1.1.  I checked the MyFaces manifest file but didnt se

Re: So let me get this straight....

2006-10-25 Thread monkeyden
Sweet! I assume, based on your comment, that MyFaces currently supports JSF 1.1. I checked the MyFaces manifest file but didnt see any reference to supported version. Is there an ETA on 1.2 support? Mike Kienenberger wrote: > > You're allowed to create your own custom message bundle file tha

Re: So let me get this straight....

2006-10-25 Thread Mike Kienenberger
You're allowed to create your own custom message bundle file that will override the default one. If you really need it, you can use the instructions on the 2nd half of the following link to create a custom required validator. However, there's a performance hit for doing it this way. http://wik

Re: So let me get this straight....

2006-10-25 Thread monkeyden
Ok, so there is some flexibility. My spec, however, says that the message for a required field should appear as such: {0} is a required field. which, for the "First Name" field, would result in: First Name is a required field To my knowledge, there is no facility to pass in a user friendly labe

RE: Tomahawk and ajax4jsf - t:datascroller and sortheaders don't work

2006-10-25 Thread Yee CN
*** Your mail has been scanned by InterScan MSS. *** I think you would have better chance of getting an answer by asking in the ajax4jsf column.   Maybe you can try the following – enclose the dataTable and the dataScroller under a panelGroup, a

Re: So let me get this straight....

2006-10-25 Thread Gilles Demarty
I have indeed looked at that. Is there a way to customize the resulting error message? yes, you can load a message bundle and redefine the default error messages http://jsffaq.com/Wiki.jsp?ptitle=How+can+I+override+the+default+validation+messages%3F&page=HowCanIOverrideTheDefaultValidationMessa

Re: So let me get this straight....

2006-10-25 Thread monkeyden
I have indeed looked at that. Is there a way to customize the resulting error message? Dennis Byrne wrote: > > Hello monkeyden, > > You may want to look at the 'required' attribute for the JSF tag you are > using. > > Dennis Byrne > >>-Original Message- >>From: monkeyden [mailto:[EMA

Re: So let me get this straight....

2006-10-25 Thread Dennis Byrne
Hello monkeyden, You may want to look at the 'required' attribute for the JSF tag you are using. Dennis Byrne >-Original Message- >From: monkeyden [mailto:[EMAIL PROTECTED] >Sent: Wednesday, October 25, 2006 10:23 AM >To: users@myfaces.apache.org >Subject: So let me get this straight

So let me get this straight....

2006-10-25 Thread monkeyden
Based on what I've read on this forum, which happens to be a very valuable resource of mine, I find this to be true (corerect me if I'm wrong and please excuse my fledgling knowledge of JSF): You cannot use a validator to do null value validation on a field, because JSF doesn't call the validator

Re: AUTO_SCROLL de-/activation

2006-10-25 Thread Veit Guna
Hm, looks like a working workaround - but not for me :). I would like to keep AUTO_SCROLL deactivated per default and only activated when needed... regards, Veit Original-Nachricht Datum: Wed, 25 Oct 2006 09:23:43 -0400 Von: Jeff Bischoff <[EMAIL PROTECTED]> An: MyFaces Discuss

Re: AUTO_SCROLL de-/activation

2006-10-25 Thread Jeff Bischoff
Veit, I know of a *hack* or two that will disable AUTO_SCROLL on the page level. For example, if you put the following somewhere on your page: It will *break* the autoscroll feature, due to duplicate autoscroll input boxes. I found out about this because it is the probable cause of TOMAHAWK

Re: Help! Date-pattern for

2006-10-25 Thread Cagatay Civici
Hi,There's a JIRA issue for that which I've assigned to me, I just couldn't find the time to work on it.CagatayOn 10/25/06, davy.mailing <[EMAIL PROTECTED]> wrote:   Dear all       i am using tomahawk now and I want to know how to change the Date-pattern for       thank a lot! davy.mailin

SNAPSHOT of Tomahawk

2006-10-25 Thread Scandelli Francesco
Hi,   I would need one the latest SNAPSHOT of Tomahawk but the Apache services (nightly build) are down at the moment, could anyone send me this jar?   Thanks Francesco

Re: submitting forms with panelNavigation2

2006-10-25 Thread R. Müller
maybe no one has tested this special case, but from theoretical point of view should it work or not ? R. Müller wrote: hi group, i'm wondering that it seems not possible to submit a form with a panelNavigation2-Item. I'm using a snapshot of tomahawk 1.1.4 : this is my test-case :