Tree2 editting from other JSF page

2006-01-17 Thread Gal Kirpichnikov
Having two JSF pages on screen (the controller and the second in iframe of the first), How can I change Tree2 component content, expansion, selection of node as a result of application activity at JSF page located in the iframe? Thanks,

Re: Shale and MyFaces

2006-01-17 Thread Werner Punz
Craig McClanahan schrieb: On 1/16/06, *Werner Punz* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: [snip] Well from the small project I have done, you basically can take all your JSF knowledge with you, Seam is an extension which simplifies many things in JSF. Yep

Re: Shale and MyFaces

2006-01-17 Thread Werner Punz
Andrew Robinson schrieb: BTW - although Seam is made to work with EJB3 or just Hibernate, there is no need for either. You can use POJOs for entities and application beans and just use straight JDBC in your action methods to save the data. Seam uses annotations, but they are not the same

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

2006-01-17 Thread Hansjörg Meuschel
Hi Matthias, thanks for your help... a friend of mine also recommended FOP in between. I took a look at the api but it seems to me that FOP uses XML to generate a PDF? ! -- So how can I convert my jsf page into the required FOP-input format?? I could not find any docu to fop (except some

Re: Some questions regarding state-saving of components and Backing-Beans

2006-01-17 Thread Carsten Stiller
Simon Kitching wrote: There is a mechanism where N old view trees are cached, so that browser back button can work. I don't know the details of this though. Does anyone know where to find more details about this? This is one of our major problems at the moment. Does it also work with server

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

2006-01-17 Thread Jurgen Lust
Hi, I know the Apache people have a moral obligation to recommend FOP for PDF output, but in my experience you are much better off using iText for stuff like this. It's faster, much more feature-complete, has better documentation, and the output actually looks good.

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

2006-01-17 Thread Werner Punz
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 reporting stuff, use itext, jasper reports, or the eclipse subproject birt, which can handle pdf easily...

RE: Validation Error _id89: Value is required in dataTable

2006-01-17 Thread Jeffrey Porter
You can use the for label on a outputLabel so that this code h:outputLabel for=rackNumber value=Rack Number: / h:inputText id=rackNumber value=#{backingBean.rackNumber} maxlength=10 size=20 / Will result in the error message Validation Error with Rack Number: Value is

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

2006-01-17 Thread Jurgen Lust
Theoretically, you could write a new RenderKit which renders a JSF page to PDF instead of HTML. It would probably even work with AcroForms... Jurgen Simon Kitching schreef: Hi Hans, What Matthias describes below is where you have a JSF page, and you want a button labelled "generate

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

2006-01-17 Thread Hansjörg Meuschel
Hi again, actually what I want is to generate a report from the database and not a pdf that looks like the html .. I just thought the easiest way would be to transform the gnereated html page directly into pdf which seems to be impossible... So I'll take a look at both projects and see ...

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 reporting

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

2006-01-17 Thread Simon Kitching
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 is to generate a report from the database and not a pdf that looks like the

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 is to

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

2006-01-17 Thread Matthias Wessendorf
Right Juergen! would you like to volunteer ? :-) SpringMVC has some *pdf* based rendering stuff. -Matthias On 1/17/06, Jurgen Lust [EMAIL PROTECTED] wrote: Theoretically, you could write a new RenderKit which renders a JSF page to PDF instead of HTML. It would probably even work with

RE: JSF Flaw: Comopnent not preserving it state

2006-01-17 Thread Yee CN
The dataTable in ASP.NET is a container - it is a collection of rows, which is a collection of columns that can hold textboxes, checkboxes etc that holds the data being displayed in the browser. In ASP.NET the view components are standalone passive data holders. They are not connected to any data

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

2006-01-17 Thread Jeffrey Porter
I'm torn between jasperreports birt. Both look better than iText I'm using. Well, it would be good to have a GUI creator. http://www.lowagie.com/iText/ -Original Message- From: Hansjörg Meuschel [mailto:[EMAIL PROTECTED] Sent: 17 January 2006 09:57 To: MyFaces Discussion Subject:

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

