Re: [Solved] ERROR: Value is not a valid option

2007-02-26 Thread Kevin Galligan
I'm having the same problem. I had some code that was working for a long time with 1.1.5-SNAPSHOT, and now I'm getting that error. h:selectOneMenu value=#{shared$FavoriteDocumentAdd.documentTypeId} onchange=toggleInputRow() id=documentTypeSelect style=background-color:rgb(204,204,255)

Re: [Solved] ERROR: Value is not a valid option

2007-02-26 Thread Kevin Galligan
option before I start hacking away. Thanks, -Kevin On 2/26/07, Kevin Galligan [EMAIL PROTECTED] wrote: I'm having the same problem. I had some code that was working for a long time with 1.1.5-SNAPSHOT, and now I'm getting that error. h:selectOneMenu value=#{shared

Re: [Solved] ERROR: Value is not a valid option

2007-02-26 Thread Kevin Galligan
, Martin Grotzke [EMAIL PROTECTED] wrote: Does it work when you use itemValue=#{3} as workaround? I also had the same problem with itemValue=true, what I think is http://issues.apache.org/jira/browse/TOMAHAWK-152 ... Cheers, Martin On Mon, 2007-02-26 at 11:23 -0500, Kevin Galligan wrote: I'm having

Re: [Solved] ERROR: Value is not a valid option

2007-02-26 Thread Kevin Galligan
automatically). On 2/26/07, Kevin Galligan [EMAIL PROTECTED] wrote: I did try that and didn't have any luck. I think that was due to the fact that I was using shorts rather than ints, but I'd have to try it again now that I have a better understanding of everything involved. I looked

Re: [Solved] ERROR: Value is not a valid option

2007-02-26 Thread Kevin Galligan
). On 2/26/07, Kevin Galligan [EMAIL PROTECTED] wrote: I am using facelets. Where would that function go? Each f:selectItem entry? f:selectItem itemLabel=Website URL itemValue=#{myfn:convertStringToShort(3)}/ On 2/26/07, Mike Kienenberger [EMAIL PROTECTED] wrote: Take a look at http

Redirect tracker

2006-12-31 Thread Kevin Galligan
So, I saw some mention of the redirect tracker being in the wiki, but I can't find the page. Is it in there?

Spoofing commandLink

2006-12-13 Thread Kevin Galligan
I've been wondering something for a little while now. Some of the crud style links in my app use 'h:commandLink', with 't:updateActionListener' to set the particular element id value for that page. In days past I'd put the id on the query string, so like ... /app/DetailPage.do?itemId=1234

Re: JSF is the answer? I don't think so...

2006-12-11 Thread Kevin Galligan
Second on that. I was struggling with some of the concepts with the commandLink and whatnot, and missing the days of struts where I'd just stick an href with an id attached to the query string. Then it was like somebody slapped me in the face. You can still do that, if you want to. Its just

Re: tiny mce and ajax4jsf

2006-12-08 Thread Kevin Galligan
Its in the wiki. Pretty simple, actually... http://wiki.apache.org/myfaces/WYSIWYG_Editor Just add the tiny mce code to your webapp, then on the page add the ' tinyMCE.init' function. It wraps itself onto standard textarea's. On 12/8/06, Alin Dosoniu [EMAIL PROTECTED] wrote: Hi, I have

tiny mce and ajax4jsf

2006-12-07 Thread Kevin Galligan
I'm using facelets and myfaces (1.1.5-SNAPSHOT). I use the tiny mce editor for formatted text. Recently I tried adding ajax4jsf to certain pages. This works great for plain textareas, but when the text area is a tiny mce one, it doesn't work. I know this is pretty specific, but I'm hoping

Re: tiny mce and ajax4jsf

2006-12-07 Thread Kevin Galligan
mailing list or the tinymce forum... unless you already sent it to the ajax list, and I just haven't gotten it yet? :) Regards, Jeff Bischoff Kenneth L Kurz Associates, Inc. Kevin Galligan wrote: I'm using facelets and myfaces (1.1.5-SNAPSHOT). I use the tiny mce editor for formatted text

