HtmlTableRendererBase Error: Row is not available. Rowindex = 0

2006-07-14 Thread iSquareOne LLC
Hey, all, We built MyFaces 1.1.4 using source code as of 7/12. Everything works fine but in the log, it always says:   2006-07-14 16:49:17,062 ERROR [org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlTableRendererBase] Row is not available. Rowindex = 0 We use a dataTable on the page.   A

RE: [ myFaces - Tobago ] - Some instances of IE just don't work

2006-07-14 Thread John
Ok - I put a dumpValve on the Tomcat engine, so I can see all the http headers... I added a filter to put the extra headers in that IE requires so it doesn't cache anything...   However it seems like although when the page comes in I get all the headers added, but when I switch tabs on server

RE: jscookMenu set up

2006-07-14 Thread Leyzerzon, Simeon
When comparing the 'view source' from the page in my application and the page of the jscookmenu.jsf in the simple.war sample download, I've discovered that my pages is missing the following line (generated by the jsf engine presumably) and therefore the menu doesn't not appear for me: script s

RE: jscookMenu set up

2006-07-14 Thread Leyzerzon, Simeon
I've found this link http://myfaces.apache.org/tomahawk/jscookmenu.html with configuration instructions saying that some css files and scripts need to be added into the jscookmenu directory, but this directory is not present in the simple.war distributed with myFaces. Where could these be foun

Re: Mike thanks for the t:buffer tip

2006-07-14 Thread Dennis Gesker
I'll register and try to get an entry on Monday. --drg Matthias Wessendorf wrote: registration is needed. no big deal On 7/14/06, Dennis Gesker <[EMAIL PROTECTED]> wrote: Sure. Can anyone add to the wiki? --Dennis Matthias Wessendorf wrote: > interesting in putting this to our wiki ? > > > >

Re: Other components

2006-07-14 Thread Matthias Wessendorf
Yes, they have been used. some of the Adf Faces comps are now available as Open Source. It's currently an Apache Incubator project (Apache Trinidad), which may endup here as a MyFaces subproject. See http://wiki.apache.org/myfaces/ADF_Faces for more On 7/14/06, ldr <[EMAIL PROTECTED]> wrote:

Other components

2006-07-14 Thread ldr
Hi all Im very new to jsf and just saw that Oracle also have made jsf components -> Oracle ADF Faces Components, have used these and are they easy too integrate? all comments on these is much appreciated... chris -- View this message in context: http://www.nabble.com/Other-components-tf1945058

Re: Mike thanks for the t:buffer tip

2006-07-14 Thread Matthias Wessendorf
registration is needed. no big deal On 7/14/06, Dennis Gesker <[EMAIL PROTECTED]> wrote: Sure. Can anyone add to the wiki? --Dennis Matthias Wessendorf wrote: > interesting in putting this to our wiki ? > > > > On 7/14/06, Dennis Gesker <[EMAIL PROTECTED]> wrote: >> Mike: >> >> Thanks for the

Re: Is serverSideTabSwitch="true" required when using validation with

2006-07-14 Thread ldr
It would be a nice enhancement, I have also had problems using the tabbedpane. I would like to use the serverSideTabSwitch="false", but when I submit on a tab my app returns to the the first tab in the tabpane. It worked when I put the tabbedpane inside a form - but that gives me other troubles...

Re: Mike thanks for the t:buffer tip

2006-07-14 Thread Dennis Gesker
Sure. Can anyone add to the wiki? --Dennis Matthias Wessendorf wrote: interesting in putting this to our wiki ? On 7/14/06, Dennis Gesker <[EMAIL PROTECTED]> wrote: Mike: Thanks for the t:buffer tip. It did exactly the trick. This was much better/easier than what I was going to do. My pa

Re: Mike thanks for the t:buffer tip

2006-07-14 Thread Matthias Wessendorf
interesting in putting this to our wiki ? On 7/14/06, Dennis Gesker <[EMAIL PROTECTED]> wrote: Mike: Thanks for the t:buffer tip. It did exactly the trick. This was much better/easier than what I was going to do. My page pretty much worked out like the following.

Re: Mike thanks for the t:buffer tip

2006-07-14 Thread Raj Rajendran
Dennis,Thanks for sharing the tip. I implemented the Export to Excel feature in my app today, thanks to your code.-RajOn 7/14/06, Dennis Gesker <[EMAIL PROTECTED]> wrote:Mike: Thanks for the t:buffer tip. It did exactly the trick. This was muchbetter/easier than what I was going to do.My page pret

