Re: XHTML Strict

2007-04-16 Thread Rudi Steiner
Hi Mike, I don't know if removing the name attribute from the form-element is HTML 4.01 compatible but i think so. This wold be my first proposal. The second is to wrap every hidden field rendered by the jsf-impl with a div-Element. Is this possible. Should be opened Jira-Issues for this to pro

Re: how link svg file with jsf component

2007-04-16 Thread mathias °ö°
hi, [ok, continue in english :)] the problem is its running in firefox but its not running in ie 6 / 7 with adobe svg viewer 3.0.3 (latest version). with ie i get back only a grey frame and the browser cant load the svg files (linked with object and embed tag). that is the reason for testing the

Re: Programatically updating the model

2007-04-16 Thread Simon Kitching
The problems you are having are because you are trying to write a JSF component but are trying to do it through the "user api" rather than the "component api" of JSF. If you want to write a picklist component you should really subclass UIComponent (or other convenient base). In this case you d

Re: Programatically updating the model

2007-04-16 Thread monkeyden
Wouldn't it be simpler to just create SelectItems from the submitted values, in the VCL, and set the backing bean property so they match? Who needs a phase listener and why add ALL the values from the picklist, when I have everything I need in UIInput.getSubmittedValues(). This seems so logical

Re: Latest sandbox war files

2007-04-16 Thread Mike Kienenberger
http://wiki.apache.org/myfaces/FAQ#download-other-stuff On 4/16/07, ThinkBlue <[EMAIL PROTECTED]> wrote: Does anybody know where I can get the latest sandbox war files for the site found below: http://www.irian.at/myfaces-sandbox/home.jsf http://www.irian.at/myfaces-sandbox/home.jsf Or could

Latest sandbox war files

2007-04-16 Thread ThinkBlue
Does anybody know where I can get the latest sandbox war files for the site found below: http://www.irian.at/myfaces-sandbox/home.jsf http://www.irian.at/myfaces-sandbox/home.jsf Or could you tell me how to implement the the "Effect - DOJO and script.aculo.us effects" found under the Miscellane

Re: forceId warning when using facelets

2007-04-16 Thread Simon Kitching
I agree with your point about scripting being "unobtrusive", ie that ideally it should transparently "attach" to existing objects to enhance their behaviour without having to modify the original elements, like subclassing extends a class without modifying it. However completely breaking the en

Re: address bar

2007-04-16 Thread Kevin Gutch
Oh Ok! I just figured I was doing something incorrect! Simon Kitching wrote: Kevin Gutch wrote: Whenever I click on a commandlink, my navigation is successful but the address in my address bar is always one page behind my current view. Yep, that's a well known issue. It's caused by the fact t

Re: address bar

2007-04-16 Thread Simon Kitching
Kevin Gutch wrote: Whenever I click on a commandlink, my navigation is successful but the address in my address bar is always one page behind my current view. Yep, that's a well known issue. It's caused by the fact that JSF uses internal forwards a lot. When the browser POSTs data to /foo.jsf

address bar

2007-04-16 Thread Kevin Gutch
Hi, I am not 100% sure this is a MyFaces issue but I thought I would start here. I am using Facelets with MyFaces. Whenever I click on a commandlink, my navigation is successful but the address in my address bar is always one page behind my current view. For instance, if I at at Home and click

Re: [ReducedHTMLParser] Invalid tag found

2007-04-16 Thread Simon Kitching
The line reported is on the generated HTML but *before* the insertion of any "resources", eg links to scripts and stylesheets. Looking at line 93 in the generated html will therefore not be quite right, but the problem should be within the following 20 lines or so (ie lines 93-113) depending on

Re: f:attribute in phaselistener

2007-04-16 Thread Simon Kitching
Garner, Shawn wrote: I upgraded to 1.1.5 and now my phase listener can no longer get my f:attribute attribute on a component (eg: ). I iterate over the client IDs with messages by doing FacesContext.getClientIdsWithMessages(); I get the component by UIViewRoot.findComponent(clientID) and the

