Re: Tobago Master / Detail

2006-06-07 Thread ChrisA
Hi Bernd, Thanks, that did the job. I´ve seen the addressbook example before, but didn´t realized that state was used to pass a selection around. Regards, Chris -- View this message in context: http://www.nabble.com/Tobago-Master---Detail-t1747721.html#a4766824 Sent from the MyFaces - Users for

weirdness in tomcat 5.5.16 and my-faces

2006-06-07 Thread John Mani
In my JSF page, I attempt to display certain values from my backing bean as follows: where backer is defined as a session scoped bean. Originally the method getSelectionFirstName() was not there, it was added later. In my tomcat installation, I removed the original .war file and corresponding d

Passing f:param with ValueChangeListener

2006-06-07 Thread Tushar
I am using valueChangeEventListner for h:selectOneMenu. I need to pass a parameter along with the request whenever value in the dropdown gets changed.   My page which has this h:selectOneMenu with valueChangeListner consists of mutlipse UI components. One of the components need to pass a paramete

Re: Anything for tobago like "Simple" for tomahawk

2006-06-07 Thread Matthias Wessendorf
mailing once a mail should be enough. Go to the tobago website under [1] -Matthias [1] http://myfaces.apache.org/tobago/index.html On 6/7/06, sumanta <[EMAIL PROTECTED]> wrote: Can anyone please provide me with the location of the war file that contains the demo of tobago components? I want

Re: tobago examples

2006-06-07 Thread Matthias Wessendorf
http://myfaces.apache.org/tobago/index.html On 6/7/06, sumanta <[EMAIL PROTECTED]> wrote: Can anyone please provide me with a link from where I can download a war file of the tobago demo-example. Is there anyting for tobago like simple for tomahawk?? -- View this message in context: http://ww

Anything for tobago like "Simple" for tomahawk

2006-06-07 Thread sumanta
Can anyone please provide me with the location of the war file that contains the demo of tobago components? I want to run it locally, that is like "simple" of tomahawk. Thanks -- View this message in context: http://www.nabble.com/Anything-for-tobago-like-%22Simple%22-for-tomahawk-t1752958.html#a

Re: tobago examples

2006-06-07 Thread sumanta
Can anyone please provide me with a link from where I can download a war file of the tobago demo-example. Is there anyting for tobago like simple for tomahawk?? -- View this message in context: http://www.nabble.com/tobago-examples-t776888.html#a4765975 Sent from the MyFaces - Users forum at Nabb

Re: question regarding html Tree dependencies

2006-06-07 Thread Jim the Standing Bear
Thanks again, Sean for replying. So basically what you were saying is that I either needed a method to return "my.jsf.MyTreeModel", or simply to hard code that in the jsp file... yes?   On 6/7/06, Sean Schofield <[EMAIL PROTECTED]> wrote: > 137:   > type="#{MyTreeModel}"/>> 138:

Re: question regarding html Tree dependencies

2006-06-07 Thread Sean Schofield
137: 138: These are value bindings. You need getters in your backing bean that return the appropriate String values. Then you use something like Those were defined in the config.xml as MyTreeModel my.jsf.MyTreeModel sessi

Re: question regarding html Tree dependencies

2006-06-07 Thread Jim the Standing Bear
Thank you, Sean, for the reply. However, i cannot afford to switch to Tree2 at the moment.   I have solved the problem, however, I still don't know why, and would like to hear from the experts.   remember in my posted snippets, I had (line 137 and 138):   134: selectedN

Best practice for coding orphaned JSF after TomCat reboot

