tobago examples down ;(

2005-12-13 Thread Dennis Byrne
http://tobago.atanion.net/site/demo.html Dennis Byrne

Re: tobago examples down ;(

2005-12-13 Thread Bernd Bohmann
Sorry, just updated the site :-) Best Regards Bernd Dennis Byrne schrieb: http://tobago.atanion.net/site/demo.html Dennis Byrne -- Dipl.-Ing. Bernd Bohmann - Atanion GmbH - Software Development Bismarckstr. 13, 26122 Oldenburg, http://www.atanion.com phone: +49 441 4082312, mobile:

Validation issue concerning navigation

2005-12-13 Thread Daniel Loebbe
Hi, maybe someone can help me. I implemnted an application, which uses 3 pages for collecting data. All pages contain forms and input fields which are validated by more or less common validators. The issue is: As long as e.g. the form on the second or third page has validation errors, I am not

Re: datatable - parameter passing - workaround?

2005-12-13 Thread Harald Müller
Hi! Thanks for your answer. Let me try to describe my problem. I'm trying to build a datatable with dynamic columns (additionally to some static columns). All information for the datatable-creation is stored in a xml-file. It's not a big deal building these dynamic colums with the right header

Re: datatable - parameter passing - workaround?

2005-12-13 Thread Mathias Brökelmann
did you take a look at t:columns ? I suggest you to use it if you need dynamic columns. You could then follow the wiki doc at http://wiki.apache.org/myfaces/Dynamic_Columns 2005/12/13, Harald Müller [EMAIL PROTECTED]: Hi! Thanks for your answer. Let me try to describe my problem. I'm trying

Re: PanelNavigation2 not saving state

2005-12-13 Thread Thomas Spiegl
Jan, panelNavigation2 works fine in my applications. I cannot really see a problem in your JSPs.If you send me a simple test application, showing the problem, I will have a look at it.CheersThomas On 12/13/05, Jan [EMAIL PROTECTED] wrote: Hi, so I change the sandbox.jar from 20051211 to

Re: PanelNavigation2 not saving state

2005-12-13 Thread Thomas Spiegl
Send the archive to my email, attaching it to the mailing list won't work.On 12/13/05, Thomas Spiegl [EMAIL PROTECTED] wrote:Jan, panelNavigation2 works fine in my applications. I cannot really see a problem in your JSPs. If you send me a simple test application, showing the problem, I will have

Re: Validation issue concerning navigation

2005-12-13 Thread Mario Ivankovits
Hi Daniel! Has anyone another idea, to switch off validation for such cases? You can set the immediate=true attribute on your button. The drawback (sometimes) is that than your model wont be updated. --- Mario

Retrieving component values in validation methods

2005-12-13 Thread Matthias Kahlau
Hi! Some questions regarding validator methods (using validator attribute of components): 1) In which phase are these methods invoked? Always in process validations or dependent on immediate setting? 2) Which is the right method to get the values of other components in the validator method,

AW: PanelNavigation2 not saving state - solved

2005-12-13 Thread Jan
Hi Thomas, finally I got it working. I thought, if even you cant think of what might be the failure, it has to be something you havent seen yet. .so I had a look into the web.xml and found the missing part: context-param param-namejavax.faces.STATE_SAVING_METHOD/param-name

What PDF library or framework to create PDF on the fly--iText?

2005-12-13 Thread andreas.mitter
I already asked some days ago, now I had time to look a bit at iText and after that I'm not really smarter than before. I'm not sure if this library will help me. I want to do the following: The Myfaces JSF Page is normally shown to the user (some results from a report or some text from

Re: What PDF library or framework to create PDF on the fly--iText?

2005-12-13 Thread Francesco Consumi
Quoting [EMAIL PROTECTED]: Now I want to have a button, which generates a PDF File out of this screen. So the PDF Creating must be done on the fly (depending on what the user sees) Me too have that need. +1 to this question :-) ah, we have solved our problems on

Re: What PDF library or framework to create PDF on the fly--iText?

