Re: [Solved] Unable to display Suggested Items using Sandbox component s:inputAjaxSuggest

2007-03-06 Thread Gerald Müllan
Hi, best is to use latest sandbox (as always with sandbox components). http://people.apache.org/builds/myfaces/nightly/ cheers, Gerald On 3/5/07, bansi <[EMAIL PROTECTED]> wrote: Hi Gerald Please suggest which latest version of sandbox & tomhawk is safe to use to make inputAjaxSuggest compo

RE: date in jenia calendar is off by one

2007-03-06 Thread Madhav Bhargava
It is not a problem with Jenia calendar. It is the timezone that is used to convert the submitted value at the server side. To make sure that the server JVM timezone is taken use tag. Now you can set the system timezone to anything that you want. ~madhav F

how do you pass/set parameters upon ActionListener execution?

2007-03-06 Thread Madhav Bhargava
Hi All, I have a requirement wherein I have to pass some values when an ActionListener is invoked. I am aware of 2 ways: 1. f:param 2. t:updateActionListener The only problem is that both of the above only do what they do when an action method is invoked. Since I want the value

Re: how do you pass/set parameters upon ActionListener execution?

2007-03-06 Thread Werner Punz
This is not quite true, the updateActionListener sets the parameters bevore the invocation of the action this is due to jfs lifecycle where the apply request values is before the action, which phase depends on your immediate value: I quote the original docs here: >Both the fetching of "value" an

RE: how do you pass/set parameters upon ActionListener execution?

