new component proposal

2006-06-13 Thread Hansjörg Meuschel
Hello guys, I'm currently needing a component serving me any raw content, something like Does anybody know if there is such a component? Would be very useful for example to dynamically generate images, pdf etc. If there is no such component available, I'll implement one the next days ... i

problems writing new jsf component ..

2006-06-13 Thread Hansjörg Meuschel
Hi, I'm currently writing on a component and I need to pass a TITLE attribute string into it. My problem: everything works fine except one thing: if I want to use bundles (or any other bean values) for the TITLE attribute, the title is not set in my UI Class. What's wrong here, how can I ac

Re: probems getting the remote ip address in a bean

2006-06-01 Thread Hansjörg Meuschel
Thank you Matthias! Greets, Hans Matthias Wessendorf wrote: Why are you casting against ServletContext? HttpServletReq should be enough. com.sun.faces. is code from the RI, shipped under the sun ;-) Regards, Matthias On 6/1/06, Hansjörg Meuschel <[EMAIL PROTECTED]> wrote: Hello

probems getting the remote ip address in a bean

2006-06-01 Thread Hansjörg Meuschel
Hello, in a bean, how can I extract the IP adress of a user? I tried HttpServletRequest request = (HttpServletRequest)((ServletContext) FacesContext.getCurrentInstance().getExternalContext().getRequest()); String IP = request.getRemoteHost(); but whatever I did I got

Re: What tool do you use for creating diagrams (database, beans, 3-layer architecture, etc.)

2006-05-31 Thread Hansjörg Meuschel
n the market (I used it for .NET design and had no language issues). -Andrew [1] http://www.magicdraw.com/ On 5/31/06, Hansjörg Meuschel <[EMAIL PROTECTED]> wrote: Hello, can anybody give me a hint for a tool to create diagrams of my 3-layer architecture including beans, databases, etc.?

What tool do you use for creating diagrams (database, beans, 3-layer architecture, etc.)

2006-05-31 Thread Hansjörg Meuschel
Hello, can anybody give me a hint for a tool to create diagrams of my 3-layer architecture including beans, databases, etc.? - Viso does not model beans etc.

conditional file include <%@ include file="...

2006-05-29 Thread Hansjörg Meuschel
Hello, is it possible to determine in what page an included jsp file is put? I want to have something like <%@ include file="/pdca/include/all_page_headers.jsp" container="page1" %> ... in all_page_headers.jsp: (pseudocode) if (page1): ... ... if (page2): ... ...

Re: Alternative to tree2

2006-05-24 Thread Hansjörg Meuschel
Hi you could take a look at http://www.ourfaces.net or http://www.jamesholmes.com/JavaServerFaces/#software-comp (a list of jsf comp.) I'm not sure if there is a tree meeting your requirements ... maybe this helps... greets hans Hans Sowa wrote: Hi all We had a lot of problems with the tr

inputcalendar - date conversion bug found

2006-05-24 Thread Hansjörg Meuschel
Hi, I'm facing the following problem: where bundle.dateformat = dd/MM/ --> When I enter a date (using either the popup or the input), for example 31/12/2006 I get 12/07/2008 instead. The problem is that the conversion seems to work with MM/dd/ ignoring my datepattern. Am I d

Re: css problem with default input type="text"