2005-12-13 Thread Avramucz István
[EMAIL PROTECTED] wrote: I already asked some days ago, now I had time to look a bit at iText and after that I'm not really smarter than before. I'm not sure if this library will help me. I want to do the following: The Myfaces JSF Page is normally shown to the user (some

Re: What PDF library or framework to create PDF on the fly--iText?

2005-12-13 Thread Marius Oancea
You have to use FOP Francesco Consumi wrote: Quoting [EMAIL PROTECTED]: Now I want to have a button, which generates a PDF File out of this screen. So the PDF Creating must be done on the fly (depending on what the user sees) Me too have that need. +1 to this question :-) ah, we have

AW: What PDF library or framework to create PDF on the fly--iText?

2005-12-13 Thread andreas.mitter
Perhaps a bit more exactly? I have already read what I need to set up FOP, but I haven't read something about how to create the PDFs on the fly (with the same look and feel like it was on the screen. Perhaps you have some examples or are there HOWTO's on the Web? By the way, I don't reach the

Re: What PDF library or framework to create PDF on the fly--iText?

2005-12-13 Thread Marius Oancea
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 http://javaboutique.internet.com/tutorials/FOP/ Francesco Consumi wrote: Quoting [EMAIL PROTECTED]: Now I want to have a button, which generates a PDF File out of this screen. So the PDF Creating must be done on the fly (depending on what

RE: What PDF library or framework to create PDF on the fly--iText?

2005-12-13 Thread hermod.opstvedt
Hi Since FOP is based on XML, my suggestion is that you render your pages as strict XHTML. Then you can transform these into .pdf using FOP quite easely. You have to create the FOP templates to match your XHTML/CSS layput though. Hermod -Original Message- From: [EMAIL PROTECTED]

RE: What PDF library or framework to create PDF on the fly--iText?

2005-12-13 Thread Jeremy Green
Since FOP is based on XML, my suggestion is that you render your pages as strict XHTML. Then you can transform these into .pdf using FOP quite easely. You have to create the FOP templates to match your XHTML/CSS layput though. I don't know how well they integrate with JSF, but Apache Forrest

Re: PanelNavigation2 not saving state - solved

2005-12-13 Thread Thomas Spiegl
You're welcome, Jan.CheersThomasOn 12/13/05, Jan [EMAIL PROTECTED] wrote: Hi Thomas, finally I got it working. I thought, if even you can't think of what might be the failure, it has to be something you haven't seen yet. ….so … I had a look into the web.xml and found the missing

Re: Validation issue concerning navigation

2005-12-13 Thread Daniel Loebbe
Seems to work. Many thanks! Bye, Daniel 2005/12/13, Mario Ivankovits [EMAIL PROTECTED]: Hi Daniel! Has anyone another idea, to switch off validation for such cases? You can set the immediate=true attribute on your button. The drawback (sometimes) is that than your model wont be updated.

Re: What PDF library or framework to create PDF on the fly--iText?

2005-12-13 Thread Werner Punz
There is no direct way to do that, you only can simulate the form layout some mentioned cocoon, but that one is only usable that way if you use cocoon as html frontend as well, but that seems to be out of the question, I can recommend to think about simulating your form in PDF with the given data,

AW: Re: What PDF library or framework to create PDF on the fly--iText?

