tomahawk

Tomahawk and scrolling tabs

Hello, is there a tomahawk component, that enables "scrollable tabs"? What I mean is something for the following situation: If I have very many tabs, the tab-bar gets a little arrow on the side to scroll through all the open tabs (like in firefox). Is there a tomahawk component for creating something similar? ...

How to create conditions based on user role using JSF/MyFaces?

What options do I have to read the roles of the current user from my JSP pages? I'm aware of the visibleOnUserRole="myRole" attribute on Tomahawk components, but I need roles for a bit more complicated things than simple visibility. ...

Sun One Web Server 6.1 and Tomahawk

Hi guys, Do anyone know which version of tomahawk is suitable to use with Sun One Webserver 6.1? Thanks in advance, Alejo ...

Setting paginatorActiveColumnStyle in JSF Tomahawk

Hi %, I'm struggling with the paginatorActiveColumnStyle attribute of t:datascroller within JSF. Actually the system ignores values set to this property. I'm on the most recent LIB versions, just checked that. Does anyone know how to get this going? thx and best regards, Andras ...

Tomahawk datascroller next en previous

Hi guys Mr Noob here again; Im using tomahawks datascroller to page though data in a datatable. I have two facets, next and previous defined. I noticed that the as soon as there is data to be paged, that the next and previous buttons appear, regardless. ie, if you are on the fist page, previous is stil shown, and if you are on the last p...

File upload in weblogic portal

Hey I'm trying to get the tomahawk <t:inputFileUpload tag to work for jsf deployed on a weblogic portal. I've basically followed the example found here. but I'm having problems with the enctype on the form tag. <h:form id="welcomeForm" enctype="multipart/form-data"> When is include the enctype attribute in the form tag this means that...

How to print multiple results in row.

I have a requirement to print my list in two columns along with pagination. I am not able to figure out how will I get 2 records at a time from the list set in the datatable. ...

Does myfaces ExtensionsFilter change page encoding?

two days ago i started using tomahawk ExtensionsFilter components im my jsf application. i noticed that all javascript alerts were not displaying special characters (ç, ã, ó ô), it displays things like #231 instead. When i remove ExtensionsFilter from my web.xml file, javascript displays allright. Anybody had this issue before? thanks i...

Problem with expression language functions in Tomahawk tags

I'm using: Tomcat 6.0 Jsf 1.2 - Mojarra Implementation Tomahawk 1.1.9 I imported the taglib <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> when i call: <h:outputText value="#{fn:indexOf('ciao','i')}"></h:outputText> Output is 1 when i use <t:outputText value="#{fn:indexOf('ciao','i')}"></t:outputText> ...

JSF 1.1 and MyFaces Tomahawk 1.1.9

I am trying to use the calendar component from Myfaces Tomahawk. I am running JSF 1.1 with Tomahawk 1.1.9 and Websphere 6.1. Looks like JSF1.1 and Tomahawk 1.1.9 are not compatible as the following code does not work - <t:inputCalendar id="secondOne" monthYearRowClass="yearMonthHeader" weekRowClass="weekHeader" popupButtonStyleCla...

Uploading files with tomahawk - problem with displaying error message

Hello I'm uploading files with <t:inputFileUploadall is working fine but when file is larger from value set in web.xml it doesn't output any error or warning message. My code: <h:form id="uploadForm" enctype="multipart/form-data"> <t:inputFileUpload id="fileupload" accept="image/*" storage="file" ...

Create and show thumbnail (byte[]) in JSF

Hello I'm uploading image to server and when image is uploaded it should show me a thumb of uploaded image. Thumbnail is not saved on hard disc I use InputStream and OutputStream. For upload i'm ustig tomahawk. my index.jsp: <h:form id="uploadForm" enctype="multipart/form-data"> <t:inputFileUpload id="fileupload" accept="image...

Export the data into a PDF format with Tomahawk?

I my application i am trying to export the data from the into a PDF file using TomaHawk. While loading the page i am getting a Exception. i have Pasted my code and the Exception below. JSF Code <%@ page session="false" contentType="text/html;charset=utf-8"%> <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> <%@ taglib uri="...

Get a data from a web page into a PDF format using Tomahawk in JSF?

i am a newbie to JSf and Tomahawk Technology. In application i am having a datatable, i want store the information from he data table into a PDF format on a click of a button using Tomahawk and SandBox.Kindly Help. ...

How to apply style class for t:commandSortHeader in JSF?

In my application i am using t:commandSortHeader for sorting purpose, is it possible to change the default arrow thats is shown to some other image using styleClass attributes. If possible how to do that. Kindly help. ...

How to sort a data table if we are using <t:columns> in JSF?

Hi I am studying tomahawk, I just want to know if I generate a datatable using <t:columns> then how to sort the dataTable on the click on the header of that particular column, like we are using <t:commandSortHeader> in normal <t:column> attribute. Kindly Help. ...

How get Tomahawk functionality with JSF 2.0 (Glassfish V3)

I've started to upgrade an existing application written with JSF 1.1 and MyFaces Tomahawk 1.1 to JSF 2.0 to get facelets etc. I've now run into the snag that apparently Tomahawk is not JSF 2.0 compatible as it expects the stand-alone version of Facelets instead of the built-in to JSF 2.0 with the following error: org.apache.catalina....

Tomahwk treeSelectionListener Attribute

How to get the selected node values using t:treeSelectionListener attribute JSP Page: Listener Class: public class TreeBacker implements TreeSelectionListener { public void valueChanged(TreeSelectionEvent evt) { String node = evt.getComponent().getAttributes().get("value").toString(); } But this is giving "javax.el.PropertyNotFound...

JSF 2 partial form submission without ajax

I have an existing JSF 1.2 app that was a portlet running on glassfish v2. I'm converting it to a webapp running on glassfish v3. The app uses tomahawk subforms in several areas. Tomahawk has not been update for JSF 2, which is what ships with glassfish v3. We would like to update our app to JSF 2. Is there a JSF 2 equivalent to tom...

sort arrow is always showing up once sorting is used

We have several pages as tabs where datatable is used in most of the pages. When we sort on a particular coulmn and exit the page and re enter this page the arrow appears (up/down depending on how we exit the page). But the data is not sorted in the direction the arrow shows. I have set preserveSort and preserveDataModel to false. The ar...