Re: extend HtmlJSCookMenuRenderer...

2006-10-27 Thread Kevin Galligan
Party starts at 10:30 and then keeps going..HK - 523 Ninth Ave (at 39th St. )I'd say 65% or more. Could be a lot more, but as people are older now, its possible that they won't bother. On 10/27/06, Jorge Vásquez [EMAIL PROTECTED] wrote: Regards to all, I need to overwrite the

Re: extend HtmlJSCookMenuRenderer...

2006-10-27 Thread Kevin Galligan
Deeply sorry. Fumbled the gmail.On 10/27/06, Kevin Galligan [EMAIL PROTECTED] wrote: Party starts at 10:30 and then keeps going..HK - 523 Ninth Ave (at 39th St. )I'd say 65% or more. Could be a lot more, but as people are older now, its possible that they won't bother. On 10/27/06, Jorge Vásquez

Re: How to respect / limit number of simultanously javascript popups allowed

2006-10-17 Thread Kevin Galligan
I'd suggest doing this (if absolutely necessary, because it seems clunky) in your _javascript_ code on the front end. Why? Browsers tend to allow popups for a site if they are triggered by a user event (button click, for example) rather than when the page opens (porn ad). In the onclick, have a

Re: After refresh page is again form is again getting submitted

2006-10-12 Thread Kevin Galligan
RedirectTracker in the sandbox.http://issues.apache.org/jira/browse/TOMAHAWK-503Solved.On 10/12/06, Chandra Sekhar [EMAIL PROTECTED] wrote: Hi, Can you please solve my problem of restricting the page to resubmitafter the refresh button is clicked.Regards,Chandra Sekhar S.V.R.

Re: Tomahawk 1.1.3 datatable row selection returns previous row

2006-10-11 Thread Kevin Galligan
Code please.On 10/11/06, Sajja, Vinod K (Vinod) [EMAIL PROTECTED] wrote: We are trying to migrate from MyFaces/Tomahawk 1.1.1 to 1.1.4 andencountered a problem with row selection in the datatable component.Selecting a row returns the previous row information instead of thecurrent selection. Is

Re: t:savestate.. component binding serializable problem

2006-10-06 Thread Kevin Galligan
You could do the following: 1) Mark the bound reference 'transient'. It won't be serialized. 2) Manually implement the Serialize methods. 3) Implement the 'StateHolder' interface, which is similar to #2, except closely tied to JSF/Myfaces. For this to work, you need a recent tomcat source

Re: Help!! - html problems in jsf

2006-10-05 Thread Kevin Galligan
Absolute path doesn't matter. Dave is right. If you have your css files under a protected path, you can't access them until you log in. Here are a few suggestions. In your security descriptor, use file extension matching rather than path. Then, just don't match against 'css', 'jpg', and

Re: Tree2

2006-10-04 Thread Kevin Galligan
Not sure about the whole dyamic rendering thing, but I also noticed that the html was huge. Any thoughts about that? That was on the list of things to look at and see if there was possibly a way to cut that down. On 10/4/06, Martin Marinschek [EMAIL PROTECTED] wrote: Hi *, I'm reviewing the

Re: Corporate Open Source Strategy

2006-10-04 Thread Kevin Galligan
In my personal experience, commercial support sounds nice, but you're more likely to run into resistance and denail. No offense to BEA, but we had to figure out all sorts of problems with their app server and workflow product, and then convince them of their problems, and essentially code around

Re: Corporate Open Source Strategy

2006-10-04 Thread Kevin Galligan
disaster strikes. But then you get into the business of building lots of things you really don't need to. On 10/4/06, Kevin Galligan [EMAIL PROTECTED] wrote: In my personal experience, commercial support sounds nice, but you're more likely to run into resistance and denail. No offense to BEA