2006-05-24 Thread Hansjörg Meuschel
thank you david - works great David Friedman wrote: Try this: input[type="text"] { color: #EFEFEF; } input[type="submit"] { color: yellow; } Regards, David -Original Message- From: Hansjörg Meuschel [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 24, 2006

Re: css problem with default input type="text"

2006-05-23 Thread Hansjörg Meuschel
same requirement a little bit like yours. In html, In CSS, input.mytext { background-color: #EFEFEF; } Hope it helps. Zhi - Original Message - From: "Hansjörg Meuschel" <[EMAIL PROTECTED]> To: "MyFaces Discussion" Sent: Wednesday, May 24, 2006 2:

css problem with default input type="text"

2006-05-23 Thread Hansjörg Meuschel
Hello, how do I define a default background color for text input elements only(!) in css? Defining something like input { background-color: #EFEFEF; } makes all buttons look ugly so I'm searching for a way to define this for text type inputs only... any ideas? greets hans

Re: strange https problem using tomcat5

2006-05-19 Thread Hansjörg Meuschel
Thanks for your answers, i now have two connectors, one for http (port 8080) and one for https (port 8081)! Hans Mirek B. wrote: Hansjörg Meuschel wrote: Hi guys, i have a problem with https on tomcat5: accessing http://localhost:8080 works fine, using http://localhost:8080 prompts me a

strange https problem using tomcat5

2006-05-19 Thread Hansjörg Meuschel
Hi guys, i have a problem with https on tomcat5: accessing https://localhost:8080 works fine, using http://localhost:8080 prompts me a download of a crypted file ?! Instead, I want to have some kind of redirection to https - how do you do this? Thanks for answers, regards Hans

escaping '\n' in bundle --> ReducedHTMLParser warning

2006-05-05 Thread Hansjörg Meuschel
Hi folks, I want to store messages for javascript alert(); within my bundle files. Sometimes, these messages need to break into a new line (using \n). How do I store this in my bundle file? i tried key=messagepart1\nmessagepart2 -> does not work... key=messagepart1\\nmessagepart2 -> works, but

Re: Prevent CommandLink from submitting a form

2006-02-01 Thread Hansjörg Meuschel
Hi, leave out the "javascript:" and it will work fine: Thanks for this hint but it doesn't work I've tried De : Jana Parvanova [mailto:[EMAIL PROTECTED] Envoyé : mercredi 1 février 2006 14:39 À : MyFaces Discussion Objet : Re: Prevent CommandLink from submitting a form Have you tried adding

Re: how do I prevent nervous users starting actions more than once???

2006-01-25 Thread Hansjörg Meuschel
Hi Steffen, thanks for this great information, the filter works perfectly and solved one of my biggest problems with my application ! Steffen Hankiewicz wrote: Hi Hansjörg, how can I prevent impatient users of my webapp to perform actions twice by clicking serveral times on the comma

Re: Full path to webapp?

2006-01-24 Thread Hansjörg Meuschel
cte. -- Mit freundlichen Grüßen, ------ Hansjörg Meuschel Martin-Treu-Str. 40 90403 Nürnberg Tel. +49 (0)911 274 278 1 mobil: +49 (1)60 725 3479 mail: [EMAIL PROTECTED] http://www.meuschel.net

how do I prevent nervous users starting actions more than once???

2006-01-24 Thread Hansjörg Meuschel
Hi, how can I prevent impatient users of my webapp to perform actions twice by clicking serveral times on the commandbuttons ?? - I've tried a (client-side) solution like the following, but that does not seem to be too good :-) Is there any better possibility? Greets Hans -- (javascript)

Re: File upload with ADF not working

2006-01-24 Thread Hansjörg Meuschel
Hi Julien, the specified directory is a tempdir, which might be used to temporarily store large files only. The usual manner to retrieve a file is via a value binding in a bean. look at http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/jsf/doc/devguide/fileUpload.ht

Re: Panel Tabs Displayed as buttons

2006-01-24 Thread Hansjörg Meuschel
You have to install the myfaces filter to use file uploads ... and the stylesheet! (otherwise the stylesheet is not put into your page). The error you get means you did not install the apache commons fileupload - download the jar from apache.org, put it in your lib dir and install the myfaces fi

Re: Custom validator.

2006-01-24 Thread Hansjörg Meuschel
Hi, I did that the following way: on submit of the form i call a javascript function submitValues() which stores all values of the forms input components into a hidden input value (for example as a comma separated list), which is located in annother form. after submitting that form all data is

Re: wildcard navigation

2006-01-24 Thread Hansjörg Meuschel
rüßen, -- Hansjörg Meuschel Martin-Treu-Str. 40 90403 Nürnberg Tel. +49 (0)911 274 278 1 mobil: +49 (1)60 725 3479 mail: [EMAIL PROTECTED] http://www.meuschel.net

Re: Problems using MyFaces with ADF Faces..

2006-01-24 Thread Hansjörg Meuschel
Hi, you probably forgot to copy the adf share library into the application??! [EMAIL PROTECTED] wrote: Hi all, I am trying to use the ADF Faces with MyFaces. To install the ADF Faces I strictly followed the description at http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/

Re: File upload with ADF not working

2006-01-24 Thread Hansjörg Meuschel
Hi, you probably have to copy the apache commons fileupload jar into your application - available from apache org ... Julien Martin wrote: Hello, I am trying to get "af:inputFile" to work. It does not upload any file in the directory I specified here: oracle.adf.view.faces.UPLOAD_TEM

Re: Custom table component.

2006-01-24 Thread Hansjörg Meuschel
Hi, try the from oracle adf http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/jsf/doc/tagdoc/core/imageIndex.html (Attention: the component is not available for free for production environements - maybe in the near future when adf is merged into myfaces ???!) Gr

Re: Myfaces and javascript

2006-01-22 Thread Hansjörg Meuschel
Hi, I have something like

iText: how to create an outer table border ??

2006-01-22 Thread Hansjörg Meuschel
Hi, I know this is the myfaces forum but perhaps sb. of you has an idea about this issue: How can I add an outer border to a table (here: rowDescriptionTable) in iText? I have a big table with several rows, all cells in the first column should contain two texts vertically aligned. So I define

Re: easiest way to get a jsf page as pdf download

2006-01-17 Thread Hansjörg Meuschel
I'm just looking ... and getting convinced :-) Simon Kitching wrote: If you want to specifically generate a report, another option to look at is jasper: http://jasperreports.sourceforge.net/ On Tue, 2006-01-17 at 10:30 +0100, Hansjörg Meuschel wrote: Hi again, actually what I want

Re: easiest way to get a jsf page as pdf download

2006-01-17 Thread Hansjörg Meuschel
Wow, birt looks interesting too! I'm actually using Eclipse for development... thanks! Werner Punz wrote: Hansjörg Meuschel schrieb: Hi folks, does anybody know what is the easiest way to get a jsf page as pdf download? Are there any libraries available for free? standard repo

Re: easiest way to get a jsf page as pdf download

2006-01-17 Thread Hansjörg Meuschel
n in the print dialog so that's one way of creating a PDF that contains the current page but it's manual. The FOP project is here: http://xmlgraphics.apache.org/fop/ Regards, Simon On Tue, 2006-01-17 at 09:58 +0100, Hansjörg Meuschel wrote: Hi Matthias, thanks for your help... a f

Re: easiest way to get a jsf page as pdf download

2006-01-17 Thread Hansjörg Meuschel
for this request has already been generated (such as an HTTP redirect), and that the request processing lifecycle should be terminated as soon as the current phase is completed. and yes... it's getResponseComplete() instead of isResponseComplete() HTH, Matthias On 1/15/06, Hansjörg Meusch

easiest way to get a jsf page as pdf download

2006-01-15 Thread Hansjörg Meuschel
Hi folks, does anybody know what is the easiest way to get a jsf page as pdf download? Are there any libraries available for free?

Re: character encoding

2006-01-15 Thread Hansjörg Meuschel
Hi, just to complete the posting: i found a solution for this: now I write to a bufferedwriter(new outputstreamwriter(response.getoutputstream())) - this does it :-) Hi, a simple question but I can't find the answer -> How can I convert my data to utf-8 encoding?? I have an outputstre

character encoding

2006-01-14 Thread Hansjörg Meuschel
Hi, a simple question but I can't find the answer -> How can I convert my data to utf-8 encoding?? I have an outputstream (out of JAXB) and I want to write it as servlet response: FacesContext faces = FacesContext.getCurrentInstance(); HttpServletResponse response

commandlink/button client-id bug

2006-01-12 Thread Hansjörg Meuschel
Hi guys, the following jsf code: id="savebutton"/> --> all data can be submitted, but commandButton / commandlink components get identical client-ids: theForm:table1:savebutton --> very strange about this - the iteration on the text input is correctly done: [that's why the

Re: Urgent: Collapsible Panel with data table not working IllegalStateException: Client-id : _id3ToggleCollapsed

2006-01-10 Thread Hansjörg Meuschel
Simon Kitching wrote: Hansjörg Meuschel wrote: Simon Kitching wrote: Hansjörg Meuschel wrote: Hi, the problem is the surrounding t:datatable: Children of this component all get the same id as the component does not create new objects for each iteration. That's just not true.

Re: Urgent: Collapsible Panel with data table not working IllegalStateException: Client-id : _id3ToggleCollapsed

2006-01-10 Thread Hansjörg Meuschel
Simon Kitching wrote: Hansjörg Meuschel wrote: Hi, the problem is the surrounding t:datatable: Children of this component all get the same id as the component does not create new objects for each iteration. That's just not true. Both the h:dataTable and t:dataTable components us

Re: Urgent: Collapsible Panel with data table not working IllegalStateException: Client-id : _id3ToggleCollapsed

2006-01-10 Thread Hansjörg Meuschel
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:595) Best Regards, *Saurabh Raisinghaney * -- Mit freundlichen Grüßen, -- Hansjörg Meuschel Martin-Treu-Str. 40 90403 Nürnberg Tel. +49 (0)911 274 278 1 mobil: +49 (1)60 725 3479 mail: [EMAIL PROTECTED] http://www.meuschel.net

Re: TabPane -> Form => Javascript-Error

2006-01-09 Thread Hansjörg Meuschel
Hi, try to put the form tag before the paneltabbedpane tag and use one single form for all tabs! > > > > > > > > if this does not work please post your jsf source! Greets, Hans > --- Ursprüngliche Nachricht --- > Von: Harald Müller <[EMAIL PROTECTED]> > An: "MyFaces D

tree2 - onclick node description expand/collapse node

2005-12-11 Thread Hansjörg Meuschel
Hi, a simple question about the tree2: what action do I have to call to toggle the expand state of a tree node when clicking on the treenode description I have something like value="#{targetsTreeBaker.expandedTreeData}" clientSideToggle="false" var="node" varNodeTo

sessionhandling question

2005-12-06 Thread Hansjörg Meuschel
Hi there, I've a very special question: I need to make sure that, after going to an overview page, the user can't go back to the previous pages and perform actions there. I thought about invalidating the user's session and assigning a new one (I've a filter which redirects invalid sessions to

Re: WARN ReducedHTMLParser:558 - Invalid tag found: unexpected input while looking for attr name or '/>' at line 6091

2005-11-24 Thread Hansjörg Meuschel
Hello Simon, I'll try tomorrow and will post results! Thanks for your reply! Hans Simon Kitching wrote: Hi, Hansjörg Meuschel wrote: Hi, since I updated to the last nightly built, i get the following error on almost every page: WARN ReducedHTMLParser:558 - Invalid tag found: unexp

WARN ReducedHTMLParser:558 - Invalid tag found: unexpected input while looking for attr name or '/>' at line 6091

2005-11-24 Thread Hansjörg Meuschel
Hi, since I updated to the last nightly built, i get the following error on almost every page: WARN ReducedHTMLParser:558 - Invalid tag found: unexpected input while looking for attr name or '/>' at line 6091 What's the reason for this?? Is there a problem with the last built? see you guys!

Re: best way to turn off the UnknownHostException on tomcat startup

2005-11-23 Thread Hansjörg Meuschel
-resolver. On 11/23/05, Hansjörg Meuschel <[EMAIL PROTECTED]> wrote: Hi, since I've copied the myfaces jars into my project, I get an unknownhostexception (java.sun.com) each time starting my tomcat when I'm not connected to the internet. How can I turn of the schema validation or i

jscookmenu bug in current nightly built?

2005-11-23 Thread Hansjörg Meuschel
Hi, the current nightliy built version of myfaces (http://cvs.apache.org/builds/myfaces/nightly/myfaces-20051122.zip) does not take actions for the jscookmenu: clicking such an item results in an Error calling action method of component with id _id45 exception! The last release also has this

best way to turn off the UnknownHostException on tomcat startup

2005-11-22 Thread Hansjörg Meuschel
Hi, since I've copied the myfaces jars into my project, I get an unknownhostexception (java.sun.com) each time starting my tomcat when I'm not connected to the internet. How can I turn of the schema validation or is there annother reason for this behaviour? Greets, Hans

problem using actions in jscookmenu #

2005-11-22 Thread Hansjörg Meuschel
sjörg Meuschel Hansjörg Meuschel Martin-Treu-Straße 40 90403 Nürnberg / Seebald Tel:+49 (0)911 / 274 278 1 Mobil: +49 (0)160 / 7253 479 Mail: + [EMAIL PROTECTED] Web: http://www.meuschel.net Telefonieren Sie schon oder sparen Sie noch? NEU: GMX Phone_Flat http://www.gmx.net/de/go/telefonie

t:datatable and t:datalist child component ID bug!

2005-11-13 Thread Hansjörg Meuschel
Hi, both components seem to have a problem with the IDs for their children (here: id of the form is the same for each iteration!) I just wonder if the problem could be that I'm currently using jsf 1.0 with the myfaces components? -- Telefonieren Sie schon oder sparen Sie noch? N

Re: myFaces and Oracle ADF merging in the future??

2005-11-12 Thread Hansjörg Meuschel
ars to use in > non-oracle appservers (or equal 5k to get the appserver :) are a little > expensive, don't you think? > > Cheers > > Rafael Mauricio Nami > > 2005/11/10, Hansjörg Meuschel <[EMAIL PROTECTED]>: > > > > Hi, > > a colleague of mine

myFaces and Oracle ADF merging in the future??

2005-11-10 Thread Hansjörg Meuschel
Hi, a colleague of mine told me that the myFaces project and the Oracle ADF project are planned to get merged in the future?! Does anybody know more about that or is it rubbish? I started developping with ADF - it's a great implementation but free for prototyping only Greets, Hans

Re: datalist component - problem when iterating components with facet inside!?

2005-11-10 Thread Hansjörg Meuschel
Hi, I'm using the myfaces implementation ... Martin Marinschek wrote: Do you use the RI or MyFaces as implementation? regards, Martin On 11/10/05, Hansjörg Meuschel <[EMAIL PROTECTED]> wrote: Yea thats it... generated popup-ids with h:datatable '_id70:HANSJ:0:_id107

Re: datalist component - problem when iterating components with facet inside!?

2005-11-10 Thread Hansjörg Meuschel
st item only. - using the h:datatable - h:column component instead works fine. What's wrong here, does anybody know? I've already done some experiments with EL foreach - without success. Does anybody have a workarround for that issue? Thank you... Hans -- Mit freundlichen Grüßen

Re: datalist component - problem when iterating components with facet inside!?

2005-11-10 Thread Hansjörg Meuschel
In my case I was having two dataTables with the same id. The second dataTable is wrong in the same way that you described. Hope this help! Regards Yee -Original Message- From: Hansjörg Meuschel [mailto:[EMAIL PROTECTED] Sent: Thursday, 10 November 2005 5:07 PM To: users@myfaces.apach

datalist component - problem when iterating components with facet inside!?

2005-11-10 Thread Hansjörg Meuschel
Hi, I've a problem with the datalist component: The Code: The Problem: All variables used inside the facet seem to stay on the first value of the iterated list. The means for the above shown example: - the first benefit.description shows all the items cor