Re: AJAX functionality in MyFaces

2006-05-02 Thread Travis Reeder
Good point, this could easily be moved into AjaxRendererUtils.encodeAjax since most of the form components just call back to that anyways to handle common cases.I was heading in a different direction with the generic listener update, where it would send the response wrapper and put the pay dirt

Re: AJAX functionality in MyFaces

2006-05-01 Thread Travis Reeder
I've already implemented something like this in the sandbox, it's the s:listener tag and it's currently usable on the sandbox inputText and am working on making this usable across the board without being intrusive to the other components (because I want to be able to update a datatable when other

Re: AJAX functionality in MyFaces

2006-05-01 Thread Travis Reeder
Great comments Sharath and I agree with all of them. On 4/28/06, sharath reddy [EMAIL PROTECTED] wrote: Here are some of the inputs we came up with:1. There are too many special cases in the Phase Listener code:if (component instanceof SuggestAjax) //do somethingif (component instanceof

Re: committed almost complete fisheye component

2006-04-10 Thread Travis Reeder
Nice job!TravisOn 4/7/06, Matthias Wessendorf [EMAIL PROTECTED] wrote: thanks!very cool stuff :-)On 4/7/06, Werner Punz [EMAIL PROTECTED] wrote: Jurgen Lust schrieb: Hi, I just committed the Dojo FishEye component. I renamed it to FishEyeNavigationMenu, and it now uses UINavigationMenuItems

Re: Just committed an Ajax Listener component

2006-04-07 Thread Travis Reeder
ValueChangeEvents.)-- AdamOn 4/6/06, Martin Marinschek [EMAIL PROTECTED] wrote: What I remember, the ADF-Faces partials allow an m:n relationship between triggers and updated components/regions. Is that the same here? regards, Martin On 4/7/06, Travis Reeder [EMAIL PROTECTED] wrote: Basicallys lets a component

Just committed an Ajax Listener component

2006-04-06 Thread Travis Reeder
Basicallys lets a component listen for events on another component, all via ajax. Sample usage on inputAjax.jsp. s:outputText value=#{inputAjaxBean.waitingText2} s:listener on=formText2/ /s:outputTextOnly works with the sandbox OutputText right now, but after I get some feedback and discussion on

Re: Messages when redirecting

2006-03-28 Thread Travis Reeder
Just use the default and put it on the request. You'll lose the message on a redirect, but still have it on forwards.TravisOn 3/28/06, Mike Kienenberger [EMAIL PROTECTED] wrote:On 3/27/06, Travis Reeder [EMAIL PROTECTED] wrote: Or you check to make sure a session already exists before putting

Continuation For Stateless Yet Stateful Apps

2006-03-28 Thread Travis Reeder
http://www-128.ibm.com/developerworks/java/library/j-cb03216/?ca=dgr-jw22StatelessWebIt would be interesting to take a look at working this type of thing into MyFaces. We are already doing some of this stuff with the session state saving to help with the back button, but I wonder if it could be

Re: Continuation For Stateless Yet Stateful Apps

2006-03-28 Thread Travis Reeder
of the persistence and scaling. You could have a virtually unlimited number of sessions making JSF very scalable. Travis On 3/28/06, Werner Punz [EMAIL PROTECTED] wrote: Travis Reeder schrieb: http://www-128.ibm.com/developerworks/java/library/j-cb03216/?ca=dgr-jw22StatelessWeb It would be interesting

Re: Playing round with 1.5 features

2006-03-27 Thread Travis Reeder
I'm all for anything that makes component writing easier, it's pretty complex right now, so many places to make mistakes and makes it hard for a newbie to start making components. Travis On 3/27/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I think it'd be cool to create another abstract type

Messages when redirecting

2006-03-27 Thread Travis Reeder
Anyone opposed to doing something like this for messages after a redirect:1. Save messages in session2. Use messages in session and remove from sessionRather than just on the request? This way, they can be shown after a redirect. At least in the tomahawk messages tag anyways. Travis

New DOJOized input suggest is kind of flaky on firefox

2006-03-22 Thread Travis Reeder
Noticed some things on the latest inputSuggestAjax, in the box that says default suggest on the sandbox examples:Sticks a 1 in few characters as I type, when I don't want it. If you click back arrow, it will keep the suggestion (ie: more 1's)If you ctrl-shift to select words and what not, more