Call for Papers Opens for ApacheCon US 2007

2007-04-16 Thread Dennis Byrne
Call for Papers Opens for ApacheCon US 2007 The Call for Papers is now open for ApacheCon US, to be held November 12-16 at the Peachtree Westin, Atlanta. The conference will consist of two day of tutorials (November 12-13) and three days of regular conference sessions (November 14-16). Please lo

f:attribute in phaselistener

2007-04-16 Thread Garner, Shawn
I upgraded to 1.1.5 and now my phase listener can no longer get my f:attribute attribute on a component (eg: ). I iterate over the client IDs with messages by doing FacesContext.getClientIdsWithMessages(); I get the component by UIViewRoot.findComponent(clientID) and then try to get the attribute

Re: datatable and commandlink in request scope

2007-04-16 Thread Brummeline Braaten
That made things a bit clearer. I think I'll use the preserveDataModel, but when I try I get a Nullpointerexception and a Jasperexception: 20:17:20,875 ERROR [PhaseListenerManager] Exception in PhaseListener RENDER_RESPONSE(6) beforePhase. java.lang.NullPointerException 20:17:21,046 ERROR [Engin

Re: Integration of Tobago into portal

2007-04-16 Thread Bernd Bohmann
Hello Kristoff, can you describe and send me a working setup for a portlet, please. Regards Bernd [EMAIL PROTECTED] wrote: Hello, I am trying to integrate a Tobago-JSF Page into a portlet. While trying to do so I ran into a problem. The initial rendering of the JSF-Page works just fine. H

Re: required=true?

2007-04-16 Thread Andrew Robinson
The same approach as this can be used with A4J with a4j:support and a4j:region tags to use AJAX to update the zone instead of a full page refresh. On 4/16/07, Mike Kienenberger <[EMAIL PROTECTED]> wrote: First off, don't use the OptionalValidationFramework. There's always a better solution. S

Re: "Table of Contents" Component

2007-04-16 Thread Jörn Zaefferer
Would you mind using a client-side solution? http://solidgone.com/jquery/jqTOC/jqTOC.htm Regards Jörn

Re: weird around JSF table

2007-04-16 Thread Dave
But can not have attributes such as ... Adrian Mitev <[EMAIL PROTECTED]> wrote: Try t:htmlTag 2007/4/16, Dave <[EMAIL PROTECTED]>: I tried the Method 2. It did not work. Adrian Mitev < [EMAIL PROTECTED]> wrote: Try: 2007/4/15, Dave <[EMAIL PROTECTED]

"Table of Contents" Component

2007-04-16 Thread AMIR-TAHMASSEB Marc
Hi, Does anybody knows if there is a myfaces component that generate a table of content by using the H1, H2... hierarchy. I want to display this TOC in a box at the begining of each page displayed... I hope something like this exists, regards Marc Marc Kamran AMIR-TAHMASSEB European Ombudsm

Right aligned panelTabbedPane?

2007-04-16 Thread Lars Hagrot
I am using the Tomahawk panelTabbedPane and am trying to align the tabs to the right. Is this possible? Currently the tabs is displayed one after another followed by an empty column () The output I am trying to achieve is instead supposed to start with an empty column. Regards /Lars Hagro

Re: required=true?

2007-04-16 Thread Mike Kienenberger
First off, don't use the OptionalValidationFramework. There's always a better solution. Second, I'm still trying to wrap my mind around this problem, so my answer might be flawed. Third, I'm going to use a checkbox since I have made almost no use of radio buttons to date. A quick test of this

Re: Navigation Rules - Model based (dynamic) navigation support possible?

2007-04-16 Thread Andrew Robinson
You can also have a look at JBoss Seam page flows. On 4/16/07, Torsten Krah <[EMAIL PROTECTED]> wrote: By default jsf is using a outcome based navigation model. But consider a content managment system, where the user can model "navigation decisions" by "drawing" connections from one object to a

RE: Navigation Rules - Model based (dynamic) navigation support possible?

