[ot] how to access a JS changed value on the server

2006-08-30 Thread Guy Katz
Hi all; When I change an attribute of a custom component via JavaScript. How can I access this changed attribute's value on the server side? Thanks in advance.

Re: RedirectTracker usage

2006-08-30 Thread Mario Ivankovits
Hi! http://issues.apache.org/jira/browse/TOMAHAWK-503 This patch is really meant to start discussions about ideas rather than be the actual implementation. But, again, it works. I plan to allow to add a REDIRECT_POLICY parameter which accepts a FQN-classname and two implementations for it:

Update of dataScroller

2006-08-30 Thread Igor Laberov
Hi, I have dataTable component with dataScroller. On the first load of the page, the table consists of 10 rows (number of rows on the page is also 10). No page numbers are shown in scroller (which is OK). After that user presses button, that takes him to other page where he adds new row. Then

valuechangelistener

2006-08-30 Thread Shibi Thomas
Hi Ineed to keep track of both the old valueand new valueina h:selectBooleanCheckbox. How do i do this using valuechangelistener?? -- Kind Regards Shibi ThomasRom 12:21Do not be overcome by evil, but overcome evil with good.

Re: [ot] how to access a JS changed value on the server

2006-08-30 Thread Andrew Robinson
Attributes aren't sent to the server. Create an input=hidden element, and when you change the value of the attribute, set the value of the hidden input to that value as well. Then retrieve the value from the hidden component on the server. On 8/30/06, Guy Katz [EMAIL PROTECTED] wrote: Hi all;

Re: tabChangedListener question

2006-08-30 Thread Jeff Bischoff
Jaya, this sounds like a new question and should go in its own thread. Please don't hijack another thread just because it discusses the same component. This will only lead to confusion. :) Danimal, perhaps rather than relying soley on debugging modes and breakpoints, you could try using some

Re: valuechangelistener

