Re: tree2 HtmlTree and saveSate Question

2005-10-22 Thread Anu Padki
Can you please explain briefly what does the second commandlink under the panelGrid mean? What is projectTable.jsp and  what is toViewId's function? Thanks. - Anu var="node" varNodeToggler="t" clientSideToggle="false" showNav="false"showRootNode="false">

RE: Adding a Component to a custom component

2005-10-22 Thread Jesse Alexander \(KBSA 21\)
-Original Message- What I need is to render a CommandButton which is part of the above component (a child of the component I suppose) without having to specify its HtmlCommandButton tag in the JSP. I guess i'd use app.createComponent() method somehow... -/Original Message- myCom

RE: Comparable validation design

2005-10-22 Thread Jesse Alexander \(KBSA 21\)
-Original Message- Just a naming thing - shouldn't it be or instead of ? -/Original Message- I guess the name is just a first throw... maybe comparable because it accepts any Comparable object... But part of bringing it up here is get some more opinions. -Original Message---

Adding a Component to a custom component

2005-10-22 Thread Eurig Jones
I have a custom component which renders a table and a few images etc using a Renderer. What I need is to render a CommandButton which is part of the above component (a child of the component I suppose) without having to specify its HtmlCommandButton tag in the JSP. I guess i'd use app.create

RE: Internationalization question

2005-10-22 Thread gvial
Yep it should work. The trick is that if you're dealing with a string in a properties file, you have to include single quotes around your _expression_, like #{bundle['property']}. However for bean properties you'll have to do it without the single quotes like Martin pointed out. I'm only ment

Re: getting the view tree in a string

2005-10-22 Thread Martin Marinschek
UIComponent.getClientId(context) does the trick... regards, Martin On 10/22/05, Eurig Jones <[EMAIL PROTECTED]> wrote: > Another question! > > All components when outputting their id's output the components position > in the view tree. > > I'm writing a custom component, so how do I retrieve my

getting the view tree in a string

2005-10-22 Thread Eurig Jones
Another question! All components when outputting their id's output the components position in the view tree. I'm writing a custom component, so how do I retrieve my components current position in the tree as a string? Is there a method which does it, or do I have to iterate around something?

Re: Action called twice

2005-10-22 Thread Julián García
Thanks. I'll check out last build. I have started using client server state again, the problem is related to a filter we were using for authentication. We are not using the filter temporarily, so now it works fine. Thanks for replying. Will post back when I identify the problem completely, bu

Re: Help with a simple ActionListener on a CommandButton

2005-10-22 Thread Eurig Jones
Sorted! I think... Must have been a problem with myEclipse not deploying the correct class. (i think anyway)

Re: Help with a simple ActionListener on a CommandButton

2005-10-22 Thread Eurig Jones
Oops... I actualy renamed the method after my first post, to "add" in my code. But to make things a bit clearer i pasted the stacktrace and did a search on "add" and replaced it with flipBoard to match up with my first post!! I must've missed out that add. it should be "flipBoard". Sorry to

Re: Using HMTL Editor inside a Tabbed Pane

2005-10-22 Thread Martin Marinschek
Right. sorry for that! regards, Martin On 10/22/05, Sven Haiges <[EMAIL PROTECTED]> wrote: > > So there is no way to use a tabbed pane that has one input html component in > each tab any longer,right? > > ok, then I will probably firstr try tabbed panes with normal inputs first, > and if this

Re: Possible Solutions: Using HMTL Editor inside a Tabbed Pane

2005-10-22 Thread Martin Marinschek
If you want it real quick (<30min), copy the source of the old tabbedPane, create a customized component class and use a component binding to point to this source (make sure you also overwrite the renderer). regards, Martin On 10/22/05, Sven Haiges <[EMAIL PROTECTED]> wrote: > OK, I am trying to

Re: Using HMTL Editor inside a Tabbed Pane

2005-10-22 Thread Sven Haiges
So there is no way to use a tabbed pane that has one input html component in each tab any longer,right? ok, then I will probably firstr try tabbed panes with normal inputs first, and if this not working, then I will use single jsp pages for that. cheers\ sven "MyFaces D iscussion" schri

Tabbed Pane State Saving

2005-10-22 Thread Sven Haiges
I put this in a separate mail because it is only about the tabbed pane. Some questions: - if one clicks on a tabbed pane with 3 tabs, can I get a notifiction on the server if some tab was clicked? - is it right that only the state of the components that are in the currently displayed tab will be s

Possible Solutions: Using HMTL Editor inside a Tabbed Pane

2005-10-22 Thread Sven Haiges
OK, I am trying to find a quick solution to this problem. Unfortunately the option for adding this feature is out, because i really want to get this up quickly. If I got it right, the problem in this case is not theHMTL input component, it is only the tabbed pane. So what could I do? I have to ge

Re: Using HMTL Editor inside a Tabbed Pane

2005-10-22 Thread Martin Marinschek
No to your first question - it has nothing to do with what state-saving you use. I am talking of server and client side mode for the inputHtml component, not about the state-saving in general. No to your second question - all data is rendered, it is only set to "invisible" using CSS; so you won't

Re: Using HMTL Editor inside a Tabbed Pane

2005-10-22 Thread Sven Haiges
One sec: does it mean that I can change to client-side ui-state saving and it works again? I currently save the state of the ui tree on the server side. --- Besides this, I am wondering why the tabbed pane was made client-side only. Doesn't this mean that I can only use it for data presenta

RE: Help with a simple ActionListener on a CommandButton