2007-03-06 Thread Madhav Bhargava
Hi Werner, Yes, you are right. But I still cannot get the values in my backing bean. Jsp code: BreadCrumbNavigator.java (managed bean named as per config file is breadCrumbNavitatorBean) private BreadCrumbParticipant participant = null; public BreadCrumbParticipant getParticipant() {

Re: how do you pass/set parameters upon ActionListener execution?

2007-03-06 Thread Werner Punz
I had similar usescases (although not using internationalisation) in my current up a dozend times, the mechanism itself works, I can only guess here, first of all which myfaces version do you use and which tomahawk version. I can recommend to go to the latest 1.1.5 stable and use the tomahawk and s

Regarding sandbox's inputSuggestAjax tag

2007-03-06 Thread shaikyesdani.basha
Hi, I am using sandbox's inputSuggestAjax tag. It is working fine in my application. But the problem is if you are typing text in the field for every character typing its calling the suggest method. At that time if I submit the form then it has to ignore the previous requests. Is the

Re: tiles problem

2007-03-06 Thread Werner Punz
First of all, your myfaces version (1.0.7) is very old, the current version is 1.1.5 I highly can recommend to go for 1.1.5 + tomahawk 1.1.5 nightlies and the sandbox nightlies. 1.1.5 is stable but tomahawk is currently not (but soon will be) Secondly, is there any reason for using tiles, there a

Re: tiles problem

2007-03-06 Thread Matthias Wessendorf
the issue is mixing html markup w/ JSF components On 3/5/07, James Gardener <[EMAIL PROTECTED]> wrote: Hi all, I am implementing a project using tiles with myfaces. I can successfully run the sample myfaces-1.0.7-tiles-example, but I am having a lot of problems when turing this sample into a m

RE: Re: [Tobago] Form submit using JavaScript

2007-03-06 Thread H. Swaczinna
Hi Madan,just one tip, may be this helps. You can use the (internally) Tobago function Tobago.reloadComponent() to execute a serveside action, get back a value via ajaxand finally execute some _javascript_. Example:function checkOrderIdAndConfirmSubmit() {    var options = {  onComplete:   

SOS big problem with validation phase debugging

2007-03-06 Thread Julien Martin
Hello, I have a form containing several fields and one of the fields prevents the validation of the form and the invoke application and update model values phases are never entered. My question is simple but I have not found any answer to it: how do I know which value is applied during the apply r

Re: Regarding sandbox's inputSuggestAjax tag

2007-03-06 Thread Werner Punz
Is there a specific reason why you want to ignore those requests? They do not do anything specifically. [EMAIL PROTECTED] schrieb: > Hi, > > I am using sandbox’s inputSuggestAjax tag. It is working > fine in my application. But the problem is if you are typing text in the > field fo

Re: SOS big problem with validation phase debugging

2007-03-06 Thread Werner Punz
Julien Martin schrieb: > My second question is as follows: how do I bypass validations altogether > for a specific form control? You can use subforms which are found in the sandbox, this is the easiest solution to bypass validation. Another way is to disable the validation programmatically via com

Re: Regarding sandbox's inputSuggestAjax tag

2007-03-06 Thread Werner Punz
[EMAIL PROTECTED] schrieb: > Hi, > > I am using sandbox’s inputSuggestAjax tag. It is working > fine in my application. But the problem is if you are typing text in the > field for every character typing its calling the > suggest method. At that time if I submit the form then it has t

Re: Regarding sandbox's inputSuggestAjax tag

2007-03-06 Thread Werner Punz
Werner Punz schrieb: > [EMAIL PROTECTED] schrieb: >> Hi, >> >> I am using sandbox’s inputSuggestAjax tag. It is working >> fine in my application. But the problem is if you are typing text in the >> field for every character typing its calling the >> suggest method. At that time if I s

Re: SOS big problem with validation phase debugging

2007-03-06 Thread Julien Martin
Hello Werner, Thanks a lot for your reply!!! Can you please tell me how to do that?? Another way is to disable the validation programmatically via component bindings for the control at a certain usecase. Can you direct me to snippets please? Julien.

Why we use Tobago?

2007-03-06 Thread prantor
Hi all Can I use css for any Tobago tag like “in“,”out” etc tag? Sometime I need to left align right align some text filed, button but I don’t know how to solved this problem. Please help if any one has answer. Another question is: I am new in Tobago any one can explain me why we choice Tobago

RE: date in jenia calendar is off by one

2007-03-06 Thread raindogs
I'm sorry if my original post made it sound like I was saying there was something wrong with the Jenia Calendar. My intention was to show what I was doing and ask if someone could spot how I was using it incorrectly. Thanks a lot for the tip on the timezone issue, it all worked fine once I sorte

Re: SOS big problem with validation phase debugging

2007-03-06 Thread Werner Punz
Julien Martin schrieb: > Hello Werner, > > Thanks a lot for your reply!!! > > Can you please tell me how to do that?? > > Another way is to disable the validation programmatically > via component bindings for the control at a certain usecase. > > > Can you direct me to snippets please?

Re: SOS big problem with validation phase debugging

2007-03-06 Thread Julien Martin
Thanks a lot Werner!! I am going to have a look at that. J. 2007/3/6, Werner Punz <[EMAIL PROTECTED]>: Julien Martin schrieb: > Hello Werner, > > Thanks a lot for your reply!!! > > Can you please tell me how to do that?? > > Another way is to disable the validation programmatically > vi

RE: Why we use Tobago?

2007-03-06 Thread H. Swaczinna
Hi, there's no direct way to use css styles. But you can use and define markups instead, for example markup="number" right aligns input fields. To define your own markups see http://myfaces.apache.org/tobago/faq.html 9. and 10. Regards Helmut > >Hi all > >Can I use css for any Tobago tag like

Re: tiles in myfaces1.1.4 doesn't work

2007-03-06 Thread Werner Punz
James Gardener schrieb: > Hi Simon, > > Thank you so much for telling me this. That is why I hardly found any > support on tiles with myfaces on line. I will start to look at the > facelets you suggested. Do you know any good websites for facelets? > > Thanks, > James > Yes tiles is somewh

RE: Re: Regarding sandbox's inputSuggestAjax tag

2007-03-06 Thread shaikyesdani.basha
In my bean method to manipulate the suggested list takes some time. So for each request the bean method is called then the performance of my application will be degraded. So is there any way to send the request to the server after 1 second from the user stops typing text? Regards, Basha -Ori

Question: Style for "Browse"-button of "inputFileUpload"?

2007-03-06 Thread thosters
Hi all! I am using an "inputFileUpload" to upload files, which works fine! However I cannot apply a css-style to the "browse"-button, it still looks like a standard browser button. Since it did not work so far, my guess would be that "inputFileUpload" acts like "" in HTML, where you cannot styl

Re: Regarding sandbox's inputSuggestAjax tag

2007-03-06 Thread Werner Punz
[EMAIL PROTECTED] schrieb: > In my bean method to manipulate the suggested list takes some time. So > for each request the bean method is called then the performance of my > application will be degraded. So is there any way to send the request to > the server after 1 second from the user stops typi

oamSetHiddenInput function missing

2007-03-06 Thread Remo Liechti
Hi Guys I have a custom component that extends the commandButton. In the onclick attribute, something like oamSetHiddenInput('_idJsp29','autoScroll',getScrolling()) is rendered. This function does not exist, so every time the button is clicked a java script error occures, telling me that "oamSet

h:messages within f:subview not working

2007-03-06 Thread SOSELLA
I am using the following JSF code snippet: ... ... ... and in the backing bean I am adding an error message such as FacesContext.getCurrentInstance().addMessage("myClientId", new FacesMessage("error")); The error message is not showing up. I have tried all sorts o

RE: oamSetHiddenInput function missing

2007-03-06 Thread Remo Liechti
Okay this was because of compatibility problems between myfaces 1.1.5 and tomahawk 1.1.3 haha... Bad luck. -Original Message- From: Remo Liechti [mailto:[EMAIL PROTECTED] Sent: Dienstag, 6. März 2007 16:01 To: MyFaces Discussion Subject: oamSetHiddenInput function missing Hi Guys I

Re: date in jenia calendar is off by one

2007-03-06 Thread Andrew Robinson
FYI, the convertDateTime converter from Seam defaults to the user's locale instead of UTC. On 3/6/07, raindogs <[EMAIL PROTECTED]> wrote: I'm sorry if my original post made it sound like I was saying there was something wrong with the Jenia Calendar. My intention was to show what I was doing an

RE: Question: Style for "Browse"-button of "inputFileUpload"?

2007-03-06 Thread Strittmatter, Stephan
Hi thorsters, no, it is nt possible. Your guess was correct. It _is_ an "" in HTML. Regards, Stephan -Original Message- From: thosters [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 06, 2007 3:55 PM To: users@myfaces.apache.org Subject: Question: Style for "Browse"-button of "inputFile

Re: Question: Style for "Browse"-button of "inputFileUpload"?

2007-03-06 Thread Andrew Robinson
There are ways to style the file input control, but all involve a hack that usually consists of putting a tag above the file control. Since it is considered a security problem to style the file input control, there really is no easy, standard way of doing it. http://tinyurl.com/ysq5hb On 3/6/07,

[Tobago] Validation problem

2007-03-06 Thread Michał 'Gandalf' Stawicki
hello, I have a some tx:in controls, tc:selecOneChoice and two buttons - save and display. Now, if I press save I need to save entered data, but first validate it. If i press display, I need to display some data in tx:in's according to selection, but ommit validation. Is there any way to achieve

[Tobago] tc:form usage

2007-03-06 Thread Michał 'Gandalf' Stawicki
hello, I have a structure like: ... some fields ... ... ... some tx:in fields and buttons ... I would like to update fields in the second form after clicking button in the first form, is there a way? regards, michael -- [EMAIL PROTECTED] http://stawicki.jasliska.pl GG: 369 JID: [E

Re: ajax4jsf and t:inputCalendar element conflict

2007-03-06 Thread Werner Punz
Adrian Mitev schrieb: > However tomahawk 1.1.5 nightlies are stable enought for production > There is not too much happening in core tomahawk by now except for some bug fixing, the components in there are stable enough and are not really tinkered with, what you can expect in the future is a consta

Best pratices to set TimeZone

2007-03-06 Thread mario.buonopane
I'm having problem displaying date converted with f:convertDateTime because if I have the date value 2007-02-06 00:00:00.000 I show the date minus one day. I think the problem is because I don't set the TimeZone used and the converter use GMT Time Zone. What is the best pratices to manage TimeZone

Re: ajax4jsf and t:inputCalendar element conflict

2007-03-06 Thread Werner Punz
Werner Punz schrieb: > Adrian Mitev schrieb: >> However tomahawk 1.1.5 nightlies are stable enought for production >> > There is not too much happening in core tomahawk by now except for some > bug fixing, the components in there are stable enough and are not really > tinkered with, what you can ex

Re: Best pratices to set TimeZone

2007-03-06 Thread Alexandre Jaquet
[EMAIL PROTECTED] wrote: I’m having problem displaying date converted with f:convertDateTime because if I have the date value 2007-02-06 00:00:00.000 I show the date minus one day. I think the problem is because I don’t set the TimeZone used and the converter use GMT Time Zone. What is the bes

Re: Best pratices to set TimeZone

2007-03-06 Thread Andrew Robinson
The convertDateTime converter from Seam uses the user's time zone instead of UTC by default. If you use that it should always display the correct time zone to the user. On 3/6/07, Alexandre Jaquet <[EMAIL PROTECTED]> wrote: [EMAIL PROTECTED] wrote: > I'm having problem displaying date converted

Re: Best pratices to set TimeZone

2007-03-06 Thread Volker Weber
Hi, in sandbox is a s:convertDateTime http://myfaces.apache.org/sandbox/tlddoc/s/convertDateTime.html which uses server default timezone. Regards, Volker 2007/3/6, Andrew Robinson <[EMAIL PROTECTED]>: The convertDateTime converter from Seam uses the user's time zone instead of UTC by default.

Re: [Tobago] Validation problem

2007-03-06 Thread Bernd Bohmann
Hello Michael, tc:page is a form. You don't need to define a tc:form. tc:form is for partial validation and partial model update. Please look at the forms example in the demo. Regards Bernd Michał 'Gandalf' Stawicki wrote: hello, I have a some tx:in controls, tc:selecOneChoice and two but

Re: date in jenia calendar is off by one

2007-03-06 Thread Madhav Bhargava
Hi Andrew, When you say user's locale do u also mean that the the tag will use the timezone information from the user's browser instead of using the server timezone? could you throw some more light on it? Rgds, Madhav On 3/6/07, Andrew Robinson <[EMAIL PROTECTED]> wrote: FYI, the convertDat

Can't send mail to list

2007-03-06 Thread MikeDougherty
I tried to send an email to the list (users@myfaces.apache.org) and it keeps getting rejected. How do I send email to this list? Luckily I found nabble to let me post this message to the list. But it would be nice to be able to send email from within my email client. Begin forwarded message: F

File upload question

2007-03-06 Thread MikeDougherty
I am using the Tomahawk File Upload component in a Seam application. Thank you for building it, it is working great. The one thing I have been trying to figure out, and can't seem to find anywhere is how to retain the case in the name of the file uploaded. Is there a parameter that I can set to

MyFaces Graphical Report Components

2007-03-06 Thread Steve Torrefranca
Hi everyone, Do we have graphical components like pie/bar charts or a map or export to pdf/excel - anything we can use for online reports? Thank you -Steve

Re: Can't send mail to list

2007-03-06 Thread Mike Kienenberger
Send the full message headers for the bounced message, and we might be able to assist you more. If you're subscribed to the apache infrastructure mailing list, you can also directly post your question there. On 3/6/07, MikeDougherty <[EMAIL PROTECTED]> wrote: I tried to send an email to the l

Re: [Tobago] Validation problem

2007-03-06 Thread Michał 'Gandalf' Stawicki
Thanks Bernd, I have read the FAQ before - partial validation is my case, as I have some other fields on the page that have to be validated some other time. Guess I have to do some custom validation than regards, michael On 06/03/07, Bernd Bohmann <[EMAIL PROTECTED]> wrote: Hello Michael, tc

Re: date in jenia calendar is off by one

2007-03-06 Thread Andrew Robinson
From the Seam documentation: : Perform date or time conversions in the Seam timezone. Snippet from the docs on when "Seam timezone" means: There is also a session-scoped instance of java.util.Timezone, named org.jboss.seam.core.timezone, and a Seam component for changing the timezone named org.

Adding right click menu for tree2

2007-03-06 Thread Geetha Rodricks
Hi We are using tree2 and have it working with dynamic data. Now Iam interested in adding a menu when the user right clicks on a node in the trees. Based on the node the menu options would be different. Has anyone implemented a right click menu on a tree2 Node - Any help would be appreciated. Tha

Re: MyFaces Graphical Report Components

2007-03-06 Thread Cagatay Civici
Hi, There's an excelexport component in sandbox. Cagatay On 3/6/07, Steve Torrefranca <[EMAIL PROTECTED]> wrote: Hi everyone, Do we have graphical components like pie/bar charts or a map or export to pdf/excel - anything we can use for online reports? Thank you -Steve

Re: Adding right click menu for tree2

2007-03-06 Thread Andrew Robinson
Then using javascript that is friendly for the browsers you support trap the right-mouse button and prevent the event from bubbling out to the browser (where the browser's right-click menu is shown) On 3/6/07, Geetha Rodricks <[EMAIL PROTECTED]> wrote: Hi We are using tree2 and have it

Issues Upgrading MyFaces Core from 1.1.4 to 1.1.5

2007-03-06 Thread mjovanov
Has anyone had issues when upgrading MyFaces Core from 1.1.4 to 1.1.5? In my app, I use MyFaces 1.1.4 and Tomahawk 1.1.3; when attempting to upgrade to MyFaces 1.1.5, I noticed all kinds of issues: popup windows are opening with wrong (parent page) views loaded (which from my experience is usuall

security and jsf

2007-03-06 Thread Garner Shawn
What are you using for security with JSF for user roles and login? JSF Security, ACEGI, or something else? I just want to know what the options are and what works best. Shawn

How can i validate Tobago "in" tag for fixed length

2007-03-06 Thread prantor
Hi, I want to set fixed length for validation Tobago "in" or "TextArea" tag. suppose: i have one input field and i want to validate that user must input maximum 10 character in this field . Any one suggest me how can i solved this problem. -- View this message in context: http://www.nabble.com

from components to JSF tags

2007-03-06 Thread Yaron Spektor
Hi, Does anyone know a way in which I could see my JSF components as JSF tags? I am creating the components programmatically and would like to view the JSF tags before or after they are rendered to the screen. Thanks, Yaron

Re: tiles in myfaces1.1.4 doesn't work

2007-03-06 Thread bgsdev
Hi James, I've been using tiles with myfaces (although it is myfaces 1.1.3) for several months now using a header + body + footer layout. At some point I may convert over to facelets, but for the moment I can do most of what I need to using tiles (such as form submits from within the tile) and

Re: from components to JSF tags

2007-03-06 Thread Simon Kitching
Yaron Spektor wrote: Hi, Does anyone know a way in which I could see my JSF components as JSF tags? I am creating the components programmatically and would like to view the JSF tags before or after they are rendered to the screen. I don't understand what you are looking for here. If you've

RE: how do you pass/set parameters upon ActionListener execution? - puzzled

2007-03-06 Thread Madhav Bhargava
Hi Werner, I double checked the jsp and the backing bean but it just refuses to parse the EL expression. This is what I have done: Jsp Code: In the backing bean I just defined a String property with the name displayText. Following is the observation: 1. The displayText in the backing be

Re: how do you pass/set parameters upon ActionListener execution? - puzzled

2007-03-06 Thread Simon Kitching
What happens if you do this? Madhav Bhargava wrote: Hi Werner, I double checked the jsp and the backing bean but it just refuses to parse the EL expression. This is what I have done: *Jsp Code:* action="#{reminderController.getExistingRemindersList}" actionListener="#{breadCrumbNavigato

RE: how do you pass/set parameters upon ActionListener execution?- puzzled

2007-03-06 Thread Madhav Bhargava
As I mentioned in point number 2 it works. displayText property in the backing bean will get populated with "dummyValue" The immediate inference of this result was that there is something wrong with my EL expression. But then when I used tag with the same EL expression it outputted the correct v

Re: how do you pass/set parameters upon ActionListener execution?- puzzled

2007-03-06 Thread Simon Kitching
Sorry I didn't read the whole mail. How exactly is "msg" defined? I don't see here what version of Tomahawk you are working with. For version 1.1.3 (which is what I have at hand) the value is fetched just using a standard call to "getValue()", so there's nothing special there. However afterwa

Re: Problems using

2007-03-06 Thread Martin Marinschek
I wonder why you do an aliasBean on the same page beforehand - why don't you just factor out the stuff into a separate facelets component? regards, Martin On 3/5/07, Werner Punz <[EMAIL PROTECTED]> wrote: Laurentiu Trica schrieb: > Hi Werner > > As far as I read, the iterates a list and puts

RE: how do you pass/set parameters upon ActionListener execution?-puzzled

2007-03-06 Thread Madhav Bhargava
Hi Simon, The version of Myfaces that I am using is from a nightly build version 1.1.5. Tomahawk version is 1.1.5 as well (some nightly build) displayText is a String property and getter and setter have been generated using Eclipse so I am sure that there is no problem with the signature. It sho

Re: [Solved] Re: Sub columns in datatable

2007-03-06 Thread pals
Hi Martin/Mike, I got my mistake. Now i am able to retrieve the values correctly from the bean. would avoid using consecutive capital letters in attribute name. But could you help me achieve column spans in header columns. I have this code in my jsp if you notice the col2 header sub headers(firs

Re: [ Tobago ] Regarding PopUp's

2007-03-06 Thread madan chowdary
Hi All, After debugging this thing , at last was able to get the popup on mouseover with the help of prototype.js. The code is as such

Re: How can i validate Tobago "in" tag for fixed length

2007-03-06 Thread Bernd Bohmann
Hello, use a f:validateLength Tag. The max value of validateLength set the maximum size of the field. Regards Bernd prantor wrote: Hi, I want to set fixed length for validation Tobago "in" or "TextArea" tag. suppose: i have one input field and i want to validate that user must input maximum

Re: h:messages within f:subview not working

2007-03-06 Thread Werner Punz
Hi I sent the answer already over the mail but just for history reasons you have the use the full client id of the component which is ::: you can use componentbindings to get it programmatically component.getClientId(facesContext) alternatively, but this is a bad method, you can look up the mar

Re: how do you pass/set parameters upon ActionListener execution?-puzzled

2007-03-06 Thread Simon Kitching
Madhav, Well, people here seem to be quite sure that the t:updateActionListener is correct; I certainly don't *see* any problems with it, nor do I *experience* any problems. If you are going to say "It should not be a problem with getter and setter" then I'm not sure that this list can be mu

Re: How can i validate Tobago "in" tag for fixed length

2007-03-06 Thread Simon Kitching
Hote however that this does not enforce a limit on the client side, like "maxlength" does for inputText components. It allows any amount of data to be input by the user, then reports an error if it is too long - which is not a nice user experience. While HTML supports maxlength for INPUT elem