forEach accesses 'items' collection multiple times

2006-10-03 Thread Kevin Galligan
I'm using the 'forEach' tag in a page. When I ran a debugger against my code, it looks like the forEach is grabbing the collection in the 'items' attribute each time it runs through the loop. I'd think it would only do this once. Here's the code... c:forEach

Facelets and JSP editors/Bea Studio tool

2006-10-02 Thread Kevin Galligan
If anybody uses a JSP editor for their JSF development but wants to use Facelets for the view technology, I've coded something that *might* be useful. I personally use Bea's (formerly M7's) JSP/JSF editor eclipse plugin. Love it. It doesn't support Facelets. Since Facelets is so close to JSP

Re: commandLink and back button

2006-09-29 Thread Kevin Galligan
that parameter to false. After changed parameter to true, the back button is working like expected! I have to say, that I use Facelets for the view. Maybe there was an issue? Original-Nachricht Datum: Thu, 28 Sep 2006 18:50:24 -0400Von: Kevin Galligan [EMAIL PROTECTED]An: MyFaces Discussion

Re: commandLink and back button

2006-09-28 Thread Kevin Galligan
-nameparam-value1/param-value/context-param Original-Nachricht Datum: Wed, 27 Sep 2006 11:20:35 -0400Von: Kevin Galligan [EMAIL PROTECTED]An: MyFaces Discussion users@myfaces.apache.orgBetreff: Re: commandLink and back button I think the problem has more to do with the managed bean

Re: Tomahawk t:datatable detail row

2006-09-27 Thread Kevin Galligan
What's a 'detail row feature' supposed to do?On 9/27/06, Aneesha Govil [EMAIL PROTECTED] wrote: Hi,I want to know more about the detail row feature in tomahawk. I cannot find appropriate documentation/samples. In fact the feature isn't even listed on the wiki (

Re: commandLink and back button

2006-09-27 Thread Kevin Galligan
I think the problem has more to do with the managed bean hanging out in the session. In my personal experience, since the session was first invented, way before JSF came around, the session has been a horrible place to put anything except the user's login info. If you're keeping state on the

Re: MyFaces/Tomahawk Redirect Tracker - can you turn it off?

2006-09-17 Thread Kevin Galligan
Hey. I put a patch up for redirecttracker. Essentially, you need to explicitly enable redirecttracker for a request by way of a static util method rather than have it on by default.It also allows you to enable only messages, or the full set of beans. See

Re: MyFaces/Tomahawk Redirect Tracker - can you turn it off?

2006-09-17 Thread Kevin Galligan
://issues.apache.org/jira/browse/TOMAHAWK-503 On 9/17/06, Kevin Galligan [EMAIL PROTECTED] wrote: Hey. I put a patch up for redirecttracker. Essentially, you need to explicitly enable redirecttracker for a request by way of a static util method rather than have it on by default.It also allows you to enable

Re: Preserve Data Model

2006-09-01 Thread Kevin Galligan
Please post bean code.On 9/1/06, Gary1977 [EMAIL PROTECTED] wrote: Here is the problem, I have a screen which is JSF page when we have searchcriteria in one tile on the top and results in the bottom tile which isresults page.when I enter the search criteria I get some results say 10 rows in the

Re: RedirectTracker usage

2006-09-01 Thread Kevin Galligan
Interesting. My only concern would be if my IDE started to complain about the non-standard urls for the navigation cases, but that's minor.I've started using the patch I put in, and the whole thing is quite useful. I've really been wanting this redirect state type of thing for quite a while. Very

Re: h:dataTable on an object containing a Set generated by Hibernate

2006-08-31 Thread Kevin Galligan
Speaking of which, you need to be careful with a setup like this. I use hibernate extensively to populate my tables, and there are several potential issues.1) Just converting a set to a List. You're not going to guarantee the ordering of the data on a postback. So, you might select row #3, but the

Re: Preserve Data Model

2006-08-25 Thread Kevin Galligan
Need more details. Not exactly sure what you're asking. Code?On 8/25/06, Gary1977 [EMAIL PROTECTED] wrote: Hi All,We have Application which used the PreserveDataModel = true atrribute of Extended Data Table of Tomahawk which we are doing because we wanted toimplement client side sorting in our

RedirectTracker usage

2006-08-25 Thread Kevin Galligan
I've built sandbox 1.1.5-snapshot locally to try out RedirectTracker. Its pretty sweet, but now it passes state even when I really want it to redirect without state. I've seen some description of how to differentiate some requests from others with regards to RedirectTracker, but nothing in detail.

Re: Newbie Question

2006-08-21 Thread Kevin Galligan
Where's the accessor for 'country.selectedCountry'?Also, please post the actual error. After running the thing, look in tomcat's 'logs' directory, probably the localhost.[date].log file. On 8/21/06, tukutela [EMAIL PROTECTED] wrote: Hi all,I'm just starting out with Java/JSF having come from a

Re: Newbie Question

2006-08-21 Thread Kevin Galligan
(ThreadPool.java:684)at java.lang.Thread.run(Thread.java:595)Kevin Galligan-2 wrote: Where's the accessor for 'country.selectedCountry'? Also, please post the actual error.After running the thing, look in tomcat's 'logs' directory, probably the localhost.[date].log file. On 8/21/06, tukutela [EMAIL

Re: the biggest myfaces webapp

2006-08-19 Thread Kevin Galligan
If memory is the major concern, I think the real unknown is the view state storage. To be honest, this is an unknown for me also. Currently I'm keeping that stuff on the client. If the page download size isn't too big, I think this is the direction I'd stick with even in production, as I don't

Re: IDE jsf

2006-06-01 Thread Kevin Galligan
MyEclipse is not almost the same as the bea/nitro tool. I own exadel and the bea tool. The bea tool is by far my favorite. I tried myeclipse and it wasn't even close. I just tried it again. Its like saying a car without an engine is almost the same as a car with an engine. The bea tool has a grip

Re: Mixing plain HTML and JSF-Tags

2006-05-21 Thread Kevin Galligan
You may be in the market for facelets. See the following...https://facelets.dev.java.net/nonav/docs/dev/docbook.html#taglib-use-jsfc It is possible to map simple input elements to jsf ui objects, but keeping standard html syntax. I haven't personally used this, and I assume it wouldn't work for

Shale setup

2006-05-13 Thread Kevin Galligan
Anybody use shale? Is there anything special for configuration? I set up the shale filter, and it is set to catch everything '/*'. I have a managed bean in a page that is used for various things. I've extended AbstractViewController, and implemented 'init()'. It doesn't get called. I also tried

Re: Shale setup

2006-05-13 Thread Kevin Galligan
McClanahan [EMAIL PROTECTED] wrote: On 5/13/06, Kevin Galligan [EMAIL PROTECTED] wrote: Anybody use shale? Is there anything special for configuration? I set up the shale filter, and it is set to catch everything '/*'.Complete configuration instructions are on the website[1]. You can also download

Re: Shale setup

2006-05-13 Thread Kevin Galligan
I'm using the bea, formerly m7 nitro tool. I was a little worried it wouldn't like the format, but it appears to be just fine with it.On 5/13/06, Craig McClanahan [EMAIL PROTECTED] wrote: On 5/13/06, Kevin Galligan [EMAIL PROTECTED] wrote: Wild. Thanks for the response. I can honestly say I saw

Re: populating request scope managed bean

2006-05-12 Thread Kevin Galligan
a bit easier. Thanks.On 5/10/06, Mike Kienenberger [EMAIL PROTECTED] wrote: On 5/10/06, Kevin Galligan [EMAIL PROTECTED] wrote: I'm frustrated because I'm not doing a redirect, but it still just won't work.So, how would I set a top level managed bean with a value at the request scope without putting

wiki correction

2006-05-11 Thread Kevin Galligan
On the Building With Maven page of the wiki...svn co http://svn.apache.org/repos/asf/myfaces/maven/trunk/maven-archetype myfaces-archetypeShould be...svn co http://svn.apache.org/repos/asf/myfaces/maven/trunk/myfaces-archetype myfaces-archetype And...mvn archetype:create

populating request scope managed bean

2006-05-10 Thread Kevin Galligan
I'm have a really hard time doing something that, in my mind, should be very simple. Populating a managed bean with scope 'request'. Essentially, I have a dataTable, which is bound to a UIData variable in the backing bean, and a commandLink which pulls the selected object and pushes it into the

Re: populating request scope managed bean

2006-05-10 Thread Kevin Galligan
. On 5/10/06, Kevin Galligan [EMAIL PROTECTED] wrote: I'm have a really hard time doing something that, in my mind, should be very simple. Populating a managed bean with scope 'request'. Essentially, I have a dataTable, which is bound to a UIData variable in the backing bean, and a commandLink which

Re: populating request scope managed bean

2006-05-10 Thread Kevin Galligan
with tablesin the wiki On 5/10/06, Kevin Galligan [EMAIL PROTECTED] wrote: Sorry for the self-followup.I'm pulling my hair out. Basically, I've modified my code to following this... http://www.groundside.com/blog/content/DuncanMills/J2EE+Development/2005/04/06/Drilldown_Edit_with_JSF.html?page=comments

Re: populating request scope managed bean

2006-05-10 Thread Kevin Galligan
won't work. So, how would I set a top level managed bean with a value at the request scope without putting it into the session? On 5/10/06, Mike Kienenberger [EMAIL PROTECTED] wrote: On 5/10/06, Kevin Galligan [EMAIL PROTECTED] wrote: I see how those work, but none of them is really doing what I

Re: Concerning DataModel usage plus overhead?

2005-08-30 Thread Kevin Galligan
} return reportsModel; } In case anyone else is trying out the O'Reilly example, that bug can cause no end of frustration. - Brendan -Original Message- From: Kevin Galligan [mailto:[EMAIL PROTECTED] Sent: Monday, August 29, 2005 4:25 PM To: MyFaces Discussion Subject: Re: Concerning

