Re: NoClassDefFoundError: freemarker/template/TemplateException (tomahawk-sandbox-1.1.7-Snapshot.jar)

2007-08-01 Thread Martin Marinschek
Sorry, it wasn't Cagatay of course, it was Jurgen who added the template rendering stuff. regards, Martin On 8/1/07, Martin Marinschek [EMAIL PROTECTED] wrote: Hi Svilen, obviously Cagatay had enabled the template rendering by default, whenever the sandbox was added to an application. I

Re: NoClassDefFoundError: freemarker/template/TemplateException (tomahawk-sandbox-1.1.7-Snapshot.jar)

2007-08-01 Thread Martin Marinschek
Hi Svilen, obviously Cagatay had enabled the template rendering by default, whenever the sandbox was added to an application. I suspect we should definitely do more testing before doing so. Can you open a jira-issue with the exception stack-trace you've encountered? In the meantime, I've

Re: NoClassDefFoundError: freemarker/template/TemplateException (tomahawk-sandbox-1.1.7-Snapshot.jar)

2007-08-01 Thread Svilen Ivanov
Martin, Thank you for the quick response! I'll try your quick fix first thing tomorrow morning when nightly build updates. Here is the ticket in the JIRA: https://issues.apache.org/jira/browse/TOMAHAWK-1070 Let me know if I should update/provide additional information. Regards, Svi 2007/8/1,

Re: [Tobago] How to provide source code modifications?

2007-08-01 Thread Helmut Swaczinna
Is there somewhere a template for this license grant? Helmut - Original Message - From: Bernd Bohmann [EMAIL PROTECTED] To: MyFaces Discussion users@myfaces.apache.org Sent: Tuesday, July 31, 2007 6:24 PM Subject: Re: [Tobago] How to provide source code modifications? Hello Helmut,

Re: Schedule tomahawk