2005-12-13 Thread andreas.mitter
So you think FOP is not the best approach and idea? -Ursprüngliche Nachricht- Von: news [mailto:[EMAIL PROTECTED] Auftrag von Werner Punz Gesendet: Dienstag, 13. Dezember 2005 14:21 An: users@myfaces.apache.org Betreff: Re: What PDF library or framework to create PDF on the fly--iText?

how to force users to use menu instead of typing url

2005-12-13 Thread Sławek Sobótka
hi guys im back to jsf (and list;) after long time coding SWT here is the problem: our app uses myfaces menu component. click on almost each menu item causes performing somme action, than moves user to another page. mentioned actions prepeare beans binded to pages... so when new view is trying

Multiple JSF inputs bound to the same property in the same form

2005-12-13 Thread Miller, John
Can anyone offer an elegant solution to this (i.e. some JSF functionality that solves this problem) I have various command components in a tile. I need to put this tile at the top and bottom of a data table. I had it working by having the form defined within the command component tile,

Re: datatable - parameter passing - workaround?

2005-12-13 Thread Harald Müller
Hi! Thanks again for your answer. Mh ... I've tried it as described on the wiki-page but it looks like that I'm doing something wrong with UIColumns. My code: HtmlDataTable hdt = (HtmlDataTable)app.createComponent(HtmlDataTable.COMPONENT_TYPE); hdt.setHeaderClass(tableheader);

Re: AW: Re: What PDF library or framework to create PDF on the fly--iText?

2005-12-13 Thread Werner Punz
Fop is just another approach of going from a meta description to a result with different rendering targets. FOP is a standard but almost not used, so design tools are scarce, you should probably give visual tools in conjunction with reporting engines a shot: Following ones come to my mind Jasper

Re: datatable - parameter passing - workaround?

2005-12-13 Thread Mathias Brökelmann
I can not see the problem in you code. However I have used UIColumns only in jsp yet and not created it through java code. Is data.getColumns() returning a non empty collection? Is data.getRows() returning a non empty collection? Can you try it with jsp code? 2005/12/13, Harald Müller [EMAIL

AW: Wrong validator methods invoked in Nightly 20051130

2005-12-13 Thread Matthias Kahlau
Validation is only called if the component's submitted value is non-null. Perhaps this is the issue you're seeing? Is this behavior manipulable, because it's very problematic for my use context. I wanted to write a validator method which performs a required validation, because the value

[ApacheCon] Tobago

2005-12-13 Thread Matthias Wessendorf
Hi there ApacheCon is still fine. But that is not the reason for this email. During the slot between our two MyFaces session, there was a guy asking if some of the tobago guys are attending. He told me that he and his team had done an application by using Tobago. But then we had to start the

Re: AW: Re: What PDF library or framework to create PDF on the fly--iText?

2005-12-13 Thread Alan Biggs
FOP is a standard but almost not used, so design tools are scarce, Some commercial products use FOP for rendering, such as Altova Stylevision and Stylus Studio (both of which you can get free trials of). I believe FOP is used quote a lot when it fits the scenario. The FOP site itself does

Null Pointer Excetpion in MyFacesGenericPortlet

2005-12-13 Thread Stefan Tausendpfund
Hello, we created an portal application on JBoss Server 4.0.3SP1 with portal 2.0.1RC3 using myfaces MyFacesGenericPortlet. We have several pages and several portlets in one page. One portlet is present in all pages. If I make an action on this portlet (portletwindow0) and switch the page

Re: h:message not showing up when added in action method

2005-12-13 Thread Travis Reeder
Are you serious? Does this mean I have to bind any component I want to add messages to so that I can actually have a reference to the component?TravisOn 12/12/05, Mike Kienenberger [EMAIL PROTECTED] wrote: addMessage takes a component clientId, not an id.Make sure you're using

Re: h:message not showing up when added in action method

2005-12-13 Thread Paul Green
What I think you need to check is that the referenced component id has the correct id path. So it may be that your component is in a containing jsf component like a subview which you have given an id so your path would require the subview id as well. e.g. containing subview id=svId

Re: h:message not showing up when added in action method

2005-12-13 Thread Mike Kienenberger
On 12/13/05, Travis Reeder [EMAIL PROTECTED] wrote: Are you serious? Does this mean I have to bind any component I want to add messages to so that I can actually have a reference to the component? Yes, unless you want to hardcode the fully-qualified ids into your code. Only two things

Re: Wrong validator methods invoked in Nightly 20051130

2005-12-13 Thread Mike Kienenberger
No, the behavior isn't configurable. If there's no value specified, no validators are run. The only check is the required attribute. However, you can put an EL expression in your required attribute to make it optional in some cases. Your other choice is to take a look at

Re: Retrieving component values in validation methods

2005-12-13 Thread Mike Kienenberger
On 12/13/05, Matthias Kahlau [EMAIL PROTECTED] wrote: 1) In which phase are these methods invoked? Always in process validations or dependent on immediate setting? apply-values if immediate=true for the component process-validations if immediate=false for the component. 2) Which is the right

MyFaces Cherokee

2005-12-13 Thread Nicklas Karlsson
Any more information on this? http://www.orablogs.com/jjacobi/