Re: Concerning DataModel usage plus overhead?

2005-08-30 Thread Kevin Galligan
Reumann wrote: On 8/30/05, Kevin Galligan [EMAIL PROTECTED] wrote: I think updating several rows at the same time, which might require local copies of the data, and just linking are two different things. They might need two different components. With Struts this was a piece of cake. Your

Re: Concerning DataModel usage plus overhead?

2005-08-29 Thread Kevin Galligan
I've been having some similar questions about datatable usage and general web patterns, specifically walking a database and linking to detail pages with id values. The detail of my questions are in my big post to javaranch...

Re: Concerning DataModel usage plus overhead?

2005-08-29 Thread Kevin Galligan
Discussion *Subject:* Re: Concerning DataModel usage plus overhead? On 8/29/05, *Kevin Galligan* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: If you use the standard dataTable, you have to keep your values in session between the time you show the list

Re: Concerning DataModel usage plus overhead?

2005-08-29 Thread Kevin Galligan
) wrote: Out of curiosity, are you setting javax.faces.STATE_SAVING_METHOD to client in your web.xml? If not, can you try doing that and seeing if you observe the same behavior? - Brendan -Original Message- From: Kevin Galligan [mailto:[EMAIL PROTECTED] Sent: Monday, August 29, 2005 2:50

Re: Concerning DataModel usage plus overhead?

2005-08-29 Thread Kevin Galligan
version of the summary as well as the detail, you'd query the database for that as well. I guess I'd have to have more information to see where the stumbling block is. Maybe I'm not having any issues with it because I'm using t:saveState. - Brendan -Original Message- From: Kevin Galligan