2006-01-17 Thread Jeffrey Porter
Actually I've just noticed. Birt uses iText. :-) -Original Message- From: Hansjörg Meuschel [mailto:[EMAIL PROTECTED] Sent: 17 January 2006 09:57 To: MyFaces Discussion Subject: Re: easiest way to get a jsf page as pdf download I'm just looking ... and getting convinced :-) Simon

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

2006-01-17 Thread Jurgen Lust
So does Jasperreports ;-) Jeffrey Porter schreef: Actually I've just noticed. Birt uses iText. :-) -Original Message- From: Hansjrg Meuschel [mailto:[EMAIL PROTECTED]] Sent: 17 January 2006 09:57 To: MyFaces Discussion Subject: Re: easiest way to get a jsf page as pdf

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

2006-01-17 Thread Jurgen Lust
I would definitely write pdf renderers for some components if other people want to help... Jurgen Matthias Wessendorf schreef: Right Juergen! would you like to volunteer ? :-) SpringMVC has some *pdf* based rendering stuff. -Matthias On 1/17/06, Jurgen Lust [EMAIL PROTECTED] wrote:

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

2006-01-17 Thread Matthias Wessendorf
for something like UIData is make pretty sense to me On 1/17/06, Jurgen Lust [EMAIL PROTECTED] wrote: I would definitely write pdf renderers for some components if other people want to help... Jurgen Matthias Wessendorf schreef: Right Juergen! would you like to volunteer ? :-)

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

2006-01-17 Thread Jurgen Lust
Indeed. UIInput components don't make much sense in a PDF environment i think (although technically possible). I already have iText code for rendering a PDF version of the schedule component, although not yet converted to JSF... Jurgen Matthias Wessendorf schreef: for something like

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

2006-01-17 Thread Werner Punz
Jeffrey Porter schrieb: I'm torn between jasperreports birt. Both look better than iText I'm using. Well, it would be good to have a GUI creator. http://www.lowagie.com/iText/ Well iText has a huge advantage for big reports it allows to do them easily, you just have to take care not

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

2006-01-17 Thread Simon Kitching
Hmm.. It should be possible to define a JSP tag which extends the tomahawk HtmlDataTableTag class except that getRendererType returns a different value. An entry in faces-config.xml could then map this to a custom Renderer class that generates an inline embedded PDF. A page could then use this

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

2006-01-17 Thread ::SammyRulez::
I recently developed an action to export dataTables in excel files via POI. just get the content of the dataTable in the managed-bean and build your report and after use the responsecomplete method. see http://www.jsffaq.com/ on how to do this 2006/1/17, Simon Kitching [EMAIL PROTECTED]:

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

2006-01-17 Thread Jesse Alexander \(KBSA 21\)
Reading this thread I came up with this idea: Have the render-kit create a dom-representation of the UI-tree. Then have a transform-mechanism convert it inot either html or pdf or wml, or... according to the useragents needs or according to some other request-settings that control the

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

2006-01-17 Thread Simon Kitching
Unfortunately I don't think this is going to work, Jesse. An intermediate format would be needed that encapsulates every piece of information in the JSF components in case it is needed - ie it will be just as complex as the component tree. And this doesn't solve the postback phase. Currently the

Re: Where is the error log for MyFaces in Tomcat?

2006-01-17 Thread Adam
Andrew Robinson wrote: Usually created by log4j file in the catalina.out file under your tomcat logs folder Yup I fixed the prblem. There was no logj file aywhere so I created one now it's all good. Adam On 1/16/06, *Adam* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Dear

RE: How can I redirect from a servlet to a JSF page (that isbacked by a bean)?

2006-01-17 Thread Jeffrey Porter
I'm still really stuck over this. Has anyone any ideas why I, when I click on a commandButton, get 404 Error no call is made to the code behind the commandButton. This only occurs on the page when it is displayed via the NonFacesRequestServlet and not when I get to the page from another