2006-08-30 Thread Jeff Bischoff
... You could do something like this in your valueChangeListener? public void checkboxValueChanged(ValueChangeEvent event) { Boolean oldValue = (Boolean)event.getOldValue(); Boolean newValue = (Boolean)event.getNewValue(); Boolean modelValue =

JspTilesViewHandlerImpl interpreted an css file on changing myfaces-tiles-example to path mapping

2006-08-30 Thread Ansi
Hi Actually I am trying to modify the offical myfaces-tiles-example loaded from http://www.marinschek.com/myfaces/tiki/tiki-pagehistory.php?page=Downloaddiff=15 After fixing a strange Bug with in the tiles.xml(a problem with the DTD, I fixed it by deleting the DTD) the app runs

howto select one in a datatable

2006-08-30 Thread Nicolas Kalkhof
hello folks,i wonder if there is a wayin myfaces/tomahawk to use a selectOneRow... somethingtag in a dynamic datatable. the reason behind my question is, i have a datatable containing inbox message header informationin a row (sender, date, subject,...). whenever i klick on one of the columns in

Re: howto select one in a datatable

2006-08-30 Thread Jeff Bischoff
Hello Nicolas, Please see our past discussion about this: datatable and selecting a row event [1] In the future, before posting please check the archive [2] to see if a question has already been discussed. If you have any further questions on the subject, we'll be happy to help. :) [1]

Tomahawk - panelNavigation2 with facelets

2006-08-30 Thread Kumar, Abhilash (Gok)
Hello: I am struggling to get the PanelNavigation with NavigationMenuItems (Dynamic) example working with Facelets. The problem is that the javascript function which will be called in the onclick of the div is not generated in the page. This problem appear only when I use the component with

Re: Exception running the build for Trinidad

2006-08-30 Thread Jeff Bischoff
Gah! The mailing list archive for this site has blocked out the links to the ADF mailings lists that you previously posted: ADF Faces User List -- this is the place to ask questions about using the ADF Faces components that are currently in incubation: [EMAIL PROTECTED] The Nabble

Where is sandbox.taglib.xml?

2006-08-30 Thread Ed
I am trying to use sandbox s:form but I cannot find sandbox.taglib.xml. Could someone tell me where is it? Thank you.

Using t:jscookmenu results in cmDraw is not defined error

2006-08-30 Thread Wally Hartshorn
Can someone explain to me the basics of how to setup t:jscookmenu? When I try to use it, instead of a menu, I get this JavaScript error: cmDraw is not defined I'm using MyFaces 1.1.3, Java 1.5, and Tomcat 5.5. My browser is Firefox 1.5 Here's the JSP code: t:jscookMenu layout=hbr

Re: Where is sandbox.taglib.xml?

2006-08-30 Thread Mike Kienenberger
There's a partial sandbox.taglib.xml file here: http://wiki.java.net/bin/view/Projects/FaceletsTaglibsMyfacesSandbox On 8/30/06, Ed [EMAIL PROTECTED] wrote: I am trying to use sandbox s:form but I cannot find sandbox.taglib.xml. Could someone tell me where is it? Thank you.

Re: howto select one in a datatable

2006-08-30 Thread Jeff Bischoff
There is also a s:selectOneRow tag in the sandbox, though there is not much documentation. There is this though: Enhancement for a data-table to select one Row with a radio button. The row-index is stored in the [value-binding] So this will only help you if using radio buttons. Otherwise,

Load appropriate page when switching between tabs

2006-08-30 Thread Jaya Saluja
Hi All, How do I load a new page when I change tabs? I have two tabs in the panelTabbedPane: switch and customer. I would like the appropriate page to be loaded when I change tabs. Thanks, Jaya

h:selectManyListbox + valuechangelistener not working

2006-08-30 Thread ved.gunjan
Hi Experts, Im having problem with implementing the valuechangelistener attribute of h:selectManyListbox. The problem is the controlis not getting into the valueChangeSelectManyListbox(ValueChangeEvent evt) method.I've put a debug on it, but some how it does not get inside the method.

WebLogic precompile error on t:panelLayout in Tomahawk 1.1.5

2006-08-30 Thread THIEN PHAM
Hi, I'm using WebLogic's JSP compiler to precompile a JSF page that contains something like this: f:view t:panelLayout id=page layout=classic /t:panelLayout /f:view The compile fails with Tomahawk 1.1.5 with this error: Error in using tag library uri='http://myfaces.apache.org/tomahawk'

Facet Object creation...

2006-08-30 Thread Jorge Vásquez
Hi, I´ve been searching for a class that extends from UIComponent, that is the one that implements the facelet element, since I have no idea on how to create a facet from java. For example to create an HtmlOuputText the procedure is the following : HtmlOutputText outputText =

Re: Selenium and Tomahawk Components

2006-08-30 Thread Werner Punz
Ok, Murat, sorry it took me a day longer, but I sent you the code give it a try, it should work with selenium since it uses standard command links as links in the menu. As for all others, please be patient, the renderer will be committet, but I have to do some fixup upfront to remove the one

RE: Facet Object creation...

2006-08-30 Thread Jorge Vásquez
One more thing, In case it helps I am referrint to the f:facet tag and I want to generate it from java: Ex.   f:facet name=searchableLibrariesFolder     h:panelGroup t:graphicImage value=#{node.iconOpen}   

RE: Load appropriate page when switching between tabs

2006-08-30 Thread Jaya Saluja
Hi All, I didn't get a reply. Did I explain the problem clearly or not? I am sure there must be a way. Thanks, Jaya -Original Message- From: Jaya Saluja [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 30, 2006 11:44 AM To: MyFaces Discussion Subject: Load appropriate page when

RE: Facet Object creation...

2006-08-30 Thread Hagen, Nicholas
Facets are just UIComponents that are stored on the parent in the facet map.  To add a facet to a component just do something such as: // Create Facet Component UIPanel panelComponent = (UIPanel) // create HtmlPanelGroup or whatever is the main child component of the facet // Add

RE: Facet Object creation...

2006-08-30 Thread Jorge Vásquez
Ok Nick, thanks a lot!!! Regards, JV De: Hagen, Nicholas [mailto:[EMAIL PROTECTED] Enviado el: miércoles, 30 de agosto de 2006 17:17 Para: MyFaces Discussion Asunto: RE: Facet Object creation... Facets are just UIComponents that are stored on the parent in the facet map.

RE: Load appropriate page when switching between tabs

2006-08-30 Thread ved.gunjan
Hi Jaya, I had the same problembut eventually i switched to simple css way of creating tags. Even i didnt get any reply for mypost Thanks Ved Jaya Saluja [EMAIL PROTECTED] wrote: Hi All,I didn't get a reply. Did I explain the problem clearly or not? I amsure there must be a

RE: Load appropriate page when switching between tabs

2006-08-30 Thread Dhananjay Prasanna
Hi You are talking about an Ajax action, and should look into an ajax JSF component library for achieving this. The standard tabbed pane from tomahawk does not support lazy-loading parts of the dom, I believe. Dhanji. -Original Message- From: Jaya Saluja [mailto:[EMAIL PROTECTED] Sent:

RE: question about custom components with heavy JS use

2006-08-30 Thread Dhananjay Prasanna
Title: question about custom components with heavy JS use If I understand your problem correctly, you cannot tell the state of the tree when refreshing the page? This is easily solved by updating the component during the post (example, tracking which nodes are expanded or collapsed as

RE: Tomahawk - panelNavigation2 with facelets

2006-08-30 Thread Kumar, Abhilash (Gok)
Hello : I have solved the problem. You have to add h:form tag around t:panelNavigation2 tag to make it work with facelets. Also, don't put he form tag outside the div tags because then the style is not applied correctly. Thanks and regards, -- Kannan -Original Message- From: Kumar,