question

2005-12-03 Thread hilz

Hi all...
I have a  element where the link points to an XML file.
when a user clicks the link in the browser, the XML file is opened.
I want to make it in such a way that when the user clicks on the link, 
it saves the file on the client (by opening the save as dialog).


Does anyone know how to do that?

thanks



Help on using Facelets with MyFaces

2005-12-03 Thread Emily Gu
Hi,
 
I have tried to following instruction on http://wiki.apache.org/myfaces/Use_Facelets_with_Tomahawk, that is created tomahawk.taglib.xml under WEB-INF, and added reference in 
web.xml. Created facelets.xhtml file. When I invoke http://localhost:8080/pages/facelets.jsf. It showed nothing. I added other components, such as commandLink. Nothing was showing. Did I miss anything. If you can give an example of how to use one of such component in Facelets is greatly appreciated.

 
Thanks
 
 


Re: does not work inside

2005-12-03 Thread Dennis Byrne
An action will not fire if the action source is not rendered 
on the *current* request, regardless of the fact that it was 
rendered on the last request.  In your case, #{bean.list} is 
probably in request scope, and it is simply being rebuilt too 
late in the request cycle (in the invoke application phase if 
you are doing this in an action method).  

You can probably solve this using preserveDataModel=true, or 
by preserving your list with t:saveState.

 Original message 
>Date: Sat, 3 Dec 2005 17:33:24 -0800 (PST)
>From: Dave <[EMAIL PROTECTED]>  
>Subject:  does not work inside   
>To: users@myfaces.apache.org
>
> or  inside a
>does not work. Its action listener and
>   action binding method were not called.
>
>   any one has experienced the same issue? Thanks.
>
>  styleClass="standardList"
>   var="x"
>   value="#{bean.list}"
>   layout="simple"
>   rowCountVar="rowCount"
>   rowIndexVar="rowIndex">
> actionListener="#{bean.listener}"
>  action="#{bean.go}"/>
>  
>   
>
> 
>
>   Yahoo! Personals
>   Single? There's someone we'd like you to meet.
>   Lots of someones, actually. Yahoo! Personals

Dennis Byrne


does not work inside

2005-12-03 Thread Dave
  or  inside a  does not work. Its action listener and action binding method were not called.      any one has experienced the same issue? Thanks.               styleClass="standardList"    var="x"    value="#{bean.list}"    layout="simple"    rowCountVar="rowCount"    rowIndexVar="rowIndex">      
   actionListener="#{bean.listener}"   action=""/>   
		 Yahoo! Personals 
Single? There's someone we'd like you to meet. 
Lots of someones, actually. Yahoo! Personals

Re: MyFaces Tiles Shale Spring, oh my!

2005-12-03 Thread Stand Trooper
dangit!!!  I didn't see that one!

I'll look at it... thanx Craig!!

timo

On 12/3/05, Craig McClanahan <[EMAIL PROTECTED]> wrote:

>  Good to see people talking about stacks, not just technologies.
>
>  One comment, though ... the Shale "use cases" example app integrates the 
> MyFaces / Spring / Tiles /  Shale constellation for you as well, if you want 
> to see them all in one app.

>  Craig


Re: MyFaces Tiles Shale Spring, oh my!

2005-12-03 Thread Craig McClanahan
On 12/3/05, Stand Trooper <[EMAIL PROTECTED]> wrote:
I know someone out there has done this, and my examples aren'tperfect, but for that one or two people out there who want to know howto integrate MyFaces spring and Tiles or MyFaces Spring Tiles andShale, here's some quick and dirty examples.
http://gerbildrop.com/jsfsts/I based these off of the bikes examples from the Spring Developer'sHandbook, it was easier to do it this way because the examples I was
working on were hge and not necessarily a good thing for someoneto figure out how to integrate these examples.I'm sure someone on this list has some suggestions on what theywould've done differently.  This is mainly for those that are curious
what this will do.
Good to see people talking about stacks, not just technologies.

One comment, though ... the Shale "use cases" example app integrates the MyFaces / Spring / Tiles /  Shale constellation for you as well, if you want to see them all in one app.
later, 
timo
Craig



Re: Re: MyFaces for production?

2005-12-03 Thread Martin Marinschek
Jesse,

maybe you could think about adding this on the WIKI?

would be real interesting for the rest of the world to see as well ;)

regards,