2007-04-16 Thread Conway. Fintan \(IT Solutions\)
Hi Thorsten, Have a look at the reply to this mail. http://www.nabble.com/Changing-JSF-scenario-at-runtime-tf395068.html#a10 88201 Hope this helps, Fintan -Original Message- From: Mike Kienenberger [mailto:[EMAIL PROTECTED] Sent: 16 April 2007 15:09 To: MyFaces Discussion Subject: Re:

Re: [ReducedHTMLParser] Invalid tag found

2007-04-16 Thread Mike Kienenberger
Dave, I can't remember if this works, but have you tried viewing the raw html source and seeing what's on line 93? I think by the time the ReducedHTMLParser is working on the data, it's working with the generated html. On 4/15/07, Dave <[EMAIL PROTECTED]> wrote: [ReducedHTMLParser] Invalid ta

Re: phase listener..

2007-04-16 Thread Mike Kienenberger
lifecycle.addPhaseListener(PhaseListener phaseListener); On 4/16/07, Sorin Silaghi <[EMAIL PROTECTED]> wrote: Hello, is there any way to register a phase listener dynamically ???

Integration of Tobago into portal

2007-04-16 Thread Kristoff . Kiefer
Hello, I am trying to integrate a Tobago-JSF Page into a portlet. While trying to do so I ran into a problem. The initial rendering of the JSF-Page works just fine. However, clicking a tc:button makes JavaScript throw an error. What I could gather from the page layout and debug output of my bro

Re: Navigation Rules - Model based (dynamic) navigation support possible?

2007-04-16 Thread Mike Kienenberger
Use a custom NavigationHandler. :-) That's why the hook exists, so not using it is like saying you want to develop a JSF application without using JSF. Have you ever used JDeveloper? (free download from Oracle, so if not, download it and take a look) Basically, it uses the exact process you de

Re: datatable and commandlink in request scope

2007-04-16 Thread Mike Kienenberger
I use t:saveState for everything. However, you could also use t:dataTable preserveDataModel="true". As for t:saveState, here is an example of correct usage: You want to save the state of your t:dataTable's value binding (probably a list). In your example, it'd probably be: Y

Navigation Rules - Model based (dynamic) navigation support possible?

2007-04-16 Thread Torsten Krah
By default jsf is using a outcome based navigation model. But consider a content managment system, where the user can model "navigation decisions" by "drawing" connections from one object to another. Data is modeled in some known way to map them to an url, navigation between this model can be d

Re: XHTML Strict

2007-04-16 Thread Mike Kienenberger
From the JSF 1.1 spec: = 8.5 Standard HTML RenderKit Implementation To ensure application portability, all JSF implementations are required to include support for a RenderKit, and the associated Renderers, that meet the requirements defined in this section, to generate

Re: Integrating sandbox components with last stable version of myfaces

2007-04-16 Thread Mike Kienenberger
Ok. That's really strange, because I downloaded - tomahawk-sandbox-1.1.5-bin.zip - tomahawk-sandbox-1.1.5-src.zip for release candidate one (3/30/2007) However, I don't see those files for release candidate 2. On 4/16/07, Gerald Müllan <[EMAIL PROTECTED]> wrote: Hi, have a look under: http

Re: datatable and commandlink in request scope

2007-04-16 Thread Brummeline Braaten
Adrian Mitev googlemail.com> writes: > > > Try something like this one one line. In order save state to work your bean has to implement Serializable interface. > I can't get it to work! If I save the whole bean, I get the same problem as if I put the bean in session scope. And I dont know w

Re: datatable and commandlink in request scope

2007-04-16 Thread Adrian Mitev
Try something like this one one line. In order save state to work your bean has to implement Serializable interface. 2007/4/16, Brummeline Braaten <[EMAIL PROTECTED]>: Adrian Mitev googlemail.com> writes: > > > Try with tomahawk t:saveState > I've tried that, but I can't get it to work as i

Re: datatable and commandlink in request scope

