Re: disable/enable h:inputText dynamically

2007-07-13 Thread Tamas Fabian
Hi! What does 'use saveState on...' mean? Tamas Grant Smith wrote: Is the bean request scoped ? If so, use saveState on #{loginBean.flag}. On 7/12/07, *...Gargi* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I have an inputText component whose disable attribute is bound to a

panelgrid

2007-07-13 Thread Arvind Pandey
Hi All, I am using t:panelGrid . I have two columns. in first column we have large data to be displayed. in second column there is very small data but the problem is this small data get displayed in the center of column. Can we make it to be displayed at the top left corner of second

Re: weblogic9.2 precompilation problem

2007-07-13 Thread esra
What dou you mean by saying knew one? to install another version or to install the same weblogic again.? Here ara my exeptions abouth this problem; i am using weblogic9.2 with spring and to parse xml files i am using xercesImpl-2.4.0. when i make precompilation true in weblogic i get an

Re: weblogic9.2 precompilation problem

2007-07-13 Thread Anton Gavazuk
You said Actually the basic problem is about xercesImpl, i am using xercesImpl-2.4.0 to parse xml files but weblogiz alse has xerces in it and the versions are not matching , i can't do the precompilation and xml parsing at the same time. My idea about this: you can replace xerces lib in

[Trinidad] text position

2007-07-13 Thread Hannes Kulovits
Hello, is there a possibility to change text positioning within a cell? The first column of my table contains a radio button with the label 'Select' next to it. These two are perfectly horizontally aligned. The second column contains the capital X for focussing into the tree (the node). The

Re: weblogic9.2 precompilation problem

2007-07-13 Thread esra
Thanks for your replay, but i couldn't find any xerces jar in .../homepage/bea/weblogic92/server/lib am i looking at the wrong folder ? Anton Gavazuk wrote: You said Actually the basic problem is about xercesImpl, i am using xercesImpl-2.4.0 to parse xml files but weblogiz alse has xerces

RE: Trinidad table paging

2007-07-13 Thread Laperle, Denis
Francisco I'm now using the process scope feature of Trinidad and it's works fine but it means that I will have to clear the process scope context manually at the appropriate time within the application to avoid high memory consumption on the server side. I will add some navigation

Detecting whether or not the user changed anything on a form

2007-07-13 Thread Hannum, Daniel
Hi, I have a form for editing a business entity. The form is prepopulated with the current values and the user can change everything and hit the submit button when their done. Fairly simple. What's tricky is that I'd like to only show a confirmation (Changes saved) message if they actually

Using Frame with Tree2 Component in a TabbedPabe

2007-07-13 Thread kewldude
I have this requirement wherein I need to display a Tree2 component in a tab, and that tab should have 2 frames in it. The frame on the left contains the Tree2 component and the frame on the right contains a page that will correspond to any data that needs to be displayed when clicking the Tree2

tree2 expand once again

2007-07-13 Thread Michał 'Gandalf' Stawicki
I would like to be able to expand a node upon clicking on commandLink in the node. The tree is bound to HtmlTree in backing bean, and the commandLink have actionListener that does: String [] path = treeBinding.getPathInformation(selectedNode.getIdentifier());

Re: Trinidad Server Side Buttons

2007-07-13 Thread Abhijit Ghosh
Hi Jon, AFAIK Trinidad does not support server-side rendered buttons.Thedocumentation has not been updated I think. -- Abhi On 7/13/07, Jon Bitmead [EMAIL PROTECTED] wrote: Hi, I am trying to construct a trinidad skin which uses server side buttons. Having looked at the lists I am unsure

Re: Database Message

2007-07-13 Thread David Delbecq
In your action (the part the probably does the insertion), FacesContext.getCurrentInstance().addMessage(String, FacesMessage); En l'instant précis du 13/07/07 12:09, Arch_Bytes s'exprimait en ces termes: Hi, I was wondering what was the best way to inform a person that a certain record has been

action not invoked: LifecycleImpl shouldRenderResponse returns true

2007-07-13 Thread Michael Heinen
Hi, I have a problem with some kind of a freezing UI. The error is unfortunately not reproduceable and does only occur sometimes for some users (I know this sounds strange) If it occurs then the log file contains following lines: [1399575725] [2007-07-12 19:31:37,582]

Re: tree2 expand once again

2007-07-13 Thread Andrew Robinson
Tree2 uses node indexes, not IDs for expanding/collapsing. Please search the archives for more information. On 7/13/07, Michał 'Gandalf' Stawicki [EMAIL PROTECTED] wrote: I would like to be able to expand a node upon clicking on commandLink in the node. The tree is bound to HtmlTree in backing

Re: Using Frame with Tree2 Component in a TabbedPabe