Re: Form value update headache ( via ValueChangeEvent )

2006-07-14 Thread Rogerio Pereira
Mikael,How do u solved this?

How to change/add/prepend HTTP headers to GET response?

2006-07-14 Thread John
I've tried a filter, I've tried inserting themusing:   response.setHeader("Pragma","no-cache"); //HTTP 1.0response.setHeader("Cache-Control","no-store, no-cache, must-revalidate"); //HTTP 1.1response.setDateHeader("Expires", 0); //prevents caching at the proxy serverresponse.addHeader("Cache

Re: Form value update headache ( via ValueChangeEvent )

2006-07-14 Thread Rogerio Pereira
The only way is define a component binding and then use component.setSubmitedValue.For me, update model from ValueChangeEvent was always a problem, too much effort for a simple thing, we really have s:valueChangeNotifier as option, but lacks a TagHandler for Facelets. -- Yours truly (Atenciosamente

Re: ADF - table

2006-07-14 Thread Matthias Wessendorf
this should be discussed on the Apache Trinidad Podling list. -Matt http://wiki.apache.org/myfaces/adf_mails On 7/14/06, Daniel Gradecak <[EMAIL PROTECTED]> wrote: Hi, I am trying to use the ADF table tag. I have enabled the details column but when I click on show there is nothing happening,

Re: JSF Performance Problems

2006-07-14 Thread Matthias Wessendorf
http://developers.sun.com/learning/javaoneonline/ actually it was a BOF, dunno what about them On 7/14/06, Matthias Wessendorf <[EMAIL PROTECTED]> wrote: No, I only attended. Gerald and Catalin did the work for the session. They did some research on the performance numbers. I think the sessions

Re: JSF Performance Problems

2006-07-14 Thread Matthias Wessendorf
No, I only attended. Gerald and Catalin did the work for the session. They did some research on the performance numbers. I think the sessions are now donwloadable. let me search for a link On 7/14/06, Jesse Alexander (KSFD 121) <[EMAIL PROTECTED]> wrote: do you have the slides of the J1-sessio

JSTL, managed beans and portlets

2006-07-14 Thread Iordanov, Borislav \(GIC\)
Hi again,   In a portal environment, with the built-in MyFaces portlet integration, managed beans are stored in the portlet context objects, right? For instances, session-scoped managed beans are stored in the PortletSession, not the HttpServletSession, right?     So, in a JSP, accessi

using myfaces with pluto

2006-07-14 Thread Iordanov, Borislav \(GIC\)
Hi guys,   I’m trying to get myfaces to work with the Apache Pluto portlet container. Once I got everything working. I’ll try to find the time to do write-up for your wiki. My goal is to have the same code deployable as both a standalone webapp and a portlet-based webapp. First thing I no

Re: [newbie] MyFaces or Barracuda ??

2006-07-14 Thread Matthias Wessendorf
that's a brave call :)On 7/13/06, Martin Marinschek <[EMAIL PROTECTED]> wrote: For using Spring: if you want Spring, start off with the current Spring 2.0 Milestone release and define all your managed beans in Spring, instead of the managed beans section in MyFaces itself.regards, Martin On 7/13/06

Re: problem with inputSuggestAjax

2006-07-14 Thread Gerald Müllan
Hi, which version of sandbox are you using? Try to switch to the latest stable build. It should work with this one. The error looks like an old prototype issue. cheers, Gerald On 7/14/06, Patrick Hesse <[EMAIL PROTECTED]> wrote: Hi List, i'm new in myFaces. i want to try myfaces with ajax.

Mike thanks for the t:buffer tip

2006-07-14 Thread Dennis Gesker
Mike: Thanks for the t:buffer tip. It did exactly the trick. This was much better/easier than what I was going to do. My page pretty much worked out like the following. My exportToExcel method looks something like: String f

Re: f:loadBundle

2006-07-14 Thread Denis Nikiforov
(message (Hello 'Jonathan) (you-wrote :on "Thu, 13 Jul 2006 13:55:00 +") (body '( JH> I was just writing a reply suggesting that you'd got it in the JH> wrong place when you replied to yourself :) JH> Also NB that there is no point specifying default-locale in JH> your faces-config.xml if

jscookMenu set up

2006-07-14 Thread Leyzerzon, Simeon
Could someone please give me a hand configuring jscookMenu in my project. I've looked at the samples supplied with simple.war application and am trying to recreate them, but having no luck so far. What stumbles me is the fact that even though there's this line in the jscookmenu.jsp: <%@ taglib

Re: Is serverSideTabSwitch="true" required when using validation with ?

2006-07-14 Thread Mike Kienenberger
On 7/14/06, Conway. Fintan (IT Solutions) <[EMAIL PROTECTED]> wrote: I am not sure if this could work, it is just an idea. Could you put some javascript into the button's onClick() method to set the selectedIndex of the tabbedPane before it submits? This may give the behaviour you are looking f

Re: Custom component with childrens

2006-07-14 Thread Mike Kienenberger
On 7/14/06, Andrew Robinson <[EMAIL PROTECTED]> wrote: Facelets gives you great power for composite controls. It is much easier to build them that way then to build them programatically. Yeah, I really don't think this can be emphasised too much. Doing this in JSF/facelets takes about 10 minute

Re: Custom component with childrens

2006-07-14 Thread Andrew Robinson
FYI: You can pass method bindings in facelets, it just requires a little bit of work. I posted a blog on this: http://andrewfacelets.blogspot.com/2006/06/creating-composite-controls-with-jsf.html Facelets gives you great power for composite controls. It is much easier to build them that way then

Re: dataTable - first value change event doesnt update the model values, should be selectOneMenu

2006-07-14 Thread Mike Kienenberger
On 7/14/06, Torsten Krah <[EMAIL PROTECTED]> wrote: Look at jira ( reopened the bug ) - it doesnt matter if immediate is set or not. I'll take a look at the jira again. And according to the wiki - where you can read what immidate does, these phase are proccessed, only the validation time cha

Re: [OT?] Where can I find the Facelets taglib.xml file for htmLib ?

2006-07-14 Thread Mike Kienenberger
On 7/13/06, Raj Rajendran <[EMAIL PROTECTED]> wrote: I am trying to use htmLib http://www.jsftutorials.net/htmLib/ along with Facelets, but can't seem to find a sample or full version of htmLib.taglib.xml Any ideas where I can get it ? Add the taglib to the http://wiki.java.net/bin/view/Projec

ADF - table

2006-07-14 Thread Daniel Gradecak
Hi, I am trying to use the ADF table tag. I have enabled the details column but when I click on show there is nothing happening, the row is not opened. Is there something that I am doing wrong? here is my code.

Re: Custom component with childrens

2006-07-14 Thread Mike Kienenberger
Mike Kienenberger a écrit : > Composite components are a lot easier if you add facelets into the mix > as it can all be done in templating code. On 7/13/06, delbd <[EMAIL PROTECTED]> wrote: No, my composition will not be simple in the end and i need to provide a simple to use taglib. (with ele

Re: datatable and table nxn

2006-07-14 Thread Mike Kienenberger
The merging of newspaperTable and dataTable happened in May. So make sure you're using the latest version of MyFaces.Either that or use newspaperTable instead. On 7/14/06, Conway. Fintan (IT Solutions) <[EMAIL PROTECTED]> wrote: Hi Nico, Yes "t" is tomahawk from - <%@ taglib uri="http://

Re: dataTable with dropdowns

2006-07-14 Thread Cosma Colanicchia
I think that the row object has to return a List or an array of javax.faces.model.SelectItem objects, then your view can point it using a selectItems component nested inside the selectOneMenu. Anyway, me neither like it.. the list usually comes from the model layer, thus it cannot "depends" on vi

RE: dataTable with dropdowns

2006-07-14 Thread Jesse Alexander \(KSFD 121\)
the only drawback is: the row-object, for my gusto.., should be a pure modell object. Returning UISelectItems from one attribute would mean the modell object has a dependency on the UI-framework. regards Alexander > -Original Message- > From: Geoff Longo [mailto:[EMAIL PROTECTED] > Sent

Re: dataTable with dropdowns

2006-07-14 Thread Geoff Longo
Thanks for the reply. The solution is so obvious, yet for some reason I failed to see it. On 7/14/06, Jesse Alexander (KSFD 121) <[EMAIL PROTECTED]> wrote: you would need a row-object that can return a UISelectItems object. Then you can add the dropdown-component into the column and point to th

Re: Tomahawk 1.1.3 and Sun RI (workaround)

2006-07-14 Thread Pierpaolo Follia
Hi to all. I've found a workaround for this bug: I simple changed the renderer of the form component to the MyFaces' one. So now I've forms, links and buttons rendered by myfaces:                     javax.faces.Form             javax.faces.Form             org.apache.myfaces.shared_tomahawk.

RE: JSF Performance Problems

2006-07-14 Thread Jesse Alexander \(KSFD 121\)
do you have the slides of the J1-session or some notes? We could place it somewhere and link to it, or copy the info to the wiki... but I have neither the slides nor notes nor was I there... regards Alexander > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On

RE: [OT?] Where can I find the Facelets taglib.xml file for htmLib ?

2006-07-14 Thread Garner Shawn
I always have to look in the source code for the component type and renderer values. Shawn

RE: dataTable with dropdowns

2006-07-14 Thread Jesse Alexander \(KSFD 121\)
you would need a row-object that can return a UISelectItems object. Then you can add the dropdown-component into the column and point to the attribute delivering the select-items hth Alexander > -Original Message- > From: Geoff Longo [mailto:[EMAIL PROTECTED] > Sent: Friday, July 14, 20

JScookMenu Problem again

2006-07-14 Thread Boeckli, Dominique
Title: JScookMenu Problem again Hi Folks, This problem was posted already but at the wrong place and i said it was solved, but it is not. Sorry for that. Same problem with tomahawk-1.1.3.jar. I've found a workaround using a redirect on the jsp containing the JScookMenu: <%@ page l

RE: datatable and table nxn

2006-07-14 Thread Conway. Fintan \(IT Solutions\)
Hi Nico, Yes "t" is tomahawk from - <%@ taglib uri="http://myfaces.apache.org/tomahawk"; prefix="t" %> See the following url for a description of newspaperColumns. There is a small example at the end. http://myfaces.apache.org/tomahawk/extDataTable.html Regards, Fintan -Original Message--

Re: datatable and table nxn

2006-07-14 Thread Nicola Benaglia
Conway. Fintan (IT Solutions) ha scritto: Hi Nico, Try using : ... This should work, Fintan Hi ! :) I don't see the attribute "newspaperColumns" in the list. "t" is tomahawk ? Bye, N --- Questa mail ed eventuali suoi allegati sono strettamente confidenziali. Se

Re: dataTable - first value change event doesnt update the model values, should be selectOneMenu

2006-07-14 Thread Torsten Krah
Look at jira ( reopened the bug ) - it doesnt matter if immediate is set or not. And according to the wiki - where you can read what immidate does, these phase are proccessed, only the validation time changes. And with immediate set,for all but this first event, phase 4 + 5 are there - than this w

Re: panelNavigation2 doesn't work - where too report?

2006-07-14 Thread ldr
Got it working problem is the form, the example shows the following: which should be like this: chris -- View this message in context: http://www.nabble.com/panelNavigation2-doesn%27t-work---where-too-report--tf1

Re: panelNavigation2 doesn't work - where too report?

2006-07-14 Thread ldr
Im using the following version of myfaces... myfaces-api-1.1.3.jar myfaces-impl-1.1.3.jar tomahawk-1.1.3.jar tomahawk-sandbox-1.1.3.jar -- View this message in context: http://www.nabble.com/panelNavigation2-doesn%27t-work---where-too-report--tf1942379.html#a5323892 Sent from the MyFaces - User

panelNavigation2 doesn't work - where too report?

2006-07-14 Thread ldr
Hi all I have now been struggeling with panelNavigation2 for some time and have ended up copying the code from the example and verified that it doesn't work. To whom do I report this issue? here is all my code (just to be sure)... faces-config.xml http://java.sun.com/dtd/web-facesconfig_1_1.dtd

RE: HtmlDataTable and HtmlCommandLink

2006-07-14 Thread Conway. Fintan \(IT Solutions\)
Title: Message Hi Ved,   Here is a page which does something similar to what you are trying : http://technology.amis.nl/blog/?p=1187   HTH,   Fintan -Original Message-From: ved.gunjan [mailto:[EMAIL PROTECTED] Sent: 13 July 2006 19:38To: MyFaces Discussion; guillaume bouic

RE: Is serverSideTabSwitch="true" required when using validation with ?

2006-07-14 Thread Conway. Fintan \(IT Solutions\)
Hi Paul, I am not sure if this could work, it is just an idea. Could you put some javascript into the button's onClick() method to set the selectedIndex of the tabbedPane before it submits? This may give the behaviour you are looking for? HTH, Fintan -Original Message- From: Paul Spen

Re: JSF/Spring integration - managed-property problem

2006-07-14 Thread Robert Campbell
I'm using Spring 1.2.7 under AppFuse 1.9.1I think I'm using a regular spring context.. how do I check for sure? Here is the Spring context config in web.xml:            contextConfigLocation    /WEB-INF/applicationContext-*.xml    I tried to resolve it from a jsp page and it worked okay.I