Re: [Tobago] Multiple defaultCommands in the same Tobago Page

2007-06-15 Thread Madan Narra
Hi Volker, But the tc:in/ in the sheet has a change facet set to it with renderedPartially option... Will the solution provided by you earlier be working ? I will try and see if there are any other issues occured and know u back... Thnx Regards, Madan N On 6/14/07, Volker Weber [EMAIL

Re: Tomahawk sandbox component submitOnEvent and Trinidad components

2007-06-15 Thread CarstenPi
(preliminary note: As my postings to the original apache user mailing list didn't seem to get through, I'm trying it now via the nabble forum. So here again, my posting of June 4th...) Hi Mario et al, Mario wrote: I've change submitOnEvent in a way that should make it work with Trinidad too,

Re: Tomahawk sandbox component submitOnEvent and Trinidad components

2007-06-15 Thread Mario Ivankovits
Hi Carsten! I've change submitOnEvent in a way that should make it work with Trinidad too, though, I have no Trinidad here and do not have the time to test it. Please give it a try and report back. Hm, as far as I can see, the behaviour didn't change: A Trinidad developer promised

Re: [Tobago] Multiple defaultCommands in the same Tobago Page

2007-06-15 Thread Volker Weber
Hi, 2007/6/15, Madan Narra [EMAIL PROTECTED]: Hi Volker, But the tc:in/ in the sheet has a change facet set to it with renderedPartially option... why do you need the defaultCommand functionality at the tc:in if you already have a change facet? I don't think you will get an defined

Re: Tomahawk sandbox component submitOnEvent and Trinidad components

2007-06-15 Thread Matthias Wessendorf
yes, form has a defaultCommand http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_form.html -M On 6/15/07, Mario Ivankovits [EMAIL PROTECTED] wrote: Hi Carsten! I've change submitOnEvent in a way that should make it work with Trinidad too, though, I have no Trinidad here and do not

RE: Help With Tomahawk and web.xml

2007-06-15 Thread jnordstrom
Hi,Your Faces Servlet is mapped to *.faces so if you want to map the extension filterto a url pattern you should be able to have this entry: filter-mapping filter-nameMyFacesExtensionsFilter/filter-nameurl-pattern*.faces/url-pattern/filter-mappingJakob --- [This E-mail has been scanned for viruses

Re: [Tobago] Multiple defaultCommands in the same Tobago Page

2007-06-15 Thread Madan Narra
Hi Volker, The change facet for tc:in/ with renderedPartially set to the command has to call a feature via Ajax and display its result to the User in the same sheet.This Ajax request does not invoke any methods that interact with DB The defaultCommand functionality is used to update the List

Re: [Tobago] Multiple defaultCommands in the same Tobago Page

2007-06-15 Thread Volker Weber
Hi, 2007/6/15, Madan Narra [EMAIL PROTECTED]: Hi Volker, The change facet for tc:in/ with renderedPartially set to the command has to call a feature via Ajax and display its result to the User in the same sheet.This Ajax request does not invoke any methods that interact with DB The

Re: JSF and AJAX without custom components?

2007-06-15 Thread Werner Punz
Stan Carney schrieb: Looking at the source code of FacesServlet it seems pretty straight forward. What would I have to do to get JSF to complete the RESTORE_VIEW phase and stop without a phase listener? Won't I also have problems with the pesky javax.faces.ViewState containing the wrong

Re: Tomahawk sandbox component submitOnEvent and Trinidad components

2007-06-15 Thread CarstenPi
Ah yes, thanks for the hint. Indeed, in most cases the defaultCommand of tr:form will do. (Have been lookink on tag level for a defaultCommand and couldn't find any. So, thanks again!) Carsten Matthias Wessendorf-4 wrote: yes, form has a defaultCommand

Re: [COMMUNITY] Danny Robinson - Committer

2007-06-15 Thread Bruno Aranda
Welcome! Bruno On 14/06/07, Grant Smith [EMAIL PROTECTED] wrote: Welcome Danny! On 6/14/07, Adam Winer [EMAIL PROTECTED] wrote: Great to have you! -- Adam On 6/14/07, Cagatay Civici [EMAIL PROTECTED] wrote: Welcome Danny, Cagatay On 6/14/07, Manfred Geiler [EMAIL PROTECTED]

Re: [COMMUNITY] Andrew Robinson - Committer

2007-06-15 Thread Bruno Aranda
Welcome aboard! Today is the Robinson day! Bruno On 15/06/07, Martin Marinschek [EMAIL PROTECTED] wrote: Welcome Andrew, glad to have you aboard, thanks for the support on the user-list - I'm sure it has always been tremendously helpful for our users... regards, Martin On 6/14/07, Cagatay

Tomahawk tree2-Default expand all

2007-06-15 Thread Das Koushik
Hi, I am using tomahawk tree2 . By default all the nodes of the tree comes as collapsed.I need to show all the nodes expanded when the page loads.Can you guys help me out? Rgds, Koushik Das =-=-= Notice: The information contained in this e-mail message and/or attachments to

Fwd: Call for Papers Opens for OS Summit Asia 2007

2007-06-15 Thread Matthias Wessendorf
FYI -- Forwarded message -- From: J Aaron Farr [EMAIL PROTECTED] Date: Jun 15, 2007 11:36 AM Subject: Call for Papers Opens for OS Summit Asia 2007 To: [EMAIL PROTECTED], [EMAIL PROTECTED] Call for Papers Opens for OS Summit Asia 2007 The call for papers is now open for OS

at org.apache.myfaces.tobago.config.ThemeConfig$CacheKey.hashCode(ThemeConfig.java:164)

2007-06-15 Thread Zied Hamdi
Hello, I have a bizarre exception: the field rendererType of ThemeConfig is null at some point Maybe it is because I'm in a c:foreach body, it happens here (I've joined the entire page file). The reason I think it is because of the foreach is that I see my entire page (in the correct style),

Re: [Tobago] Layout problems with tc:sheet in a tc:tab with IE

2007-06-15 Thread Helmut Swaczinna
Hi Volker, one more info: if you set forceVerticalScrollbar=true for the sheets only the header disapper not the data area. btw: Is it possible to display the scrollbar initially if forceVerticalScrollbar=true? Regards Helmut - Original Message - From: Volker Weber [EMAIL

[Trinidad] treeTable data display (xml)

2007-06-15 Thread Darren McEntee
Hi guys, I'm quite new to Trinidad and experimenting with its functionality. I'm looking for information on two things really... (1). I'm trying out the tr:treeTable Trinidad component. I'm interested in a finding a way to get it to read the structure of an XML file and display the

[Trinidad] tr:selectManyListbox inlineStyle=... contentStyle=... /

2007-06-15 Thread William Hoover
Is there a difference between inlineStyle and contentStyle attributes for the select many list box component? While testing I found that inlineStyle=display:none has no affect while contentStyle=display:none does. Am I doing something wrong or is this a bug?

RE: [Trinidad] tr:selectManyListbox inlineStyle=... contentStyle=... /

2007-06-15 Thread William Hoover
With you... Thanks for the clarification! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Matthias Wessendorf Sent: Friday, June 15, 2007 8:06 AM To: MyFaces Discussion Subject: Re: [Trinidad] tr:selectManyListbox inlineStyle=... contentStyle=... /

Re: [Trinidad] Custom Component UINodePropertyKey Missing

2007-06-15 Thread Matthias Wessendorf
are you creating the custom component w/ the maven-faces-plugin, like Trinidad does itself ? I think the UINodePropertyKey is deprecated, since it is from pre-jsf-days. -M On 6/15/07, William Hoover [EMAIL PROTECTED] wrote: I recently created a custom component that uses extended PropertyKey

RE: Help With Tomahawk and web.xml

2007-06-15 Thread weull
Changing the filter to map to *.faces give me this: ?xml version=1.0 encoding=UTF-8? !-- This is where Servlets are configured and mapped. -- web-app id=WebApp_ID version=2.4 xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;

[Trinidad] Custom Component UINodePropertyKey Missing

2007-06-15 Thread William Hoover
I recently created a custom component that uses extended PropertyKey using the new FacesBean.Type(SOME_EXT_COMPONENT.TYPE) and TYPE.registerKey(...) registering the all the needed type keys. All the properties have accociated getters/setters. Also, all of the extended properties are defined in

Re: [Trinidad] tr:selectManyListbox inlineStyle=... contentStyle=... /

2007-06-15 Thread Matthias Wessendorf
inlineStyle is for the root dom element, so you can style the *complete* area of the component. try: inlineStyle=background:red; and contentStyle is for the content of the component, here the rendered select / and its option childs. try contentStyle=background:green; -M On 6/15/07, William

RE: [Trinidad] Custom Component UINodePropertyKey Missing

2007-06-15 Thread William Hoover
Using Trinidad 1.0.0 The non-customized component contains the UINodePropertyKey. When stepping through StateUtils restoreKey(FacesBean.Type type, Object value) the _KeyList contains a list of UINodePropertyKey. It's using type.findKey(((Number) value).intValue()) to find the key from the

Re: Help With Tomahawk and web.xml

2007-06-15 Thread weull
Not sure if this helps or not, but I disabled the extension filter check and looked at the source in the debugger and found: _5FidJsp0_3A_5FidJsp1CalendarVar=new org_apache_myfaces_PopupCalendar(); _5FidJsp0_3A_5FidJsp1CalendarVar.initData.imgDir =

Re: Help With Tomahawk and web.xml

2007-06-15 Thread Mike Kienenberger
It's not set up correctly. The first filter mapping must point to the same thing as your faces servlet. The second filter mapping must point to a specific url: /faces/myFacesExtensionResource/* You can find the detailed directions for setting it up here.

Re: [Trinidad] how to trigger PPR manually

2007-06-15 Thread noah
On 6/14/07, Adam Winer [EMAIL PROTECTED] wrote: There's no publicly supported way to fire a PPR request now, but there will be once the XmlHttpRequest code is merged in. -- Adam Huzah! That will be good for us component developers :) If you're looking for a temporary hack that will almost

Re: Help With Tomahawk and web.xml

2007-06-15 Thread weull
I've redone the web.xml and copied from http://myfaces.apache.org/tomahawk/extensionsFilter.html verbatim, but I still get the java.lang.IllegalStateException: ExtensionsFilter not correctly configured. exception. Here is my new web.xml: ?xml version=1.0 encoding=UTF-8? !-- This is where

Re: [Trinidad] how to trigger PPR manually

2007-06-15 Thread Adam Winer
The XmlHttpRequest code has landed! Give the latest 1.0.2-SNAPSHOT a try. The method you want is currently: TrPage.getInstance().sendFormPost(theForm, params, headerParams); ... though that probably will change in a few ways before the final release of 1.0.2. -- Adam On 6/15/07, noah

Re: [Trinidad] Custom Component UINodePropertyKey Missing

2007-06-15 Thread Adam Winer
Have you overridden: protected FacesBean.Type getBeanType() to return your type? -- Adam On 6/15/07, William Hoover [EMAIL PROTECTED] wrote: Using Trinidad 1.0.0 The non-customized component contains the UINodePropertyKey. When stepping through StateUtils restoreKey(FacesBean.Type type,

Re: [Trinidad] how to trigger PPR manually

2007-06-15 Thread noah
On 6/15/07, Adam Winer [EMAIL PROTECTED] wrote: The XmlHttpRequest code has landed! Give the latest 1.0.2-SNAPSHOT a try. The method you want is currently: TrPage.getInstance().sendFormPost(theForm, params, headerParams); ... though that probably will change in a few ways before the final

RE: [Trinidad] Custom Component UINodePropertyKey Missing

2007-06-15 Thread William Hoover
I can't believe that I overlooked that! That was exactly what it was! Thanks Adam (Your the MAN!) -Original Message- From: Adam Winer [mailto:[EMAIL PROTECTED] Sent: Friday, June 15, 2007 12:12 PM To: MyFaces Discussion Subject: Re: [Trinidad] Custom Component UINodePropertyKey Missing

Re: Help With Tomahawk and web.xml

2007-06-15 Thread Mike Kienenberger
The web.xml file you posted below looks correct. I'd say it was a classpath issue but you previously posted that the generated html is pointing to the correct resources. Also, are you accessing your pages via a url ending .faces? Don't access the url using .jsp. On 6/15/07, weull [EMAIL

Re: [Trinidad] how to trigger PPR manually

2007-06-15 Thread noah
This is exciting. One more question: What if you wanted to write your own command component? How would you trigger an action with sendFormPost? On 6/15/07, Adam Winer [EMAIL PROTECTED] wrote: The XmlHttpRequest code has landed! Give the latest 1.0.2-SNAPSHOT a try. The method you want is

Re: Help With Tomahawk and web.xml

2007-06-15 Thread weull
The url I'm returning from my Spring controller is: /WEB-INF/jsp/welcome.faces Does it have something to do with the JSP being behind inside the WEB-INF? Mike Kienenberger wrote: The web.xml file you posted below looks correct. I'd say it was a classpath issue but you previously posted

Re: Help With Tomahawk and web.xml

2007-06-15 Thread Mike Kienenberger
No, having your jsp files inside WEB-INF should not matter. On 6/15/07, weull [EMAIL PROTECTED] wrote: The url I'm returning from my Spring controller is: /WEB-INF/jsp/welcome.faces Does it have something to do with the JSP being behind inside the WEB-INF? Mike Kienenberger wrote: The

Re: Help With Tomahawk and web.xml

2007-06-15 Thread Mike Kienenberger
One other thing you can try is to disable the extension filter check. Perhaps the errors that occur after that will provide more insight. context-param param-nameorg.apache.myfaces.CHECK_EXTENSIONS_FILTER/param-name param-valuefalse/param-value /context-param Here's another

Re: Help With Tomahawk and web.xml

2007-06-15 Thread weull
Awesome! It's working. Using the second context-param you gave me showed that I was missing the commons-lang-2.1 jar in my classpath. I added that jar, and it works like a charm! Thank you so much for your time Mike! Mike Kienenberger wrote: One other thing you can try is to disable the

Re: Help With Tomahawk and web.xml

2007-06-15 Thread Mike Kienenberger
Great! I thought it might be a classpath issue. Glad you got it it working. On 6/15/07, weull [EMAIL PROTECTED] wrote: Awesome! It's working. Using the second context-param you gave me showed that I was missing the commons-lang-2.1 jar in my classpath. I added that jar, and it works like

Re: Help With Tomahawk and web.xml

2007-06-15 Thread weull
Ack, I'm sorry, it seems to be a false positive... On closer inspection, it seems that none of the css/javascript is being loaded. Sticking this back into the web.xml: context-param param-nameorg.apache.myfaces.CHECK_EXTENSIONS_FILTER/param-name

Re: Help With Tomahawk and web.xml

2007-06-15 Thread Mike Kienenberger
Are you saying that none of the generated html has references to the extension filter resources (check the header in view source)? Or are you saying that the extension filter resources are not being served by your application? On 6/15/07, weull [EMAIL PROTECTED] wrote: Ack, I'm sorry, it

Re: Help With Tomahawk and web.xml

2007-06-15 Thread weull
The references look correct, the extension filter resources are not being served. Mike Kienenberger wrote: Are you saying that none of the generated html has references to the extension filter resources (check the header in view source)? Or are you saying that the extension filter

Re: Help With Tomahawk and web.xml

2007-06-15 Thread Mike Kienenberger
This is the entry that would control that !-- extension mapping for serving page-independent resources (javascript, stylesheets, images, etc.) -- filter-mapping filter-nameMyFacesExtensionsFilter/filter-name url-pattern/faces/myFacesExtensionResource/*/url-pattern

Re: Help With Tomahawk and web.xml

2007-06-15 Thread weull
I entered the following url into my browser: http://localhost:8080/webcore.base/faces/myFacesExtensionResource/org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader/11819395/calendar.HtmlCalendarRenderer/DB/close.gif and I was able to see the image. Mike Kienenberger wrote: This is

Re: Help With Tomahawk and web.xml

2007-06-15 Thread Mike Kienenberger
Well, if the app server is both generating the correct references to the resources and serving the resources, then I don't know what else to suggest. It must be something specific to your environment, or maybe has to do with Spring. On 6/15/07, weull [EMAIL PROTECTED] wrote: I entered the

Re: Help With Tomahawk and web.xml

2007-06-15 Thread weull
Here is what is the source of my JSP (generated by the t:inputCalendar): html head base href=http://localhost:8080/webcore.base/;/base /head body div style=position: absolute; top: 150.0em; left: 27.0em; right: 35px;

Re: [Trinidad] how to trigger PPR manually

2007-06-15 Thread Adam Winer
On 6/15/07, noah [EMAIL PROTECTED] wrote: On 6/15/07, Adam Winer [EMAIL PROTECTED] wrote: The XmlHttpRequest code has landed! Give the latest 1.0.2-SNAPSHOT a try. The method you want is currently: TrPage.getInstance().sendFormPost(theForm, params, headerParams); ... though that

Re: [Trinidad] how to trigger PPR manually

2007-06-15 Thread Adam Winer
One way is: var theForm = ... find my form through the DOM ... var clientId = ... the client ID of the component; TrPage.getInstance().sendFormPost(theForm, {source:clientId}); Then, on the server, in your decode, you'd just need to check if the source param was component.getClientId(), and