2007-07-13 Thread Andrew Robinson
Yes it is feasible. On 7/13/07, kewldude [EMAIL PROTECTED] wrote: I have this requirement wherein I need to display a Tree2 component in a tab, and that tab should have 2 frames in it. The frame on the left contains the Tree2 component and the frame on the right contains a page that will

Re: Trinidad table paging

2007-07-13 Thread Francisco Passos
As I have come to understand, this is expected. Although personally I believe it is not intuitive at all for any user. What happens is your bean is request scoped and as such its contents are lost when you make the second request. What you need is either request-scoped state saving (for instance

Re: Detecting whether or not the user changed anything on a form

2007-07-13 Thread Andrew Robinson
If at least one ValueChangeEvent is queued (by a UIInput component) during the validation pahse, then something has changed. On 7/13/07, Hannum, Daniel [EMAIL PROTECTED] wrote: Hi, I have a form for editing a business entity. The form is prepopulated with the current values and the user

Trinidad Server Side Buttons

2007-07-13 Thread Jon Bitmead
Hi, I am trying to construct a trinidad skin which uses server side buttons. Having looked at the lists I am unsure whether this feature has been removed since ADF Faces. Documentation seems to suggest it hasn't been, although I cannot get trinidad to render anything but an HTML button. Is

treecheckbox

2007-07-13 Thread Pierre Goupil
Hello all, I'm currently trying to have the treecheckbox component working. I'm able to display a simple (no checkbox) tree as well as a couple of chexboxes, but I can't figure out how to bind them together in order to display a tree which would allow to (un)select each one of its nodes. I've

RE: Detecting whether or not the user changed anything on a form

2007-07-13 Thread Hannum, Daniel
Thanks. Pardon my inexperience as I think this through So I could write a phase listener that would check for queued ValueChangeEvents during the validation phase and the listener would set some flag on one backing bean. The flag would indicate Did the last JSF form submission that occurred

Re: Detecting whether or not the user changed anything on a form

2007-07-13 Thread Andrew Robinson
You don't need a phase listener. You could use one bean if you want. Here is just one example that you could use to track changes: public class ChangeTrackingListener implements ValueChangeListener { private final static String CHANGED_KEY = ChangeTrackingListener; public void

Re: Tomahawk+DataScroller+WorkingWithLargeTables

2007-07-13 Thread Vladimir Isakovich
Hi Daniel, Just got time to look thru my email. It seems your problem with adding steams from the totalRecords not being updated at the time of adding. I guess, incrementing this number prior to RESTORE_VIEW should help. vlad On 7/12/07, daniel ccss [EMAIL PROTECTED] wrote: Paul where are

Problem with tr:inputFile in Seam 1.2.1GA and Trinidad 1.0.1

2007-07-13 Thread fabio quimbay
Greetings ... I have a project with Seam 1.2.1GA and Trinidad 1.0.1 on JBoss 4.2.0GA, works good. Many components like tr:panelPage work good, bad when I use tr:inputFile doesn't work, because I see this error: 09:30:22,875 ERROR [ExceptionFilter] uncaught exception

RE: Detecting whether or not the user changed anything on a form

2007-07-13 Thread Hannum, Daniel
Oh, ok. I didn't know you could extend it and use a different one. Still, that means I have to explicitly put a VCL on each field, which is tedious. Better than doing it in code though. I think this will do unless you can think of a way to avoid having to add the VCL tag to every component.

[tobago] can we create a UIMenu structure on the fly (from the server side)?

2007-07-13 Thread Zied Hamdi
Hi Tobago, I have a little problem filling a UIMenu (I took a look at the mailing list and no one had the problem) : I've tried this: *public* UIMenu getPhoneMenu() { *return* phoneMenu; } *public* *void* setPhoneMenu(UIMenu phoneMenu) { PhoneNumber

Re: Detecting whether or not the user changed anything on a form

2007-07-13 Thread Andrew Robinson
I think this will do unless you can think of a way to avoid having to add the VCL tag to every component. This is when you may consider a PhaseListener, or component binding. You could surf the entire component tree recursively, and add your VCL to all components implementing

RE: Detecting whether or not the user changed anything on a form

2007-07-13 Thread Hannum, Daniel
Thanks very much You have addValueChangeListener(this). I assume instead I should be adding the VCL class as a listener, not the phase listener. Similar, you have the assignableFrom code which doesn't compile. The goal there is just to check if there are any VCL's of thar particular type type

Re: Detecting whether or not the user changed anything on a form

2007-07-13 Thread Andrew Robinson
just to check if there are any VCL's of thar particular type type assigned to this class, right? I had the phase listener implement VCL, but you can use any class, I was just using a simple example for email sake. have the assignableFrom code which doesn't compile. I just typed the code in

Re: how to stop Ajax poll call through java script

2007-07-13 Thread Ernst Fastl
Looks as if the form with the search criteria was not submitted at all. Are your search inputs within the same h:form as the dataTable and dataScroller ? On 7/13/07, ayan [EMAIL PROTECTED] wrote: What about my dataScroller problem??? anybody who knows how to get around with it? Is there any

Login filter + redirect to previous

2007-07-13 Thread Francisco Passos
Good afternoon. I'm using a filter to check for a session bean with user login details and redirecting to a login page to enforce the user to login once more if the session has expired or if the user is not logged in. I'd like to know which alternatives I have to redirect the user after the

RE: Detecting whether or not the user changed anything on a form

2007-07-13 Thread Hannum, Daniel
Thanks for all your help -Original Message- From: Andrew Robinson [mailto:[EMAIL PROTECTED] Sent: Friday, July 13, 2007 12:49 PM To: MyFaces Discussion Subject: Re: Detecting whether or not the user changed anything on a form just to check if there are any VCL's of thar particular type

RE: [Trinidad] Renderer Listeners

2007-07-13 Thread William Hoover
I am trying to get a f:param value from a CoreCommandLink, but the value is null until the link has been rendered. The link is inside a tr:column- if that helps. -Original Message- From: Adam Winer [mailto:[EMAIL PROTECTED] Sent: Friday, July 13, 2007 2:42 PM To: MyFaces Discussion

Re: [Trinidad] Renderer Listeners

2007-07-13 Thread Adam Winer
Well, that's what you're doing, but doesn't quite explain (A) why the value is null until the link is rendered (though I'm guessing that's because its value comes from the table data) (B) why you need to get the param value for this specific command link within this table (or a specific row of

Re: Problem with tr:inputFile in Seam 1.2.1GA and Trinidad 1.0.1

2007-07-13 Thread Adam Winer
The relevant exception is: Caused by: java.lang.ClassCastException: org.apache.myfaces.trinidadinternal.config.upload.UploadedF iles$FixFilename at com.colconnect.reel.session.GestionPlantilla.fileUploaded (GestionPlantilla.java:58) I'm gonna guess that line 58 is: UploadedFile archivo =

RE: Login filter + redirect to previous

2007-07-13 Thread Kito D. Mann
From: Francisco Passos [mailto:[EMAIL PROTECTED] Sent: Friday, July 13, 2007 1:07 PM To: MyFaces Discussion Subject: Login filter + redirect to previous Good afternoon. I'm using a filter to check for a session bean with user login details and redirecting to a login page to enforce the

RE: [Trinidad] Renderer Listeners

2007-07-13 Thread William Hoover
As you guessed it, there are links within each table row that contain a f:param that holds data for that row. When the user clicks on that row I need to update a separate input field (outside the table- inside the same form) with the value from the f:param. I need this to happen on the client

Re: Sun Java Application Server 9

2007-07-13 Thread alvaro tovar
if some one know how run myfaces in sun one application server 9, please tell me. On 6/19/07, Matthias Wessendorf [EMAIL PROTECTED] wrote: The AS9 doc should contain infos on that, IMO ;) -M On 6/19/07, Juan Ignacio Sánchez Lara [EMAIL PROTECTED] wrote: In MyFaces Wiki there's no

Re: Problem with tr:inputFile in Seam 1.2.1GA and Trinidad 1.0.1

2007-07-13 Thread fabio quimbay
Hi, Adam ... Thanks for your answer. About the 2 possibilities, I see the source of this projects (MyFaces / Trinidad) and my project, and I see this ... In the source class UploadedFiles I see this: static public class FixFilename implements UploadedFile, Serializable { ... }

Re: Problem with tr:inputFile in Seam 1.2.1GA and Trinidad 1.0.1

2007-07-13 Thread Matthias Wessendorf
are you able to upload a test-case ? On 7/13/07, fabio quimbay [EMAIL PROTECTED] wrote: Hi, Adam ... Thanks for your answer. About the 2 possibilities, I see the source of this projects (MyFaces / Trinidad) and my project, and I see this ... In the source class UploadedFiles I see this:

Re: Trinidad table paging

2007-07-13 Thread Laurie Harper
Francisco Passos wrote: Great to know you've got it working. I'm now using the process scope feature of Trinidad and it's works fine but it means that I will have to clear the process scope context manually at the appropriate time within the application to avoid high memory consumption on

Re: Problem with tr:inputFile in Seam 1.2.1GA and Trinidad 1.0.1

2007-07-13 Thread Adam Winer
Any time you have a ClassCastException with two classes that should be just fine, check your classpath - thoroughly. Look for a duplicate copy of trinidad. -- Adam On 7/13/07, fabio quimbay [EMAIL PROTECTED] wrote: Hi, Adam ... Thanks for your answer. About the 2 possibilities, I see the