Re: AW: Re: What PDF library or framework to create PDF on the fly--iText?

2005-12-13 Thread Werner Punz
Well to get it right, the original poster asked for a way to render the jsf files into pdf automatically, this is neither possible with xsl-fo nor any other templating mechanism mentioned (cocoon and a bunch of others) What probably could be achieved would be some cocoon like intermediate

PhaseListener Doubts

2005-12-13 Thread Julián García
This is a basic question. I am just finishing a PhaseListener to be executed after the RENDER_RESPONSE phase. I add the listener to all my beans by executing the following code after setting all the properties that are configured in the faces-config: LifecycleFactory factory =

Re: PhaseListener Doubts

2005-12-13 Thread Bruno Aranda
It seems that the PhaseListener is being registered several times. Have you added the faces-config.xml in the javax.faces.CONFIG_FILES context parameter in the web.xml file? If so, you should remove that, as the faces-config.xml file is parsed by default, so it is not necessary to add it again in

Re: PhaseListener Doubts

2005-12-13 Thread Julián García
Thanks. I included this in my config xml lifecycle phase-listenerco.com.atenaerp.seguridad.acegi.jsf.AccessDecicionManagerPhaseListener/phase-listener /lifecycle within the application tagbut now it doesn't print anything at all!.what could be wrong. Thanks in advance Bruno

Stream closed exceptions

2005-12-13 Thread Michael Hartman
I've been getting 'Stream closed' exceptions with a MyFaces-based web app. See stacktrace below. Happens under low/moderate load (less than 10 users). Reproducible with IE and Firefox. Happens with pages using the Extended Data Table, Data Scroller, and Buffer components. Does anyone have

Re: MyFaces Cherokee

2005-12-13 Thread Nicklas Karlsson
Umm. Where did the fresh entry about Oracle donating 100+ JSF components from ADF Faces to the MyFaces Cherokee-project go? There was a mentioning that the offical documents hadn't been signed yet. Did anyone else see it before it vanished? On 12/13/05, Nicklas Karlsson [EMAIL PROTECTED] wrote:

Re: myfaces-core.tld - subview tag

2005-12-13 Thread Simon Kitching
Hi Igor, Igor Marakov wrote: There seems to be a problem while trying to use automatically generated subview id in myfaces1.1.1 According to TLD file ID attribute is created automatically when omitted. At the same time ID attribute is defined as requiredtrue/required This causes compile

Re: MyFaces Cherokee

2005-12-13 Thread Bruno Aranda
Probably some legal issues remain to be solved. Let's wait to see what happens, Regards, Bruno 2005/12/14, Nicklas Karlsson [EMAIL PROTECTED]: Umm. Where did the fresh entry about Oracle donating 100+ JSF components from ADF Faces to the MyFaces Cherokee-project go? There was a mentioning

Re: MyFaces Cherokee

2005-12-13 Thread Simon Kitching
Yep, it was there. And now it's gone. Presumably the few hundred people there at the presentation also saw it. I'm guessing it's just a matter of Oracle wanting the initial announcement to be from their PR department rather than on a blog. Personally, I'd prefer to hear it direct from someone

Re: Retrieving component values in validation methods

2005-12-13 Thread Simon Kitching
Matthias Kahlau wrote: Hi! Some questions regarding validator methods (using validator attribute of components): 1) In which phase are these methods invoked? Always in process validations or dependent on immediate setting? In the decode part of the apply-values phase when the component is

RE: Null Pointer Excetpion in MyFacesGenericPortlet

2005-12-13 Thread Stan Silvert
Hi Stefan, Can you move this question to the JBoss Portal forums? This way Julien from the JBoss Portal team will see it. He is the lead for JBoss Portal. I wrote the MyFacesGenericPortlet. I haven't had time to think it all the way through, but I'm guessing that it will take all three of us

Re: h:message not showing up when added in action method

2005-12-13 Thread Simon Kitching
Nicklas Karlsson wrote: It shows up validation errors and what not, but now when I add like this in an action method: FacesContext.getCurrentInstance().addMessage(componentId, new FacesMessage(severity, rawMsg, null)); I think Simon is referring to

Re: myfaces-core.tld - subview tag