AW: Some questions regarding state-saving of components andBacking-Beans

2006-01-17 Thread Matthias Kahlau
The tomahawk t:saveState does cause the object specified to be serialized along with the view; see the documentation for t:saveState for details. I have a problem with updating an domainmodel object's state which is referenced from within a Backing-Bean saved with t:saveState. I think the

How often does tree2 rebuild itself

2006-01-17 Thread Adam
Dear All, I have some code which if you like I'll post here which basically renders out any XML file via an underlying JDOM DOM object using tree2. The problem is that every time I click on a tree element (i.e. a node) it would appear that the entire visible tree is repocessed thus if I

How do I set values in a backing bean from a servlet context in JSF?

2006-01-17 Thread Adam
Dear All, I have a tree2 view which is fed via a backing bean. The backing bean opens up an xml file via a URL processes it into a JDOM object, displaying the result as a tree2. I would like to supply the URL via another page with a file browser box i.e. a drop down such that the user can

I need help in dataList.

2006-01-17 Thread Marco
Hi Everybody;I have a case that the user will enter a number and then I'll generate HTML TextAreas it's count is equal to the number he entered.And i did that with the dataList.But i need if he updated these textAreas i can get the updated values. Here is sample codeh:panelGrid align=center

RE: Shale and MyFaces