2007-04-16 Thread Brummeline Braaten
Adrian Mitev googlemail.com> writes: > > > Try with tomahawk t:saveState > I've tried that, but I can't get it to work as intended. Perhaps I save the wrong state? I tried to save the whole bean, but then nothing worked. Is there some sort of rule of where the place the savestate tag? And doe

Re: how link svg file with jsf component

2007-04-16 Thread Gerald Müllan
Hi, maybe some path-related problem in order to access the file in your web-resource dir? cheers, Gerald On 4/16/07, mathias °ö° <[EMAIL PROTECTED]> wrote: hi david i checked the object tag and tested in a simple html file linked to svg file. and this is working. but the same is not running

Re: datatable and commandlink in request scope

2007-04-16 Thread Adrian Mitev
Try with tomahawk t:saveState 2007/4/16, Brummeline Braaten <[EMAIL PROTECTED]>: How can I get a commandlink to work inside a datatable when my bean is in request scope? If I change to sessionscope, the commandlink works, but then the rest of my code stops working as intended. This is my JSF c

Re: Integrating sandbox components with last stable version of myfaces

2007-04-16 Thread Gerald Müllan
Yes, the last stable tomahwak version is 1.1.5 and you can not get any kind of "last-stable-sandbox-release". So, if you take the sandbox-version above, in combination with the 1.1.5 releases you should be lucky without any NoClassDefFoundError. Tom 1.1.5 is released and declared as stable, no 1.

Re: weird around JSF table

2007-04-16 Thread Adrian Mitev
Try t:htmlTag 2007/4/16, Dave <[EMAIL PROTECTED]>: I tried the Method 2. It did not work. *Adrian Mitev <[EMAIL PROTECTED]>* wrote: Try: 2007/4/15, Dave <[EMAIL PROTECTED]>: > > I am trying to wrapper around table using or > , > > Method 1 > --- > > > >

Re: weird around JSF table

2007-04-16 Thread Dave
I tried the Method 2. It did not work. Adrian Mitev <[EMAIL PROTECTED]> wrote: Try: 2007/4/15, Dave <[EMAIL PROTECTED]>:I am trying to wrapper around table using or , Method 1 --- Method 2 -- ..

phase listener..

2007-04-16 Thread Sorin Silaghi
Hello, is there any way to register a phase listener dynamically ???

Re: how link svg file with jsf component

2007-04-16 Thread mathias °ö°
hi david i checked the object tag and tested in a simple html file linked to svg file. and this is working. but the same is not running with the jsf web app. http://../images/map.svg"; width="500" height="500" type="image/svg+xml"> which params must adjusted by component ? best regards mat

datatable and commandlink in request scope

2007-04-16 Thread Brummeline Braaten
How can I get a commandlink to work inside a datatable when my bean is in request scope? If I change to sessionscope, the commandlink works, but then the rest of my code stops working as intended. This is my JSF code: http://www.w3.org/TR/html4/strict.dtd";> <[EMAIL PROTECTED] uri="http://java.

XHTML Strict

2007-04-16 Thread Rudi Steiner
Hi all, making some investigations on XHTML-comfomance fo myFaces (without Tomahawk) I found out, that the output of the basic components, like , and so on render valid XHTML but just transitional (http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>). The problem is, that our customer re

Re: Integrating sandbox components with last stable version of myfaces

2007-04-16 Thread Rudi Steiner
Hi Gerald, the problem is, that taking this version of sandbox, I get the error described above. My question was, where I can get a sanbox-version compatible with the last official release of myfaces-impl and tomahawk (myfaces-impl-1.1.5.jar, tomahawk-1.1.3.jar). best regards, Rudi On 4/16/07,

Re: Integrating sandbox components with last stable version of myfaces

2007-04-16 Thread Gerald Müllan
Hi, have a look under: http://people.apache.org/builds/myfaces/nightly There are no official releases of sandbox - only snapshot builds - since it works like a playground. Therefore it is not listed in the download releases section. cheers, Gerald On 4/16/07, Rudi Steiner <[EMAIL PROTECTED]>