2005-12-13 Thread Simon Kitching
Hi Dennis, Dennis Byrne wrote: same thing for the id att. of commandNavigation2 . I can't see any problem with the id attribute of commandNavigation2. In both MyFaces 1.1.1 and SVN HEAD, id appears to be optional to me. Can you check again? Thanks, Simon

Re: myfaces-core.tld - subview tag

2005-12-13 Thread Dennis Byrne
This was indirectly fixed by the path for MYFACES-931 ;) Original message Date: Wed, 14 Dec 2005 13:20:03 +1300 From: Simon Kitching [EMAIL PROTECTED] Subject: Re: myfaces-core.tld - subview tag To: MyFaces Discussion users@myfaces.apache.org Hi Dennis, Dennis Byrne wrote: same

RE: myfaces-core.tld - subview tag

2005-12-13 Thread Igor Marakov
Hi Simon, Hardcoded subview id does not work when I need to include components in the loop. In the code piece I put on the original email I need to include multiple screen section containers handled by the same tile layout. Tile inclusion needs to be wrapped in subview. As number of components is

Re: myfaces-core.tld - subview tag

2005-12-13 Thread Simon Kitching
Igor Marakov wrote: Hardcoded subview id does not work when I need to include components in the loop. In the code piece I put on the original email I need to include multiple screen section containers handled by the same tile layout. Tile inclusion needs to be wrapped in subview. As number of

How to get currently selected node of tree2 component

2005-12-13 Thread Kurt Edegger
Hi, I'm having another issue with my tree2 component. I'm using a TreeModelBase field to be able to access the currently selected node within my backing bean, which should be possible regarding to the Javadocs by using the method getNode(). I have a page with a tree2 component, from which I

Re: PhaseListener Doubts

2005-12-13 Thread Ryan Wynn
On 12/13/05, Julián García [EMAIL PROTECTED] wrote: Thanks. I included this in my config xml lifecycle phase-listenerco.com.atenaerp.seguridad.acegi.jsf.AccessDecicionManagerPhaseListener/phase-listener /lifecycle within the application tagbut now it doesn't print anything at

Re: PhaseListener Doubts

2005-12-13 Thread Ryan Wynn
On 12/13/05, Ryan Wynn [EMAIL PROTECTED] wrote: On 12/13/05, Julián García [EMAIL PROTECTED] wrote: Thanks. I included this in my config xml lifecycle phase-listenerco.com.atenaerp.seguridad.acegi.jsf.AccessDecicionManagerPhaseListener/phase-listener /lifecycle within the

lifecycle questions

2005-12-13 Thread David G. Friedman
I'm getting lost in how to make a custom lifecycle (NOT a phase listener) after searching through the MyFaces v1.1.1 code. I was thinking of changing the lifecycleImpl.java class to alter execute()'s restoreView() to try setting different values between setViewId(String) and

Re: DHTML scripting and JSF apps

2005-12-13 Thread Steve Ivy
Hi Simon, You're right about Tiles, and I can see the issues you've mentioned. I ended up doing something like what you suggested - in my case I've just used predictable suffixes for the various things I need to get to: this.id + Label, this.id + Help, etc. Thanks to all for the advice, and for

Re: MyFaces Cherokee

2005-12-13 Thread Nicklas Karlsson
Well, if the announcement was made to 700+ people then they are probably not going to back out of it.In a reply to a comment (now also gone) it was mentioned that incubating the project should probablynot take long and we should hopefully see something by the holidays. There seemed to be other

Error Generated by h:message Tag

2005-12-13 Thread Mike Duffy
I am using the MyFaces t:div tag to layout my pages, which works fine. The h:message tags also work fine, but because they are not contained in an h:panelGroup or h:panelGrid tag, errors like the following are generated when the page loads: 00:01:52,097 ERROR [HtmlMessageRendererBase] Could

Tree2 Images

2005-12-13 Thread balaji.saranathan
Hi, I'm trying to replace the "+" "-" icons of the tree2 with my own images by using the @imageLocation attribute. however, I found that the Tree2 Renderer renders a hard coded value of Width="19" and height="18". Is there any way to make the tree2 to take the default image size? Thanks