tomahawk « Development « JSF Q&A

32.Web Service
JSF Q&A » Development » tomahawk 

1. Tomahawk and scrolling tabs

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 ...

2. 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 ...

3. 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 ...

4. Create and show thumbnail (byte[]) in JSF

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. ...

5. 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 ...

6. How to configure tomahawk and trinidad to work together

I am new to JSF. I want to use inputListOfValues component from Trinidad in my application which also uses Tomahawk. I have added the required jars for Trinidad and before getting inputListOfValues ...

7. Need a scrollable tomahawk table with fixed header

I have used t:commanSortHeader in my table and i need that table to have a fixed header and that table should be scrollable. suggest me a solution

8. Code picks up value from selectOneMenu and selectBooleanCheckbox, even though it is not rendered

I've got code the following code in my .xhtml

<t:panelGroup rendered="false">
  <t:selectOneMenu id="id" value="#{row.someValue}" displayValueOnly="#{form.readState}">
        <f:selectItems value="#{row.listOfValues}"/>
The listOfValues is set in a ...

9. t:commandSortHeader not being styled

I've got the following JSF:

<t:column styleClass="cb-status-column">
    <f:facet name="header"> 
        <t:commandSortHeader columnName="externalStatus" styleClass="cb-status-column">

11. tomahawk jar not getting loaded weblogic portal 10.3

I have made a jsf 1.1 portlet in weblogic 10.3, but in one scenario I need tomahawk library help. I just dropped the jar file and supporting ones in lib folder ...

12. changing countries in t:selectOneCountry

I am using t:selectOneCountry to show a country list with JSF 1.2. My quesion has two parts:

  1. Can I filter a specific country from the list?
  2. Can I change the title of ...

13. JSF - Pagination implementation using Tomahawk

I am trying to implement Pagination in JSF using Tomahawk. When the page is loaded, the table in the first page is populated with data. But, when I click on Next ...

14. tomahawk inputfileupload uplodaed file is null

I am using Tomahawk's fileupload component <t:inputfileupload> for uploading files. I've set enctype of form as

and I used <h:commandButton> to submit the form. But the UploadedFile property in the bean ...

15. JSF include problem menu related

I am trying to implement menus in JSF which I was able to do it. menucontents.jsp:

<%@ taglib uri="" prefix="f" %>
<%@ taglib uri="" prefix="t" %>
<%@ taglib uri="" prefix="h" %>
  <meta HTTP-EQUIV="Content-Type" CONTENT="text/html;charset=UTF-8" ...

16. JSF Menus not getting displayed

I am having menu.jsp the contents are as follows

<%@ taglib uri="" prefix="f" %>
<%@ taglib uri="" prefix="t" %>
<%@ taglib uri="" prefix="h" %>
  <meta HTTP-EQUIV="Content-Type" CONTENT="text/html;charset=UTF-8" />
  <title>MyFaces - the free ...

17. Apache Tomahawk FileUpload Not Working

I am having an issue with Apache Tomahawk - Glassfish 3.0.1 keeps logging:

WARNING: JSF1064: Unable to find or serve resource, inputFileUpload.xhtml, from library, org.apache.myfaces.custom.
I have the following libraries included ...

18. Tomahawk Input Calendar is showing in the wrong position

We changed the template of the page, and afterwards the calendar popup started to appear away from the button. The component configuration is:

<t:inputCalendar value="#{ConsultaDiarioForm.dataInicio}"  renderPopupButtonAsImage="true" renderAsPopup="true" popupWeekString="Semana" size="10"    ...

19. JSF - tomahawk t:panelGrid styling


     <t:panelGrid columns="4">
It dynamically generates plain old HTML table with ...

20. JSF File Download Chooser

In any of the JSF libraries, is there any component which works just opposite to <t:inputFileUpload>, to select the folder (@ client machine) and download a predefined file from ...

21. How to show size limit exceeded for Tomahawk FileInput control

I am using <t:inputFileUpload /> control of the Tomahawk library with JSF1.1. My Extension Filters and form are set accordingly to allow a file of max-size 3 MB to be uploaded. But ...

22. Need to set value of inputCalendar element to current day

I need to automatically set the value of my inputCalendar element to the current date yet still allow the user to click on the popup calendar to change the value if ...

23. JSF: f:ajax listener not called for t:selectOneRadio

This is my code:

<t:selectOneRadio id="someId" layout="spread" forceId="true" forceIdIndex="false" value="#{someHandler.value}"  required="true">
                <f:selectItems value="#{someOtherHandler.values}" var="item" itemLabel="#{}" />

24. How to re-render a ?

I try to re-render a <t:selectManyCheckbox layout="spread">. However, it does not re-render. The Ajax call:

    <h:selectBooleanCheckbox value="#{}">
        <f:ajax listener="#{handler.toggleItems}" render="items" />

25. Is Tomahawk12 tld valid?

I'm using Tomahawk12-1.1.10 with Mojarra JSF 1.2_04. When I try to use:

<t:dataList id="someId" rowKey="key" var="item" value="#{myBean.listOfItems}">
     <t:selectBooleanCheckbox id="" .../>
I am getting the following error:
Attribute rowKey ...

26. How to add a progress listener to t:inputfileupload?

so far my attempt here is the jsp part

 <h:form id="fileUploader" enctype="multipart/form-data" target="upload_target" >
            <h:panelGrid columns="4" width="100%">