2007-08-01 Thread ignicolist
Hi, this is my loadentries in SimplesScheduleModel.java, can i do this? Is this correct? Because it give me error. I want to know if this is the correct thing to do. protected Collection loadEntries(Date startDate, Date endDate) { Session session =

Problem using iframe?

2007-08-01 Thread Bjørn T Johansen
I use the following code in my jsp page..: htm:iframe src=#{sessionBean.vareURL} width=100% height=500 scrolling=auto/ and the iframe show what it should... The problem is that whereever I put this statement in my jsp code, the rendenering of the page stops after the iframe is shown... How do

Re: Schedule tomahawk

2007-08-01 Thread Jurgen Lust
Hmm, I think the getCurrentSession() will fail, because normally there is no hibernate session when you start a request. Also the transaction stuff isn't required, since it is only a read operation. Jurgen Op woensdag 01-08-2007 om 03:00 uur [tijdzone -0700], schreef ignicolist: Hi, this is my

Tooltip for each option in SelectOneMenu

2007-08-01 Thread Arvind Pandey
Hi !!! My requirement is to provide tooltip for every option in the SelectOneMenu because label of option is so large that its not possible to provide such a large size SelectOneMenu .So the label is cutting. Thats why i need tooltip to show the whole value on mouse over of the options in

RE: Problem using iframe?

2007-08-01 Thread sandeep gururaj
Try using ui:include component. ~Sandeep -Original Message- From: Bjørn T Johansen [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 01, 2007 5:16 PM To: users@myfaces.apache.org Subject: Problem using iframe? I use the following code in my jsp page..: htm:iframe

Re: Schedule tomahawk

2007-08-01 Thread ignicolist
Hi, first of all tks for your patience to me. i have this in loadEntries: private ArrayList scheduleItems = new ArrayList(); if(scheduleItems.size() =1){ scheduleItems.clear(); } if(scheduleItems.size() = 1){ scheduleItems.clear(); }

Re: [Trinidad] Page refresh on return from dialog

2007-08-01 Thread Simon Lessard
There's two ways, both are poor man's solution though. 1. Do a sendRedirect on the same page in your returnListener (you'll lose the messages and request scoped variables though, like any redirect); 2. Set a partialTriggers on the first component under trh:body (most likely tr:form) Regards,

NavigationHandler

2007-08-01 Thread MichaelWa
Can someone help me to understand the following piece of code. 1. I noticed that JSF will call NavigationHandlerImpl(NavigationHandler base) constructor instead of default NavigationHandlerImpl() why? 2. JSF also will send the instance of NavigationHandlerImpl as parameter when it calls

[Trinidad] Page refresh on return from dialog

2007-08-01 Thread sandeep gururaj
Hello All, I would like to know if anyone has any idea to refresh the complete page on returning from a dialog window. I have a tr:commandlink, on click of which a dialog window opens up, the necessary operation is performed and then the dialog is closed. At this point, I want to refresh the

Re: [Tobago] How to provide source code modifications?

2007-08-01 Thread Bernd Bohmann
Hello Helmut, in the attach file dialog is a checkbox for this. Bernd Helmut Swaczinna wrote: Is there somewhere a template for this license grant? Helmut - Original Message - From: Bernd Bohmann [EMAIL PROTECTED] To: MyFaces Discussion users@myfaces.apache.org Sent: Tuesday, July

[Tobago] parameter for detail links

2007-08-01 Thread Leonhard Holzer
Hello list, I use spring webflow together with tobago 1.0.11 on java 1.4. I have a sheet: tc:sheet value=#{tableSearchCriteria.tableList} columns=100px;70px;70px;70px;* var=row tc:column

Re: [Tobago] parameter for detail links

2007-08-01 Thread Zied Hamdi
Hi Helmut :-), Sorry Leo, I've forgot the third possibility which is explained by Helmut. In any case, you get the link current row through UIData.getRowData(). Regards, Zied 2007/8/1, Helmut Swaczinna [EMAIL PROTECTED]: Hi Leo, I use this line of code to get the param in the

Re: Schedule tomahawk

2007-08-01 Thread ignicolist
Hi, first of all tks for your patience to me. i have this in loadEntries: private ArrayList scheduleItems = new ArrayList(); if(scheduleItems.size() =1){ scheduleItems.clear(); } if(scheduleItems.size() = 1){ scheduleItems.clear(); }

RE: [Trinidad] Page refresh on return from dialog

2007-08-01 Thread sandeep gururaj
Thanks Simon, I tried the option-2. However, some components like f:param were not getting updated. Not sure why? Example (or some piece of code) for option-1 will be appreciated! Thanks. ~Sandeep From: Simon Lessard [mailto:[EMAIL PROTECTED] Sent:

Re: [Tobago] parameter for detail links

2007-08-01 Thread Volker Weber
Hi Leonhard, you need the value of the parameter in your action? Implement your actionListener like this: public void test(ActionEvent event) { String value = (String)ComponentUtil.findParameter(event.getComponent(), tableNameId); ... } Regards, Volker 2007/8/1, Leonhard

Re: NavigationHandler

2007-08-01 Thread Matthias Wessendorf
to make it clear, inside the handleNavigation(...) you can do soemthing like this, to override the default behavior: ... @Override public void handleNavigation(FacesContext context, String fromAction, String outcome) { if(home.equals(outcome)) { String viewId =/start.xhtml;

Re: MF1.2.0 + Facelets XML Parsing Error

2007-08-01 Thread Wolf Benz
Hi Werner, Bruno solved my problem yesterday: - I had a PageNotFound.jsp page but as you see, forgot to call it *.xhtml. (inherited extension of last project...) - The path in my faces-config was /resources/pages instead of /WEB-INF/resources/pages These 2 combined give: the loginPage gave a

Re: [Tobago] parameter for detail links

2007-08-01 Thread Volker Weber
Hi, i suppose to don't use binding if you can avoid it. At least you should never use a binding pointing to a session scoped bean. Regards, Volker 2007/8/1, Zied Hamdi [EMAIL PROTECTED]: Hi Leo, You sould use one of these two 1. tc:sheet binding=tableSearchCriteria.table 2.

Re: MF1.2.0 + Facelets XML Parsing Error

2007-08-01 Thread Matthias Wessendorf
so, your system is now running? Do you mind to put together a wiki page ? thx, Matthias On 8/1/07, Wolf Benz [EMAIL PROTECTED] wrote: Hi Werner, Bruno solved my problem yesterday: - I had a PageNotFound.jsp page but as you see, forgot to call it *.xhtml. (inherited extension of last

Re: MF1.2.0 + Facelets XML Parsing Error

2007-08-01 Thread Werner Punz
Hi wolf, just asking conincidentally did you call the page with xhtml extension, if yes, call it with the jsf extension, otherwise you wont trigger jsf or the facelets. Cheers Werner Wolf Benz schrieb: Hi Bruno, No, it's not, I just stripped a little too much in teh copy-paste to mail. :-)

Re: NavigationHandler

2007-08-01 Thread Matthias Wessendorf
On 8/1/07, MichaelWa [EMAIL PROTECTED] wrote: Can someone help me to understand the following piece of code. 1. I noticed that JSF will call NavigationHandlerImpl(NavigationHandler base) constructor instead of default NavigationHandlerImpl() why? 2. JSF also will send the instance of

Re: Schedule tomahawk

2007-08-01 Thread Jurgen Lust
Aha, I see your problem: you are returning a list of SelectItems, which is wrong: you need a list of ScheduleEntry. You can find the source of ScheduleEntry here:

Re: [Trinidad] Page refresh on return from dialog

2007-08-01 Thread Simon Lessard
Hello, However, some components like f:param were not getting updated. Not sure why? Strange... Example (or some piece of code) for option-1 will be appreciated! In the page: tr:commandButton partialSubmit=true useWindow=true returnListener=#{ myBean.redirectToSelf}/ In MyBean.java public void

Re: Tomahawk and SaveState

2007-08-01 Thread song
I also encounter a problem like this :i request the page,shou correct,when i submit the page,rase an error. jsf page: h:selectManyListbox id=teams value=#{UserForm.userTeamIds} f:selectItems value=#{UserForm.userTeamMap}/ /h:selectManyListbox backing bean : public class UserForm {

Re: [Tobago] parameter for detail links

2007-08-01 Thread Leonhard Holzer
I realized the solution with the actionListener. This are short snapshots of the solution: I need the parameter as input parameter for a spring subflow with the following definition: subflow-state flow=describeTable-flow id=describeTable attribute-mapper input-mapper

Re: [Tobago] parameter for detail links

2007-08-01 Thread Zied Hamdi
Hi Volker, I didn't know about that! does a session scoped bb hold old bindings, or why shouldn't we use binding in that case? Is it because of the tree view serialization when dormant? I though binding is the best way to be in touch with the view and get user entries efficiently... Regards,

Re: Using t:saveState and serialization

2007-08-01 Thread Andrew Robinson
Serialize the model and the state, but not the component. On 8/1/07, kewldude [EMAIL PROTECTED] wrote: This is my situation, I have a t:tree2 component that has a treeBacker class at the back end. I'm using t:saveState to save the state of the treeBacker object. My problem right now is I

Problem using dataScoller in Combination with dataModel

2007-08-01 Thread Mohammed Abrach
ich habe eine Liste, die 30 Objekten enthällt. ich darstelle sie mit hilfe von t:dataTable und lässe 10 Objekte pro Seite anzeigen und mit hilfe von t:datascroller kann ich durch die Seiten navigieren. das läuft reibungslos. meine List ist vom Typ Arraylist. I've got a List with 30 Objects

[Trinidad] forbidden binding names

2007-08-01 Thread Renzo Tomaselli
Hi, I just discovered that there are a number of names which cannot be used for binding iterating component variables - such as in tr:table. In short, I needed to render a set of parameters in a tr:table, so that it seemed obvious to me setting var=param. But the table was rendered empty, event

Re: [Trinidad] forbidden binding names

2007-08-01 Thread Simon Lessard
That's a nice issue, and we have no way to provide all the reserved names either... I guess the best we could do is alter the parameter description to mention that it must not take the value of any predefined object and should not take the name of a managed bean either. Anyone see a better

Re: Problem using iframe?

2007-08-01 Thread Bjørn T Johansen
I found the problem, it was a bug in htmLib but thx... BTJ On Wed, 1 Aug 2007 18:38:23 +0530 sandeep gururaj [EMAIL PROTECTED] wrote: Try using ui:include component. ~Sandeep -Original Message- From: Bjørn T Johansen [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 01, 2007

Re: [Trinidad] forbidden binding names

2007-08-01 Thread Renzo Tomaselli
Well - I admit was a bit unlucky to meet one of them - but after all calling "param" a parameter shouldn't be too naif. In the context of iterating components - param, header, cookie and view might be dangerous names. All the others are quite unlikely to be used this way. Hopefully this game

Re: [Trinidad] forbidden binding names

2007-08-01 Thread Adam Winer
Well, we do know the predefined objects: pageContext servletContext session request response param paramValues header headerValues cookie initParam pageScope requestScope sessionScope applicationScope facesContext view Plus in Trinidad requestContext pageFlowScope/processScope All of these are

Re: [Trinidad] forbidden binding names

2007-08-01 Thread Martin Marinschek
Well, I know from earlier tests that setting var=person if you have a scoped bean named person will bring you into trouble as well - so this is not only related to the predefined values. regards, Martin On 8/1/07, Renzo Tomaselli [EMAIL PROTECTED] wrote: Well - I admit was a bit unlucky to

Re: [Trinidad] forbidden binding names

2007-08-01 Thread Simon Lessard
Well, we could have a Set for the JSP predefined values as well as JSF ones, but the problem is still going to happen when/if there's another unknown Variable/ELResolver installed. So, we do know the standard predefined objects, but not library predefined ones (except for Trinidad of course),

Re: Using t:saveState and serialization

2007-08-01 Thread Andrew Robinson
Just use: private transient HtmlTree tree; Since the component is saved in the component tree, there is no need to serialize it with the backing bean. On 8/1/07, kewldude [EMAIL PROTECTED] wrote: Hi Andrew, I dont know if I understood you, but this is how my code looks right now. t:tree2

Re: Schedule tomahawk

2007-08-01 Thread ignicolist
Hi again, but i cant make it! :-(( i have this: private ArrayList scheduleItems = new ArrayList(); List scheduleResult = session.createQuery(select s.id, s.description, s.comments, s.endTime, s.startTime, s.subtitle, s.title, s.isAllDay from + Schedule as s).list();

Determining which row in a table was clicked

2007-08-01 Thread Hannum, Daniel
(This relates to Trinidad/ADF, but may be of interest to general users) I have a table backed by a list. Each row in the table becomes a link and all the links fire the same action method in my backing bean. I would like a way to know which row in the list I clicked the link of af:table

How to use tomahawk dataTable binding attribute to Iterate the data

2007-08-01 Thread rosanil
Hi, Can I use binding attribute of tomahawk datatable to iterate over the data. I have the data in arraylist. I am thinking of using binding attribute (if possible) to show the data so that I dont have to repopulate arraylist between multiple requests. Thanks in advance! -- View this message

How to evaluate values set with JSTL-Core-tag 'set' with JSF

2007-08-01 Thread Christian Nolte
Hi! I have the following problem: I have to evaluate values which have been set using JSTL-Core-tags like set or forEach using JSF-Tags like outputText to output them. The situation is like this: -- test.jsp: !-- ... -- jsp:useBean id=bean class=de.fhbswf.emaex.web.TestBean / c:set var=test

RE: Determining which row in a table was clicked

2007-08-01 Thread Hannum, Daniel
I'm an idiot. I have since learned that getRowData is the correct method to use, and sure enough there is a .getRowData() on that line, after about 200 spaces, so I didn't see it. Here's to using code formatters. From: Hannum, Daniel [mailto:[EMAIL

ajax4jsf onchange event doesnt reRender Textfield

2007-08-01 Thread bansi
When the page loads the textfield is disabled i.e. non-editable. It should be editable only thru onchange event of other component Here is the snippet h:selectOneMenu id=assetMgmt value=#{deviceBean.selectedAsset} f:selectItem itemLabel=

Re: How to evaluate values set with JSTL-Core-tag 'set' with JSF

2007-08-01 Thread Bryan Basham
By default the JSTL c:set tag stores the attribute in the PAGE scope. However, JSF does not know about the PAGE scope. If you really need to use c:set then specify: scope='REQUEST'. -Bryan Christian Nolte wrote: Hi! I have the following problem: I have to evaluate values which have been set

Making datatable header fixed

2007-08-01 Thread Sharath Ambati
Hi I am trying to create a JSF DataTable with a Scroll Bar Option (instead of Pagination Control). If i place the datatable in between div tag for example DIV style=overflow:auto; width:100%; height:200px datatable/datatable /div tags it supports scrolling. But I am unable to fix the table

[TRINIDAD] JavaScript error with inputDate popup

2007-08-01 Thread Simon Lessard
Hello all, I'm getting a strange JavaScript error with the latest 1.2 build (cannot really test it with 1.1) with client validation disabled. I cannot chose a date from the date picker because of the following JavaScript error that happens in both MSIE 7 and Firefox 2: _dfs is not defined (line

Re: ajax4jsf onchange event doesnt reRender Textfield

2007-08-01 Thread Andrew Robinson
do you have any faces messages as a result of changing the menu (conversion error, validation message, etc.)? On 8/1/07, bansi [EMAIL PROTECTED] wrote: When the page loads the textfield is disabled i.e. non-editable. It should be editable only thru onchange event of other component Here is

Re: NavigationHandler

2007-08-01 Thread MichaelWa
Thank you ... that helps... Michael Matthias Wessendorf-4 wrote: On 8/1/07, MichaelWa [EMAIL PROTECTED] wrote: Can someone help me to understand the following piece of code. 1. I noticed that JSF will call NavigationHandlerImpl(NavigationHandler base) constructor instead of default

Re: [TRINIDAD] JavaScript error with inputDate popup

2007-08-01 Thread Simon Lessard
Hmmm, ok I solved my problem. It happened because I hooked all the getConverter methods and stupidly returned null for the date component. However, I don't think client validation code should fail like this, although I don't have any idea how to make it react better... Any opinion? Simon On

Re: Making datatable header fixed

2007-08-01 Thread Cagatay Civici
Hi, There's an example datatable with builtin scrolling functionality here, maybe it helps; http://www.nightdev.devisland.net/yui4jsf-examples/datatableScrollable.jsf Regards, Cagatay On 8/1/07, Sharath Ambati [EMAIL PROTECTED] wrote: Hi I am trying to create a JSF DataTable with a

1.1.7 source? ConversationTag details?

2007-08-01 Thread Roger Alix-Gaudreau
Hi Everyone, I am interested in getting more information about the ConversationTag stuff that I saw on the components Wiki page (http://wiki.apache.org/myfaces/MyFacesComponents). The description of what it does is exactly the kind of thing I need to solve a problem in my application - I need

Trinidad skin: referencing an external CSS file

2007-08-01 Thread amurguia
Hello! I'm currently skinning some applications using Trinidad and I have a problem. Currently if I want a change in my skin, I have to copy the updated CSS file in every web-module. I'd like to avoid this having only one CSS file that can be used by every module. For example, using something

Re: 1.1.7 source? ConversationTag details?

2007-08-01 Thread Martin Marinschek
Hi Roger, as Mario is on vacation, may I point you to Apache MyFaces Orchestra - the successor of the s:conversation-tags, which uses Spring, though. http://myfaces.apache.org/orchestra/ regards, Martin On 8/1/07, Roger Alix-Gaudreau [EMAIL PROTECTED] wrote: Hi Everyone, I am

Logging level

2007-08-01 Thread Kevin R. Gutch
How is the logging level for MyFaces set? I only want to print SEVERE not WARNINGS and INFO. Thanks Kevin begin:vcard fn:Kevin Gutch n:Gutch;Kevin org:Protech Products, Inc;IT adr:;;511 Central Park Drive;Sanford;FL;32771;United States email;internet:[EMAIL PROTECTED] title:Interactive

Re: Logging level

2007-08-01 Thread Martin Marinschek
Hi Kevin, include a log4j.properties file in the root-directory of your class-tree. In include a sample log4j-file here - which will print only log-statements of a level error or higher. regards, Martin #for debugging log4j itself log4j.debug=false #Logger-Priorities: #DEBUG lowest, prints

[Trinidad] faces-config.xml error: Document is invalid: no grammar found.

2007-08-01 Thread Jessica Johnson
Hi all, I am trying to install Trinidad for the first time and am running into problems whenever I try to add trinidad-impl-*.jar. I have tried both trinidad-1.0.1 and trinidad-1.2.1 with the same results...Tomcat gives me an error when attempting to deploy my application. Does anyone have an

Re: Logging level

2007-08-01 Thread Kevin R. Gutch
ok thanks. Will do Martin Marinschek wrote: Hi Kevin, include a log4j.properties file in the root-directory of your class-tree. In include a sample log4j-file here - which will print only log-statements of a level error or higher. regards, Martin #for debugging log4j itself

RE: [Trinidad] Page refresh on return from dialog

2007-08-01 Thread sandeep gururaj
Thanks very much. You solved my problem:-) ~Sandeep From: Simon Lessard [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 01, 2007 8:10 PM To: MyFaces Discussion Subject: Re: [Trinidad] Page refresh on return from dialog Hello, However, some components

Re: [Trinidad] faces-config.xml error: Document is invalid: no grammar found.

2007-08-01 Thread Adam Winer
What version of MyFaces Core are you using? Also, are you behind a firewall? -- Adam On 8/1/07, Jessica Johnson [EMAIL PROTECTED] wrote: Hi all, I am trying to install Trinidad for the first time and am running into problems whenever I try to add trinidad-impl-*.jar. I have tried both