Ajax form

2006-03-20 Thread Travis Reeder
Hi all,Been a bit out of the loop for the past few weeks, I am just wondering if there has been much going on with the ajax sandbox components? There was talk of making them dojo'd ;), so just wondering if that has happened. The next step I would like to take is to make it so that multiple

common maven build targets

2006-02-16 Thread Travis Reeder
Hey all,Would someone be kind enough to post and describe all the common maven targets on the wiki? Being a maven newb, this would mucho helpful. Also, has anyone tried the maven plugins for intellij? I've tried the ConsoleMavenPlugin and the Mavenide one, but they don't appear to pickup the Goals

Was someone looking for a public high traffic site?

2006-02-16 Thread Travis Reeder
A high traffic site running MyFaces of course. I recall seeing an email not long ago about this, but I can't seem to find it. Travis

Re: Some thoughts about HtmlInputTextAjax component

2006-02-09 Thread Travis Reeder
I'm all for that, I just didn't want to mess with tomahawk stuff until it's been in the sandbox for testing and feedback.TravisOn 2/9/06, Martin Marinschek [EMAIL PROTECTED] wrote: I agree with Gerald on using an attribute instead of a separatecomponent - forceSpan should be just

Re: Some thoughts about HtmlInputTextAjax component

2006-02-09 Thread Travis Reeder
On 2/9/06, Werner Punz [EMAIL PROTECTED] wrote: Actually to my knowledge dojo does not have anything in this regard, andI cannot see how, because this is heavy jsf specific in how to dothings, but it is possible to do it anyway, and dojo can help in certain areas. First the whole ajax calling

Re: Some thoughts about HtmlInputTextAjax component

2006-02-08 Thread Travis Reeder
Hi Gerald,Responses inline:On 2/7/06, Gerald Müllan [EMAIL PROTECTED] wrote: Hi *,I have tried to add some new features to the HtmlInputTextAjaxcomponent, contributed by travis.He did great work, but there are still some open thoughts I would liketo discuss over the list. In short, added

Re: Some thoughts about HtmlInputTextAjax component

2006-02-08 Thread Travis Reeder
Just to make things clear, the validation that I put into the ajax form components is server side validation through ajax meaning that when a field changes, the change is sent to the server through ajax and if validation fails, the error message ir returned to the client and displayed in the

Re: We need a good demo application

2006-02-07 Thread Travis Reeder
Great idea! It would be cool to get some sponsors and have a publicized winter of code competition. TravisOn 2/6/06, Gerald Müllan [EMAIL PROTECTED] wrote: @Carsten; cool idea! I like the idea. Sounds like MyFaces school of code... :-)Yes, we really need to start such a winter of code

Re: Jars in new maven structure