27. Alternative to t:selectOneRadio layout="spread"

I don't often have need for tomahawk components anymore since jsf 2.0 provides great selectOneMenu support and most of other functionality I used to use them for, but when it comes ...

28. JSF rerender problem: two selectOneMenu rerender each other to a loop and just one rerender the other

I have two t:selectOneMenu. When one is changed the setter calls to the other and in the end just one of them is re-rendred. JSF:

<f:subview id="b">
    <t:selectOneMenu ...

29. expand/collapse a record view using JSF1 - tomahawk implementation

can any one help me how to do with expand/collapse view of a record using JSF1 - tomahawk implementation. I found in few blogs that this can be done with 'varDetailToggler' attribute ...

30. Alternating row color using tomahawk dataList

I am using MyFaces 1.2 along with Tomahawk for some additional components. For this particular page, I needed to use a dataList (instead of a dataTable) because I for every ...

31. problem in using

I have followed this tutorial from BalusC for FileUpload. but setter isn't getting called

32. JSF 2.0 , How to vertically allign children of tomahawk datalist

I am using t:datalist with JSF 2.0 to allign images horizontally . But i would like to list the properties of each image below the image vertically.Now the properties are also ...

33. How to upload files in JSF 1.1?

I want to upload files in a JSF 1.1 project. JSF 1.1 doesn't support RichFaces file upload. I looked at Tomahawk, but I don't know how to use Tomahawk. Can anybody ...

34. f:ajax not working with tomahawk forceId="true"

Do the JSF 2.0 f:ajax control work with the tomahawk 'forceId = true' attribute ?

35. Show/Download txt or csv file with commandLink and Tree2 tomahawk JSF

I have a tree (tree2 tomahawk 1.1.11) that shows a list of dirs and files. When I click on a file I would like to show the download dialog to let ...

36. Ajax render of Tomahawk t:tree2 only renders the first node and child nodes are not expanded

I have a form with a selectOneMenu and when I select the third "Visualizar todos los archivos" I want to render a <t:tree2>. All this is using Ajax to render the ...

37. Problem with tomahawk Tree Table

lolonantes lolonantes Welcome to Javaranch. We don't have too many rules around here but we do have a Naming Policy. Please read this and adjust your display name accordingly. Also, it's not very polite to highjack a thread. That is to say, someone asked a question and you have asked a question that is not really relivent to the discussion. Feel ...

38. Tomahawk Tabbed Panes

39. Tomahawk Tabbed Pane colors and Font

40. Tomahawk Tabbed Pane problem

42. How does tomahawk Tab comp work

Hi guys! I have a situation here. The simplified code is as follows: I am using the tomahawk components here. Here i have two textboxes whose ...

44. tomahawk popup problem

Hi, i am using tomahawk popup (t opup). i am showing a small popup window when mouseover above a link. After entering all fields in my form and submitting form. its started progress and in web browser, its started progress. in that time i am again mouse moving on the link and the progress bar in the browser stoped. but background ...

46. Tomahawk tree2 problem

47. tomahawk not working with SUN JSF RI

48. Tomahawk Calendar

49. Closing a Tomahawk popup manually?

50. tomahawk NewspaperColumns

Hi everyone, I am using Tomahawk Extended_datatable to render nested lists for display. I am using Tomahawk 1.1.7_Snapshot verion (latest nightly build). My requirement is to display the table horizontally and apparently, using Tomahawk datatable's newspapercolumns should display horizontally. But the newspapercolumns does not take dynamic value using EL expression; it onlys works on static value. The current version of Tomahawk ...

51. Tomahawk vs Trinidad

52. Cannot use tomahawk with weblogic

53. tomahawk t:tree2 doubt

Hi again Joshua, Not that I know of. But if it turns out that it's not possible, you could always set the showLines attribute to false and use an image instead, just before your node.description... Make the image a longer line... Mm, that would work, but I spose then you'd have the problem of your first node also having a long ...

54. tomahawk inputCalendar

55. How to use taglib of tomahawk

56. JSF- tomahawk calander problem

58. Tomahawk file upload problem

59. JSF tomahawk file upload problem

60. JSF Tomahawk File Upload Issue

61. JSF Tomahawk File upload problem calculating image file size

Hi All, currently i am working on File Upload functionality in JSF + Tomahawk. I got a new requirement where i need to display file size as soon as user clicks on "Browse" button and selects the file. I am using .... I tried with the following approach but its not working. i used "onchange" event on and invoking the ...

63. Usage of Tomahawk SourceCodeServlet

The SourceCodeServlet is used to serve the source code (jsp) as a html page. For Example : This is what the servlet does:- (Nothing fancy) public void doGet(HttpServletRequest req, HttpServletResponse res) throws IOException, ServletException { String webPage = req.getServletPath(); // remove the '*.source' suffix that maps to this servlet int chopPoint = webPage.indexOf(".source"); webPage = webPage.substring(0, chopPoint - 1); webPage ...

64. Tomahawk tree2 example

Hi, I am relatively new to JSF. I need to to fix an application which uses the tomahawk tree2 component. To understand the problem I want to build a simple example from scratch which implements a tree for navigation. However I have not found a complete example or good documentation for this. Does anybody know an example application? I am esp. ...

65. TOMAHAWK t:inputCalendar java script problem popup