Re: Postback

2008-05-08 Thread arne anka
by allowing you to define parameters as part of the url path. I do not know a direct link to the pretty url solution. Hope it helps, Guy. -Original Message- From: arne anka [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 07, 2008 5:21 PM To: MyFaces Discussion Subject: Re: Postback Hi Guy

tr:table resp tr:column: rowspan

2008-05-08 Thread arne anka
hi, i want to show some data in a tr:table, three columns but the 3d with rowspan=x where x is the number of rows the table gets. ie something like table trtdA/tdtdB/tdtd rowspan=3C/td/tr trtdD/tdtdE/td/tr trtdF/tdtdG/td/tr /table is there any way to do that? thx

Re: Postback

2008-05-07 Thread arne anka
Hi Guy, thanks. maybe i am too stupid -- but i still don't see how you realize your bookmarkable urls ...

Re: pretty url -- wrong name in js

2008-05-07 Thread arne anka
Have a look at getActionURL. You can create your own ViewHandlerWrapper and create your own action URLs for the passed in view IDs: that kind of works -- but now all other links do not work, most notably jscookmenu is dead.

Re: pretty url -- wrong name in js

2008-05-07 Thread arne anka
to make it short and sweet: isn't there a working example of a custom viewhandler where i can look into the code? my english isn't that good and i am not sure about the terminologies -- so i am afraid it will become a long and straining discussion ... the long part: i wrote a servlet that

Re: scrollableDataTable in tomahawk

2008-05-06 Thread arne anka
does dataTable match your definition of scrollable? see http://www.irian.at/myfacesexamples/dataScroller.jsf regards

Re: [Trinidad] tr:inputText styleClass problem

2008-05-06 Thread arne anka
i'd think you need either to overwrite af_inputText_content or to use something like r1_table_input_text.input in your css ...

Re: Postback

2008-05-06 Thread arne anka
hi, could you post your solution? i'm struggling with a similar problem. thx On Tue, 06 May 2008 18:54:42 +0200, Guy Bashan [EMAIL PROTECTED] wrote: Hi Simon, I was trying Andrew's on-load phase listener and it seems to be working fine. Thanks. -Original Message- From: [EMAIL

pretty url -- wrong name in js

2008-05-02 Thread arne anka
hi, after some research regarding pretty urls i found both http://blogs.steeplesoft.com/jsf-phaselisteners-and-get-requests/ and http://wiki.apache.org/myfaces/InvokingJsfPagesWithStandardUrls i tried the second approach first (servlet) and instead of invoking the NavigationHandler i did a

facelets: navigation for specific url

2008-04-30 Thread arne anka
hi, firstly, i am not sure how far this is facelets related -- but atm the navigation works by calling specific jsf-pages (ie search.jsf). what do i want? i want to present my pages by an url like http://foo.bar/document_001 so users can easily bookmark this url and return to it. searching

Re: facelets: custom component and custom converter

2008-04-25 Thread arne anka
well, but (xmlns:h=http://java.sun.com/jsf/html;) h:outputText value=foobar converter=contentConverter/ works. and h:outputText value=foobar converter=#{contentConverter}/ does not. my:component value=foo converter=contentConverter / Is definitely nod valid syntax. The converter must

Re: facelets: custom component and custom converter

2008-04-24 Thread arne anka
? If you could provide a small code snippet from the facelet and the component that it uses that would help. -Andrew On Wed, Apr 23, 2008 at 11:31 AM, arne anka [EMAIL PROTECTED] wrote: snippet from faces-config.xml: converter description /description display

Re: facelets: custom component and custom converter

2008-04-24 Thread arne anka
Example, instead of: writer.write(brFoo/br); do the following writer.beginElement(br, null); writer.write(Foo); writer.endElement(br); well, it was only a snippet modified in the mail editor --and as usually one introduces errors at those occasions ;-) i assure that i am using

facelets: custom component and custom converter

2008-04-23 Thread arne anka
hi, i got my custom component (faclets based, not tomahawk or trinidad, extending UIOutput) working so far -- but my converter is not executed. if i attribute the converter to, say, h:outputText it works, so it seems to be ok. my idea is, because i use my own rendere (getRendererType()

Re: facelets: custom component and custom converter

2008-04-23 Thread arne anka
converter On Wed, Apr 23, 2008 at 7:20 AM, arne anka [EMAIL PROTECTED] wrote: hi, i got my custom component (faclets based, not tomahawk or trinidad, extending UIOutput) working so far -- but my converter is not executed. if i attribute the converter to, say, h:outputText it works, so it seems

Re: facelets: howto for writing custom components

2008-04-21 Thread arne anka
hi, but now i need to know, how exactly i do force attributes to be set You could simply output some kind of error message if a required value is not present. well, i could, of course, but i thougt there was some kind of mechanism i only need to hook into ... and, more important, how

WARNING: Graphic with id _id43:_id45 has no value (url).

2008-04-18 Thread arne anka
hi, i get a lot of messages of this sort. looking into the rendered code always reveals that there is no such element with id _id43:_id45 (usually only _id43) -- how is one supposed to know which element is meant? thanks in advance.

Re: trinidad: combining trinidad and tomahawk

2008-04-18 Thread arne anka
together. In case of the jscookmenu, i guess that the resource can not be found because it is not delivered. cheers, Gerald On Wed, Apr 16, 2008 at 4:09 PM, arne anka [EMAIL PROTECTED] wrote: hi, how do i combine trinidad and tomahawk in one project? apache.org is rather silent about both

Re: Tag Library supports namespace: http://myfaces.apache.org/tomahawk

2008-04-18 Thread arne anka
i use myfaces 1.1.5, tomahawk 1.1.6 and tomhawk-facelets from google.com and it works tomahwak.jar at tomcat, tomahawk-taglib.jar in WEB-INF (i get SEVERE: You are using the MyFaces-package : tomahawk in different versions; first (and probably used) version is : 1.1.6, currently

Re: Tag Library supports namespace: http://myfaces.apache.org/tomahawk

2008-04-18 Thread arne anka
what tag exactly do you use? the taglib knows selectBooleanCheckbox and selectManyCheckbox. On Fri, 18 Apr 2008 13:21:04 +0200, arne anka [EMAIL PROTECTED] wrote: i use myfaces 1.1.5, tomahawk 1.1.6 and tomhawk-facelets from google.com and it works tomahwak.jar at tomcat, tomahawk

facelets: howto for writing custom components

2008-04-18 Thread arne anka
hi, after a lot of trial and error, because none of the howtos i found was complete, i finally figured out how to write a custom component. but now i need to know, how exactly i do force attributes to be set and, more important, how i do access components in the body of my component. ideally

Re: Tag Library supports namespace: http://myfaces.apache.org/tomahawk

2008-04-18 Thread arne anka
, arne anka [EMAIL PROTECTED] wrote: what tag exactly do you use? the taglib knows selectBooleanCheckbox and selectManyCheckbox. On Fri, 18 Apr 2008 13:21:04 +0200, arne anka [EMAIL PROTECTED] wrote: i use myfaces 1.1.5, tomahawk 1.1.6 and tomhawk-facelets from google.comand it works

Re: Tag Library supports namespace: http://myfaces.apache.org/tomahawk

2008-04-18 Thread arne anka
then he needs to extend the taglib.xml and to add a handler, i'd say ... On Fri, 18 Apr 2008 16:39:13 +0200, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: t:checkbox definitely exists in Tomahawk: http://myfaces.apache.org/tomahawk/tlddoc/index.html arne anka schrieb: well, my taglib does

Re: trinidad: disable debug output

2008-04-17 Thread arne anka
nope, doesn't change a bit. thanks anyway. On Wed, 16 Apr 2008 20:36:53 +0200, Leonardo Uribe [EMAIL PROTECTED] wrote: context-param param-namefacelets.DEVELOPMENT/param-name param-valuefalse/param-value /context-param context-param

trinidad: combining trinidad and tomahawk

2008-04-16 Thread arne anka
hi, how do i combine trinidad and tomahawk in one project? apache.org is rather silent about both the relationship of trinidad and tomahawk (do they complete each other? does one supersed the other?) and the way how to use both together. either the jscookemenu does not work (js errors) or i

trinidad: disable debug output

2008-04-16 Thread arne anka
hi, i play around with tr:table and when hitting the next XX link, a lot of output, apparently xml response from ppr, is written to stdout/stderr. this makes it very hard to read the messages i am interested in -- so, does anybody know how to disable this? context-param

Re: Tomahawk rendering problem

2008-04-16 Thread arne anka
there's a tomahawk-taglib-project at code.google.org -- but they neither did implement all necessary tags nor are the accessible via email. i downloaded the code and added the stuff i needed myself. http://code.google.com/p/tomahawk-facelets/ regards On Wed, 16 Apr 2008 19:05:50 +0200,

Re: tomahawk datatable: custom model

2008-04-08 Thread arne anka
nobody out there ever written a custom model with paging abilities? On Mon, 07 Apr 2008 10:48:51 +0200, arne anka [EMAIL PROTECTED] wrote: hi, i search over a repository and would like to present the results in a paging datatable. but paging requires to fetch all results at once

Re: TreeTable

2008-04-08 Thread arne anka
maybe you should put your treetable in an h:form? i remember having a similar error for a tree. On Tue, 08 Apr 2008 16:10:05 +0200, Nuno Sousa [EMAIL PROTECTED] wrote: Hmm it's my Expand All and Collapse All, when clicked gives me a JavaScript Line 18, Error: '_uixt_j_id362' is not

Re: TreeTable

2008-04-08 Thread arne anka
/tr:panelGroupLayout /h:form /tr:document On Tue, Apr 8, 2008 at 3:24 PM, arne anka [EMAIL PROTECTED] wrote: maybe you should put your treetable in an h:form? i remember having a similar error for a tree. On Tue, 08 Apr 2008 16:10:05 +0200, Nuno Sousa [EMAIL

Re: TreeTable

2008-04-08 Thread arne anka
',this);return false; href=#Expandir Todos/a The element is the clickable text that says Expandir Todos aka Expand All. It's auto generated by Trinidad when i create the treetable : ) On Tue, Apr 8, 2008 at 3:31 PM, arne anka [EMAIL PROTECTED] wrote: well, it was only a wild guess :-) does

Re: TreeTable

2008-04-08 Thread arne anka
_children = new ArrayListTreeThing(); } }** * And i can't get more than this: http://img509.imageshack.us/img509/7847/treetableso7.png Only the root node is rendered :/ Regards On Tue, Apr 8, 2008 at 3:55 PM, arne anka [EMAIL PROTECTED] wrote: seems to be some kind of dom-object, probably a form

tomahawk datatable: custom model

2008-04-07 Thread arne anka
hi, i search over a repository and would like to present the results in a paging datatable. but paging requires to fetch all results at once -- the repository i am searching (fedora) provides its own mechanism to page results, so i think i need to implement my own model. looking in the

navigation/form: wrong url displayed in browser

2008-04-02 Thread arne anka
hi, i created three pages: /index.jspx /search/search_simple.jspx /search/search_results.jspx index.jspx contains a jscookmenu directing to search_simple.jspx (by navigation-rule), search_simple.jspx sends a form to a backing bean which in turn (by navigation-rule) directs to

object is not an instance of declaring class

2008-04-02 Thread arne anka
hi, i got a jspx with a jscookmenu and a backing bean. t:jscookMenu id=menu2 layout=hbr theme=ThemeOffice styleLocation=css ... everything is fine until i change something in the bean and recompile it, the tomcat recognizes it and refreshes -- but after that any request to my jspx-page

Re: navigation/form: wrong url displayed in browser

2008-04-02 Thread arne anka
See here: http://wiki.apache.org/myfaces/FAQ#StaleLink ah, thanks a lot. but, alas, it is more like a better description of the problem with two proposals to work around but no real solution. i would think a lot of people is bothered by this ... not real myfaces: but is there a way to