2006-01-26 Thread Travis Reeder
Thanks! I'll try the idea:idea.On 1/26/06, Volker Weber [EMAIL PROTECTED] wrote: Hi,Wendy Smoak wrote: If you're using IDEA, execute:$ mvn idea:idea and Maven will generate the project files for you.(I haven't actually tried this with MyFaces, or a complex multi-module build though... )I had done

Jars in new maven structure

2006-01-25 Thread Travis Reeder
Hi all,Can someone please fill me in on this new maven structure with regards to jars, excuse my ignorance, I've never used Maven before.I decided to start from a fresh new checkout since so much has changed and I've run mvn install with no problems. So now I'm trying to set things up in Idea, but

Re: Myfaces new site design

2006-01-20 Thread Travis Reeder
Just my 2 cents, I like proposal B because it's different than other projects. Proposal A looks the same as every other project.TravisOn 1/18/06, Greg Reddin [EMAIL PROTECTED] wrote: On Jan 18, 2006, at 11:05 AM, [EMAIL PROTECTED] [EMAIL PROTECTED]wrote: Eye tracking studies confirm that peoples

Re: Maven Build (Ongoing Work Thread)

2006-01-03 Thread Travis Reeder
FYI, just trying out this new maven build and I noticed that the faces-config.xml are not being put in the jars, myfaces-sandbox-1.1.2-SNAPSHOT.jar, tomahawk-1.1.2-SNAPSHOT.jar, and myfaces-impl-1.1.2-SNAPSHOT.jar. So when trying to run examples, the components are undefined.TravisOn 1/3/06,

Re: Maven Build (Ongoing Work Thread)

2006-01-03 Thread Travis Reeder
additonal directories like my src/main/resources-facesconfig are not treated as source directories? Is there a way to change the settings of Maven so those are included? regards, Martin On 1/3/06, Travis Reeder [EMAIL PROTECTED] wrote: FYI, just trying out this new maven build and I noticed

Re: Maven Build (Ongoing Work Thread)

2006-01-03 Thread Travis Reeder
? Is there a way to change the settings of Maven so those are included? regards, Martin On 1/3/06, Travis Reeder [EMAIL PROTECTED] wrote: FYI, just trying out this new maven build and I noticed that the faces-config.xml are not being put in the jars, myfaces-sandbox-1.1.2-SNAPSHOT.jar

Re: Loggers in API Components

2005-12-15 Thread Travis Reeder
That looks like a very interesting option, I really like the formatted way of showing the messages and the simple runtime jar swap to switch implementations.TravisOn 12/15/05, Shane Bryzak [EMAIL PROTECTED] wrote: How about using SLF4J? (http://www.slf4j.org/) For anyone that doesn't

Re: Duplicate messages

2005-12-13 Thread Travis Reeder
message if I explicitly set the detail message to null, wouldn't you? TravisOn 12/11/05, Travis Reeder [EMAIL PROTECTED] wrote: Anyone seeing duplicate messages from h:messages in the latest source? Travis

Duplicate messages

2005-12-11 Thread Travis Reeder
Anyone seeing duplicate messages from h:messages in the latest source?Travis

Re: Loggers in API Components

2005-12-07 Thread Travis Reeder
I'm pretty sure logging is the last thing we'll have to look at for performance, there are many other things that will need to be optimized first. And I'm not saying log everything, but in places where it's needed like validation errors. And I think the cost-benefit of logging messages vs

Re: Defaulting to forceId=true

2005-11-28 Thread Travis Reeder
? Travis Reeder wrote: Yes, I can use forceId=true when I want it, but my sentiments exactly (about altering the id), if I set an ID, it would be nice to not have to set forceId=true also. Especially in this new rich client / ajaxing era that we seem to be rolling

Re: Some Ajax updates

2005-11-23 Thread Travis Reeder
There is a full set of examples in the sandbox under AJAX Form Components or directly at inputAjax.jsf. Travis On 11/22/05, Grant Smith [EMAIL PROTECTED] wrote: Good work Travis! Any chance of creating some examples for these ? -- Grant Smith

Re: Reconnecting UIComponentTag instances with the corresponding UIComponent

2005-11-23 Thread Travis Reeder
Does anyone have any comment on whether this is a bug or not: As you can see UIComponentTag.doEndTag calls internalRelease(). But strangely, members _id, _rendered and _binding are cleared only in release(), not internalRelease(). Maybe that's a bug?

Re: Defaulting to forceId=true

2005-11-22 Thread Travis Reeder
On 11/18/05, Travis Reeder [EMAIL PROTECTED] wrote: Working on this ajax stuff, I got to wondering why we don't just have id's implemented like forceId = true? Is there any reason why we can't just have all id's set to the id the user specifies without prepending stuff to them

Generated Code

2005-11-22 Thread Travis Reeder
Hi all, In the components, there are sections that are wrapped with GENERATED CODE BEGIN and GENERATED CODE END. How are these generated? Reason I ask is that there are new fields like forceId and escape that their state is not being saved/restored. Thanks in advance, Travis

Re: Changes in UIComponentTag.java

2005-11-22 Thread Travis Reeder
This would be me as well, learning quickly that this stuff is not to be touched. ;) It'll all be changed back with my next checkin. Travis On 11/22/05, Martin Marinschek [EMAIL PROTECTED] wrote: Someone changed a method in UIComponentTag.java from private to protected. Attention: this is no

Re: Defaulting to forceId=true

2005-11-22 Thread Travis Reeder
in the first place? If a component's true id at the back end is form1:subview2:table3, then why not use that id in all the AJAX stuff rather than requiring the table to use forceId? Travis Reeder wrote: Yes, I can use forceId=true when I want it, but my sentiments exactly (about altering

Re: Reconnecting UIComponentTag instances with the corresponding UIComponent

2005-11-22 Thread Travis Reeder
I believe the id's are generated at the time the component is instantiated which seems to occur in UIComponentTag.findComponent(). The corresponding code is: //Child String id = getOrCreateUniqueId(context); _componentInstance = parent.findComponent(id); if

Re: Recent javadoc updates

2005-11-22 Thread Travis Reeder
Keep them coming, there is far too few comments in the code right now. I'm sure some comments would have saved me many hours. Travis On 11/22/05, Simon Kitching [EMAIL PROTECTED] wrote: Hi All, Sorry for the flood of javadoc commits; this is some stuff I've had sitting around for a while.

Some Ajax updates

2005-11-22 Thread Travis Reeder
So I've got a good set of ajax form components working now and I thought I'd give an update. - inputText (with options to show buttons for submit, default is to submit onChange) - selectManyCheckbox - selectOneRadio - selectBooleanCheckbox (with options to use on/off images instead of a checkbox)

Re: svn commit: r345590 - /myfaces/api/trunk/src/java/javax/faces/component/_ComponentUtils.java

2005-11-21 Thread Travis Reeder
Any reason why _ComponentUtils class is not public? And is there any problem with making it public so I can add a second findComponent method that will traverse the entire tree? Travis On 11/20/05, Simon Kitching [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: Author: prophecy Date: Fri

Re: svn commit: r345590 - /myfaces/api/trunk/src/java/javax/faces/component/_ComponentUtils.java

2005-11-21 Thread Travis Reeder
? That would seem the cleanest place to put this stuff. It would be even cleaner if the Ajax design didn't try to bypass the JSF namespacing in the first place though. Can't the Ajax components use proper client ids rather than require forceId to be used? Regards, Simon Travis Reeder

Re: svn commit: r345590 - /myfaces/api/trunk/src/java/javax/faces/component/_ComponentUtils.java

2005-11-21 Thread Travis Reeder
Marinschek [EMAIL PROTECTED] wrote: Didn't Sean commit a fix for forceId and findComponent lately? regards, Martin On 11/22/05, Travis Reeder [EMAIL PROTECTED] wrote: Ok, thanks for the heads up guys. Also, IMO, requiring forceId for AJAX to function is a poor path to go down

Re: Plan for 1.1.2?

2005-11-20 Thread Travis Reeder
+1 for the quicker release cycle. Travis On 11/20/05, James Mitchell [EMAIL PROTECTED] wrote: Not sure about the release plan, but +1 for a quicker release cycle. Let's not get caught up in the same slow cycle that has affected Struts for so long. -- James Mitchell 678.910.8017 Skpe:

Defaulting to forceId=true

2005-11-18 Thread Travis Reeder
Working on this ajax stuff, I got to wondering why we don't just have id's implemented like forceId = true? Is there any reason why we can't just have all id's set to the id the user specifies without prepending stuff to them? Travis

Fwd: svn commit: r344383 - /myfaces/sandbox/trunk/src/java/org/apache/myfaces/custom/ajax/api/AjaxPhaseListener.java

2005-11-17 Thread Travis Reeder
Hi Sean, What was this checkin fixing? Seems strange to override the default findComponent() method in here? Travis -- Forwarded message -- From: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Nov 15, 2005 7:56 AM Subject: svn commit: r344383 -

Re: Ajax lifecircle integration

2005-11-16 Thread Travis Reeder
I like the storing the components in a map idea. If we did that, we could actually use the current PhaseListener way of doing it, but move the AjaxDecodePhaseListener to occur before the Restore View phase, apply the lifecycle to the affected components, and then call renderResponse() to allow the

Re: Ajax lifecircle integration

2005-11-15 Thread Travis Reeder
I am with Adam on this. The JSF spec didn't consider AJAX, I'm sure because it was designed before Google started shaking things up, but now that it's hear and it appears to be hear to stay, the spec has to keep up. Using the PhaseListener like we are doing now, we decode before Apply Request

Re: Checking for JSP page modification

2005-11-11 Thread Travis Reeder
I would also love to see this, i know the pain. Another thing it could do is try to recreate the tree a single time if a duplicate id is found. Not sure how if that could handle the minor changes though. TravisOn 11/11/05, Martin Marinschek [EMAIL PROTECTED] wrote: I would love to have a thing

Re: Development blogs

2005-11-11 Thread Travis Reeder
I think that's a great idea, maybe they should allow hosting of blogs on there too? In the meantime, anyone against me starting one on blogger, we can always change where it's hosted later. TravisOn 11/9/05, Martin Cooper [EMAIL PROTECTED] wrote:On 11/9/05, Travis Reeder [EMAIL PROTECTED

Re: Ajax lifecircle integration

2005-11-10 Thread Travis Reeder
on the components also by the listener. I don't see a problem, exept maybe the less performance decoding unnessesary components, doing this after applyRequestValues. Regards Volker Travis Reeder wrote: This might be somewhat related to what you're trying to do, but I've added

Re: Ajax lifecircle integration

2005-11-10 Thread Travis Reeder
is the immediate attribute, i didn't know of this before. Regards Volker Travis Reeder wrote: Martin: this is for decoding, not encoding. Volker: The reason it is before applyRequestValues phase is because you don't get the whole form submitted, you generally only get the value of a single component so

Re: Development blogs

2005-11-09 Thread Travis Reeder
blog ;) regards, Martin On 11/9/05, Travis Reeder [EMAIL PROTECTED] wrote: Would any developers be interested in blogging about their MyFaces work? I'm thinking it might be a good way to keep people informed about what we're all up to. Travis-- http://www.irian.at Your

Re: Development blogs

2005-11-09 Thread Travis Reeder
PROTECTED]: yes, would be good. I have been thinking about that from time to time. maybe I'll start one - we could call it a general MyFaces one where every developer may blog ;) regards, Martin On 11/9/05, Travis Reeder [EMAIL PROTECTED] wrote: Would any developers be interested

Development blogs

2005-11-08 Thread Travis Reeder
Would any developers be interested in blogging about their MyFaces work? I'm thinking it might be a good way to keep people informed about what we're all up to. Travis

Re: Ajax lifecircle integration

2005-11-05 Thread Travis Reeder
This might be somewhat related to what you're trying to do, but I've added the AjaxDecodePhaseListener that gets kicked off before the apply request values phase so that it can validate and update for that single component. If an error occurs such as a validation error, the error is sent back in

Re: Removed exception logging from FacesServlet on 8/11/05

2005-11-04 Thread Travis Reeder
make sure that they don´t catch the exception and hides them? 2005/11/4, Travis Reeder [EMAIL PROTECTED]: mbr: Any reason you removed the exception logging?I've mentioned this before on the list asking why exceptions are being hidden and I guess this is why.There was a method called logException

Re: Removed exception logging from FacesServlet on 8/11/05

2005-11-04 Thread Travis Reeder
: exiting from lifecycle.execute in restoreView because getRenderResponse is true from one of the after listeners in getNotices No exceptions logged anywhere. Travis On 11/4/05, Travis Reeder [EMAIL PROTECTED] wrote: I am just using the Extensions Filter and an AuthFilter (that does not catch

Re: inputSuggestAjax

2005-11-03 Thread Travis Reeder
I'm just wanting to follow up to see if anybody has looked at how to fix the FINE: No serialized view found in server session! problem? Travis On 10/27/05, Mathias Brökelmann [EMAIL PROTECTED] wrote: use RendererUtils.SEQUENCE_PARAM or jsf_sequence 2005/10/27, Travis Reeder [EMAIL PROTECTED

Re: inputSuggestAjax

2005-11-03 Thread Travis Reeder
that you can get the current value of the sequence to render as a param through RendererUtils.getViewSequence(FacesContext) 2005/11/3, Travis Reeder [EMAIL PROTECTED]: I'm just wanting to follow up to see if anybody has looked at how to fix the FINE: No serialized view found in server session

Removed exception logging from FacesServlet on 8/11/05

2005-11-03 Thread Travis Reeder
mbr: Any reason you removed the exception logging? I've mentioned this before on the list asking why exceptions are being hidden and I guess this is why. There was a method called logException, but it's removed now. Any reason for that? Travis

Re: inputSuggestAjax

2005-11-03 Thread Travis Reeder
BTW, if you don't do this, you basically have to use commandLinks and commandButtons, direct links are never found, ajax or not. On 11/3/05, Travis Reeder [EMAIL PROTECTED] wrote: I haven't tried it yet, but I will soon. What will it use if this isn't passed in? Shouldn't it use the most

Re: inputSuggestAjax

2005-11-03 Thread Travis Reeder
I've just checked in a fix for this. Travis On 11/3/05, Travis Reeder [EMAIL PROTECTED] wrote: BTW, if you don't do this, you basically have to use commandLinks and commandButtons, direct links are never found, ajax or not. On 11/3/05, Travis Reeder [EMAIL PROTECTED] wrote: I haven't tried

Re: Build Failure

2005-11-02 Thread Travis Reeder
ya, saw that when i got merge conflicts. ;) Travis On 11/2/05, Martin Marinschek [EMAIL PROTECTED] wrote: Hi Travis, no need to fix it anymore - Thomas did it already for you; no problem. regards, Martin On 11/2/05, Travis Reeder [EMAIL PROTECTED] wrote: Sorry guys, my bad. I'll fix

Re: findComponent not finding component when forceId=true

2005-11-02 Thread Travis Reeder
. We can also do a duplicate check then. regards, Martin On 11/2/05, Sean Schofield [EMAIL PROTECTED] wrote: forceId only affects the clientId not the component id. sean On 10/28/05, Travis Reeder [EMAIL PROTECTED] wrote: I tried this without setting the id, works fine

forceId inconsistency

2005-11-02 Thread Travis Reeder
I find that forceId works half the time and doesn't the other half, for example, i just tried it on a dataTable and it's picking up the surrounding forms id so it should be: myTable, but it ends up being _id6:myTable where _id6 is the id of the form tag. What makes somethings override the forceId

Anything that would directly alter component properties

2005-11-02 Thread Travis Reeder
I have a page using HtmlSelectManyAjax that is built inside the bean, not on the jsp. When it's created, it has onSuccess=someFunction. I put a system out in the setOnSuccess and getOnSuccess to see what's going on. So after I use a commandButton, the onSuccess value is set to null and the

Re: Anything that would directly alter component properties

2005-11-02 Thread Travis Reeder
initializing that field. On 11/2/05, Travis Reeder [EMAIL PROTECTED] wrote: I have a page using HtmlSelectManyAjax that is built inside the bean, not on the jsp. When it's created, it has onSuccess=someFunction. I put a system out in the setOnSuccess and getOnSuccess to see what's going on. So

findComponent() method not finding component

2005-11-01 Thread Travis Reeder
Below is the tree print out and you can see that a component with id text1 is in the tree, but you'll see some output below that comes from within the _ComponentUtils.findComponent that it is skipping a bunch of elements. I noticed this in _ComponentUtils.findComponent: if (!(childOrFacet

Re: findComponent() method not finding component

2005-11-01 Thread Travis Reeder
I should add that I am using forceId=true On 11/1/05, Travis Reeder [EMAIL PROTECTED] wrote: Below is the tree print out and you can see that a component with id text1 is in the tree, but you'll see some output below that comes from within the _ComponentUtils.findComponent that it is skipping

Default character encoding to UTF-8

2005-11-01 Thread Travis Reeder
Should the default encoding be UTF-8 instead of ISO-8859-1 in our ResponseWriter's? Travis

Re: selectManyPicklist

2005-10-29 Thread Travis Reeder
+ standard_select_many_listbox_attributes; + user_role_attributes; +/tag /taglib Regards, Bruno 2005/10/28, Travis Reeder [EMAIL PROTECTED]: Sounds cool! I'm got an error on the demo page though, says it's not defined in taglib defined by s or something to that effect. Travis

Re: selectManyPicklist

2005-10-28 Thread Travis Reeder
to the list on the right by clicking buttons '' or ''. The elements that you put on the second list is your selection. I will add the documentation today... BTW, I am experiencing double rendering of each page in the sandbox... it is only me? Bruno 2005/10/27, Travis Reeder [EMAIL PROTECTED

[jira] Created: (MYFACES-762) Error after calling session.invalidate() - Cannot get value for expression '#{ScopeContainer}'

2005-10-28 Thread Travis Reeder (JIRA)
: MyFaces Type: Bug Components: Implementation Reporter: Travis Reeder I have a jsp page that has the following in it: session.removeAttribute(user); session.invalidate(); response.sendRedirect(index.jsf); If I remove session.invalidate(), it works fine. With it I get this: I get

findComponent not finding component when forceId=true

2005-10-28 Thread Travis Reeder
I tried this without setting the id, works fine. I set the id, works fine. Added forceId=true and it cannot find it. Even though when I print out the component tree, the component id is the same as the id I pass to findComponent: Here is the component output:

New Component: HtmlSelectManyCheckboxAjax (could that name get any longer??)

2005-10-28 Thread Travis Reeder
Low Down: - Updates checkbox values through ajax without having to submit a form - demo available in sandbox examples Feedback welcome. Travis

Re: inputSuggestAjax

2005-10-27 Thread Travis Reeder
ajax is working in detail. To find the serialized view in the server session it is necessary that the introduced sequence number is being send in the ajax request, which meight not be the case. I will take a closer look into that. 2005/10/25, Travis Reeder [EMAIL PROTECTED]: Actually come

Re: svn commit: r328766 - /myfaces/api/trunk/src/java/javax/faces/component/UIComponentBase.java

2005-10-27 Thread Travis Reeder
Ya, I wanted to put this into an extended base component, but there isn't one. Didn't think this would cause any harm, but a spec is a spec. Any suggestions on where this could go? Hopefully not into every extended component! Travis On 10/27/05, Mathias Brökelmann [EMAIL PROTECTED] wrote: Hi

Re: selectManyPicklist

2005-10-27 Thread Travis Reeder
What's it do? Travis On 10/27/05, Bruno Aranda [EMAIL PROTECTED] wrote: Hi *, I've just uploaded a new component prototype to the sandbox today: the selectManyPicklist. Many users have asked for this component in the past, so I think it is a great addition. There is still some work needs

Re: Sandbox examples setup in Intellij Idea

2005-10-26 Thread Travis Reeder
? The thing is that IntelliJ won't let you choose a content-root in another content-root, so our setup doesn't really work for this I think. regards, Martin On 10/25/05, Travis Reeder [EMAIL PROTECTED] wrote: Ya, I have it working from those instructions, but there are some conflicts when

Re: improved refactored Addresource

2005-10-26 Thread Travis Reeder
, Martin Marinschek [EMAIL PROTECTED]: Thanks! so you are father already? regards, Martin On 10/26/05, Mathias Brökelmann [EMAIL PROTECTED] wrote: I have commited a fix for that allready. 2005/10/25, Travis Reeder [EMAIL PROTECTED]: Hey Mathias

Re: improved refactored Addresource

2005-10-25 Thread Travis Reeder
Hey Mathias, Your checkin for this broke the build in HtmlDateRendererTest and HtmlDateRenderCactus. TravisOn 10/25/05, Mathias Brökelmann [EMAIL PROTECTED] wrote: Hi all,I have improved and refactored Addresource and its dependencies. Iintroduced a ResourceLoader interface to allow any

Re: inputSuggestAjax

2005-10-25 Thread Travis Reeder
checkin on 10/20 where he changed a bunch of the server side state saving mechanisms. Mathias, any idea? BTW, this seems like a blocker bug to me against making a release. TravisOn 10/25/05, Travis Reeder [EMAIL PROTECTED] wrote: Hi Sean, Is this a fix as of yesterday? There were issues yesterday

Re: inputSuggestAjax

2005-10-25 Thread Travis Reeder
True, but not finding the view in the session goes beyond sandbox. TravisOn 10/25/05, Sean Schofield [EMAIL PROTECTED] wrote: BTW, this seems like a blocker bug to me against making a release.Definitely not a blocker.This is a *sandbox* component.Travissean

Re: Column header not showing value in AutoUpdateDataTable after some changes

2005-10-24 Thread Travis Reeder
of the f:bundle Tag - you can still access aproperties file in the background.regards,MartinOn 10/24/05, Travis Reeder [EMAIL PROTECTED] wrote: So I figured out why Internet explorer errors on the AutoUpdateDataTable, some reference here: http://wrath.rubyonrails.org/pipermail/rails-spinoffs/2005

Sandbox examples setup in Intellij Idea

2005-10-24 Thread Travis Reeder
I'm just wondering how the other developers have their sandbox examples setup in Intellij Idea. I find that sandbox needs some things from tomahawk examples like head.inc, but there are some naming issues like two examples-config.xml. It's been working fine for a while, but I just ran into an

Column header not showing value in AutoUpdateDataTable after some changes

2005-10-23 Thread Travis Reeder
So I figured out why Internet explorer errors on the AutoUpdateDataTable, some reference here: http://wrath.rubyonrails.org/pipermail/rails-spinoffs/2005-September/000894.html http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/innerhtml.asp So I've tried wrapping it in a div

[jira] Created: (MYFACES-726) AddResource not outputting prototype.js when a comment exists in the page

2005-10-21 Thread Travis Reeder (JIRA)
: Sandbox Reporter: Travis Reeder Priority: Minor I noticed that your autoUpdateDataTable example does not work when there is a comment in the page. When I remove the Apache license comment, it works just fine. That ReducedHTMLParser must not be working correctly. I get this error: Oct 19

[jira] Resolved: (MYFACES-727) AddResource is outputting the resource under the thead if it exists in a datatable

2005-10-21 Thread Travis Reeder (JIRA)
[ http://issues.apache.org/jira/browse/MYFACES-727?page=all ] Travis Reeder resolved MYFACES-727: --- Fix Version: Nightly Resolution: Fixed Assign To: Travis Reeder Checks for bracker or whitespace before the head now so it won't use

How can I get component from tree and set the bound values

2005-10-21 Thread Travis Reeder
I am working on some ajax form components and I am trying to do the following: 1. Request with the componentId, viewId, value. 2. Get that particular component from the specified viewId 3. Get the bound value of the component and set it's value to value. But I cannot seem to get the component,

_forceId only on *Tag, not on components

2005-10-21 Thread Travis Reeder
Any reason for this? Why I ask is because when creating components programatically, you can't setForceId(). Travis

Re: _forceId only on *Tag, not on components

2005-10-21 Thread Travis Reeder
you can docomponent.getAttributes().put(JSFAttr.FORCE_ID_ATTR, Boolean.True);this is what the tag does.Mike Kienenberger wrote: That'd also mean that you couldn't use forceID from an alternate ViewHandler facelets or Shale/Clay as well since the *Tag isn't used. On 10/21/05, Travis Reeder [EMAIL

Re: svn commit: r326946 - /myfaces/tomahawk/trunk/src/java/org/apache/myfaces/component/html/util/ReducedHTMLParser.java

2005-10-20 Thread Travis Reeder
I'll change it to this: (lastChars[3]=='' || Character.isWhitespace(lastChars[3])) Is it valid xml to have whitespace after the opening bracket? Travis On 10/20/05, Martin Marinschek [EMAIL PROTECTED] wrote: But what do we do with whitespace before head? then the parsing won't work as

[jira] Created: (MYFACES-727) AddResource is outputting the resource under the thead if it exists in a datatable

2005-10-20 Thread Travis Reeder (JIRA)
Reporter: Travis Reeder Should be in the head -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http

Re: JavaScript in MyFaces (was Re: New date parser in javascript)

2005-10-07 Thread Travis Reeder
How are you including the _javascript_ now? In the page or linking to prototype.js? TravisOn 10/7/05, Werner Punz [EMAIL PROTECTED] wrote: Martin Cooper wrote: Can I suggest a high-level discussion of how you're going to structure all of the _javascript_ code in MyFaces? I'm concerned that you'll

[jira] Commented: (MYFACES-633) forceId in t:panelGrid does not work propertly

2005-09-29 Thread Travis Reeder (JIRA)
[ http://issues.apache.org/jira/browse/MYFACES-633?page=comments#action_12330845 ] Travis Reeder commented on MYFACES-633: --- My Bad, I had this bound to a normal HtmlPanelGrid and not the extension HtmlPanelGrid. This works now. forceId

Re: [jira] Commented: (MYFACES-633) forceId in t:panelGrid does not work propertly

2005-09-29 Thread Travis Reeder
Can someone close or delete this since I can't?On 9/29/05, Travis Reeder (JIRA) myfaces-dev@incubator.apache.org wrote:[ http://issues.apache.org/jira/browse/MYFACES-633?page=comments#action_12330845 ]Travis Reeder commented on MYFACES-633:---My Bad, I had