2006-01-17 Thread Igor Marakov
I use Tiles with ViewHandler patched to support functionality similar to Shale View Controller. Combination was chosen, because of the Tiles maturity and least amount of processing overhead. It can be a little awkward if you need to include non-elementary tiles (i.e. tiles containing

Error during model data update

2006-01-17 Thread Arash Bijanzadeh
HiAfter some changes, all I get from the application is this error message next to inputs, there is no exception no warnings, nothing just Error during model data update! Could somebody guess what is wrong? -- from debian manifesto:Debian Linux is a brand-new kind of Linux distribution. Rather

Re: How can I redirect from a servlet to a JSF page (that isbacked by a bean)?

2006-01-17 Thread Udo Schnurpfeil
Hi Jeff, please try to map the NonFacesRequestServlet like: servlet-mapping servlet-nameNonFacesRequestServlet/servlet-name url-pattern/NonFacesRequestServlet/url-pattern /servlet-mapping And use the external URL: http://localhost:8080/ebusiness/faces/NonFacesRequestServlet?id=1 By

tree2 set position

2006-01-17 Thread Adam
Dear All, If I have a largish tree displayed as a tree2 I click on a node, the node is opened but the page goes back to the top meaning that I then have to scroll back down to where I was then this repeats everytime I click on a node which means that if I want to expand a node near the

Re: myFaces - servlet redirect.

2006-01-17 Thread Volker Weber
Hi, i didn't implement this, i just have mentioned we have this in tobago :-). @Jeff: i don't understand yout last post on [EMAIL PROTECTED] you have a mapping of /view/ for the servlet ant the url http://localhost:8080/ebusiness/faces/view/task?id=1 i wonder why /view/task is mapped to the

RE: How often does tree2 rebuild itself

2006-01-17 Thread Gal Kirpichnikov
Hello Adam, Try Ajax functionality: http://smirnov.org.ru/en/ajax-jsf.html If you have any idea or example how to refresh tree2 content or/and presentation as a result of action in other JSP page (like rename file name in explorer changes it's name in left window navigation tree) I'll be

Problem hardcoding commandLink action outcome

2006-01-17 Thread Garner, Shawn
I'm trying to hardcode the action to "college" which is in the linkPage request scope variable. I think it's trying to resolve it as a bean action or something instead of an outcome. Can somebody help me with how to do this. linkPage: h:outputText value=#{linkPage}/br h:commandLink

Re: Shale and MyFaces

2006-01-17 Thread Duong BaTien
On Mon, 2006-01-16 at 22:19 -0800, Craig McClanahan wrote: On 1/16/06, Duong BaTien [EMAIL PROTECTED] wrote: On Mon, 2006-01-16 at 12:27 -0800, Craig McClanahan wrote: On 1/16/06, Werner Punz [EMAIL PROTECTED] wrote: [snip]

Re: Problem hardcoding commandLink action outcome

2006-01-17 Thread Mike Kienenberger
You are correct. It's trying to resolve it as a method binding. You need to either use h:commandLink action=#{yourBean.yourMethodReturningCollegeAsAString}/ or h:commandLink action=college/ The attribute action takes only a string literal or a method binding that returns a String. It does

RE: Problem hardcoding commandLink action outcome

2006-01-17 Thread Garner, Shawn
How about using the f:attribute tag for name=action? Shawn -Original Message- From: Mike Kienenberger [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 17, 2006 10:21 AM To: MyFaces Discussion Subject: Re: Problem hardcoding commandLink action outcome You are correct. It's trying to

RE: Tree2 editting from other JSF page

2006-01-17 Thread Saurabh Rasinghaney
By setting the target to the second page u can do that Eg: see target in facet f:facet name=job-ticket h:panelGroup h:commandLink immediate=true styleClass=#{t.nodeSelected ? 'documentSelected':'document'} target=detailFrame action=#{treeBacking.processDetailView}

RE: Problem hardcoding commandLink action outcome

2006-01-17 Thread Garner, Shawn
Damn, get an exception with f:attribute. I thought that should work. To do h:commandLink action=college/ I would have to do a choose/when condition checking the value of #{linkPage} which can have like 12 different values. Seems like a messy solution to me. Shawn -Original Message-

Re: How can I redirect from a servlet to a JSF page (that isbacked by a bean)?

2006-01-17 Thread Matthias Wessendorf
Jeff can you update wiki page, if udos hint is successful ? -Matthias On 1/17/06, Udo Schnurpfeil [EMAIL PROTECTED] wrote: Hi Jeff, please try to map the NonFacesRequestServlet like: servlet-mapping servlet-nameNonFacesRequestServlet/servlet-name

RE: Problem hardcoding commandLink action outcome

2006-01-17 Thread Garner, Shawn
The attribute action takes only a string literal or a method binding that returns a String. It does not take a value binding that evaluates to a String. So if you need the action target to be variable, you need to write java code to perform this logic. Possibly you could use some kind of JSP

RE: myFaces - servlet redirect.

2006-01-17 Thread Jeffrey Porter
Firstly I'd like to thank Matthias Volker for there help so far with this! Ok, I've stripped out all the excess code and got a sample of problem together. Download the ear (inc src) http://www.porter.eu.com/jeff/servletRedirect.ear URL to request once running...

Re: Problem hardcoding commandLink action outcome

2006-01-17 Thread Mike Kienenberger
Yes, you're trying to fight the technology. Just do this. public class YourBean { public String getActionForLinkPage() { FacesContext facesContext = FacesContext.getCurrentInstance(); String action =

inputDate seems to be Caching a value

2006-01-17 Thread James Reynolds
Hello all, I'm using the inputdate component in a panelgrid and it appears to be caching the first value to which it's assigned. I searched the mail archives and found one note from Colin Chambers describing the same issue. He indicated that it was due to including the component in a

welcome-file-list + facelets question

2006-01-17 Thread Kalman Hazins
Hi, group. I am just starting out on the long Facelets/JSF path and have the following (simple I hope) question. I have a login.xhtml page in my .../webapps/myproj directory on Tomcat 5.5. I have configured facelets to work for my application and the following works just fine

Re: I need help in dataList.

2006-01-17 Thread Marco
Any suggestions please...All i need to do is to update the model from the generated UI components from the dataList.Thanks a lot

RE: Tree2 editting from other JSF page

2006-01-17 Thread Gal Kirpichnikov
Thanks, but I’m talking about the opposite event: change in “detailedFrame” effects the tree, Do you have idea? Best regards, From: Saurabh Rasinghaney [mailto:[EMAIL PROTECTED] Sent: ג 17 ינואר 2006 18:38 To: MyFaces Discussion Subject: RE: Tree2 editting from other JSF

Re: Error during model data update

2006-01-17 Thread ::SammyRulez::
It happens to me wher I mistype the neame of the managed bean bound tho the component 2006/1/17, Arash Bijanzadeh [EMAIL PROTECTED]: Hi After some changes, all I get from the application is this error message next to inputs, there is no exception no warnings, nothing just Error during model

RE: Problem hardcoding commandLink action outcome

2006-01-17 Thread Garner, Shawn
Can you explain what this is actually doing? How does it know how to resolve (#{param.linkPage}) after the page is rendered? Shawn -Original Message- From: Mike Kienenberger [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 17, 2006 10:57 AM To: MyFaces Discussion Subject: Re: Problem

Re: Problem hardcoding commandLink action outcome

2006-01-17 Thread Mike Kienenberger
It doesn't need to. The value is resolved during render time. On 1/17/06, Garner, Shawn [EMAIL PROTECTED] wrote: Can you explain what this is actually doing? How does it know how to resolve (#{param.linkPage}) after the page is rendered? Shawn -Original Message- From: Mike

Re: Shale and MyFaces

2006-01-17 Thread Craig McClanahan
On 1/17/06, Werner Punz [EMAIL PROTECTED] wrote: Anyway, I checked out the extensions, and personally think they areheavens sent, but in my opinion there is huge room for more.What I really love about Seam and what is missing in the extensions isan easy dialog mechanism. Currently you have to

RE: Problem hardcoding commandLink action outcome

2006-01-17 Thread Garner, Shawn
So the bean's action method is evaluated during render time and not after they click on the link? Shawn -Original Message- From: Mike Kienenberger [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 17, 2006 11:51 AM To: MyFaces Discussion Subject: Re: Problem hardcoding commandLink action

Re: Error during model data update

2006-01-17 Thread Mike Kienenberger
It's possibly a conversion/converter error. On 1/17/06, Arash Bijanzadeh [EMAIL PROTECTED] wrote: Hi After some changes, all I get from the application is this error message next to inputs, there is no exception no warnings, nothing just Error during model data update! Could somebody guess

Re: Find label of component

2006-01-17 Thread Mike Kienenberger
If you've set everything else up, it should be automatic: http://www.mail-archive.com/users%40myfaces.apache.org/msg15110.html On 1/16/06, Veit Guna [EMAIL PROTECTED] wrote: Hi. How can I get the label (outputLabel) for a specific component? I need this, to add the label text to a custom

jscookmenu problem?

2006-01-17 Thread Wei Chiang
It seems that the following problem has something to do with jscookmenu because the problem disappears once I remove jscookmenu related code from the jsp page. I use jsf(myfaces 1.1.1), tiles and jscookmenu. A null pointer exception appears on the very first entry to a tiled page after the

Re: Problem hardcoding commandLink action outcome

2006-01-17 Thread Mike Kienenberger
Hmm. Since you put it that way, maybe not. I'm not entirely certain. Try it and see, but I think you might be right. In that case, I'd recommend using t:saveState on a copy of your request variable. Create a YourBean instance variable to hold a copy of #{param.linkPage}, and add

Confused by the Number of Method Calls

2006-01-17 Thread Mike Duffy
I have a JSF page with the following tag: t:panelGroup id=panelHasIssuesAssigned rendered=#{home.hasIssuesAssigned} Whether or not the panel is rendered is determined by a call to a method in the backing bean: rendered=#{home.hasIssuesAssigned} When I trace the code path I see that this method

Re: I need help in dataList.

2006-01-17 Thread Mike Kienenberger
Marco, UIData components (like t:dataList/h:dataTable/t:dataTable/t:newspaperTable/t:columns) use a Flyweight pattern. http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/FlyweightPattern.htm What this means is that one component is used multiple times to encode/render and decode/parse

Re: Find label of component

2006-01-17 Thread Veit Guna
Hi. No, I mean no std. Validation Error messages. These work fine. I mean custom Messages that you add with FacesContext.addMessage(ClientId, FacesMessage). This will be printed as-is with no field label attached to it (as {0} or similar). I've used some workaround that is used internally by

Re: myFaces - servlet redirect.

2006-01-17 Thread Volker Weber
Hi Jeff, i just played a bit with your app. when i change the mapping for the NonFacesRequestServlet to /faces than it works! For a reason i currently don't know, (and also have no time to investigate) the form action is prefixed with the servlet name. So using the mapping /faces is a hack, but

Re: Find label of component

2006-01-17 Thread Mike Kienenberger
Right, I understood you meant customized (programmically created) calls to addMessage. But that's the same thing that the validators do internally -- call addMessage. So if standard validation is working, perhaps the problem is that you've specified the wrong clientid value? (I find it easiest

Re: Confused by the Number of Method Calls

2006-01-17 Thread Dennis Byrne
The component is part of several processing phases. Most of these phases process the component differentlt depending upon whether or not the component isRendered() . So more than one phase is going to call this method. Dennis Byrne -Original Message- From: Mike Duffy [mailto:[EMAIL

dataScroller total page number (large data set)

2006-01-17 Thread Emmanuel Jay
Hi all,We are trying the use the dataScroller for a large data set (I have read the threads about that). Our business logic is all there but we can't figure out how to set the total number of pages on the dataScroller without loading the whole model. Basically we just want to specify on the

RE: Problem hardcoding commandLink action outcome

2006-01-17 Thread Garner, Shawn
Yeah, sounds good but this code is in a loop and each few iterations has different values for linkPage. Shawn -Original Message- From: Mike Kienenberger [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 17, 2006 12:09 PM To: MyFaces Discussion Subject: Re: Problem hardcoding commandLink

RE: myFaces - servlet redirect.

2006-01-17 Thread Jeffrey Porter
THANKS! I defiantly owe you a beer or two! So when you say you changed the servlet mapping for NonFacesRequestServlet. Do you mean you changed... servlet-mapping servlet-nameNonFacesRequestServlet/servlet-name url-pattern/NonFacesRequestServlet/url-pattern /servlet-mapping

Re: I need help in dataList.

2006-01-17 Thread Dennis Byrne
If you can't make it render like you want, then create your own renderer for t:dataTable, and submit it as a replacement for dataList I agree that t:dataTable is probably a better alternative. The problems with dataList actually have to do with the UIComponent rather than it's renderer. In

Re: Problem hardcoding commandLink action outcome

2006-01-17 Thread Mike Kienenberger
In that case, either try the f:param approach or t:saveState the entire list of values, and reference the link by list index I'd still try the t:saveState first. I'm surprised someone else hasn't jumped in an recommended better solutions, though :) On 1/17/06, Garner, Shawn [EMAIL

Re: myFaces - servlet redirect.

2006-01-17 Thread Matthias Wessendorf
url-pattern/faces/url-pattern /faces/* just like discussed here: http://www.mail-archive.com/users@myfaces.apache.org/msg13865.html (sent you the link already ;)) -Matthias

RE: Problem hardcoding commandLink action outcome

2006-01-17 Thread Garner, Shawn
That f:param thing just prints out the value at the end of the link so I don't think it works with that. I'm not sure what t:saveState does exactly so I'll take a look. Shawn -Original Message- From: Mike Kienenberger [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 17, 2006 1:21 PM

Re: I need help in dataList.

2006-01-17 Thread Mike Kienenberger
Exactly. We need dataList's renderer ported over to dataTable, and then we can just dump the dataList component. On 1/17/06, Dennis Byrne [EMAIL PROTECTED] wrote: If you can't make it render like you want, then create your own renderer for t:dataTable, and submit it as a replacement for

Problem double click dataScroller

2006-01-17 Thread Miller, John
Has anyone seen issues double clicking dataScroller. I am going to try and reproduce with the examples app, and am not sure if its the dataScroller of buffer, but will follow up with the findings from the examples app. The behavior I have seen in my app is either an empty response with a

Re: Problem hardcoding commandLink action outcome

2006-01-17 Thread Mike Kienenberger
Right, but it'll render the original request value as the parameter value, it will then assign the old value (college) to a new request value (the parameter key) on the next page. On 1/17/06, Garner, Shawn [EMAIL PROTECTED] wrote: That f:param thing just prints out the value at the end of the

Re: myFaces - servlet redirect.

2006-01-17 Thread Udo Schnurpfeil
I've also tested it, and figured out, that it works also with the Sun Implementation WITHOUT Volkers change. So the Sun stuff works a little different. We should find the correct way (without hacking) and put an full example somewhere... Jeffrey Porter schrieb: THANKS! I defiantly owe you

Re: myFaces - servlet redirect.

2006-01-17 Thread Volker Weber
No ! /faces/* is the mapping for FacesServlet /faces is the mapping for NonFacesRequestServlet I don't like it, but this works with Jeff's example app. Regards Volker Matthias Wessendorf wrote: url-pattern/faces/url-pattern /faces/* just like discussed here:

Re: myFaces - servlet redirect.

2006-01-17 Thread Matthias Wessendorf
On 1/17/06, Volker Weber [EMAIL PROTECTED] wrote: No ! /faces/* is the mapping for FacesServlet /faces is the mapping for NonFacesRequestServlet I don't like it, but this works with Jeff's example app. ah! that is a hack :-) Udo's email sounds *interesting*. I'll look at it! Regards,

RE: Problem hardcoding commandLink action outcome

2006-01-17 Thread Garner, Shawn
I gave up. I'm just going to hard code the 12 cases in the jsp file with c:choose and c:when. Shawn -Original Message- From: Mike Kienenberger [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 17, 2006 1:31 PM To: MyFaces Discussion Subject: Re: Problem hardcoding commandLink action

Re: I need help in dataList.

2006-01-17 Thread Dennis Byrne
I see what you mean now. I think you have a good idea, but there are a few attributes, like @layout for dataList, that are not currently there for the t:dataTable component. Also, I think it may be technically difficult because UIData looks for columns and facets for processUpdates and

Re: I need help in dataList.

2006-01-17 Thread Mike Kienenberger
Yeah, I don't think we really gain anything by not specifying columns for a dataList-like component, so I don't see a problem with requiring them. The advantages of maintaining a single t:dataList are obvious. On 1/17/06, Dennis Byrne [EMAIL PROTECTED] wrote: I see what you mean now. I think

another commandLink problem

2006-01-17 Thread Garner, Shawn
I've noticed my commandLinks don't go to the page the first time. It seems to reload the page and then if I click on it again it goes to the next view. Anyone know what is causing this, how to fix it? Shawn

Re: Shale and MyFaces

2006-01-17 Thread Werner Punz
Craig McClanahan schrieb: On 1/17/06, *Werner Punz* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Anyway, I checked out the extensions, and personally think they are heavens sent, but in my opinion there is huge room for more. What I really love about Seam and what is missing

Re: another commandLink problem

2006-01-17 Thread Mike Kienenberger
If the returned string for the action is null or unknown to the navigation manager, it'll show the same page again. Also, if the commandLink isn't rendered either before or after the request, it'll return the same page. Same thing if the link is inside a UIData component and the UIData model

myFaces and dynamic table model

2006-01-17 Thread Andreas Zeller - zit-systems
Hi there, I have been working with myFaces for the past few weeks and tried to implement a product management tool. Works as follows: It displays and html table with several columns, that should as well be removable and movable. I managed to implement sorting with commandSortHeader and

RE: another commandLink problem

2006-01-17 Thread Garner, Shawn
Well I'd say it's definitely know to the navigation handler because it finds the page the second time I click on the same link. Shawn -Original Message- From: Mike Kienenberger [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 17, 2006 2:14 PM To: MyFaces Discussion Subject: Re: another

Re: myFaces and dynamic table model

2006-01-17 Thread Mike Kienenberger
Perhaps instead of setting rendered=false for your column, try setting it for the component inside your column. On 1/17/06, Andreas Zeller - zit-systems [EMAIL PROTECTED] wrote: Hi there, I have been working with myFaces for the past few weeks and tried to implement a product management tool.

Re: another commandLink problem

2006-01-17 Thread Mike Kienenberger
Right, but the second time you've clicked on the link, the page has been redrawn, the component tree updated, and the request map reset, etc, so that doesn't really eliminate any possibilities. :) If you're using a hardcoded action literal string, then yes, you can eliminate the navigation

RE: another commandLink problem

2006-01-17 Thread Garner, Shawn
I don't get what the problem is then? Shawn -Original Message- From: Mike Kienenberger [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 17, 2006 2:27 PM To: MyFaces Discussion Subject: Re: another commandLink problem Right, but the second time you've clicked on the link, the page has

Re: another commandLink problem

2006-01-17 Thread Mike Kienenberger
Can you post your jsp or facelets page code? It's not really possible to give anything beyond the vague answers below without more specific information. It'd probably also be helpful to post the faces-config information for any managed beans being used. On 1/17/06, Garner, Shawn [EMAIL

RE: another commandLink problem

2006-01-17 Thread Garner, Shawn
navigation-rule from-view-id/context07/summary.jsp/from-view-id navigation-case from-outcomecollege/from-outcome to-view-id/context07/college.jsp/to-view-id /navigation-case ... rest of navigation-cases /navigation-rule if I type in /context07/college.faces in

Re: myFaces and dynamic table model

2006-01-17 Thread Andreas Zeller - zit-systems
Hey Mike, Thanks for the quick reply. I already tried that, unfortunately I just get empty columns, with not text at all, it doesn't actually remove the column. I'd be really glad if there were some kind of a straight forward example. Someone must have done something like this by now,

Re: myFaces and dynamic table model

2006-01-17 Thread Mike Kienenberger
On 1/17/06, Andreas Zeller - zit-systems [EMAIL PROTECTED] wrote: Thanks for the quick reply. I already tried that, unfortunately I just get empty columns, with not text at all, it doesn't actually remove the column. Yeah, you're right. That'd leave empty columns I'd be really glad if

Re: another commandLink problem

2006-01-17 Thread Gary VanMatre
From: "Garner, Shawn" [EMAIL PROTECTED] I've noticed my commandLinks don't go to the page the first time. It seems to reload the page and then if I click on it again it goes to the next view. This is common behavior in MyFaces when you use the brower back button to a dirty page and repost

Re: another commandLink problem

2006-01-17 Thread Mike Kienenberger
Right. We know the navigation rules are correct which is why I didn't ask for them. The jsp code and possibly the managed bean definitions are what we need to see. On 1/17/06, Garner, Shawn [EMAIL PROTECTED] wrote: navigation-rule from-view-id/context07/summary.jsp/from-view-id

RE: another commandLink problem

2006-01-17 Thread Garner, Shawn
I tried client and now it blows up on every link on pages that use to work. I don't use the back button. I just use the same url from a new browser window after I restart the server. Shawn From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 17, 2006

Re: myFaces and dynamic table model

2006-01-17 Thread Andreas Zeller - zit-systems
My idea was as follows: Add a remove button like "-", arrows for moving columns from left to right all inside a panelgroup in the table header. Columns have IDs, that's how I identify them. For each ID there's a position. I store these values inside a MapString,Integer. When building the

Re: myFaces and dynamic table model

2006-01-17 Thread Simon Kitching
On Tue, 2006-01-17 at 21:20 +0100, Andreas Zeller - zit-systems wrote: Hi there, I have been working with myFaces for the past few weeks and tried to implement a product management tool. Works as follows: It displays and html table with several columns, that should as well be removable

  1   2   >