Martin

On 12/3/05, Martin Marinschek <[EMAIL PROTECTED]> wrote:
> Doesn't look to bad for us!
>
> thanks for the info ;)
>
> regards,
>
> Martin
>
> On 12/2/05, Jesse Alexander (KBSA 21) <[EMAIL PROTECTED]> wrote:
> > Hi
> >
> > just some figures from my profiling sessions for verification (meaning:
> > have sou seen similar/comparable numbers)
> >
> > Application: VERY simple application (crossbar helloWorld) with no
> > business
> > logic, just one string attribute with a pure
> > getter/setter-access
> > Servlet-Engine:  Tomcat 5.0
> > Hardware:IBM R50 laptop (1.5MHz Centrino, 1GB of memory)
> > Profiler:Yourkit 4.0
> > JDK: Sun 1.4.2
> > Usecase: results in 10 requests, 1 with a validation exception
> > Load:1 single user
> > Versions:
> >  - MyFaces   1.1.0
> >  - RI1_1_01
> >
> >
> > (all values in milliseconds)
> >Lifecycle-phase
> >State   RestApply   Proc.Upd.Invok Rendr  Total CPU
> >ViewReq.Valid. Model ApplResp
> > ms/Request
> > MF  Srvr   5010  10   10  0  32042
> >  Clnt  300  10   00 10  741   108
> > RI  Srvr 40  90  500 10  57077
> >  Clnt  711  70  40   20 20 1492   237
> >
> > retained memory after 10 requests
> > MyFaces Server: 64kB (4 kB in Session)
> >Client: 65kB (0.5 kB in Session)
> > RI  Server: 46kB (9 kB in Session)
> >Client: 29kB (0.5 kB in Session)
> >
> > Size of transferred state-info (2 views...)
> >  welcome.jsf response.jsf
> > MyFaces (2Fields) 1836 Bytes  1532 Bytes
> > RI (1 Field)  1444 Bytes  1220 Bytes
> >
> > Conclusions:
> > - MyFaces seems to be lighter on CPU (roughly 50% of RI)
> > - RI seems to be lighter on Memory (roughly 50-65% of MF)
> > - MyFaces-server-state produces a smaller session (roughly 50% of RI)
> > - RI-client-state transfers less (about 75% of MF)
> > - RI has less memory allocated outside the session (roughly 50-65% of
> > MF)
> >
> > Unknowns:
> > - What happens with the memory-footprint when more than 1 concurrent
> > user
> >  are producing load?
> > - How are the CPU-footprints when the views get more complex?
> >
> > Comments/Ideas/Recommendations are VERY welcome
> > Alexander
> >
> > PS: if someone creates a facelet-version of the sample-application I
> > would
> >try to recreate the same measurements. Please contact me. The
> > Crossbar-
> >Application had to be changed to work with JSF 1.1!
> >
> > -Original Message-
> > From: Martin Marinschek [mailto:[EMAIL PROTECTED]
> > Sent: Friday, December 02, 2005 12:37 PM
> > To: MyFaces Discussion
> > Subject: Re: Re: MyFaces for production?
> >
> > Hi,
> >
> > no performance measurement here - but 5 JSF intranet and 3 internet
> > applications deployed here on MyFaces, no problems with performance
> > whatsoever.
> >
> > Interesting for the performance is the switch between client-side and
> > server-side state saving - client-side is better for memory,
> > server-side is much better for CPU performance!
> >
> > regards,
> >
> > Martin
> >
> > On 12/2/05, Jesse Alexander (KBSA 21)
> > <[EMAIL PROTECTED]> wrote:
> > > Sounds like time to do thread-dumps (and -analysis)...
> > >
> > > Have you two done some performance-measurements on your apps?
> > >
> > > regards
> > > Alexander
> > >
> > > -Original Message-
> > > From: news [mailto:[EMAIL PROTECTED] On Behalf Of Werner Punz
> > > Sent: Friday, December 02, 2005 9:59 AM
> > > To: users@myfaces.apache.org
> > > Subject: Re: MyFaces for production?
> > >
> > > Francesco Consumi wrote:
> > >
> > > > Performance is good, we have only some problem with
> > > > http://www.istitutodeglinnocenti.it, our main site, that somewhere
> > > locks
> > > > java process at 100% of cpu, but we're investigating
> > > >
> > > Interesting, I never have had that issue, with now two big JSF
> > programs
> > > an a number
> > > of small internal hacks.
> > > My guess is that there is some deadlock in the app code, to my
> > knowledge
> > > MyFaces does not have any isse in this area.
> > >
> > >
> > >
> >
> >
> > --
> >
> > http://www.irian.at
> >
> > Your JSF powerhouse -
> > JSF Consulting, Development and
> > Courses in English and German
> >
> > Professional Support for Apache MyFaces
> >
>
>
> --
>
> http://www.irian.at
>
> Your JSF powerhouse -
> JSF Consulting, Development and
> Courses in English and German
>
> Professional Support for Apache MyFaces
>


--

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces


Re: AW: UI component behavior problem

2005-12-03 Thread Volker Weber
Hi,

i found an old bug for this and added comment and patch:
http://issues.apache.org/jira/browse/MYFACES-320

@Matthias
  to clear the values just null the binding properties in your bean.

Regards
  Volker

Matthias Kahlau wrote:
> Hi Volker!
> 
> 
> You can find a hint to "spread" layout in the TLD Documentation of Tomahawk
> for the t:radio tag.
> 
> Do you also need a BackingBean for the example? I used f:selectItems in my
> app, but using f:selectItem or f:selectItems makes no difference, I hope.
> 
> 
> Regards,
> Matthias
> 
> 
>>-Ursprungliche Nachricht-
>>Von: [EMAIL PROTECTED]
>>[mailto:[EMAIL PROTECTED] Auftrag
>>von Volker Weber
>>Gesendet: Freitag, 2. Dezember 2005 18:57
>>An: MyFaces Discussion
>>Betreff: Re: UI component behavior problem
>>
>>
>>Hi Mathias,
>>
>>never heard of layout="spread" before, it's illegal value according to
>>the tld, but i looked into the source and the examples and at least i
>>hopefully have understand what it mean and how it works,
>>
>>And my conclusion is there is a bug in this component. The submitted
>>value is never rendered back if layout=spread.
>>
>>Could you, or someone else, create a small example to confirm this?
>>
>>Just a page with selectOneRadio with layout=spread, some
>>correspondending radio tags and a command with immediate=true (to
>>prevent validation ) and no action (is that possible?) to force rerender
>>the same view. If i am correct the submitted value will get lost.
>>
>>If someone confims this and file a jira issue i can provide a patch to
>>fix this.
>>
>>Regards
>>
>>  Volker
>>
>>Matthias Kahlau wrote:
>>
>>>Hi Volker!
>>>
>>>
>>>I have investigated the misbehavior in relation to the attributes of the
>>>selectOneRadios used, and I can report you the following:
>>>
>>>
>>>- the selection is preserved in selectOneRadio using layout =
>>
>>pageDirection
>>
>>>and immediate = true/false
>>>- the selection is preserved in selectOneRadio using layout = spread and
>>>immediate = true
>>>- the selection is NOT preserved in selectOneRadio using layout
>>
>>= spread and
>>
>>>immediate = false
>>>
>>>
>>>The same goes for the one selectManyCheckbox with layout =
>>
>>spread I used:
>>
>>>- the selection is preserved in selectManyCheckbox using layout
>>
>>spread and
>>
>>>immediate = true
>>>- the selection is NOT preserved in selectManyCheckbox using
>>
>>layout spread
>>
>>>and immediate = false
>>>
>>>
>>>There are no errors in the logging output except of the following, but I
>>>don't know if it has sth. to do with the problem:
>>>ERROR [org.apache.myfaces.taglib.UIComponentTagUtils] Invalid expression
>>>
>>>
>>>So I've got a notion that the "misbehavior" must have something
>>
>>to do with
>>
>>>using layout = spread! The value(s) of input components using layout =
>>>spread is only stored in the component when using immediate = true.
>>>
>>>I have to state that the commandLink I use to navigate to the
>>
>>subform page
>>
>>>also uses immediate = true, in order that there's no validation
>>
>>until the
>>
>>>user presses the save button at the end of his task.
>>>
>>>At the moment, it seems that I have to use immediate = true for
>>
>>all input
>>
>>>components using layout = spread, in order that the values are
>>
>>preserved.
>>
>>>But that way, there will be the validations I didn't want to have.
>>>
>>>
>>>Regards,
>>>Matthias
>>>
>>>
>>
>>--
>>Don't answer to From: address!
>>Mail to this account are droped if not recieved via mailinglist.
>>To contact me direct create the mail address by
>>concatenating my forename to my senders domain.
> 
> 

-- 
Don't answer to From: address!
Mail to this account are droped if not recieved via mailinglist.
To contact me direct create the mail address by
concatenating my forename to my senders domain.


Facelets, forceId and forceIdIndex

2005-12-03 Thread alvin antony
Hallo,does anybody know, where the problem is? please see the attached mail which  i send yesterday.I get the following exception when i use the t:htmlselectoneRadio in facelets. java.lang.ClassCastException at ..component.html.ext.HtmlSelectOneRadio.validateValue().does anybody had this problem before or i am the first one who uses  a htmlSelectOneRadio with facelets having forceId=true and forceidIndex=false?Thank you very much for any  helpAlvinAm 02.12.2005 um 15:15 schrieb Alvin Antony:Hallo Friends, I am getting this exception when i use forceid=true and forceidIndex=false with facelets. I had a look in the code and the code is expecting a Boolean type but returned is of Type String. The code snippet from HtmlSelectOneRadio is here Boolean forceIdIndex = (Boolean) this.getAttributes().get("forceIdIndex"); Is this a bug in myfaces/facelets or am I doing something wrong? I had the same problem before in HtmlComponentUtils.getClientId() method where I patched the code at the moment myself. Thanks, Alvin   

facelet

2005-12-03 Thread Arash Bijanzadeh
Hi,
I would like to here any advise regarding to facelets. Did anybody used this framework? 
What is the situation?
How could license issue be solved?
Is there the possibility to combine tobago and facelets?

Thanks in advance-- from debian manifesto:Debian Linux is a brand-new kind of Linux distribution. Rather than being developed by one isolated individual or group, as other distributions of Linux have been developed in the
 past, Debian is being developed openly in the spirit of Linux and GNU. 


Re: jsCalendarPopupCalendar not embedded

2005-12-03 Thread Kurt Edegger

Martin,

thank you for the suggestion, but I tried it w/ myfaces-1.0.9 (both the 
-all.jar and the split up dist) and 1.1.0 as well.

I'm still getting the same jScript errors.

clueless,

Kurt

on 12/2/2005 3:38 AM Martin Marinschek stated:

Ah - now I remember some issue with inputCalendar in 1.1.1.

Are you using 1.1.1 or a nightly build?

regards,

Martin

On 12/2/05, Kurt Edegger <[EMAIL PROTECTED]> wrote:


I do think, that the ExtensionFilter is called when the page is
rendered. The reason is that I do use a tree2 component, which didn't
function properly before I added the filter and now it works fine.

just a thought,

   Kurt


on 12/1/2005 11:20 PM Martin Marinschek stated:


ah, I overlooked the 2.4 statement on top, sorry.

Maybe you should try to start your debugger and see if you ever get
into the ExtensionsFilter, that might be useful.

regards,

Martin

On 12/1/05, Mike Kienenberger <[EMAIL PROTECTED]> wrote:



Martin,

That's no longer true for 2.4, which is xml-schema based:




From the comments in the url at the top of the file:



  The web-app element is the root of the deployment
  descriptor for a web application.  Note that the sub-elements
  of this element can be in the arbitrary order.

Kurt,

Unfortunately, I don't see anything wrong with your web.xml.   That
doesn't mean there's nothing wrong, only that I don't see it, though
:)

Sorry I can't be of more help.


On 12/1/05, Martin Marinschek <[EMAIL PROTECTED]> wrote:



On the first glance - you need to keep the sequence of things
correctly in your web.xml, AFAIK.

That would mean that you should first define all filters and their
mappings, then servlets and their mappings.

regards,

Martin


On 12/1/05, Kurt Edegger <[EMAIL PROTECTED]> wrote:



Hi Mike,

here's my web.xml. The JSF application is a tool for a program called
Sakai, thus the additional servlets and mappings.

Thanks


http://java.sun.com/xml/ns/j2ee";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";>
ECGViewer_standalone


 
 sakai.ecgviewer.tool
 org.sakaiproject.jsf.util.JsfTool
 
 default
 index
 
 
 path
 /
 
  1 
 

 
 Faces Servlet
 javax.faces.webapp.FacesServlet
 2
 

 
 org.sakaiproject.util.ToolListener
 


  

org.apache.myfaces.webapp.StartupServletContextListener
  



   sakai.request
   org.sakaiproject.util.RequestFilter



sakai.request
Faces Servlet
REQUEST
FORWARD
INCLUDE




 javax.faces.STATE_SAVING_METHOD
 server



com.sun.faces.validateXml
true



 Faces Servlet
 *.jsf



 
 
  MyFacesExtensionsFilter
  
  org.apache.myfaces.component.html.util.ExtensionsFilter
  
  
  maxFileSize
  20m
  
  Set the size limit for uploaded files.
   Format: 10 - 10 bytes 10k - 10 KB
   10m - 10 MB 1g - 1 GB
  
  
 


 
  MyFacesExtensionsFilter
  *.jsf
 
 
  MyFacesExtensionsFilter
  /faces/*
 

 


Thank you,

   Kurt


on 12/1/2005 9:44 AM Mike Kienenberger stated:



Post your web.xml configuration sections on filters, filter mappings,
servlets, and servlet mappings.   Maybe we can spot the error.




--

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces





--

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces






--

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces




Re: Re: MyFaces for production?

2005-12-03 Thread Martin Marinschek
Doesn't look to bad for us!

thanks for the info ;)

regards,

Martin

On 12/2/05, Jesse Alexander (KBSA 21) <[EMAIL PROTECTED]> wrote:
> Hi
>
> just some figures from my profiling sessions for verification (meaning:
> have sou seen similar/comparable numbers)
>
> Application: VERY simple application (crossbar helloWorld) with no
> business
> logic, just one string attribute with a pure
> getter/setter-access
> Servlet-Engine:  Tomcat 5.0
> Hardware:IBM R50 laptop (1.5MHz Centrino, 1GB of memory)
> Profiler:Yourkit 4.0
> JDK: Sun 1.4.2
> Usecase: results in 10 requests, 1 with a validation exception
> Load:1 single user
> Versions:
>  - MyFaces   1.1.0
>  - RI1_1_01
>
>
> (all values in milliseconds)
>Lifecycle-phase
>State   RestApply   Proc.Upd.Invok Rendr  Total CPU
>ViewReq.Valid. Model ApplResp
> ms/Request
> MF  Srvr   5010  10   10  0  32042
>  Clnt  300  10   00 10  741   108
> RI  Srvr 40  90  500 10  57077
>  Clnt  711  70  40   20 20 1492   237
>
> retained memory after 10 requests
> MyFaces Server: 64kB (4 kB in Session)
>Client: 65kB (0.5 kB in Session)
> RI  Server: 46kB (9 kB in Session)
>Client: 29kB (0.5 kB in Session)
>
> Size of transferred state-info (2 views...)
>  welcome.jsf response.jsf
> MyFaces (2Fields) 1836 Bytes  1532 Bytes
> RI (1 Field)  1444 Bytes  1220 Bytes
>
> Conclusions:
> - MyFaces seems to be lighter on CPU (roughly 50% of RI)
> - RI seems to be lighter on Memory (roughly 50-65% of MF)
> - MyFaces-server-state produces a smaller session (roughly 50% of RI)
> - RI-client-state transfers less (about 75% of MF)
> - RI has less memory allocated outside the session (roughly 50-65% of
> MF)
>
> Unknowns:
> - What happens with the memory-footprint when more than 1 concurrent
> user
>  are producing load?
> - How are the CPU-footprints when the views get more complex?
>
> Comments/Ideas/Recommendations are VERY welcome
> Alexander
>
> PS: if someone creates a facelet-version of the sample-application I
> would
>try to recreate the same measurements. Please contact me. The
> Crossbar-
>Application had to be changed to work with JSF 1.1!
>
> -Original Message-
> From: Martin Marinschek [mailto:[EMAIL PROTECTED]
> Sent: Friday, December 02, 2005 12:37 PM
> To: MyFaces Discussion
> Subject: Re: Re: MyFaces for production?
>
> Hi,
>
> no performance measurement here - but 5 JSF intranet and 3 internet
> applications deployed here on MyFaces, no problems with performance
> whatsoever.
>
> Interesting for the performance is the switch between client-side and
> server-side state saving - client-side is better for memory,
> server-side is much better for CPU performance!
>
> regards,
>
> Martin
>
> On 12/2/05, Jesse Alexander (KBSA 21)
> <[EMAIL PROTECTED]> wrote:
> > Sounds like time to do thread-dumps (and -analysis)...
> >
> > Have you two done some performance-measurements on your apps?
> >
> > regards
> > Alexander
> >
> > -Original Message-
> > From: news [mailto:[EMAIL PROTECTED] On Behalf Of Werner Punz
> > Sent: Friday, December 02, 2005 9:59 AM
> > To: users@myfaces.apache.org
> > Subject: Re: MyFaces for production?
> >
> > Francesco Consumi wrote:
> >
> > > Performance is good, we have only some problem with
> > > http://www.istitutodeglinnocenti.it, our main site, that somewhere
> > locks
> > > java process at 100% of cpu, but we're investigating
> > >
> > Interesting, I never have had that issue, with now two big JSF
> programs
> > an a number
> > of small internal hacks.
> > My guess is that there is some deadlock in the app code, to my
> knowledge
> > MyFaces does not have any isse in this area.
> >
> >
> >
>
>
> --
>
> http://www.irian.at
>
> Your JSF powerhouse -
> JSF Consulting, Development and
> Courses in English and German
>
> Professional Support for Apache MyFaces
>


--

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces


Re: JSF flaw

2005-12-03 Thread Martin Marinschek
Hi Mike,

yes, of course I meant transient - have been thinking about the
immediate attribute too much the last week, as I have been giving a
course and that was the single least understood concept of JSF ;)

and no, saveState/restoreState don't need to check - look into all the
standard components, none does it.

regards,

Martin

On 12/2/05, Mike Kienenberger <[EMAIL PROTECTED]> wrote:
> That's exactly the code I was looking at, assuming you meant
> "transient" rather than "immediate," which is what got me wondering.
>
> Up to this point, I always thought it was the responsibility of
> saveState/restoreState to check transient, but now I'm thinking that
> I've been doing it wrong.
>
> Thanks!
>
> On 12/2/05, Martin Marinschek <[EMAIL PROTECTED]> wrote:
> > On lookup, I see that there is nothing. I do remember a discussion
> > about this at some time, though. But that's a long time ago, maybe I
> > am wrong.
> >
> > You don't need to change behaviour - if you look into UIComponentBase,
> > you see that based on the value of immediate saveState/restoreState
> > will be called or not.
> >
> > regards,
> >
> > Martin
> >
> >
> >
> > On 12/1/05, Mike Kienenberger <[EMAIL PROTECTED]> wrote:
> > > On 12/1/05, Martin Marinschek <[EMAIL PROTECTED]> wrote:
> > > >  @1: yes, I have sometimes thought about this as well - saying that a
> > > > certain part of the page is exempt from state saving might be nice.
> > > > There was this transient attribute once for components, but hasn't it
> > > > been deprecated?
> > >
> > > I don't see anything transient being deprecated.   One thing I wonder
> > > about is whether the saveState/restoreState method code needs to
> > > explicitly change behavior based on the value of transient, or if it's
> > > always the responsibility of the caller to check the transient value.
> > >
> >
> >
> > --
> >
> > http://www.irian.at
> >
> > Your JSF powerhouse -
> > JSF Consulting, Development and
> > Courses in English and German
> >
> > Professional Support for Apache MyFaces
> >
>


--

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces


Re: newspaperTable merge with dataTable

2005-12-03 Thread Jesse Wilson
I wrote newspaperTable a long time ago and
I think this is a great idea. When I wrote the
class I didn't extend dataTable as to make it
much more attractive to the MyFaces admins -
it would be quite controversial to add an attribute
to one of the most popular components.

But newspaperTable and dataTable are 99%
the same code, and making this change makes
a lot of sense. Unfortunately I won't be able to
implement it due to lack of time and familiarity.

Cheers,
Jesse


On 12/2/05, Dave <[EMAIL PROTECTED]> wrote:
>
> newspaperTable should be merged with dataTable. It should be a property of
> dataTable.
>
>newspaperColumns="8"/>
>
> if the property is 0 or not defined, it is a normal table, otherwise render
> as newspaper.
>
> This way it can leverage all features of dataTable such as sorting and
> dynamic column model, etc.
> what do you think?
>
> Dave
>
>
>
>  
>  Yahoo! Personals
>  Skip the bars and set-ups and start using Yahoo! Personals for free
>
>