2005-10-22 Thread Guillermo Meyer
In the stacktrace, the method that it's trying to get by reflection is "add". Have you got the full implementation code of "flipBoard"? or is it just: public void flipBoard(ActionEvent e) { System.out.println("Hello"); } Are you trying to use Value Binding w

Re: Using HMTL Editor inside a Tabbed Pane

2005-10-22 Thread Martin Marinschek
You are right - now it shouldn't be too hard to enable the old server-side mode as an option. What I remember, Sylvain has left comments as to where this would be necessary. Is there no one who needs this and would be willing to spend some time on this? You get a big plus from this: an intensive J

Re: Help with a simple ActionListener on a CommandButton

2005-10-22 Thread Eurig Jones
I've pasted the stacktrace at the bottom of this message. I tried renaming my form but it didn't make any difference :-( Guillermo Meyer wrote: When does the exception appears? In the rendering phase or when submitting the form? Can you "paste" the exception you have? Just in case; have you t

Re: Using HMTL Editor inside a Tabbed Pane

2005-10-22 Thread Michael Ageeb
Yeah, i really miss the old server side mode. I don't like to load all data of other tabs when user uses only one. On Sat, 2005-10-22 at 16:27 +0200, Martin Marinschek wrote: > There has been a change in the tabbed panel to be client side only. > > It would be better to support the old server side

Re: Using HMTL Editor inside a Tabbed Pane

2005-10-22 Thread Martin Marinschek
There has been a change in the tabbed panel to be client side only. It would be better to support the old server side mode as an option - do you have time to look into this? Would be great! regards, Martin On 10/22/05, Sven Haiges <[EMAIL PROTECTED]> wrote: > One addition to that: > > I notice

RE: Help with a simple ActionListener on a CommandButton

2005-10-22 Thread Guillermo Meyer
When does the exception appears? In the rendering phase or when submitting the form? Can you "paste" the exception you have? Just in case; have you tried changing the to ? Because both form id and bean id have the same name "room" (I don’t think that could be the problem, but... who knows. ;).

Re: Using HMTL Editor inside a Tabbed Pane

2005-10-22 Thread Sven Haiges
One addition to that: I noticed that in older versions, whenever i clicked a tab a c/s request/response was initiated. Now, this does not happen any longer. This is probably the reason why some values are not carried on to the server. How can I again have a request to the server when I click anoth

Using HMTL Editor inside a Tabbed Pane

2005-10-22 Thread Sven Haiges
Hi there, I was successfully using 4 HTML Editor Components inside 4 Tabs of a tabbed pane and now I switched to 1.1 final and this does not work any longer. it seems that the value of the last tab is automatically assigned to the first parameter and all other values are empty. Below is my code.

Help with a simple ActionListener on a CommandButton

2005-10-22 Thread Eurig Jones
Please if you can help me with this.. I'm on the verge or just giving up...I have a problem with the following and its driving me crazy!! I'm getting a java.lang.NoSuchMethodException for RoomHandler.flipBoard. It seems to render the button correctly with its value. But I can't see why It can'

Re: dataScroller.jsf: How to reset pagindex

2005-10-22 Thread Marcel Ruff
Marcel Ruff wrote: Hi, i need to reset the page index of 994 Cars found, displaying 10 cars, from 1 to 10. Page 99 / 100 If i watch page 99 and program some filter so that after reload max page is only 20 the current page 99 is far behind the end. How can i programmatically reset the curr

Re: Internationalization question

2005-10-22 Thread Martin Marinschek
try this - it _might_ work ;) regards, Martin On 10/21/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > At the beginning of your you can have something like that: > > > > By default, I believe the proper bundle based on the locale will be > loaded or the default one will be loaded. Then

Re: Comparable validation design

2005-10-22 Thread Martin Marinschek
I agree with Jesse on his preferences. Just a naming thing - shouldn't it be or instead of ? By the way, are you guys going to move the optional validator framework over as well? regards, Martin On 10/21/05, Jesse Alexander (KBSA 21) <[EMAIL PROTECTED]> wrote: > -Original Message- >

Re: tree2 HtmlTree and saveSate Question

2005-10-22 Thread Marcel Ruff
Anu Padki wrote: I am trying to get the lazy loading working for tree2. A lot of debugguibg shows that the changed value of the nodes is not persistent acorss the requests. After I quit from the ActionListener, the new nodes are forgotten. I suspect I have to call saveState on the tree. Any on

Re: Ajax components in sandbox seem to error under internet explorer

2005-10-22 Thread Martin Marinschek
autoupdateDataTable has a known bug with IE6 - which should be fixed in the latest nightly. inputSuggestAjax should work with IE6 no problem. regards, Martin On 10/22/05, Werner Punz <[EMAIL PROTECTED]> wrote: > Travis Reeder wrote: > > IE version 6.029 has javascript errors on autoUpdateDataTa

Re: Action called twice

2005-10-22 Thread Martin Marinschek
I don't have the time to go through your setup in the moment - but I can tell you that the back button problem has been solved even with server side state saving in the latest nightly builds. So you can go to server side state saving and still use the back button! regards, Martin On 10/22/05, J

tree2 HtmlTree and saveSate Question

2005-10-22 Thread Anu Padki
I am trying to get the lazy loading working for tree2. A lot of debugguibg shows that the changed value of the nodes is not persistent acorss the requests. After I quit from the ActionListener, the new nodes are forgotten. I suspect I have to call saveState on the tree. Any one knows how to use s