2006-06-07 Thread John
During development I've noticed this problem as a result of Stopping Tomcat - Re-deploying WAR - Starting Tomcat.   I'm within my JSF application (on my browser) and restart Tomcat. When Tomcat comes back up, I hit refresh on the browser. JSF navigates me to the login.jsp just fine (based o

Re: How to make reset command button clear all form fields

2006-06-07 Thread Anthony Hong
I tried it, but it doesn't work. My page bean is stored in session scope. I use recreate re-current view. but it show the latest submmint values. How to re-create a totally new component tree? On 6/7/06, Conway. Fintan (IT Solutions) <[EMAIL PROTECTED]> wrote: Hi Anthony, Perhaps this link may

Re: question regarding html Tree dependencies

2006-06-07 Thread Sean Schofield
Not many users on this list are using the original tree these days. Most seem to be using the new tree2. You will probably get more answers to your questions if you switch. From your stacktrace it looks like your problem is a class cast exception as opposed to a missing library (Class not foun

question regarding html Tree dependencies

2006-06-07 Thread Jim the Standing Bear
Hi,   I am new to myfaces and JSF. I am trying to create a webapp using the html tree, but it would give me the following exception.  Before, it worked because the code was written using the namespace org.apache.myfaces.examples.tree . but now I have refactored them to a different namespace (my.jsf

Re: Dynamically adding components

2006-06-07 Thread Phan Le
Robert, Well there are references on the net of how to do it. http://technology.amis.nl/blog/?p=1187 In summary, what it actually does is to bind a with some HtmlPanelGrid instance in your backing bean, and build components for that HtmlPanelGrid programmatically. Take some extra

tracing page updated, plz comment

2006-06-07 Thread James Richards
Title: tracing page updated, plz comment After a fun day debugging a UICommand related problem, I've updated the tracing example: http://wiki.apache.org/myfaces/TracingMyFacesUsingAspectJ If anyone has read the example and would kindly comment on how understandable it is and where it can be

Dynamically adding components

2006-06-07 Thread Robert D. Morse
I'm trying to programmatically add Tobago components to a form at run time. I'm attempting to reproduce what's in the tabControl.jsp (found in the Tobago examples), but do it with a minimal jsp and creating the controls programmatically. The reason for this is an application that is ess

Re: Missing myfaces-X.X.X-examples.zip

2006-06-07 Thread Matthias Wessendorf
great On 6/7/06, Sean Schofield <[EMAIL PROTECTED]> wrote: Yes. The 1.1.4 release will have this (thanks to Catalin) but not the upcoming 1.1.3 release. Sean On 6/7/06, Martin Marinschek <[EMAIL PROTECTED]> wrote: > What we should do is release the examples - right? > > regards, > > Martin >

Re: Missing myfaces-X.X.X-examples.zip

2006-06-07 Thread Sean Schofield
Yes. The 1.1.4 release will have this (thanks to Catalin) but not the upcoming 1.1.3 release. Sean On 6/7/06, Martin Marinschek <[EMAIL PROTECTED]> wrote: What we should do is release the examples - right? regards, Martin On 6/6/06, Matthias Wessendorf <[EMAIL PROTECTED] > wrote: > I creat

Re: How does DefaultTreeModel and HtmlTree relate?

2006-06-07 Thread Sean Schofield
Just out of curiosity, why are you creating an HtmlTree in java code? Normally you would just use the JSP tags and backing beans or extend one of the classes. Creating it directly seems strange but I'm sure you have your reasons. Sean On 6/7/06, Matthias Wessendorf <[EMAIL PROTECTED]> wrote: O

Weird problem with dataTable, commandButtons, inputText

2006-06-07 Thread John Mani
Title: Re: How to update a dataTable without refresh the page? Hi   I am seeing a weird problem: I have a page that has a toplevel panelGrid with 2 columns.   In the left column, I have a panelGroup containing a bunch of textfields for text entry and then a commandButton with an assoc

RE: How to update a dataTable without refresh the page?

2006-06-07 Thread John Mani
Hi I am seeing a weird problem: I have a page that has a toplevel panelGrid with 2 columns. In the left column, I have a panelGroup containing a bunch of textfields for text entry and then a commandButton with an associated action In the right column, I have a dataTable and a bunch of input

Re: ValueChangeEvent getSource()

2006-06-07 Thread Tonio Caputo
Matthias, I'll try to. This is what I suppose is happening in my faces, regarding this problem. 1 - Restore View/Apply Request Value/Process Validations Phases - The Backing Bean is constructed - Old components are stored in the BackingBean with

Re: How does DefaultTreeModel and HtmlTree relate?

2006-06-07 Thread Matthias Wessendorf
Ok, you can post it here before. but wiki has also *notification* mails, when sb. addes content to it. Sounds good to me. Looking forward to see your work. -Matthias On 6/7/06, Todd Patrick <[EMAIL PROTECTED]> wrote: Matthias: Already ahead of you on that. I'm documenting as I develop and lea

RE: How does DefaultTreeModel and HtmlTree relate?

2006-06-07 Thread Todd Patrick
Matthias: Already ahead of you on that. I'm documenting as I develop and learn all about the HtmlTree. I really didn't mean to complain, (Sorry, I guess I did...) - it's just important that information on how to use *ALL* of MyFaces is available. Not just "Hello World" crap. My $.02 Anyways, I

Re: How does DefaultTreeModel and HtmlTree relate?

2006-06-07 Thread Matthias Wessendorf
Todd- cool that you figured out how things are working. since you complain about lack of documentation, I'd like to ask you to help out in this area. Can you go ahead an create some documentation in our wiki ? Thanks, Matthias On 6/7/06, Todd Patrick <[EMAIL PROTECTED]> wrote: Ok, I think th

RE: How does DefaultTreeModel and HtmlTree relate?

2006-06-07 Thread Todd Patrick
Ok, I think this would work:   HtmlTree tree = (HtmlTree) application.createComponent(HtmlTree.COMPONENT_TYPE);    tree.setRendererType("org.apache.myfaces.custom.tree.renderkit.html.HtmlTreeRenderer");    tree.setId("tree");    ValueBinding vb = application.createValueBinding("#

How does DefaultTreeModel and HtmlTree relate?

2006-06-07 Thread Todd Patrick
I've created a HtmlTree in Java code:   HtmlTree tree = (HtmlTree) application.createComponent(HtmlTree.COMPONENT_TYPE);    tree.setRendererType("org.apache.myfaces.custom.tree.renderkit.html.HtmlTreeRenderer");    tree.setId("tree");    tree.setVar("treeItem");    tree.se

Re: Tobago Master / Detail

2006-06-07 Thread Bernd Bohmann
Hello Chris, a good example for a master detail scenario would be the tobago-example-addressbook. You should look at the attribute state of tc:steet. Unfortunatley tc:link doesn't support f:param. I have added an issue for this http://issues.apache.org/jira/browse/TOBAGO-78 Regards ChrisA

Re: What is the value for RendererType when creating a HTMLTree in Java code?

2006-06-07 Thread Matthias Wessendorf
Please look at the documentation for tree ([1]). -Matthias [1] http://myfaces.apache.org/tomahawk/tree.html On 6/7/06, Todd Patrick <[EMAIL PROTECTED]> wrote: What is the value for RendererType when creating a HTMLTree in Java code? HtmlTree tree = (HtmlTree) application.createComponent(Ht

RE: What is the value for RendererType when creating a HTMLTree in Java code?

2006-06-07 Thread James Richards
Todd, I usually just trace this sort of thing. If you give your HTMLTree a particular id, then it should be easy to modify the AspectJ trace on the MyFaces wiki to capture that sort of info by checking for HTMLTree in the around advice and outputting the info if it's what you're looking for.

What is the value for RendererType when creating a HTMLTree in Java code?

2006-06-07 Thread Todd Patrick
What is the value for RendererType when creating a HTMLTree in Java code?   HtmlTree tree = (HtmlTree) application.createComponent(HtmlTree.COMPONENT_TYPE);    tree.setRendererType("");   Where do I even look?   I'm at http://myfaces.apache.org/tomahawk/apidocs/index.html and nothing is

Re: ValueChangeEvent getSource()

2006-06-07 Thread Matthias Wessendorf
I guess I didn't get you. sorry so what is different between MyFaces and RI ? Can you explain more detailed, so that fools like me can follow? :) -Matthias On 6/7/06, Tonio Caputo <[EMAIL PROTECTED]> wrote: Matthias, Well, I understood what was going on. The event source correctly return th

Re: ValueChangeEvent getSource()

2006-06-07 Thread Tonio Caputo
Matthias, Well, I understood what was going on. The event source correctly return the UIComponent that generated the event, the problem is that the BakingBean Components are not updated during the execution of the ValueChangeListener.processValueChange() method. If I look the at the BakingBean a

RE: htlmTag bug (I think)

2006-06-07 Thread Julian Ray
Try mailto:[EMAIL PROTECTED] Sent: Wednesday, June 07, 2006 4:30 PM To: MyFaces Discussion Subject: t:htlmTag bug (I think) Hi List, I think there is a bug in the t:htmlTag: First some explanantion about the setup: I'm using Tomahawk & MyFaces 1.1.4 (snapshot) My problem was that the client s

t:htlmTag bug (I think)

2006-06-07 Thread Wolf Benz
Hi List, I think there is a bug in the t:htmlTag: First some explanantion about the setup: I'm using Tomahawk & MyFaces 1.1.4 (snapshot) My problem was that the client stored HTML text in the DB. (containing only and but this was apparently important) So inside my "field", I tried lots of

RE: Question about using DefaultMutableTreeNode with a java.lang.Object userObject and creating multiple trees dynamically.

2006-06-07 Thread Todd Patrick
Oh wait, I think I get it.   If I have:     I could add children (any number of t:trees) I needed...   --Todd From: Todd Patrick [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 07, 2006 3:00 PMTo: MyFaces DiscussionSubject: Question about using DefaultMutableTreeNode with a java.lang.Obje

Question about using DefaultMutableTreeNode with a java.lang.Object userObject and creating multiple trees dynamically.

2006-06-07 Thread Todd Patrick
1.) I am trying to populate a tree model, at this point I have:   ListIterator trans = transactList.listIterator(transactList.size());    while(trans.hasNext()) {    TransactRow row = (TransactRow) trans.next();    DefaultMutableTreeNode root = new DefaultMutableTreeNode(row);}

RE: Warning message: Child count should be a multiple of the columns attribute?

2006-06-07 Thread Todd Patrick
Jeff: Thank you, you're efforts are much appreciated. --Todd -Original Message- From: Jeff Bischoff [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 07, 2006 2:18 PM To: MyFaces Discussion Subject: Re: Warning message: Child count should be a multiple of the columns attribute? My sugges

Re: Can I use a div component in between two sets of tags in one tobago jsp page?

2006-06-07 Thread Matthias Wessendorf
Tobago works w/ Facelets. The tobago guys had a nice series of JSF in a popular German it magazin. and the last article described facelets and tobago. Of course, how to mix ;-) -Matthias On 6/7/06, Showers, Cory R <[EMAIL PROTECTED]> wrote: I'm looking into facelets now but does Tobago work wit

RE: Can I use a div component in between two sets of tags in one tobago jsp page?

2006-06-07 Thread Showers, Cory R
I'm looking into facelets now but does Tobago work within facelets. There seems to be a lot of open source projects now but I'm concern with each open source project being compatible with the other. I read facelets works with myfaces 1.1.. but Tobago works with myfaces 1.3. Is there another solut

Re: Warning message: Child count should be a multiple of the columns attribute?

2006-06-07 Thread Jeff Bischoff
My suggestion should have gotten you thinking along the right lines... To get rid of that warning message and still have the components line up, you need only add two lines, and modify one. The relevant changes are the following: line 14: columns="1" line 18: line 106: I've tested this o

NPE when doing a dispatch()

2006-06-07 Thread Richard Wallace
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey everyone, I'm trying to use the ExternalContext.dispatch() method to direct a person to a page if they haven't done something they were supposed to yet. My code looks like this: if (hasTakenAssessment ()) { try {

Re: Converter usage

2006-06-07 Thread Ondrej Svetlik
Julian Ray wrote: (a) your converter has to implement the Conveter interface (b) if it does not require params you can simply create a converter reference in the faces config xml file which would look like my.package.Nl2brConverter my.package.Nl2brConverter (c) in your JSP use

RE: Converter usage

2006-06-07 Thread Julian Ray
Ooops. The JSP ref should read -- forgot to remove the closing } -Original Message- From: Julian Ray [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 07, 2006 1:24 PM To: 'MyFaces Discussion' Subject: RE: Converter usage (a) your converter has to implement the Conveter interface (b) i

RE: Converter usage

2006-06-07 Thread Julian Ray
(a) your converter has to implement the Conveter interface (b) if it does not require params you can simply create a converter reference in the faces config xml file which would look like my.package.Nl2brConverter my.package.Nl2brConverter (c) in your JSP use (d) if you need to

RE: Comments in JSP files

2006-06-07 Thread Julian Ray
Hmmm, sometimes the most obvious solutions seem to evade us. I was missing the need to put //--> on the closing for HTML comments and for some reason didn't even think about and actual JSP comment -- what was I thinking :) Thanks -Original Message- From: Gilles DEMARTY [mailto:[EMAIL PROT

Re: Can I use a div component in between two sets of tags in one tobago jsp page?

2006-06-07 Thread Matthias Wessendorf
You should try to use Facelets instead of JSP -Matthias On 6/7/06, Showers, Cory R <[EMAIL PROTECTED]> wrote: I am trying to use the Tobago and I am having a problem with using the div tag. Tobago doesn't have a div component so I'm using the html one. My problem is trying to use the div

Converter usage

2006-06-07 Thread Ondrej Svetlik
Hello, I want to implement converter that would convert "\n" to "\n". I already have the converter but no idea how to use it. Let's say, the converter class is my.package.Nl2brConverter. In my jsp I have value="#{someBean.someAttr}" /> But it does nothing. The converter is not called so the

Re: Comments in JSP files

2006-06-07 Thread Gilles DEMARTY
Short answer: * are html (or xml/xhtml) comments and are rendered in the generated page * <%-- design comments --%> are jsp comments and are not rendered in the generated page. Both accept multilign comments 2006/6/7, Julian Ray <[EMAIL PROTECTED]>: Has anyone figured out how to include so

Tomahawk Schedule WORKWEEK Problem

2006-06-07 Thread Jason Long
I am using MyFaces 1.1.4 Snapshot and Tomahawk 1.1.4 Snapshot.   I am experimenting with the schedule component.  When I set mode to SimpleScheduleModel.WORKWEEK the calendar does not display.  All other modes seem to work.  Is there some additional setup required for this mode?   Thank

Re: Help with Navigation rule with parameters

2006-06-07 Thread Cosma Colanicchia
Agree. Cosma 2006/6/7, Matthias Wessendorf <[EMAIL PROTECTED]>: Something like that would be great. not that ugly "do it all in one"-thing On 6/7/06, Andrew Robinson <[EMAIL PROTECTED]> wrote: > Thanks > > https://javaserverfaces-spec-public.dev.java.net/issues/show_bug.cgi?id=179 > > -Andrew

Re: How to update a dataTable without refresh the page?

2006-06-07 Thread Matthias Wessendorf
there is an updateDataTable component in sandbox. it uses ajax (scriptatolus) for that On 6/7/06, Hailong Zhang <[EMAIL PROTECTED]> wrote: I want to update the dataTable without refresh the page when user click a button on the same page. Can I achieve this using sandbox? Thank you! -- Matt

Re: Help with Navigation rule with parameters

2006-06-07 Thread Matthias Wessendorf
Something like that would be great. not that ugly "do it all in one"-thing On 6/7/06, Andrew Robinson <[EMAIL PROTECTED]> wrote: Thanks https://javaserverfaces-spec-public.dev.java.net/issues/show_bug.cgi?id=179 -Andrew On 6/7/06, Matthias Wessendorf <[EMAIL PROTECTED]> wrote: > It is possibl

t:commandButton enabledOnUserRole problem

2006-06-07 Thread Frederic Auge
Hi all, After the MyFaces 1.1.3 / Tomahawk 1.1.2 migration, I found one regression on the t:commandButton, it's "enabledOnUserRole" attribute doesn't seem to work correctly anymore. Now the button is always enabled, even if the user do not have the specified role... The visibleOnUserRole attribu

Re: Help with Navigation rule with parameters

2006-06-07 Thread Andrew Robinson
Thanks https://javaserverfaces-spec-public.dev.java.net/issues/show_bug.cgi?id=179 -Andrew On 6/7/06, Matthias Wessendorf <[EMAIL PROTECTED]> wrote: It is possible to use https://javaserverfaces-spec-public.dev.java.net/ for enhancements. On 6/7/06, Andrew Robinson <[EMAIL PROTECTED]> wrote

Re: Missing myfaces-X.X.X-examples.zip

2006-06-07 Thread Martin Marinschek
What we should do is release the examples - right?regards,MartinOn 6/6/06, Matthias Wessendorf <[EMAIL PROTECTED] > wrote:I created a jira ticket for this task: http://issues.apache.org/jira/browse/MYFACES-1324-MatthiasOn 6/6/06, David Van Stone <[EMAIL PROTECTED]> wrote:>> Thanks, Todd! >> I found

Re: How to update dataTable without refresh?

2006-06-07 Thread Hailong Zhang
Hi Gerald,    Sorry for seeing your message so late.    I don't think AutoUpdateDataTable is a good solution because the auto update is not necessary. I want to update the table when the user click a button. Any other solutions? Thank you!2006/6/4, Gerald Müllan <[EMAIL PROTECTED]>: Hi,have a look

How to update a dataTable without refresh the page?

2006-06-07 Thread Hailong Zhang
I want to update the dataTable without refresh the page when user click a button on the same page.Can I achieve this using sandbox?Thank you!

Comments in JSP files

2006-06-07 Thread Julian Ray
Has anyone figured out how to include some comments in the JSP files which are output to the finished JSP page eg. copyright statements etc. but have other comments which are removed by the JSF servlet (eg version info, authorship, change log etc.)   Thanks    

Re: Help with Navigation rule with parameters

2006-06-07 Thread Matthias Wessendorf
It is possible to use https://javaserverfaces-spec-public.dev.java.net/ for enhancements. On 6/7/06, Andrew Robinson <[EMAIL PROTECTED]> wrote: I would have to agree. I really dislike the NavigationHandler interface. It is really inflexible. I would love if Sun could fix the specification to e

Re: SERIOUS BUG!!!!!!! Re: commandLinks don't work on Tomcat 5.5.17

2006-06-07 Thread Sean Schofield
OK this sounds like it might be a bug. Please report in JIRA as Jeff suggested. Please also test against Tomahawk 1.1.3 SNAPSHOT in the nightly dir. This is basically a release candidate for the upcoming release. If that works then we know the problem is in MyFaces core (since its working fine

Re: TreeTable example downloaded from SVN doesn't collapse or expand.

2006-06-07 Thread Matthias Wessendorf
Can you help out in looking at it? -Matthias On 6/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Thanks a lot Mathias, hopefully the bug will be resolved in near future, it is critical to clear one of important design decisions in our project. -- View this message in context: http://www.

Re: managed-bean presets for String[]

2006-06-07 Thread Matthias Wessendorf
instead of "java.lang.String[]" can you try "[Ljava.lang.String;" -Matthias On 6/6/06, DFenS <[EMAIL PROTECTED]> wrote: I have an ArrayList for a selectManyCheckbox component which is mapped to a String array. I want to have a item of the checkbox to be selected by default. I tried the followi

RE: Load Testing JSF?

2006-06-07 Thread Yee CN
I am still having problem recording with JMeter, apparently the Cookies controller is not registering any cookies.   I switched to OpenSTA and everything seems to record and play back properly, including ajax stuff (tableSuggestAjax).   Will do a bit more digging and post my findings l

Re: Link Tabs

2006-06-07 Thread Gregg Bolinger
Ok, I think I just realized you can do something like:        in a panelTab.  However, does this page get rendered when the whole tabbedPane loads or only when I click on the link?  I am assuming when the page loads.  I really need the page to render only after I click on the link. On 6/7/0

Link Tabs

2006-06-07 Thread Gregg Bolinger
I am needing a Tabbed Pane component but not exactly what MyFaces provides.  I'd call it more of a Link Tab component that renders tabs with links to pages but that actually navigate to a new page, not just flipping a panel on or off. I know I could do this with CSS and commandLinks but wanted to c

Re: Passing Object to Page

2006-06-07 Thread Gregg Bolinger
Yes, I have tried that and it worked.  That is what I am currently going with for now.Thanks.On 6/7/06, Cosma Colanicchia < [EMAIL PROTECTED]> wrote:Can't you simply put it into requestScope instead of sessionScope? (You should then avoid s)Cosma2006/6/6, Gregg Bolinger <[EMAIL PROTECTED]>:> Curren

RE: Warning message: Child count should be a multiple of the columns attribute?

2006-06-07 Thread Todd Patrick
Actually no. I want each label component rendered in their own element, the same goes for each input component. Your suggestion renders (the labels for example) as noted below. All seven labels in one element. Thus, none of the labels and input components line up in the first two rows. I just

Re: Selections in DataTable help

2006-06-07 Thread Jeff Bischoff
First, please see [1] my post on this archive thread so I don't have to repost my example code: [1] http://www.mail-archive.com/users@myfaces.apache.org/msg22166.html Now, where I have in the example: In my actual application, this is really: I use that to reload t

Re: SERIOUS BUG!!!!!!! Re: commandLinks don't work on Tomcat 5.5.17

2006-06-07 Thread Jeff Bischoff
Mike, Can you reproduce the bug against a current myfaces release? RI or myfaces 1.1.3? Since myfaces and tomahawk releases have been decoupled, I'm not sure it's reasonable to expect the nightly builds to always work well together... >> Any suggestions on the best way to report this bug? I

Re: Warning message: Child count should be a multiple of the columns attribute?

2006-06-07 Thread Jeff Bischoff
ummm... this almost seems *too* easy, but why not just make the first two lines into panelGroups, just like you did the third line? ...labels... ...

Re: creating a custom component by aggregation

2006-06-07 Thread Andrew Robinson
I've done it without facelets, but it was tricky. I had to create the components in the constructor, and set their parent attribute, but not add them to the children list. Then I had to maintain their state myself in the restoreState and saveState functions. The only side affect it had was that p

Re: Help with Navigation rule with parameters

2006-06-07 Thread Andrew Robinson
I would have to agree. I really dislike the NavigationHandler interface. It is really inflexible. I would love if Sun could fix the specification to expose more of the functionality instead of one black box method. There really needs to be an API to retrieve the result without navigating, or at le

A solution for passing parameters between pages

2006-06-07 Thread Cosma Colanicchia
I try to explain the solution I was thinking of.. a bit complicated to setup because it is required to extend NavigationHandler and ViewHandler, but once configured it is very simple to use. Suppose you have a source-view.jsp that need to "call" a target view. 1) The source-view can use normal

Tobago Master / Detail

2006-06-07 Thread ChrisA
Hi all, i didn´t get a master / detail scenario to work. The tobabo sheet works well even sortable ;). so i started to place a link instead a text. SupplierController gets an ActionEvent object, but where do get the corresponding detail -id to pass the details-id to a special page ? core:param

Re: commandLinks don't work on Tomcat 5.5.17

2006-06-07 Thread tony k
i experienced some wierdness having to do with lack of surrounding and tags. if you don't have these, try adding them and see if this makes a difference. -- View this message in context: http://www.nabble.com/Re%3A-Re%3A-commandLinks-don%27t-work-on-Tomcat-5.5.17-t1710594.html#a4750939 Sent fro

changes on focus component

2006-06-07 Thread Rogerio Pereira
Hi Mike!I not sure if this is can be changed, but i need a special focus renderer output for HtmlInputDate, look this:HtmlFocusRenderer.java:was    if(targetComponent != null)    {     String clientId = targetComponent.getClientId(facesContext);now:    if(targetComponent != null

Re: tomahawk

2006-06-07 Thread Cosma Colanicchia
With t:dataTable, you should use forceIdIndexFormula="#{yourBeanVar.primaryKeyColumn}" to tell which column use as the row index (tableId:rowIndex:controlId).Normally, if you don't specify one, sequential indexes are generated. This can lead to out-of-sync problem if someone else deletes of insert

Re: JSF-basede application on jboss 4.0.2 fails miserably

2006-06-07 Thread Tom Cordova
I think I've come to that same conclusion... I'm still experiencing some VERY freaky stuff with 1.1.3 portlets running on a JBOSS portal though. For instance, when I have a tomahawk 1.1.3 datatable on a portlet inside the portal, every second time I submit it to the managed bean it comes back wi

Re: [ANNOUNCE] Nightly Sandbox Builds Available

2006-06-07 Thread Werner Punz
Sean Schofield schrieb: > Due to popular demand, the sandbox core is now available in the > nightly builds directory[1]. Both source and binary distributions are > available. We also hope to have an examples distribution for sandbox > shortly. > > The MyFaces Team > > [1] http://people.apache.o

Re: SandBox Dojo

2006-06-07 Thread Werner Punz
I think this is an issue in accordionPanel respectively in prototype itself not directly in dojo, I do not see a single point where dojo could interfere into prototype only vice versa. Dojo uses its own namespace for all classes and methods. Kevin schrieb: > Hello, > > I am trying to integrate

tomahawk

2006-06-07 Thread Michael H. Chang
I am using tomahawk dataTable and dataScroller tags to display results retrieved from database. For each row, I would like to have a button that will edit a value associated with that particular row. But the JSF gave all rows on the page same id, when I press one button, every row was fired off.

tomahawk

2006-06-07 Thread Michael H. Chang
I am using tomahawk dataTable and dataScroller tags to display results retrieved from database. For each row, I would like to have a button that will edit a value associated with that particular row. But the JSF gave all rows on the page same id, when I press one button, every row was fired off. A

RE: How to make reset command button clear all form fields

2006-06-07 Thread Conway. Fintan \(IT Solutions\)
Hi Anthony, Perhaps this link may help? http://wiki.apache.org/myfaces/ClearInputComponents HTH, Fintan -Original Message- From: Anthony Hong [mailto:[EMAIL PROTECTED] Sent: 07 June 2006 06:51 To: MyFaces Discussion Subject: How to make reset command button clear all form fields Hi a

Getting error: org_apache_myfaces_PopupCalendar is not defined

2006-06-07 Thread Jan van de klok
Hi, I sitched from Sun RI to myfaces for the nice components. There's only one proiblem, I canget the tomahawk componnets to work. F.i. the component keeps generating the following error (wich prevents the popup button to be rendered: Error org_apache_myfaces_PopupCalendar is not defined Bronbes

Re: creating a custom component by aggregation

2006-06-07 Thread Ionut S
I would accept your suggestion right away, but we really need to have a JSF component in order to add it to the tree component dynamically. Is this possible with facelets ?Murray Brandon <[EMAIL PROTECTED]> wrote: With Facelets templating over the top of JSF it's dead easy - you just include some x

Re: SERIOUS BUG!!!!!!! Re: commandLinks don't work on Tomcat 5.5.17

2006-06-07 Thread Mike Duffy
I am using myfaces-api-1.1.4-SNAPSHOT.jar, myfaces-impl-1.1.4-SNAPSHOT.jar, and tomahawk-1.1.2.jar or tomahawk-1.1.4-SNAPSHOT.jar. If I use the tomahawk.jar that comes with the simple application, the commandLinkworks fine. If I substitute tomahawk-1.1.4-SNAPSHOT.jar into the simple.war app, th

Re: JspViewHandler createView

2006-06-07 Thread Jan van de klok
Solved my problem by reimplement the renderView method instead of the createView method. -- View this message in context: http://www.nabble.com/JspViewHandler--createView-t1741267.html#a4747316 Sent from the MyFaces - Users forum at Nabble.com.

Re: creating a custom component by aggregation

2006-06-07 Thread Murray Brandon
With Facelets templating over the top of JSF it's dead easy - you just include some xhtml that has any number of components inside it: value="#{selectedPerson.telephoneNo}"/> We use it for all our widget

Re: Jean-Claude Pace is out of the office.

2006-06-07 Thread Cosma Colanicchia
lol :-) 2006/6/7, Murray Brandon <[EMAIL PROTECTED]>: Oh no, a whole week of these ;-) [EMAIL PROTECTED] wrote: > I will be out of the office starting 07/06/2006 and will not return until > 12/06/2006. > > I will respond to your message when I return. For urgent issues please > contact Reuben

Re: navigation rule

2006-06-07 Thread Cosma Colanicchia
The default suffix is appended in the myfaces ViewHandler implementation. Omitting the DEFAULT_SUFFIX init parameter causes a "default" default suffix to be used, that is .jsp :-) It seems that the default suffix is applied only if using extension mapping for your jsf pages.. you could try to use

Re: Help with Navigation rule with parameters

2006-06-07 Thread Cosma Colanicchia
The element is part of the . But finding the proper is exactly the task that handleNavigation method should perform.. once found one, you can call navigationCase.getToViewId() to get the information you need. The problem is that the NavigationHandler specification does not need to "return" that

Selections in DataTable help

2006-06-07 Thread John Mani
I am using a Datatable to display a list of items. I also have a set of textfields in a panel below to display details about the selected item.   I want to populate the textfields when the user clicks on an item in the datatable. Any suggestions on how to do this? I am assuming I need to install

Re: TreeTable example downloaded from SVN doesn't collapse or expand.

2006-06-07 Thread [EMAIL PROTECTED]
Thanks a lot Mathias, hopefully the bug will be resolved in near future, it is critical to clear one of important design decisions in our project. -- View this message in context: http://www.nabble.com/RE%3A-TreeTable-example-downloaded-from-SVN-doesn%27t-collapse-or-expand.-t1741599.html#a47465