Re: Highlight current row

2007-01-25 Thread Gerald Müllan

Hi,

you mean a row when using t:dataTable?

E.g. there are rowOnMouseOver and rowOnMouseOut js-events, you can
apply any css-class easily with this event.

cheers,

Gerald

On 1/25/07, lightbulb432 <[EMAIL PROTECTED]> wrote:


Does MyFaces have any way of highlighting a particular row (or setting its
CSS class to be something different from the other rows based on some
criteria)?

If not, are there any other component libraries that do such a thing?
--
View this message in context: 
http://www.nabble.com/Highlight-current-row-tf3096673.html#a8597295
Sent from the MyFaces - Users mailing list archive at Nabble.com.





--
http://www.irian.at

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

Professional Support for Apache MyFaces


RE: Re: [Tobago] Problems with target attribute

2007-01-25 Thread H. Swaczinna
Ok, both issues are fixed. Thank you.

But there's another problem with the progress bar. I'll start a new
thread for this.

Regards
Helmut


>I think it is fixed for link now
>
>Bernd Bohmann wrote:
>> Hello Helmut,
>> 
>> should be fixed for button now.
>> 
>> TOBAGO-41 doesn't works very well with TOBAGO-103
>> 
>> I will look at the link renderer, but this take some time.
>> 
>> Regards
>> 
>> Bernd
>> 
>> H. Swaczinna wrote:
>>> Hello,
>>>
>>> I want to display the result of an action in a new window. I understand,
>>> this can be done with the target attribute of tc:button and tc:link.
>>> But there're two problems:
>>>
>>> First, if I specify a target in tc:link, the action of the link is not
>>> invoked and the newly opened window remains empty.
>>>
>>> Sesond, when I use a tc:button instead, the action is invoked and the
>>> result is displayed in the new window. But the parent window remains
>>> disabled with a progress bar running for ever. I think, the window
>>> waits for result, which was redirected to the new window.
>>>
>>> JSP:
>>>
>>> >>   label="New window"
>>>   action="#{anlagenController.action}"
>>>   target="New window"/>
>>>
>>> >>   label="New window"
>>>   action="#{anlagenController.action}"
>>>   target="New window"/>
>>>
>>> AnlagenController.java:
>>>
>>>   public String action() {
>>> LOG.debug("action");
>>> return "newWindow";
>>>   }
>>>
>>> faces-config.xml:
>>>
>>> 
>>>   newWindow
>>>   /main.jsp
>>> 
>>>
>>>
>>> Regards
>>> Helmut
>>>
>>


[Tobago] required has no effect for tc:file

2007-01-25 Thread H. Swaczinna
Hello,

the required="true" attribute has no effect in the tc:file tag.
You can submit the page without a file name entered.

Regards
Helmut


[Tobago] tc:file always has a fixed width

2007-01-25 Thread H. Swaczinna
Hello,

the width of the tc:file component is always fixed. It doesn't shrink
or spread to the width specified in the gridLayout.

Regards
Helmut


[Tobago] immediate has no effect on tabGroup

2007-01-25 Thread H. Swaczinna
Hello,

the immediate="true" attribute of tc:link or tc:button has no effect,
when the link or button is on a tab in a tabGroup. Clicking the link
or button validates the fields on the page. Is the link or button
outside the tabGroup it does not. The tabGroup has switchType realodTab.

Regards
Helmut


[Tobago] Problem with progress bar and PDF download

2007-01-25 Thread H. Swaczinna
Hello,

now to the problem with the progress bar I mentioned earlier.

I want to download a PDF file as the result of an action. I found code
on the net for doing this 
(http://www.nabble.com/download-file-breaks-lifecycle-t2893828.html).
This works fine. The browser options a dialog box, where you can choose
to open or to store the PDF file. The content of the page remains 
unchanged.

But the page remains disabled and with the progress bar running for
ever, because the page waits for the result of the action, which never
comes. Because there's no target attribute in this case, Tobago can not 
know, that there will be no result from the action. So I think, we need 
some kind of switch, to switch the progress bar off for some special 
cases.

Regards
Helmut

P.S. Sorry for the many (bug) postings and thank you for quick bug fixes
and the fantastic support so far.


Window remains locked onClick of commandLink with target.

2007-01-25 Thread Beelen, Marco
Hello,

In my application I have a use case where user search for message,
matching certain criteria.
The application shows a list of messages using a datatable, in which one
column has a commandLink with a target set.
This is done, so that if a user clicks on the link the selected message
gets displayed in an newly opened browser window.
This works fine, except that after the user has read the message and
closes the popupWindow, and selects another message to read an alert
appears stating:
"Window has been locked"

The code of my page looks like:






   




 


I assume the locking of the window has been build in to prevent double
submits, which it does quite nicely, but is an annoyance for my use
case.

Did anybody encounter this same behaviour? Is this behaviour conform
JSR-spec of is it MyFaces specific and if the latter: Is there a
work-araound available?

Any suggestions how how I could unlocked my window are greatly
appreciated.

With kind regards,
Marco


--
Notice:  This e-mail message, together with any attachments, contains
information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station,
New Jersey, USA 08889), and/or its affiliates (which may be known
outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD
and in Japan, as Banyu - direct contact information for affiliates is 
available at http://www.merck.com/contact/contacts.html) that may be 
confidential, proprietary copyrighted and/or legally privileged. It is 
intended solely for the use of the individual or entity named on this 
message. If you are not the intended recipient, and have received this 
message in error, please notify us immediately by reply e-mail and then 
delete it from your system.

--

Re: Which version of TomaHawk components can be used with JSF 1.1 RI and Tomcat 5.5.x?

2007-01-25 Thread Jay Balunas

Agreed  - I have had luck using those versions (tomahawk 1.1.5 & JSFRI 1.1),
but that was not an exhaustive application, just a sample or two to try out
the RI.

For my production application I use MyFaces1.1.4, and Tomahawk 1.1.2 and
Facelets 1.1.11

Good Luck,
Jay

On 1/24/07, Mike Kienenberger <[EMAIL PROTECTED]> wrote:


http://wiki.apache.org/myfaces/CompatibilityMatrix

As I remember, some of the JSF 1.1 RI compatibility (javascript) was
broken until Tomahawk 1.1.5, so that'd be the version I'd try to use
if I was using JSF 1.1 RI.


On 1/24/07, legolas <[EMAIL PROTECTED]> wrote:
>
> Hi
> Thank you for reading my post
> Can some one please tell me which version of TomaHawk I should download
to
> be able to use it with JSF 1.1 RI and tomcat 5.5.x ?
>
> I download  tomahawk-examples-1.1.5-SNAPSHOT-bin.tar.gz and it does not
> works with Tomcat 5.5.20
>
> I should say that i must use TomaHawk components with JSF 1.1 RI, and
Also i
> need to use PanelNavigation2 component, so Please let me know if :
>
> 1- TomaHawk does not works with JSF 1.1 RI
>
> 2- PanelNavigation2  is not present in TomaHawk version that works with
> tomcat 5.5.x and JSF RI 1.1
>
>
>
> Thanks
> --
> View this message in context:
http://www.nabble.com/Which-version-of-TomaHawk-components-can-be-used-with-JSF-1.1-RI-and-Tomcat-5.5.x--tf3084292.html#a8571665
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>
>



RE: Window remains locked onClick of commandLink with target.

2007-01-25 Thread H. Swaczinna
Hi,I think, Bernd fixed this bug yesterday. Try a new snapshot from the nightly build.RegardsHelmut 









Hello,


In my application I have a use case where user search for message, matching certain criteria.

The application shows a list of messages using a datatable, in which one column has a commandLink with a target set.

This is done, so that if a user clicks on the link the selected message gets displayed in an newly opened browser window.

This works fine, except that after the user has read the message and closes the popupWindow, and selects another message to read an alert appears stating:

"Window has been locked"


The code of my page looks like:

    




    id="messageList"

    value="#{messageSearchBean.foundMessages}" var="message" >


    

            

               

        

        

            action="" 

            immediate="true"

            value="#{message.subject}"

            target="readMessageWindow">

            

        

     




I assume the locking of the window has been build in to prevent double submits, which it does quite nicely, but is an annoyance for my use case.

Did anybody encounter this same behaviour? Is this behaviour conform JSR-spec of is it MyFaces specific and if the latter: Is there a work-araound available?

Any suggestions how how I could unlocked my window are greatly appreciated.


With kind regards,

    Marco



--
Notice:  This e-mail message, together with any attachments, contains
information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station,
New Jersey, USA 08889), and/or its affiliates (which may be known
outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD
and in Japan, as Banyu - direct contact information for affiliates is 
available at http://www.merck.com/contact/contacts.html) that may be 
confidential, proprietary copyrighted and/or legally privileged. It is 
intended solely for the use of the individual or entity named on this 
message. If you are not the intended recipient, and have received this 
message in error, please notify us immediately by reply e-mail and then 
delete it from your system.

--



RE: RE: Window remains locked onClick of commandLink with target.

2007-01-25 Thread H. Swaczinna
Sorry, forget my answer. It referred to Tobago. In Togabo, there was the same problem,which was fixed.Helmut Hi,I think, Bernd fixed this bug yesterday. Try a new snapshot from the nightly build.RegardsHelmut 









Hello,


In my application I have a use case where user search for message, matching certain criteria.

The application shows a list of messages using a datatable, in which one column has a commandLink with a target set.

This is done, so that if a user clicks on the link the selected message gets displayed in an newly opened browser window.

This works fine, except that after the user has read the message and closes the popupWindow, and selects another message to read an alert appears stating:

"Window has been locked"


The code of my page looks like:

    




    id="messageList"

    value="#{messageSearchBean.foundMessages}" var="message" >


    

            

               

        

        

            action="" 

            immediate="true"

            value="#{message.subject}"

            target="readMessageWindow">

            

        

     




I assume the locking of the window has been build in to prevent double submits, which it does quite nicely, but is an annoyance for my use case.

Did anybody encounter this same behaviour? Is this behaviour conform JSR-spec of is it MyFaces specific and if the latter: Is there a work-araound available?

Any suggestions how how I could unlocked my window are greatly appreciated.


With kind regards,

    Marco



--
Notice:  This e-mail message, together with any attachments, contains
information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station,
New Jersey, USA 08889), and/or its affiliates (which may be known
outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD
and in Japan, as Banyu - direct contact information for affiliates is 
available at http://www.merck.com/contact/contacts.html) that may be 
confidential, proprietary copyrighted and/or legally privileged. It is 
intended solely for the use of the individual or entity named on this 
message. If you are not the intended recipient, and have received this 
message in error, please notify us immediately by reply e-mail and then 
delete it from your system.

--




Re: Consultant Developers needed for JSF

2007-01-25 Thread Mick Knutson

How did you get this email? PLEASE REMOVE THIS EMAIL FROM UNSOLICITED
CORRESPONDENCE.



On 1/24/07, Samir Patel <[EMAIL PROTECTED]> wrote:


Hello,

Our engineering team was looking to see if we can get some help with our
Jboss/Hibernate/JSF implementation to build a search marketing management
software.

We would like a few senior consultants on a full time basis to work out of
our San Mateo offices. Please send me your resume or a list of projects to
be considered for this opening. (jobs at SearchForce dot com)

If you have anyone else who might be interested, please feel free to
forward this email to them.

Regards,

Samir Patel

President & CEO

SearchForce Inc.

http://www.SearchForce.com

510-468-7239 (m)
Gtalk: samird





--
Thanks

DJ MICK

(Mick Knutson)
http://www.djmick.com
http://www.myspace.com/djmick_dot_com
http://www.thumpradio.com


Exception when trying to use TomaHawk with JSF-RI

2007-01-25 Thread legolas

Hi
thank you for reading my psot.
I have problem with including TomaHawk with an application that is based on
JSF-RI.
problem is that after i add TomaHawk  to application lib folder it can not
be deployed into tomcat 5.5.17 .

here is a list of all jaf files that i am including


commons-beanutils-1.7.0.jar
commons-codec-1.3.jar
commons-collections-3.1.jar
commons-digester-1.6.jar
commons-el-1.0.jar
commons-fileupload.jar
commons-lang-2.1.jar
commons-logging-1.0.4.jar
jsf-api.jar
jsf-impl.jar
jsfcl.jar
jstl-1.1.0.jar
tomahawk-1.1.5-SNAPSHOT.jar




And here is the exception that i get,


[code]
java.lang.ClassNotFoundException: [Ljava.lang.String;
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1352)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198)
at
com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:615)
at
com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:402)
at
com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:328)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3729)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4187)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:608)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:493)
at
org.apache.catalina.startup.HostConfig.check(HostConfig.java:1204)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
at
com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
at
org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1377)
at
org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:814)
at
org.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:343)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:619)
07:07:18,265 ERROR [/fda]:3733 - Exception sending context initialized event
to listener instance of class com.sun.faces.config.ConfigureListener
javax.faces.FacesException: java.lang.ClassNotFoundException:
[Ljava.lang.String;
at
com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:334)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3729)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4187)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at
org.apache.catalina.

removing inputText when using inputCalendar

2007-01-25 Thread SOSELLA
Is there anyway to not have the inputText when using the inputCalendar
tag?  I am setting the renderPopupButtonAsImage to true, but dont want
to show the inputText box.


Re: Consultant Developers needed for JSF

2007-01-25 Thread Jeff Bischoff

Mick Knutson wrote:

How did you get this email? PLEASE REMOVE THIS EMAIL FROM UNSOLICITED
CORRESPONDENCE.



lol  :)




Re: Highlight current row

2007-01-25 Thread Jeff Bischoff

Lightbulb,

There are some hints on this in my data scroller wiki page, see [1].

The key line was contributed by Daniel Lefevre on this mailing list, and 
it goes something like:


rowStyleClass="#{dataTableBacking.selectedRowIndex == rowIndex ? 
'highlightRow' : null}"



You can use this in combination with normal row CSS classes like this:

rowClasses="oddRow,evenRow"


In this case, the rowStyleClass will only override the rowClasses 
setting for the selected row (because a null rowStyleClass does not 
interfere with rowClasses setting).


You can combine this with Gerald's suggestion if you also want mouseover 
effects.


[1] http://wiki.apache.org/myfaces/ManagingDataScrollerPage

Regards,

Jeff Bischoff
Kenneth L Kurz & Associates, Inc.

Gerald Müllan wrote:

Hi,

you mean a row when using t:dataTable?

E.g. there are rowOnMouseOver and rowOnMouseOut js-events, you can
apply any css-class easily with this event.

cheers,

Gerald

On 1/25/07, lightbulb432 <[EMAIL PROTECTED]> wrote:


Does MyFaces have any way of highlighting a particular row (or setting 
its

CSS class to be something different from the other rows based on some
criteria)?

If not, are there any other component libraries that do such a thing?
--
View this message in context: 
http://www.nabble.com/Highlight-current-row-tf3096673.html#a8597295

Sent from the MyFaces - Users mailing list archive at Nabble.com.










RE: Tomahawk on Glassfish-v2

2007-01-25 Thread Romanowski, Tim
Dennis, thanks for the heads up; comment added.

 

  _  

From: Dennis Gesker [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 24, 2007 7:02 PM
To: MyFaces Discussion
Subject: Re: Tomahawk on Glassfish-v2

 

Tim:

Could you add a comment confirming that you are seeing the same behavior in
the bug database?




https://issues.apache.org/jira/browse/TOMAHAWK-872
 
Dennis



Romanowski, Tim wrote: 

No, you are right -- the first doesn't link doesn't appear to do what is
intended, although it does 'work.' 
 
Is there an error with the source for the example?  I've never used the
collapsible panel before, but from the code, it doesn't look like anything
is changing the boolean value for the "collapsed" property in the first
test.  Or is it supposed to work as is?
 







 










 
 
Tim
 
-Original Message-
From: Dennis Gesker [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 24, 2007 3:36 PM
To: MyFaces Discussion
Subject: Re: Tomahawk on Glassfish-v2
 
Tim:
 
When you deployed the example did the first on one the page work as
well? When I loaded the example war here only the first one failed
(small one at the very top) to toggle. The rest worked.
 
Dennis
 
Romanowski, Tim wrote:
  

I just tested the myfaces-example-simple-1.war of a Tomahawk 1.1.5 nightly
from a week ago and it seems to be running ok on Glassfish V2, B31.  I ran
the collapsible panel demo, and that worked fine as well.  Also, I am
currently using the Tomahawk popup component in my own app and it is


working
  

ok.  
 
While this isn't a solution for you, it may still be that you have a
configuration issue to resolve.  Also, are you using facelets? I haven't
been able to use the panelMenu or JSCookMenu since early this past summer,
so that combination could be a source of problems.
 
Tim  
 
-Original Message-
From: Dennis Gesker [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 24, 2007 1:48 PM
To: MyFaces Discussion
Subject: Re: Tomahawk on Glassfish-v2
 
I just entered a bug report. --drg
 
Mike Kienenberger wrote:
  


On 1/24/07, Dennis Gesker   <[EMAIL PROTECTED]>
wrote:

  

Also, if I bind the component to my report backing bean and set the
value to false then redeploy the collapsiblePanel does display however
it still won't toggle.
  


I've never used that component so I can't help with details.
 
 
On 1/24/07, Dennis Gesker   <[EMAIL PROTECTED]>
wrote:

  

I found their examples but couldn't find where to download so I could
try their build on my test server. --drg
  


Yes, I was recommending looking at the behavior in the public example
pages.   That gives you a baseline since everything is theoretically
configured correctly on those examples.   If those examples are
broken, you know it's a bug in Tomahawk or MyFaces.
 
 
 
 

  

Mike Kienenberger wrote:
  


If you're using Glassfish, you're using the JSF 1.2 RI.   I recall
that there were issues that were fixed in Tomahawk 1.1.5 in order to
make it compatible with JSF 1.1 RI javascript.That would explain
differences between 1.1.3 and 1.1.5 behavior.
 
Working with the examples is probably the best thing to verify
behavior.   Have you compared that behavior to the online examples at
http://www.irian.at/home.jsf?  You'll need to select Products ->
Myfaces and try the two tomahawk example sets (one is the latest build
-- not sure what the version number for the other one is).

  



smime.p7s
Description: S/MIME cryptographic signature


SelectItem value property of type Integer

2007-01-25 Thread [EMAIL PROTECTED]

Hello

In f:selectItems in get a strange exception.

Must the value property of type String? This is a bit strange 
because in the examples also
value of type Integer is allowed. I think it should also be 
allowed.

Caused by: java.lang.IllegalArgumentException: Value is no String 
and component _idJsp0:_idJsp1with path: {Component-Path : [Class: 
javax.faces.component.UIViewRoot,ViewId: /sellarticle.jsp][Class: 
javax.faces.component.html.HtmlForm,Id: _idJsp0][Class: javax.faces.
component.html.HtmlSelectOneMenu,Id: _idJsp1]} does not have a 
Converter
at org.apache.myfaces.shared_impl.renderkit.RendererUtils.
getConvertedStringValue(RendererUtils.java:536)
at org.apache.myfaces.shared_impl.renderkit.RendererUtils.
getConvertedStringValue(RendererUtils.java:555)
at org.apache.myfaces.shared_impl.renderkit.html.HtmlRendererUtils.
renderSelectOptions(HtmlRendererUtils.java:397)
at org.apache.myfaces.shared_impl.renderkit.html.HtmlRendererUtils.
internalRenderSelect(HtmlRendererUtils.java:297)
at org.apache.myfaces.shared_impl.renderkit.html.HtmlRendererUtils.
renderMenu(HtmlRendererUtils.java:251)
at org.apache.myfaces.shared_impl.renderkit.html.
HtmlMenuRendererBase.encodeEnd(HtmlMenuRendererBase.java:54)



Re: Tomahawk on Glassfish-v2

2007-01-25 Thread Dennis Gesker




The only thing that is bothering me is that there is no error message
out put from glassfish. It would have been nice to have been able
append some output to the bug report. Not being a web guy I'm not sure
what other info I could add but I do know that bugs are easier to trace
when you have a place to start.

In any event it will be interesting to know if the problem lies in
glassfish or with the component.

Dennis

Romanowski, Tim wrote:

  
  


  
  
  
  Dennis,
thanks for the heads up; comment
added.
   
  
  
  
  From:
Dennis Gesker [mailto:[EMAIL PROTECTED]] 
  Sent: Wednesday,
January 24, 2007
7:02 PM
  To: MyFaces Discussion
  Subject: Re: Tomahawk
on
Glassfish-v2
  
   
  Tim:
  
Could you add a comment confirming that you are seeing the same
behavior in the
bug database?
  
  
  
  https://issues.apache.org/jira/browse/TOMAHAWK-872
   
  Dennis
  
  
Romanowski, Tim wrote: 
  No, you are right -- the first doesn't link doesn't appear to do what is
  intended, although it does 'work.' 
   
  Is there an error with the source for the example?  I've never used the
  collapsible panel before, but from the code, it doesn't look like anything
  is changing the boolean value for the "collapsed" property in the first
  test.  Or is it supposed to work as is?
   
  
  value="#{firstCollapsiblePanelBean.collapsed}" title="testTitle">
      
      
  value="#{firstCollapsiblePanelBean.firstName}"/>
      
      
  value="#{firstCollapsiblePanelBean.birthDate}" renderAsPopup="true"/>
      
      
   
      
  value="#{secondCollapsiblePanelBean.collapsed}" title="testTitle"
      var="test2collapsed">
      
      
      
      
      
  rendered="#{test2collapsed}"/>
      
  rendered="#{!test2collapsed}"/>
      
      
      
   
   
  Tim
   
  -Original Message-
  From: Dennis Gesker [mailto:[EMAIL PROTECTED]] 
  Sent: Wednesday, January 24, 2007 3:36 PM
  To: MyFaces Discussion
  Subject: Re: Tomahawk on Glassfish-v2
   
  Tim:
   
  When you deployed the example did the first on one the page work as
  well? When I loaded the example war here only the first one failed
  (small one at the very top) to toggle. The rest worked.
   
  Dennis
   
  Romanowski, Tim wrote:
    
  
I just tested the myfaces-example-simple-1.war of a Tomahawk 1.1.5 nightly
from a week ago and it seems to be running ok on Glassfish V2, B31.  I ran
the collapsible panel demo, and that worked fine as well.  Also, I am
currently using the Tomahawk popup component in my own app and it is
    
  
  working
    
  
ok.  
 
While this isn't a solution for you, it may still be that you have a
configuration issue to resolve.  Also, are you using facelets? I haven't
been able to use the panelMenu or JSCookMenu since early this past summer,
so that combination could be a source of problems.
 
Tim  
 
-Original Message-
From: Dennis Gesker [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, January 24, 2007 1:48 PM
To: MyFaces Discussion
Subject: Re: Tomahawk on Glassfish-v2
 
I just entered a bug report. --drg
 
Mike Kienenberger wrote:
  


  On 1/24/07, Dennis Gesker <[EMAIL PROTECTED]> wrote:
      
    
  
Also, if I bind the component to my report backing bean and set the
value to false then redeploy the collapsiblePanel does display however
it still won't toggle.
  

  
  I've never used that component so I can't help with details.
   
   
  On 1/24/07, Dennis Gesker <[EMAIL PROTECTED]> wrote:
      
    
  
I found their examples but couldn't find where to download so I could
try their build on my test server. --drg
  

  
  Yes, I was recommending looking at the behavior in the public example
  pages.   That gives you a baseline since everything is theoretically
  configured correctly on those examples.   If those examples are
  broken, you know it's a bug in Tomahawk or MyFaces.
   
   
   
   
      
    
  
Mike Kienenberger wrote:
  


  If you're using Glassfish, you're using the JSF 1.2 RI.   I recall
  that there were issues that were fixed in Tomahawk 1.1.5 in order to
  make it compatible with JSF 1.1 RI _javascript_.    That would explain
  differences between 1.1.3 and 1.1.5 behavior.
   
  Working with the examples is probably the best thing to verify
  behavior.   Have you compared that behavior to the online examples at
  http://www.irian.at/home.jsf?  You'll need to select Product

Re: Tomahawk on Glassfish-v2

2007-01-25 Thread Dennis Gesker
I'll give it a try and let you know what I find.  --Dennis

Mike Kienenberger wrote:
> I've seen a lot of different Java 1.6 errors in the last couple of
> months.
> The first thing I'd try if I was in your shoes would be to try it
> again with Java 1.5.
>
>
> On 1/25/07, Romanowski, Tim <[EMAIL PROTECTED]> wrote:
>>
>>
>>
>>
>> Dennis, thanks for the heads up; comment added.
>>
>>
>>
>>  
>>
>>
>> From: Dennis Gesker [mailto:[EMAIL PROTECTED]
>>  Sent: Wednesday, January 24, 2007 7:02 PM
>>
>>  To: MyFaces Discussion
>>  Subject: Re: Tomahawk on Glassfish-v2
>>
>>
>>
>>
>> Tim:
>>
>>  Could you add a comment confirming that you are seeing the same
>> behavior in
>> the bug database?
>>
>>
>>  https://issues.apache.org/jira/browse/TOMAHAWK-872
>>
>> Dennis
>>
>>
>>
>>
>>  Romanowski, Tim wrote: No, you are right -- the first doesn't link
>> doesn't
>> appear to do what is
>> intended, although it does 'work.'
>>
>> Is there an error with the source for the example?  I've never used the
>> collapsible panel before, but from the code, it doesn't look like
>> anything
>> is changing the boolean value for the "collapsed" property in the first
>> test.  Or is it supposed to work as is?
>>
>> > value="#{firstCollapsiblePanelBean.collapsed}"
>> title="testTitle">
>> 
>> > value="#{firstCollapsiblePanelBean.firstName}"/>
>> > value="#{firstCollapsiblePanelBean.surName}"/>
>> > value="#{firstCollapsiblePanelBean.birthDate}"
>> renderAsPopup="true"/>
>> 
>> 
>>
>> > value="#{secondCollapsiblePanelBean.collapsed}"
>> title="testTitle"
>> var="test2collapsed">
>> 
>> > style="width:500px;background-color:#CC;">
>> 
>> 
>> > rendered="#{test2collapsed}"/>
>> > rendered="#{!test2collapsed}"/>
>> 
>> 
>> 
>>
>>
>> Tim
>>
>> -Original Message-
>> From: Dennis Gesker [mailto:[EMAIL PROTECTED]
>> Sent: Wednesday, January 24, 2007 3:36 PM
>> To: MyFaces Discussion
>> Subject: Re: Tomahawk on Glassfish-v2
>>
>> Tim:
>>
>> When you deployed the example did the first on one the page work as
>> well? When I loaded the example war here only the first one failed
>> (small one at the very top) to toggle. The rest worked.
>>
>> Dennis
>>
>> Romanowski, Tim wrote:
>>
>>
>> I just tested the myfaces-example-simple-1.war of a Tomahawk 1.1.5
>> nightly
>> from a week ago and it seems to be running ok on Glassfish V2, B31. 
>> I ran
>> the collapsible panel demo, and that worked fine as well.  Also, I am
>> currently using the Tomahawk popup component in my own app and it is
>>
>>  working
>>
>>
>> ok.
>>
>> While this isn't a solution for you, it may still be that you have a
>> configuration issue to resolve.  Also, are you using facelets? I haven't
>> been able to use the panelMenu or JSCookMenu since early this past
>> summer,
>> so that combination could be a source of problems.
>>
>> Tim
>>
>> -Original Message-
>> From: Dennis Gesker [mailto:[EMAIL PROTECTED]
>> Sent: Wednesday, January 24, 2007 1:48 PM
>> To: MyFaces Discussion
>> Subject: Re: Tomahawk on Glassfish-v2
>>
>> I just entered a bug report. --drg
>>
>> Mike Kienenberger wrote:
>>
>>
>>
>> On 1/24/07, Dennis Gesker <[EMAIL PROTECTED]> wrote:
>>
>>
>>
>> Also, if I bind the component to my report backing bean and set the
>> value to false then redeploy the collapsiblePanel does display however
>> it still won't toggle.
>>
>>
>>  I've never used that component so I can't help with details.
>>
>>
>> On 1/24/07, Dennis Gesker <[EMAIL PROTECTED]> wrote:
>>
>>
>>
>> I found their examples but couldn't find where to download so I could
>> try their build on my test server. --drg
>>
>>
>>  Yes, I was recommending looking at the behavior in the public example
>> pages.   That gives you a baseline since everything is theoretically
>> configured correctly on those examples.   If those examples are
>> broken, you know it's a bug in Tomahawk or MyFaces.
>>
>>
>>
>>
>>
>>
>>
>> Mike Kienenberger wrote:
>>
>>
>>
>> If you're using Glassfish, you're using the JSF 1.2 RI.   I recall
>> that there were issues that were fixed in Tomahawk 1.1.5 in order to
>> make it compatible with JSF 1.1 RI javascript.That would explain
>> differences between 1.1.3 and 1.1.5 behavior.
>>
>> Working with the examples is probably the best thing to verify
>> behavior.   Have you compared that behavior to the online examples at
>> http://www.irian.at/home.jsf?  You'll need to select Products ->
>> Myfaces and try the two tomahawk example sets (one is the latest build
>> -- not sure what the version number for the other one is).
>>
>>
>>
>>


Re: [Tobago] Help regarding

2007-01-25 Thread sieppl

sorry, I meant the page width attribute. Your page looks fine. I cannot see
any overflowing areas in firefox 2.0. But I have not your includes. Maybet
the error occurs there.


madan chowdary-2 wrote:
> 
> hi sieppl,
> 
> can u tell me what do u mean by this
> 
> " you can specify a global container with maximum constraints for your
> page.  "
> 
> i didnt get u, i saw the examples but cant figure wht exactly u told me to
> do...
> 
> this is my firstpage
> 
> 
>   
>   
>  
>   marginTop="30px"/>
>  
>   
>  
> />
>  
>  
> 
> 
> 
>  
>  
>  
>  
>   
>  
> 
>
>
>
>
>
>
>
>
>
>
> 
> 
> 
> 
> 
> 
> 
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> 
> 
> searchAndBrowsePane.jsp includes
> 
> <%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f" %>
> <%@ taglib uri="http://myfaces.apache.org/tobago/component"; prefix="tc" %>
> <%@ taglib uri="http://myfaces.apache.org/tobago/extension"; prefix="tx" %>
> 
> 
> 
> 
> 
> 
> 
> 
>  height="50px">
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> showCategories.jsp includes
> 
> <%@ taglib uri="http://myfaces.apache.org/tobago/component"; prefix="tc" %>
> <%@ taglib uri="http://myfaces.apache.org/tobago/extension"; prefix="tx" %>
> <%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f" %>
> 
> 
>
>
>   
> 
>   
>   
> 
>   
> 
>  state="#{category.categoryTreeState}" id="categoryTree"
> idReference="userObject.id"
> nameReference="userObject.name"
> showIcons="#{category.showIcons}"
> showJunctions="#{category.showJunctions}"
> showRootJunction="#{category.showRootJunction}"
> showRoot="#{category.showRoot}"
> selectable="#{category.treeSelectMode}"
> mutable="#{category.mutable}"
> actionListener="#{category.processAction}"
> >
>  type="com.resmed.store.frontend.controller.CategoryListener"/>
> 
>   
> 
> 
> 
> userCartDetails.jsp this is the one in right hand side
> 
> <%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f" %>
> <%@ taglib uri="http://myfaces.apache.org/tobago/component"; prefix="tc" %>
> 
> 
> 
> 
> 
>   
>id="boxToolbarLayout"/>
> 
> 
>
> 
> 
>  
>  
>  
>  
>   border="1"/>
>  
> 
> 
> 
> 
> 
>  
> 
> 
> 
> 
> 
> 
> so when ever tree expands, the right hand side userCartDetails.jsp is
> moving downwards
> 
> i need to align that column to top as we do in 
> 
> thnx in advance
> 
> Regards,
> Madan
> 
> 
> 
> 
> 
> - Original Message 
> From: sieppl <[EMAIL PROTECTED]>
> To: users@myfaces.apache.org
> Sent: Thursday, 25 January, 2007 5:29:10 AM
> Subject: Re: [Tobago] Help regarding 
> 
> 
> you can specify a global container with maximum constraints for your page.
> (see the tobago example)
> Thus the right hand side does not expand when the left hand side does.
> 
> 
> madan chowdary-2 wrote:
>> 
>> Hi All,
>> 
>> I am displaying a few contents on my page using .
>> 
>> I did such a way that, i need a left pane which contains a tree and the
>> other part some other text to display.
>> 
>> i specifed this by  .
>> 
>> But when tree gets expanded , the other column is also expanding and so
>> the contents are moved downloads.
>> 
>> I need the 2nd column contents to be fixed even if

Re: removing inputText when using inputCalendar

2007-01-25 Thread Josué Alcalde González
El jue, 25-01-2007 a las 10:04 -0600, [EMAIL PROTECTED] escribió:
> Is there anyway to not have the inputText when using the inputCalendar
> tag?  I am setting the renderPopupButtonAsImage to true, but dont want
> to show the inputText box. 

style="display:none"
-- 
___
Josué Alcalde Gonźalez
[EMAIL PROTECTED]
Dpto. Desarrollo

CSA - Centro Regional de Servicios Avanzados
C/ López Bravo, 1
Pol. Ind. Villalonquéjar (Burgos)

Tel. (+34) 947 256 250
Fax. (+34) 947 256 583

Web: http://www.csa.es




Re: Which version of TomaHawk components can be used with JSF 1.1 RI and Tomcat 5.5.x?

2007-01-25 Thread Mike Kienenberger

myfaces 1.1.4 core and tomahawk 1.1.2 is also not a supported combination :-)


On 1/25/07, Jay Balunas <[EMAIL PROTECTED]> wrote:

Agreed  - I have had luck using those versions (tomahawk 1.1.5 & JSFRI 1.1),
 but that was not an exhaustive application, just a sample or two to try out
the RI.

For my production application I use MyFaces1.1.4, and Tomahawk 1.1.2 and
Facelets 1.1.11

Good Luck,
Jay


On 1/24/07, Mike Kienenberger <[EMAIL PROTECTED]> wrote:
> http://wiki.apache.org/myfaces/CompatibilityMatrix
>
> As I remember, some of the JSF 1.1 RI compatibility (javascript) was
> broken until Tomahawk 1.1.5, so that'd be the version I'd try to use
> if I was using JSF 1.1 RI.
>
>
> On 1/24/07, legolas < [EMAIL PROTECTED]> wrote:
> >
> > Hi
> > Thank you for reading my post
> > Can some one please tell me which version of TomaHawk I should download
to
> > be able to use it with JSF 1.1 RI and tomcat 5.5.x ?
> >
> > I download  tomahawk-examples-1.1.5-SNAPSHOT-bin.tar.gz
and it does not
> > works with Tomcat 5.5.20
> >
> > I should say that i must use TomaHawk components with JSF 1.1 RI, and
Also i
> > need to use PanelNavigation2 component, so Please let me know if :
> >
> > 1- TomaHawk does not works with JSF 1.1 RI
> >
> > 2- PanelNavigation2  is not present in TomaHawk version that works with
> > tomcat 5.5.x and JSF RI 1.1
> >
> >
> >
> > Thanks
> > --
> > View this message in context:
http://www.nabble.com/Which-version-of-TomaHawk-components-can-be-used-with-JSF-1.1-RI-and-Tomcat-5.5.x--tf3084292.html#a8571665
> > Sent from the MyFaces - Users mailing list archive at Nabble.com.
> >
> >
>




Re: SelectItem value property of type Integer

2007-01-25 Thread Mike Kienenberger

The value can be anything you like if there's a converter.
If there's no converter, then the value must be a string.

You can either explicitly force the converter for that input to be an
IntegerConverter, or, if the setter for the value binding is of type
int or Integer, I think it will automatically use the
IntegerConverter.

Posting your page code and your accessors would be helpful if this
information isn't enough to solve your problem.

On 1/25/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:


Hello

In f:selectItems in get a strange exception.

Must the value property of type String? This is a bit strange
because in the examples also
value of type Integer is allowed. I think it should also be
allowed.

Caused by: java.lang.IllegalArgumentException: Value is no String
and component _idJsp0:_idJsp1with path: {Component-Path : [Class:
javax.faces.component.UIViewRoot,ViewId: /sellarticle.jsp][Class:
javax.faces.component.html.HtmlForm,Id: _idJsp0][Class: javax.faces.
component.html.HtmlSelectOneMenu,Id: _idJsp1]} does not have a
Converter
at org.apache.myfaces.shared_impl.renderkit.RendererUtils.
getConvertedStringValue(RendererUtils.java:536)
at org.apache.myfaces.shared_impl.renderkit.RendererUtils.
getConvertedStringValue(RendererUtils.java:555)
at org.apache.myfaces.shared_impl.renderkit.html.HtmlRendererUtils.
renderSelectOptions(HtmlRendererUtils.java:397)
at org.apache.myfaces.shared_impl.renderkit.html.HtmlRendererUtils.
internalRenderSelect(HtmlRendererUtils.java:297)
at org.apache.myfaces.shared_impl.renderkit.html.HtmlRendererUtils.
renderMenu(HtmlRendererUtils.java:251)
at org.apache.myfaces.shared_impl.renderkit.html.
HtmlMenuRendererBase.encodeEnd(HtmlMenuRendererBase.java:54)




Re: [Tobago] Help regarding

2007-01-25 Thread madan chowdary
ya sieppl,

i changed the page width attributes, say for width="900px" and height="600px".

But what happens is, i placed the  with in a .

As the height is contsant, when ever i expand my tree, the contents are 
overflowed beyong the box height and thus they are not visible.

Whats my case is,
1) Initially i should have a sindle node displayed to the user in a Box.
2) The box should expand as i expand my tree.
3) The right pane contents must not be moved when this tree expands.
4) The components that are under the Tree Box can move as downa nd up when ever 
the tree Expand.

Think u got me ?

So please tell me how can i achieve this...

as i have to show a mockup to my lead ASAP.

Thnx in advance 

Regards
Madan Chowdary

- Original Message 
From: sieppl <[EMAIL PROTECTED]>
To: users@myfaces.apache.org
Sent: Thursday, 25 January, 2007 10:37:03 PM
Subject: Re: [Tobago] Help regarding 


sorry, I meant the page width attribute. Your page looks fine. I cannot see
any overflowing areas in firefox 2.0. But I have not your includes. Maybet
the error occurs there.


madan chowdary-2 wrote:
> 
> hi sieppl,
> 
> can u tell me what do u mean by this
> 
> " you can specify a global container with maximum constraints for your
> page.  "
> 
> i didnt get u, i saw the examples but cant figure wht exactly u told me to
> do...
> 
> this is my firstpage
> 
> 
>   
>   
>  
>   marginTop="30px"/>
>  
>   
>  
> />
>  
>  
> 
> 
> 
>  
>  
>  
>  
>   
>  
> 
>
>
>
>
>
>
>
>
>
>
> 
> 
> 
> 
> 
> 
> 
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> 
> 
> searchAndBrowsePane.jsp includes
> 
> <%@ taglib uri="http://java.sun.com/jsf/core";; prefix="f" %>
> <%@ taglib uri="http://myfaces.apache.org/tobago/component";; prefix="tc" %>
> <%@ taglib uri="http://myfaces.apache.org/tobago/extension";; prefix="tx" %>
> 
> 
> 
> 
> 
> 
> 
> 
>  height="50px">
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> showCategories.jsp includes
> 
> <%@ taglib uri="http://myfaces.apache.org/tobago/component";; prefix="tc" %>
> <%@ taglib uri="http://myfaces.apache.org/tobago/extension";; prefix="tx" %>
> <%@ taglib uri="http://java.sun.com/jsf/core";; prefix="f" %>
> 
> 
>
>
>   
> 
>   
>   
> 
>   
> 
>  state="#{category.categoryTreeState}" id="categoryTree"
> idReference="userObject.id"
> nameReference="userObject.name"
> showIcons="#{category.showIcons}"
> showJunctions="#{category.showJunctions}"
> showRootJunction="#{category.showRootJunction}"
> showRoot="#{category.showRoot}"
> selectable="#{category.treeSelectMode}"
> mutable="#{category.mutable}"
> actionListener="#{category.processAction}"
> >
>  type="com.resmed.store.frontend.controller.CategoryListener"/>
> 
>   
> 
> 
> 
> userCartDetails.jsp this is the one in right hand side
> 
> <%@ taglib uri="http://java.sun.com/jsf/core";; prefix="f" %>
> <%@ taglib uri="http://myfaces.apache.org/tobago/component";; prefix="tc" %>
> 
> 
> 
> 
> 
>   
>id="boxToolbarLayout"/>
> 
> 
>
> 
> 
>  
>  
>  
>  
>   border="1"/>
>  
> 
> 
> 
> 
> 
>  
> 
> 
> 
> 
> 
> 
> so when ever tree expands, the right hand side userCartDetails.jsp is
> movin

Re: duplicate class definition exception

2007-01-25 Thread Mike Kienenberger

Don't know for sure, but you can start by adding the web.xml
org.apache.myfaces.CHECK_EXTENSIONS_FILTER context-param to get rid of
the warning.

Typically if you have a duplicate class issue, it's because you have
two copies of the jar file, possibly with different versions, in your
path somewhere.   I think the class in question is part of
myfaces-impl.jar.   Make sure you don't have any old version jars like
myfaces-all or myfaces-shared in your path as well.

On 1/25/07, Leyzerzon, Simeon <[EMAIL PROTECTED]> wrote:




Hi,
We are trying to trace the root cause of the following run-time exception
which seems to be happening every time the server gets restarted and a link
in the application gets clicked.  We use Weblogic 8.1 sp2 with the following
myFaces jars:

myfaces-api-1.1.4.jar
myfaces-impl-1.1.4.jar
tomahawk.jar-1.1.3.jar
Has anyone experiensed this error? Any suggestions on how to prevent it from
happening?

10:44:58,068 INFO MyfacesConfig:133 - No context init parameter
'org.apache.myf
 aces.CHECK_EXTENSIONS_FILTER' found, using default value true

<[ServletContext(id=3
 1984775,name=GISWeb,context-path=/GISWeb)] Root cause of
ServletException.
 javax.faces.FacesException: duplicate class definition:
org/apache/myfaces/tagli
 b/html/HtmlSelectOneMenuTag
 at
org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatc
 h(ServletExternalContextImpl.java:422)
 at
org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspV
 iewHandlerImpl.java:234)
 at
org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapp
 er.java:101)
 at
org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandle
 r.java:222)
 at
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:
 384)
 at
javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
 at
org.apache.myfaces.webapp.MyFacesServlet.service(MyFacesServlet.java:
 74)
 at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
 (ServletStubImpl.java:971)
 at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
 pl.java:402)
 at
weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
 at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
 va:27)
 at
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(Extensions
 Filter.java:144)
 at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
 va:27)
 at
org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseX
 MLFilter.java:75)
 at
org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.
 java:213)
 at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
 va:27)
 at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
 n.run(WebAppServletContext.java:6356)
 at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
 dSubject.java:317)
 at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
 118)
 at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
 rvletContext.java:3635)
 at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
 pl.java:2585)
 at
weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
 at
weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)


Thank you in advance for help.

Simeon Leyzerzon

==
Please access the attached hyperlink for an important electronic
communications disclaimer:

http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
==






Re: Exception when trying to use TomaHawk with JSF-RI

2007-01-25 Thread Mike Kienenberger

java.lang.ClassNotFoundException: [Ljava.lang.String;


Unless I'm misreading this, it says it can't find java.lang.String.

That error should be impossible, so a google search on it was in order:

http://forums.java.net/jive/thread.jspa?messageID=195014

So it looks like a bug in Java 1.6.  Stop using beta software :-)


On 1/25/07, legolas <[EMAIL PROTECTED]> wrote:


Hi
thank you for reading my psot.
I have problem with including TomaHawk with an application that is based on
JSF-RI.
problem is that after i add TomaHawk  to application lib folder it can not
be deployed into tomcat 5.5.17 .

here is a list of all jaf files that i am including


commons-beanutils-1.7.0.jar
commons-codec-1.3.jar
commons-collections-3.1.jar
commons-digester-1.6.jar
commons-el-1.0.jar
commons-fileupload.jar
commons-lang-2.1.jar
commons-logging-1.0.4.jar
jsf-api.jar
jsf-impl.jar
jsfcl.jar
jstl-1.1.0.jar
tomahawk-1.1.5-SNAPSHOT.jar




And here is the exception that i get,


[code]
java.lang.ClassNotFoundException: [Ljava.lang.String;
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1352)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198)
at
com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:615)
at
com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:402)
at
com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:328)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3729)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4187)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:608)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:493)
at
org.apache.catalina.startup.HostConfig.check(HostConfig.java:1204)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
at
com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
at
org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1377)
at
org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:814)
at
org.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:343)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:619)
07:07:18,265 ERROR [/fda]:3733 - Exception sending context initialized event
to listener instance of class com.sun.faces.config.ConfigureListener
javax.faces.FacesException: java.lang.ClassNotFoundException:
[Ljava.lang.String;
at
com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:334)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3729

Re: Tomahawk on Glassfish-v2

2007-01-25 Thread Mike Kienenberger

I've seen a lot of different Java 1.6 errors in the last couple of months.
The first thing I'd try if I was in your shoes would be to try it
again with Java 1.5.


On 1/25/07, Romanowski, Tim <[EMAIL PROTECTED]> wrote:





Dennis, thanks for the heads up; comment added.



 


From: Dennis Gesker [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, January 24, 2007 7:02 PM

 To: MyFaces Discussion
 Subject: Re: Tomahawk on Glassfish-v2




Tim:

 Could you add a comment confirming that you are seeing the same behavior in
the bug database?


 https://issues.apache.org/jira/browse/TOMAHAWK-872

Dennis




 Romanowski, Tim wrote: No, you are right -- the first doesn't link doesn't
appear to do what is
intended, although it does 'work.'

Is there an error with the source for the example?  I've never used the
collapsible panel before, but from the code, it doesn't look like anything
is changing the boolean value for the "collapsed" property in the first
test.  Or is it supposed to work as is?





















Tim

-Original Message-
From: Dennis Gesker [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 24, 2007 3:36 PM
To: MyFaces Discussion
Subject: Re: Tomahawk on Glassfish-v2

Tim:

When you deployed the example did the first on one the page work as
well? When I loaded the example war here only the first one failed
(small one at the very top) to toggle. The rest worked.

Dennis

Romanowski, Tim wrote:


I just tested the myfaces-example-simple-1.war of a Tomahawk 1.1.5 nightly
from a week ago and it seems to be running ok on Glassfish V2, B31.  I ran
the collapsible panel demo, and that worked fine as well.  Also, I am
currently using the Tomahawk popup component in my own app and it is

 working


ok.

While this isn't a solution for you, it may still be that you have a
configuration issue to resolve.  Also, are you using facelets? I haven't
been able to use the panelMenu or JSCookMenu since early this past summer,
so that combination could be a source of problems.

Tim

-Original Message-
From: Dennis Gesker [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 24, 2007 1:48 PM
To: MyFaces Discussion
Subject: Re: Tomahawk on Glassfish-v2

I just entered a bug report. --drg

Mike Kienenberger wrote:



On 1/24/07, Dennis Gesker <[EMAIL PROTECTED]> wrote:



Also, if I bind the component to my report backing bean and set the
value to false then redeploy the collapsiblePanel does display however
it still won't toggle.


 I've never used that component so I can't help with details.


On 1/24/07, Dennis Gesker <[EMAIL PROTECTED]> wrote:



I found their examples but couldn't find where to download so I could
try their build on my test server. --drg


 Yes, I was recommending looking at the behavior in the public example
pages.   That gives you a baseline since everything is theoretically
configured correctly on those examples.   If those examples are
broken, you know it's a bug in Tomahawk or MyFaces.







Mike Kienenberger wrote:



If you're using Glassfish, you're using the JSF 1.2 RI.   I recall
that there were issues that were fixed in Tomahawk 1.1.5 in order to
make it compatible with JSF 1.1 RI javascript.That would explain
differences between 1.1.3 and 1.1.5 behavior.

Working with the examples is probably the best thing to verify
behavior.   Have you compared that behavior to the online examples at
http://www.irian.at/home.jsf?  You'll need to select Products ->
Myfaces and try the two tomahawk example sets (one is the latest build
-- not sure what the version number for the other one is).






Re: Tomahawk on Glassfish-v2

2007-01-25 Thread Dennis Gesker
I reinstalled jdk1.5.0_10 and reinstalled glassfish-v2-b33 and deployed
the example. I see the same behavior.

-Dennis

Mike Kienenberger wrote:
> I've seen a lot of different Java 1.6 errors in the last couple of
> months.
> The first thing I'd try if I was in your shoes would be to try it
> again with Java 1.5.
>
>
> On 1/25/07, Romanowski, Tim <[EMAIL PROTECTED]> wrote:
>>
>>
>>
>>
>> Dennis, thanks for the heads up; comment added.
>>
>>
>>
>>  
>>
>>
>> From: Dennis Gesker [mailto:[EMAIL PROTECTED]
>>  Sent: Wednesday, January 24, 2007 7:02 PM
>>
>>  To: MyFaces Discussion
>>  Subject: Re: Tomahawk on Glassfish-v2
>>
>>
>>
>>
>> Tim:
>>
>>  Could you add a comment confirming that you are seeing the same
>> behavior in
>> the bug database?
>>
>>
>>  https://issues.apache.org/jira/browse/TOMAHAWK-872
>>
>> Dennis
>>
>>
>>
>>
>>  Romanowski, Tim wrote: No, you are right -- the first doesn't link
>> doesn't
>> appear to do what is
>> intended, although it does 'work.'
>>
>> Is there an error with the source for the example?  I've never used the
>> collapsible panel before, but from the code, it doesn't look like
>> anything
>> is changing the boolean value for the "collapsed" property in the first
>> test.  Or is it supposed to work as is?
>>
>> > value="#{firstCollapsiblePanelBean.collapsed}"
>> title="testTitle">
>> 
>> > value="#{firstCollapsiblePanelBean.firstName}"/>
>> > value="#{firstCollapsiblePanelBean.surName}"/>
>> > value="#{firstCollapsiblePanelBean.birthDate}"
>> renderAsPopup="true"/>
>> 
>> 
>>
>> > value="#{secondCollapsiblePanelBean.collapsed}"
>> title="testTitle"
>> var="test2collapsed">
>> 
>> > style="width:500px;background-color:#CC;">
>> 
>> 
>> > rendered="#{test2collapsed}"/>
>> > rendered="#{!test2collapsed}"/>
>> 
>> 
>> 
>>
>>
>> Tim
>>
>> -Original Message-
>> From: Dennis Gesker [mailto:[EMAIL PROTECTED]
>> Sent: Wednesday, January 24, 2007 3:36 PM
>> To: MyFaces Discussion
>> Subject: Re: Tomahawk on Glassfish-v2
>>
>> Tim:
>>
>> When you deployed the example did the first on one the page work as
>> well? When I loaded the example war here only the first one failed
>> (small one at the very top) to toggle. The rest worked.
>>
>> Dennis
>>
>> Romanowski, Tim wrote:
>>
>>
>> I just tested the myfaces-example-simple-1.war of a Tomahawk 1.1.5
>> nightly
>> from a week ago and it seems to be running ok on Glassfish V2, B31. 
>> I ran
>> the collapsible panel demo, and that worked fine as well.  Also, I am
>> currently using the Tomahawk popup component in my own app and it is
>>
>>  working
>>
>>
>> ok.
>>
>> While this isn't a solution for you, it may still be that you have a
>> configuration issue to resolve.  Also, are you using facelets? I haven't
>> been able to use the panelMenu or JSCookMenu since early this past
>> summer,
>> so that combination could be a source of problems.
>>
>> Tim
>>
>> -Original Message-
>> From: Dennis Gesker [mailto:[EMAIL PROTECTED]
>> Sent: Wednesday, January 24, 2007 1:48 PM
>> To: MyFaces Discussion
>> Subject: Re: Tomahawk on Glassfish-v2
>>
>> I just entered a bug report. --drg
>>
>> Mike Kienenberger wrote:
>>
>>
>>
>> On 1/24/07, Dennis Gesker <[EMAIL PROTECTED]> wrote:
>>
>>
>>
>> Also, if I bind the component to my report backing bean and set the
>> value to false then redeploy the collapsiblePanel does display however
>> it still won't toggle.
>>
>>
>>  I've never used that component so I can't help with details.
>>
>>
>> On 1/24/07, Dennis Gesker <[EMAIL PROTECTED]> wrote:
>>
>>
>>
>> I found their examples but couldn't find where to download so I could
>> try their build on my test server. --drg
>>
>>
>>  Yes, I was recommending looking at the behavior in the public example
>> pages.   That gives you a baseline since everything is theoretically
>> configured correctly on those examples.   If those examples are
>> broken, you know it's a bug in Tomahawk or MyFaces.
>>
>>
>>
>>
>>
>>
>>
>> Mike Kienenberger wrote:
>>
>>
>>
>> If you're using Glassfish, you're using the JSF 1.2 RI.   I recall
>> that there were issues that were fixed in Tomahawk 1.1.5 in order to
>> make it compatible with JSF 1.1 RI javascript.That would explain
>> differences between 1.1.3 and 1.1.5 behavior.
>>
>> Working with the examples is probably the best thing to verify
>> behavior.   Have you compared that behavior to the online examples at
>> http://www.irian.at/home.jsf?  You'll need to select Products ->
>> Myfaces and try the two tomahawk example sets (one is the latest build
>> -- not sure what the version number for the other one is).
>>
>>
>>
>>


Re: Tomahawk on Glassfish-v2

2007-01-25 Thread Mike Kienenberger

Add a note about JDK 1.5 working to the open issue, please.

On 1/25/07, Dennis Gesker <[EMAIL PROTECTED]> wrote:

I reinstalled jdk1.5.0_10 and reinstalled glassfish-v2-b33 and deployed
the example. I see the same behavior.

-Dennis

Mike Kienenberger wrote:
> I've seen a lot of different Java 1.6 errors in the last couple of
> months.
> The first thing I'd try if I was in your shoes would be to try it
> again with Java 1.5.
>
>
> On 1/25/07, Romanowski, Tim <[EMAIL PROTECTED]> wrote:
>>
>>
>>
>>
>> Dennis, thanks for the heads up; comment added.
>>
>>
>>
>>  
>>
>>
>> From: Dennis Gesker [mailto:[EMAIL PROTECTED]
>>  Sent: Wednesday, January 24, 2007 7:02 PM
>>
>>  To: MyFaces Discussion
>>  Subject: Re: Tomahawk on Glassfish-v2
>>
>>
>>
>>
>> Tim:
>>
>>  Could you add a comment confirming that you are seeing the same
>> behavior in
>> the bug database?
>>
>>
>>  https://issues.apache.org/jira/browse/TOMAHAWK-872
>>
>> Dennis
>>
>>
>>
>>
>>  Romanowski, Tim wrote: No, you are right -- the first doesn't link
>> doesn't
>> appear to do what is
>> intended, although it does 'work.'
>>
>> Is there an error with the source for the example?  I've never used the
>> collapsible panel before, but from the code, it doesn't look like
>> anything
>> is changing the boolean value for the "collapsed" property in the first
>> test.  Or is it supposed to work as is?
>>
>> > value="#{firstCollapsiblePanelBean.collapsed}"
>> title="testTitle">
>> 
>> > value="#{firstCollapsiblePanelBean.firstName}"/>
>> > value="#{firstCollapsiblePanelBean.surName}"/>
>> > value="#{firstCollapsiblePanelBean.birthDate}"
>> renderAsPopup="true"/>
>> 
>> 
>>
>> > value="#{secondCollapsiblePanelBean.collapsed}"
>> title="testTitle"
>> var="test2collapsed">
>> 
>> > style="width:500px;background-color:#CC;">
>> 
>> 
>> > rendered="#{test2collapsed}"/>
>> > rendered="#{!test2collapsed}"/>
>> 
>> 
>> 
>>
>>
>> Tim
>>
>> -Original Message-
>> From: Dennis Gesker [mailto:[EMAIL PROTECTED]
>> Sent: Wednesday, January 24, 2007 3:36 PM
>> To: MyFaces Discussion
>> Subject: Re: Tomahawk on Glassfish-v2
>>
>> Tim:
>>
>> When you deployed the example did the first on one the page work as
>> well? When I loaded the example war here only the first one failed
>> (small one at the very top) to toggle. The rest worked.
>>
>> Dennis
>>
>> Romanowski, Tim wrote:
>>
>>
>> I just tested the myfaces-example-simple-1.war of a Tomahawk 1.1.5
>> nightly
>> from a week ago and it seems to be running ok on Glassfish V2, B31.
>> I ran
>> the collapsible panel demo, and that worked fine as well.  Also, I am
>> currently using the Tomahawk popup component in my own app and it is
>>
>>  working
>>
>>
>> ok.
>>
>> While this isn't a solution for you, it may still be that you have a
>> configuration issue to resolve.  Also, are you using facelets? I haven't
>> been able to use the panelMenu or JSCookMenu since early this past
>> summer,
>> so that combination could be a source of problems.
>>
>> Tim
>>
>> -Original Message-
>> From: Dennis Gesker [mailto:[EMAIL PROTECTED]
>> Sent: Wednesday, January 24, 2007 1:48 PM
>> To: MyFaces Discussion
>> Subject: Re: Tomahawk on Glassfish-v2
>>
>> I just entered a bug report. --drg
>>
>> Mike Kienenberger wrote:
>>
>>
>>
>> On 1/24/07, Dennis Gesker <[EMAIL PROTECTED]> wrote:
>>
>>
>>
>> Also, if I bind the component to my report backing bean and set the
>> value to false then redeploy the collapsiblePanel does display however
>> it still won't toggle.
>>
>>
>>  I've never used that component so I can't help with details.
>>
>>
>> On 1/24/07, Dennis Gesker <[EMAIL PROTECTED]> wrote:
>>
>>
>>
>> I found their examples but couldn't find where to download so I could
>> try their build on my test server. --drg
>>
>>
>>  Yes, I was recommending looking at the behavior in the public example
>> pages.   That gives you a baseline since everything is theoretically
>> configured correctly on those examples.   If those examples are
>> broken, you know it's a bug in Tomahawk or MyFaces.
>>
>>
>>
>>
>>
>>
>>
>> Mike Kienenberger wrote:
>>
>>
>>
>> If you're using Glassfish, you're using the JSF 1.2 RI.   I recall
>> that there were issues that were fixed in Tomahawk 1.1.5 in order to
>> make it compatible with JSF 1.1 RI javascript.That would explain
>> differences between 1.1.3 and 1.1.5 behavior.
>>
>> Working with the examples is probably the best thing to verify
>> behavior.   Have you compared that behavior to the online examples at
>> http://www.irian.at/home.jsf?  You'll need to select Products ->
>> Myfaces and try the two tomahawk example sets (one is the latest build
>> -- not sure what the version number 

duplicate class definition exception

2007-01-25 Thread Leyzerzon, Simeon
Hi,
We are trying to trace the root cause of the following run-time exception which 
seems to be happening every time the server gets restarted and a link in the 
application gets clicked.  We use Weblogic 8.1 sp2 with the following myFaces 
jars:
myfaces-api-1.1.4.jar
myfaces-impl-1.1.4.jar
tomahawk.jar-1.1.3.jar
Has anyone experiensed this error? Any suggestions on how to prevent it from 
happening?

10:44:58,068 INFO MyfacesConfig:133 - No context init parameter 'org.apache.myf
aces.CHECK_EXTENSIONS_FILTER' found, using default value true
<[ServletContext(id=3
1984775,name=GISWeb,context-path=/GISWeb)] Root cause of ServletException.
javax.faces.FacesException: duplicate class definition: org/apache/myfaces/tagli
b/html/HtmlSelectOneMenuTag
at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatc
h(ServletExternalContextImpl.java:422)
at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspV
iewHandlerImpl.java:234)
at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapp
er.java:101)
at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandle
r.java:222)
at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:
384)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
at org.apache.myfaces.webapp.MyFacesServlet.service(MyFacesServlet.java:
74)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
(ServletStubImpl.java:971)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:402)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:27)
at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(Extensions
Filter.java:144)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:27)
at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseX
MLFilter.java:75)
at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.
java:213)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:27)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.run(WebAppServletContext.java:6356)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:3635)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:2585)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)


Thank you in advance for help.

Simeon Leyzerzon


==
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
==


Re: Tomahawk on Glassfish-v2

2007-01-25 Thread Dennis Gesker
Done. Do you think there is anything else I could add that would be
useful? There has been no log output with glassfish logging set to INFO
for all items.

Dennis

Mike Kienenberger wrote:
> Add a note about JDK 1.5 working to the open issue, please.
>
> On 1/25/07, Dennis Gesker <[EMAIL PROTECTED]> wrote:
>> I reinstalled jdk1.5.0_10 and reinstalled glassfish-v2-b33 and deployed
>> the example. I see the same behavior.
>>
>> -Dennis
>>
>> Mike Kienenberger wrote:
>> > I've seen a lot of different Java 1.6 errors in the last couple of
>> > months.
>> > The first thing I'd try if I was in your shoes would be to try it
>> > again with Java 1.5.
>> >
>> >
>> > On 1/25/07, Romanowski, Tim <[EMAIL PROTECTED]> wrote:
>> >>
>> >>
>> >>
>> >>
>> >> Dennis, thanks for the heads up; comment added.
>> >>
>> >>
>> >>
>> >>  
>> >>
>> >>
>> >> From: Dennis Gesker [mailto:[EMAIL PROTECTED]
>> >>  Sent: Wednesday, January 24, 2007 7:02 PM
>> >>
>> >>  To: MyFaces Discussion
>> >>  Subject: Re: Tomahawk on Glassfish-v2
>> >>
>> >>
>> >>
>> >>
>> >> Tim:
>> >>
>> >>  Could you add a comment confirming that you are seeing the same
>> >> behavior in
>> >> the bug database?
>> >>
>> >>
>> >>  https://issues.apache.org/jira/browse/TOMAHAWK-872
>> >>
>> >> Dennis
>> >>
>> >>
>> >>
>> >>
>> >>  Romanowski, Tim wrote: No, you are right -- the first doesn't link
>> >> doesn't
>> >> appear to do what is
>> >> intended, although it does 'work.'
>> >>
>> >> Is there an error with the source for the example?  I've never
>> used the
>> >> collapsible panel before, but from the code, it doesn't look like
>> >> anything
>> >> is changing the boolean value for the "collapsed" property in the
>> first
>> >> test.  Or is it supposed to work as is?
>> >>
>> >> > >> value="#{firstCollapsiblePanelBean.collapsed}"
>> >> title="testTitle">
>> >> 
>> >> > >> value="#{firstCollapsiblePanelBean.firstName}"/>
>> >> > >> value="#{firstCollapsiblePanelBean.surName}"/>
>> >> > >> value="#{firstCollapsiblePanelBean.birthDate}"
>> >> renderAsPopup="true"/>
>> >> 
>> >> 
>> >>
>> >> > >> value="#{secondCollapsiblePanelBean.collapsed}"
>> >> title="testTitle"
>> >> var="test2collapsed">
>> >> 
>> >> > >> style="width:500px;background-color:#CC;">
>> >> 
>> >> 
>> >> > >> rendered="#{test2collapsed}"/>
>> >> > >> rendered="#{!test2collapsed}"/>
>> >> 
>> >> 
>> >> 
>> >>
>> >>
>> >> Tim
>> >>
>> >> -Original Message-
>> >> From: Dennis Gesker [mailto:[EMAIL PROTECTED]
>> >> Sent: Wednesday, January 24, 2007 3:36 PM
>> >> To: MyFaces Discussion
>> >> Subject: Re: Tomahawk on Glassfish-v2
>> >>
>> >> Tim:
>> >>
>> >> When you deployed the example did the first on one the page work as
>> >> well? When I loaded the example war here only the first one failed
>> >> (small one at the very top) to toggle. The rest worked.
>> >>
>> >> Dennis
>> >>
>> >> Romanowski, Tim wrote:
>> >>
>> >>
>> >> I just tested the myfaces-example-simple-1.war of a Tomahawk 1.1.5
>> >> nightly
>> >> from a week ago and it seems to be running ok on Glassfish V2, B31.
>> >> I ran
>> >> the collapsible panel demo, and that worked fine as well.  Also, I am
>> >> currently using the Tomahawk popup component in my own app and it is
>> >>
>> >>  working
>> >>
>> >>
>> >> ok.
>> >>
>> >> While this isn't a solution for you, it may still be that you have a
>> >> configuration issue to resolve.  Also, are you using facelets? I
>> haven't
>> >> been able to use the panelMenu or JSCookMenu since early this past
>> >> summer,
>> >> so that combination could be a source of problems.
>> >>
>> >> Tim
>> >>
>> >> -Original Message-
>> >> From: Dennis Gesker [mailto:[EMAIL PROTECTED]
>> >> Sent: Wednesday, January 24, 2007 1:48 PM
>> >> To: MyFaces Discussion
>> >> Subject: Re: Tomahawk on Glassfish-v2
>> >>
>> >> I just entered a bug report. --drg
>> >>
>> >> Mike Kienenberger wrote:
>> >>
>> >>
>> >>
>> >> On 1/24/07, Dennis Gesker <[EMAIL PROTECTED]> wrote:
>> >>
>> >>
>> >>
>> >> Also, if I bind the component to my report backing bean and set the
>> >> value to false then redeploy the collapsiblePanel does display
>> however
>> >> it still won't toggle.
>> >>
>> >>
>> >>  I've never used that component so I can't help with details.
>> >>
>> >>
>> >> On 1/24/07, Dennis Gesker <[EMAIL PROTECTED]> wrote:
>> >>
>> >>
>> >>
>> >> I found their examples but couldn't find where to download so I could
>> >> try their build on my test server. --drg
>> >>
>> >>
>> >>  Yes, I was recommending looking at the behavior in the public
>> example
>> >> pages.   That gives you a baseline since everything is theoretically
>> >> configured correctly on those examples.   If those examples are
>>

Re: removing inputText when using inputCalendar

2007-01-25 Thread Mike Kienenberger

I don't think there is a way to do this yet.  It'd be a good
improvement.   Add an attribute (inputTextRendered=false?) and create
a patch.

Another possiblity would be "inputTextStyle" -- then you could
probably use inputTextStyle="display:none"

On 1/25/07, Josué Alcalde González <[EMAIL PROTECTED]> wrote:

El jue, 25-01-2007 a las 10:04 -0600, [EMAIL PROTECTED] escribió:
> Is there anyway to not have the inputText when using the inputCalendar
> tag?  I am setting the renderPopupButtonAsImage to true, but dont want
> to show the inputText box.

style="display:none"
--
___
Josué Alcalde Gonźalez
[EMAIL PROTECTED]
Dpto. Desarrollo

CSA - Centro Regional de Servicios Avanzados
C/ López Bravo, 1
Pol. Ind. Villalonquéjar (Burgos)

Tel. (+34) 947 256 250
Fax. (+34) 947 256 583

Web: http://www.csa.es





Re: Tomahawk on Glassfish-v2

2007-01-25 Thread Mike Kienenberger

No, at this point it's probably a JSF 1.2 incompatiblity with the
component.   You'll have to wait until someone else who needs the
component under 1.2 identifies the underlying problem and provides a
patch or do it yourself.

I'll probably start using Glassfish in the near future, but I don't
anticipate needing the t:collapsiblePanel component.

Since you have a simple example, you should be able to track it down
fairly easily.  Reduce the example to just the failing page code and
trace through the lifecycle.

On 1/25/07, Dennis Gesker <[EMAIL PROTECTED]> wrote:

Done. Do you think there is anything else I could add that would be
useful? There has been no log output with glassfish logging set to INFO
for all items.

Dennis

Mike Kienenberger wrote:
> Add a note about JDK 1.5 working to the open issue, please.
>
> On 1/25/07, Dennis Gesker <[EMAIL PROTECTED]> wrote:
>> I reinstalled jdk1.5.0_10 and reinstalled glassfish-v2-b33 and deployed
>> the example. I see the same behavior.
>>
>> -Dennis
>>
>> Mike Kienenberger wrote:
>> > I've seen a lot of different Java 1.6 errors in the last couple of
>> > months.
>> > The first thing I'd try if I was in your shoes would be to try it
>> > again with Java 1.5.
>> >
>> >
>> > On 1/25/07, Romanowski, Tim <[EMAIL PROTECTED]> wrote:
>> >>
>> >>
>> >>
>> >>
>> >> Dennis, thanks for the heads up; comment added.
>> >>
>> >>
>> >>
>> >>  
>> >>
>> >>
>> >> From: Dennis Gesker [mailto:[EMAIL PROTECTED]
>> >>  Sent: Wednesday, January 24, 2007 7:02 PM
>> >>
>> >>  To: MyFaces Discussion
>> >>  Subject: Re: Tomahawk on Glassfish-v2
>> >>
>> >>
>> >>
>> >>
>> >> Tim:
>> >>
>> >>  Could you add a comment confirming that you are seeing the same
>> >> behavior in
>> >> the bug database?
>> >>
>> >>
>> >>  https://issues.apache.org/jira/browse/TOMAHAWK-872
>> >>
>> >> Dennis
>> >>
>> >>
>> >>
>> >>
>> >>  Romanowski, Tim wrote: No, you are right -- the first doesn't link
>> >> doesn't
>> >> appear to do what is
>> >> intended, although it does 'work.'
>> >>
>> >> Is there an error with the source for the example?  I've never
>> used the
>> >> collapsible panel before, but from the code, it doesn't look like
>> >> anything
>> >> is changing the boolean value for the "collapsed" property in the
>> first
>> >> test.  Or is it supposed to work as is?
>> >>
>> >> > >> value="#{firstCollapsiblePanelBean.collapsed}"
>> >> title="testTitle">
>> >> 
>> >> > >> value="#{firstCollapsiblePanelBean.firstName}"/>
>> >> > >> value="#{firstCollapsiblePanelBean.surName}"/>
>> >> > >> value="#{firstCollapsiblePanelBean.birthDate}"
>> >> renderAsPopup="true"/>
>> >> 
>> >> 
>> >>
>> >> > >> value="#{secondCollapsiblePanelBean.collapsed}"
>> >> title="testTitle"
>> >> var="test2collapsed">
>> >> 
>> >> > >> style="width:500px;background-color:#CC;">
>> >> 
>> >> 
>> >> > >> rendered="#{test2collapsed}"/>
>> >> > >> rendered="#{!test2collapsed}"/>
>> >> 
>> >> 
>> >> 
>> >>
>> >>
>> >> Tim
>> >>
>> >> -Original Message-
>> >> From: Dennis Gesker [mailto:[EMAIL PROTECTED]
>> >> Sent: Wednesday, January 24, 2007 3:36 PM
>> >> To: MyFaces Discussion
>> >> Subject: Re: Tomahawk on Glassfish-v2
>> >>
>> >> Tim:
>> >>
>> >> When you deployed the example did the first on one the page work as
>> >> well? When I loaded the example war here only the first one failed
>> >> (small one at the very top) to toggle. The rest worked.
>> >>
>> >> Dennis
>> >>
>> >> Romanowski, Tim wrote:
>> >>
>> >>
>> >> I just tested the myfaces-example-simple-1.war of a Tomahawk 1.1.5
>> >> nightly
>> >> from a week ago and it seems to be running ok on Glassfish V2, B31.
>> >> I ran
>> >> the collapsible panel demo, and that worked fine as well.  Also, I am
>> >> currently using the Tomahawk popup component in my own app and it is
>> >>
>> >>  working
>> >>
>> >>
>> >> ok.
>> >>
>> >> While this isn't a solution for you, it may still be that you have a
>> >> configuration issue to resolve.  Also, are you using facelets? I
>> haven't
>> >> been able to use the panelMenu or JSCookMenu since early this past
>> >> summer,
>> >> so that combination could be a source of problems.
>> >>
>> >> Tim
>> >>
>> >> -Original Message-
>> >> From: Dennis Gesker [mailto:[EMAIL PROTECTED]
>> >> Sent: Wednesday, January 24, 2007 1:48 PM
>> >> To: MyFaces Discussion
>> >> Subject: Re: Tomahawk on Glassfish-v2
>> >>
>> >> I just entered a bug report. --drg
>> >>
>> >> Mike Kienenberger wrote:
>> >>
>> >>
>> >>
>> >> On 1/24/07, Dennis Gesker <[EMAIL PROTECTED]> wrote:
>> >>
>> >>
>> >>
>> >> Also, if I bind the component to my report backing bean and set the
>> >> value to false then redeploy the collapsiblePanel does display

Actions in are not working like actions in

2007-01-25 Thread Paul Spencer
I would like to start a Shale dialog from a menu.  The following does 
not start the dialog:


  

The following javascipt is being generated:
[null, 'Add Vendor', 'navForm_navMenu_menu:A]dialog:addVendor', 
'navForm', null]



The following does start the dialog:
  

Why do  and  behave differently 
when using the same action?


Paul Spencer



Re: Tomahawk on Glassfish-v2

2007-01-25 Thread Dennis Gesker
I'm not proficient enough (yet) so I'm dependent on the kindness of
strangers. I'll have to keep an eye on the bug database I guess.

-Dennis

Mike Kienenberger wrote:
> No, at this point it's probably a JSF 1.2 incompatiblity with the
> component.   You'll have to wait until someone else who needs the
> component under 1.2 identifies the underlying problem and provides a
> patch or do it yourself.
>
> I'll probably start using Glassfish in the near future, but I don't
> anticipate needing the t:collapsiblePanel component.
>
> Since you have a simple example, you should be able to track it down
> fairly easily.  Reduce the example to just the failing page code and
> trace through the lifecycle.
>
> On 1/25/07, Dennis Gesker <[EMAIL PROTECTED]> wrote:
>> Done. Do you think there is anything else I could add that would be
>> useful? There has been no log output with glassfish logging set to INFO
>> for all items.
>>
>> Dennis
>>
>> Mike Kienenberger wrote:
>> > Add a note about JDK 1.5 working to the open issue, please.
>> >
>> > On 1/25/07, Dennis Gesker <[EMAIL PROTECTED]> wrote:
>> >> I reinstalled jdk1.5.0_10 and reinstalled glassfish-v2-b33 and
>> deployed
>> >> the example. I see the same behavior.
>> >>
>> >> -Dennis
>> >>
>> >> Mike Kienenberger wrote:
>> >> > I've seen a lot of different Java 1.6 errors in the last couple of
>> >> > months.
>> >> > The first thing I'd try if I was in your shoes would be to try it
>> >> > again with Java 1.5.
>> >> >
>> >> >
>> >> > On 1/25/07, Romanowski, Tim <[EMAIL PROTECTED]> wrote:
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >> Dennis, thanks for the heads up; comment added.
>> >> >>
>> >> >>
>> >> >>
>> >> >>  
>> >> >>
>> >> >>
>> >> >> From: Dennis Gesker [mailto:[EMAIL PROTECTED]
>> >> >>  Sent: Wednesday, January 24, 2007 7:02 PM
>> >> >>
>> >> >>  To: MyFaces Discussion
>> >> >>  Subject: Re: Tomahawk on Glassfish-v2
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >> Tim:
>> >> >>
>> >> >>  Could you add a comment confirming that you are seeing the same
>> >> >> behavior in
>> >> >> the bug database?
>> >> >>
>> >> >>
>> >> >>  https://issues.apache.org/jira/browse/TOMAHAWK-872
>> >> >>
>> >> >> Dennis
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >>  Romanowski, Tim wrote: No, you are right -- the first doesn't
>> link
>> >> >> doesn't
>> >> >> appear to do what is
>> >> >> intended, although it does 'work.'
>> >> >>
>> >> >> Is there an error with the source for the example?  I've never
>> >> used the
>> >> >> collapsible panel before, but from the code, it doesn't look like
>> >> >> anything
>> >> >> is changing the boolean value for the "collapsed" property in the
>> >> first
>> >> >> test.  Or is it supposed to work as is?
>> >> >>
>> >> >> > >> >> value="#{firstCollapsiblePanelBean.collapsed}"
>> >> >> title="testTitle">
>> >> >> 
>> >> >> > >> >> value="#{firstCollapsiblePanelBean.firstName}"/>
>> >> >> > >> >> value="#{firstCollapsiblePanelBean.surName}"/>
>> >> >> > >> >> value="#{firstCollapsiblePanelBean.birthDate}"
>> >> >> renderAsPopup="true"/>
>> >> >> 
>> >> >> 
>> >> >>
>> >> >> > >> >> value="#{secondCollapsiblePanelBean.collapsed}"
>> >> >> title="testTitle"
>> >> >> var="test2collapsed">
>> >> >> 
>> >> >> > >> >> style="width:500px;background-color:#CC;">
>> >> >> 
>> >> >> 
>> >> >> > >> >> rendered="#{test2collapsed}"/>
>> >> >> > >> >> rendered="#{!test2collapsed}"/>
>> >> >> 
>> >> >> 
>> >> >> 
>> >> >>
>> >> >>
>> >> >> Tim
>> >> >>
>> >> >> -Original Message-
>> >> >> From: Dennis Gesker [mailto:[EMAIL PROTECTED]
>> >> >> Sent: Wednesday, January 24, 2007 3:36 PM
>> >> >> To: MyFaces Discussion
>> >> >> Subject: Re: Tomahawk on Glassfish-v2
>> >> >>
>> >> >> Tim:
>> >> >>
>> >> >> When you deployed the example did the first on one the page
>> work as
>> >> >> well? When I loaded the example war here only the first one failed
>> >> >> (small one at the very top) to toggle. The rest worked.
>> >> >>
>> >> >> Dennis
>> >> >>
>> >> >> Romanowski, Tim wrote:
>> >> >>
>> >> >>
>> >> >> I just tested the myfaces-example-simple-1.war of a Tomahawk 1.1.5
>> >> >> nightly
>> >> >> from a week ago and it seems to be running ok on Glassfish V2,
>> B31.
>> >> >> I ran
>> >> >> the collapsible panel demo, and that worked fine as well. 
>> Also, I am
>> >> >> currently using the Tomahawk popup component in my own app and
>> it is
>> >> >>
>> >> >>  working
>> >> >>
>> >> >>
>> >> >> ok.
>> >> >>
>> >> >> While this isn't a solution for you, it may still be that you
>> have a
>> >> >> configuration issue to resolve.  Also, are you using facelets? I
>> >> haven't
>> >> >> been able to use the panelMenu or JSCookMenu since early this past
>

t:popup over graphicImage

2007-01-25 Thread Torin Chichirico
I'm trying to use the t:popup component in Tomahawk 1.1.3.  It works
just fine when I put it on a h:inputText field on the page.  However,
I'm trying to add a when the mouse moves over an image overlay on top of
a map image.  The popup appears but it is pushed way off to lower right
of the image.  It probably has something to do with the style attributes
of my surrounding t:div's.  Here is a section of the code...
 

 
  
   

  

 

  

  
  

  

   

 
  

 
 
Is there something obviously wrong with this that I'm missing?  Any help
is appreciated.  Thanks,
 
- Torin 


Re: Consultant Developers needed for JSF

2007-01-25 Thread Simon Kitching
I don't see any problem with Samir's email. This is where JSF people 
hang out, and I'm sure we all want jobs (though this one is about 10,000 
kms too far away for me :-).


If job postings become *too* frequent it might be necessary to move them 
to a wiki page or similar but I suggest that problem is dealt with 
when(if) it occurs..


Or maybe Mick thought this was sent direct to him...

Regards,

Simon

Mick Knutson wrote:
How did you get this email? PLEASE REMOVE THIS EMAIL FROM UNSOLICITED 
CORRESPONDENCE.




On 1/24/07, *Samir Patel* < [EMAIL PROTECTED] 
> wrote:


Hello,

Our engineering team was looking to see if we can get some help with
our Jboss/Hibernate/JSF implementation to build a search marketing
management software.

We would like a few senior consultants on a full time basis to work
out of our San Mateo offices. Please send me your resume or a list
of projects to be considered for this opening. (jobs at SearchForce
dot com)

If you have anyone else who might be interested, please feel free to
forward this email to them.
 
Regards,
 
Samir Patel


President & CEO

SearchForce Inc.

http://www.SearchForce.com


[OT][ANN] JAVAWUG 24 Web Framework Smackdown :: Skills Matter :: 19/Feb/2007

2007-01-25 Thread Peter . Pilgrim
Hi 

The Java Web User Group (JAVAWUG, LONDON) is holding a web framework
smackdown 
BOF 24 at Skills Matter's offices in London on 19 Feb 2007. At the
moment we have
representatives for RIFE, Spring MVC, and standard API. Hey! If someone
wants
to rock the house with Struts 2 or Wicket demos and ``represent'' their
framework
to the fullest then come on down. We always need more people!

http://jroller.com/page/javawug?entry=javawug_24_web_framework_smackdown

Also an impromptu Birds of a Feather at The Fire Station pub in
Waterloo.
This is a Directional/Futures Meetup for the JAVAWUG, but you are very
welcomed
to join for a couple pints of ale or so on Monday 29th January 2007

http://jroller.com/page/javawug?entry=javawug_bof_23_5_decision

Have fun. Get ready to rumble!

--
Peter Pilgrim, JUG Leader, 
JAVAWUG (The Java Web Users Group) [e] 2004 
:: http://jroller.com/page/javawug/ ::
 __ 
|__| ___  ___ __  _   __    
|  \__  \\  \/ /\__  \\ \/ \/ /  |  \/ ___\ 
|  |/ __ \\   /  / __ \\ /|  |  / /_/  >
/\__|  (  /\_/  (  /\/\_/ |/\___  / 
\__|\/   \//_/  

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.

UBS Limited is a company registered in England & Wales under company
number 2035362, whose registered office is at 1 Finsbury Avenue,
London, EC2M 2PP, United Kingdom.

UBS AG (London Branch) is registered as a branch of a foreign company
under number BR004507, whose registered office is at
1 Finsbury Avenue, London, EC2M 2PP, United Kingdom.

UBS Clearing and Execution Services Limited is a company registered
in England & Wales under company number 03123037, whose registered
office is at 1 Finsbury Avenue, London, EC2M 2PP, United Kingdom.



Solution

2007-01-25 Thread sieppl

Hi Bernd,

you were completey right. Folllowing peace of code works perfect:





































Thank you!

Regards

Sebastian

sieppl wrote:
> 
> Hi!
> 
> I have read about the new way (and I think simple one) to open Popups from
> buttons, links etc. without using Actions or ActionListeners. Furtermore I
> have understood the purpose of the PopUpReferenceTag and how to use it.
> But I have still problems to write a clean code for opening popups from
> sheet columns. 
> 1. Rendered attribute does not work anymore due to latest changes.
> 2. Putting a button or a link into the column and use a facet for the
> popup does not work from inside the sheet row. The same code works fine
> when the button is placed anywhere outside the sheet column.
> 3. Placing a hidden button with popup anywere on the form and call it via
> a reference tag is very dirty.
> 
> Could anyone give me a hint or a piece of clean and working code? We need
> that popups all over our pages. :)
> 
> Regards
> 
> Sebastian
> 
> PS: Keep up the good work on Tobago!
> 

-- 
View this message in context: 
http://www.nabble.com/-Tobago-1.1.0--Clean-code-for-opening-Popups-from-sheet-columns-tf3083633.html#a8639985
Sent from the MyFaces - Users mailing list archive at Nabble.com.



how i can identify which menuItem has selected in backend?

2007-01-25 Thread legolas

Hi
Thank you for reading my post.
I have created a dynamic navigation panel using panelNavigation2  and
several NavigationMenuItem.
I have created a list of navigationMenuItem in backend and use it in GUI.

now my problm is that, I need to perform some action based on user input
which is a selected menuItem.

imagine that i have created a category of products using panelNavigation2  ,
a user come to my web page and view the page and then select one of
NavigationMenuItems, now i should be able to understand which menuItem has
pressed to show correct information to my users.

for example if i could do the following procedure, my problem will be
resolved. 

-Assign a number to each NavigationMenuItem (equal to each category primary
key) and then retrieve that number in the action listener assigned to
NavigationMenuItems.

any other do-able solution is good for me.

Thanks.
-- 
View this message in context: 
http://www.nabble.com/how-i-can-identify-which-menuItem-has-selected-in-backend--tf3118684.html#a8639997
Sent from the MyFaces - Users mailing list archive at Nabble.com.



Re: Consultant Developers needed for JSF

2007-01-25 Thread Jeff Bischoff

Simon Kitching wrote:
I don't see any problem with Samir's email. This is where JSF people 
hang out, and I'm sure we all want jobs (though this one is about 10,000 
kms too far away for me :-).


If job postings become *too* frequent it might be necessary to move them 
to a wiki page or similar but I suggest that problem is dealt with 
when(if) it occurs..




I think these type of postings are fine, though perhaps they should be 
flagged [OT] or some other prefix... [job] ?



Or maybe Mick thought this was sent direct to him...



I suspect he did. :)


Regards,

Simon

Mick Knutson wrote:
How did you get this email? PLEASE REMOVE THIS EMAIL FROM UNSOLICITED 
CORRESPONDENCE.




On 1/24/07, *Samir Patel* < [EMAIL PROTECTED] 
> wrote:


Hello,

Our engineering team was looking to see if we can get some help with
our Jboss/Hibernate/JSF implementation to build a search marketing
management software.

We would like a few senior consultants on a full time basis to work
out of our San Mateo offices. Please send me your resume or a list
of projects to be considered for this opening. (jobs at SearchForce
dot com)

If you have anyone else who might be interested, please feel free to
forward this email to them.
 Regards,
 Samir Patel

President & CEO

SearchForce Inc.

http://www.SearchForce.com









Re: duplicate class definition exception

2007-01-25 Thread Jay Balunas

Hello,

I have gotten this exception when I have multiple tomahawk jars, or jsf jars
(RI or myfaces) in the classpath.

I originally got this issue when using jboss and a war file that packaged
the MyFaces jars.  The classloader is basically finding two instances of the
class, and not able to determine which to use.  This may also be a check in
JSF itself - I'm not sure.

I would check if web logic packages a JSF implementation,  If so the only
way I found to get around it was to update the rev in JBoss to the one I
wanted and not include my own in my war.  If this is not an option I think
you'll have to remove the jsf jars from web logic.

Hope this helps,
Jay

On 1/25/07, Mike Kienenberger <[EMAIL PROTECTED]> wrote:


Don't know for sure, but you can start by adding the web.xml
org.apache.myfaces.CHECK_EXTENSIONS_FILTER context-param to get rid of
the warning.

Typically if you have a duplicate class issue, it's because you have
two copies of the jar file, possibly with different versions, in your
path somewhere.   I think the class in question is part of
myfaces-impl.jar.   Make sure you don't have any old version jars like
myfaces-all or myfaces-shared in your path as well.

On 1/25/07, Leyzerzon, Simeon <[EMAIL PROTECTED]> wrote:
>
>
>
> Hi,
> We are trying to trace the root cause of the following run-time
exception
> which seems to be happening every time the server gets restarted and a
link
> in the application gets clicked.  We use Weblogic 8.1 sp2 with the
following
> myFaces jars:
>
> myfaces-api-1.1.4.jar
> myfaces-impl-1.1.4.jar
> tomahawk.jar-1.1.3.jar
> Has anyone experiensed this error? Any suggestions on how to prevent it
from
> happening?
>
> 10:44:58,068 INFO MyfacesConfig:133 - No context init parameter
> 'org.apache.myf
>  aces.CHECK_EXTENSIONS_FILTER' found, using default value true
> 
> <[ServletContext(id=3
>  1984775,name=GISWeb,context-path=/GISWeb)] Root cause of
> ServletException.
>  javax.faces.FacesException: duplicate class definition:
> org/apache/myfaces/tagli
>  b/html/HtmlSelectOneMenuTag
>  at
> org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatc
>  h(ServletExternalContextImpl.java:422)
>  at
> org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspV
>  iewHandlerImpl.java:234)
>  at
> org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapp
>  er.java:101)
>  at
> org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandle
>  r.java:222)
>  at
> org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:
>  384)
>  at
> javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
>  at
> org.apache.myfaces.webapp.MyFacesServlet.service(MyFacesServlet.java:
>  74)
>  at
> weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
>  (ServletStubImpl.java:971)
>  at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
>  pl.java:402)
>  at
> weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
>  at
> weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
>  va:27)
>  at
> org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(Extensions
>  Filter.java:144)
>  at
> weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
>  va:27)
>  at
> org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseX
>  MLFilter.java:75)
>  at
> org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.
>  java:213)
>  at
> weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
>  va:27)
>  at
> weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
>  n.run(WebAppServletContext.java:6356)
>  at
> weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
>  dSubject.java:317)
>  at
> weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
>  118)
>  at
> weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
>  rvletContext.java:3635)
>  at
> weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
>  pl.java:2585)
>  at
> weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
>  at
> weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
>
>
> Thank you in advance for help.
>
> Simeon Leyzerzon
>
>
==
> Please access the attached hyperlink for an important electronic
> communications disclaimer:
>
> http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
>
==
>
>
>
>



Re: removing inputText when using inputCalendar

2007-01-25 Thread SOSELLA
Thank you for the solution; style="display:none" worked.

Going to be demanding now...

I noticed that the JS code generated creates arrays with English words
for days and months (Monday, etc. and January, etc.).  Is there a way to
internationalize this?

Also, is there a way to change the imgDir variable so I can set my own
image to use?

Thanks a bunch!

- Original Message -
From: Mike Kienenberger <[EMAIL PROTECTED]>
Date: Thursday, January 25, 2007 12:14 pm
Subject: Re: removing inputText when using inputCalendar
To: MyFaces Discussion 

> I don't think there is a way to do this yet.  It'd be a good
> improvement.   Add an attribute (inputTextRendered=false?) and create
> a patch.
> 
> Another possiblity would be "inputTextStyle" -- then you could
> probably use inputTextStyle="display:none"
> 
> On 1/25/07, Josué Alcalde González <[EMAIL PROTECTED]> wrote:
> > El jue, 25-01-2007 a las 10:04 -0600, [EMAIL PROTECTED] 
> escribió:> > Is there anyway to not have the inputText when using 
> the inputCalendar
> > > tag?  I am setting the renderPopupButtonAsImage to true, but 
> dont want
> > > to show the inputText box.
> >
> > style="display:none"
> > --
> > ___
> > Josué Alcalde Gon?alez
> > [EMAIL PROTECTED]
> > Dpto. Desarrollo
> >
> > CSA - Centro Regional de Servicios Avanzados
> > C/ López Bravo, 1
> > Pol. Ind. Villalonquéjar (Burgos)
> >
> > Tel. (+34) 947 256 250
> > Fax. (+34) 947 256 583
> >
> > Web: http://www.csa.es
> >
> >
> >
>


Re: removing inputText when using inputCalendar

2007-01-25 Thread Mike Kienenberger

I'm surprised that the style only applied to the inputText part.
Glad to hear it worked for you, though.

This url gives a list of all attributes for inputCalendar.   There are
a number of ones for internationalization, although I don't see the
ones for month and day.   There's also one for imageLocation.

http://myfaces.apache.org/tomahawk/tlddoc/t/inputCalendar.html


On 1/25/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

Thank you for the solution; style="display:none" worked.

Going to be demanding now...

I noticed that the JS code generated creates arrays with English words
for days and months (Monday, etc. and January, etc.).  Is there a way to
internationalize this?

Also, is there a way to change the imgDir variable so I can set my own
image to use?

Thanks a bunch!

- Original Message -
From: Mike Kienenberger <[EMAIL PROTECTED]>
Date: Thursday, January 25, 2007 12:14 pm
Subject: Re: removing inputText when using inputCalendar
To: MyFaces Discussion 

> I don't think there is a way to do this yet.  It'd be a good
> improvement.   Add an attribute (inputTextRendered=false?) and create
> a patch.
>
> Another possiblity would be "inputTextStyle" -- then you could
> probably use inputTextStyle="display:none"
>
> On 1/25/07, Josué Alcalde González <[EMAIL PROTECTED]> wrote:
> > El jue, 25-01-2007 a las 10:04 -0600, [EMAIL PROTECTED]
> escribió:> > Is there anyway to not have the inputText when using
> the inputCalendar
> > > tag?  I am setting the renderPopupButtonAsImage to true, but
> dont want
> > > to show the inputText box.
> >
> > style="display:none"
> > --
> > ___
> > Josué Alcalde Gon?alez
> > [EMAIL PROTECTED]
> > Dpto. Desarrollo
> >
> > CSA - Centro Regional de Servicios Avanzados
> > C/ López Bravo, 1
> > Pol. Ind. Villalonquéjar (Burgos)
> >
> > Tel. (+34) 947 256 250
> > Fax. (+34) 947 256 583
> >
> > Web: http://www.csa.es
> >
> >
> >
>



Re: Consultant Developers needed for JSF

2007-01-25 Thread Mick Knutson

Sorry, my bad. It looked like it was sent directly to me. And I get heaps of
recruiters scraping emails from my Dice account and putting me on their hot
list without my permission.





On 1/25/07, Jeff Bischoff <[EMAIL PROTECTED]> wrote:


Simon Kitching wrote:
> I don't see any problem with Samir's email. This is where JSF people
> hang out, and I'm sure we all want jobs (though this one is about 10,000
> kms too far away for me :-).
>
> If job postings become *too* frequent it might be necessary to move them
> to a wiki page or similar but I suggest that problem is dealt with
> when(if) it occurs..
>

I think these type of postings are fine, though perhaps they should be
flagged [OT] or some other prefix... [job] ?

> Or maybe Mick thought this was sent direct to him...
>

I suspect he did. :)

> Regards,
>
> Simon
>
> Mick Knutson wrote:
>> How did you get this email? PLEASE REMOVE THIS EMAIL FROM UNSOLICITED
>> CORRESPONDENCE.
>>
>>
>>
>> On 1/24/07, *Samir Patel* < [EMAIL PROTECTED]
>> > wrote:
>>
>> Hello,
>>
>> Our engineering team was looking to see if we can get some help
with
>> our Jboss/Hibernate/JSF implementation to build a search marketing
>> management software.
>>
>> We would like a few senior consultants on a full time basis to work
>> out of our San Mateo offices. Please send me your resume or a list
>> of projects to be considered for this opening. (jobs at SearchForce
>> dot com)
>>
>> If you have anyone else who might be interested, please feel free
to
>> forward this email to them.
>>  Regards,
>>  Samir Patel
>>
>> President & CEO
>>
>> SearchForce Inc.
>>
>> http://www.SearchForce.com
>
>
>






--
Thanks

DJ MICK

(Mick Knutson)
http://www.djmick.com
http://www.myspace.com/djmick_dot_com
http://www.thumpradio.com


Re: Consultant Developers needed for JSF

2007-01-25 Thread CD

You're on my hotlist now ;)



On 1/25/07, Mick Knutson <[EMAIL PROTECTED]> wrote:


Sorry, my bad. It looked like it was sent directly to me. And I get heaps
of recruiters scraping emails from my Dice account and putting me on their
hot list without my permission.





On 1/25/07, Jeff Bischoff <[EMAIL PROTECTED]> wrote:
>
> Simon Kitching wrote:
> > I don't see any problem with Samir's email. This is where JSF people
> > hang out, and I'm sure we all want jobs (though this one is about
> 10,000
> > kms too far away for me :-).
> >
> > If job postings become *too* frequent it might be necessary to move
> them
> > to a wiki page or similar but I suggest that problem is dealt with
> > when(if) it occurs..
> >
>
> I think these type of postings are fine, though perhaps they should be
> flagged [OT] or some other prefix... [job] ?
>
> > Or maybe Mick thought this was sent direct to him...
> >
>
> I suspect he did. :)
>
> > Regards,
> >
> > Simon
> >
> > Mick Knutson wrote:
> >> How did you get this email? PLEASE REMOVE THIS EMAIL FROM UNSOLICITED
> >> CORRESPONDENCE.
> >>
> >>
> >>
> >> On 1/24/07, *Samir Patel* < [EMAIL PROTECTED]
> >> > wrote:
> >>
> >> Hello,
> >>
> >> Our engineering team was looking to see if we can get some help
> with
> >> our Jboss/Hibernate/JSF implementation to build a search
> marketing
> >> management software.
> >>
> >> We would like a few senior consultants on a full time basis to
> work
> >> out of our San Mateo offices. Please send me your resume or a
> list
> >> of projects to be considered for this opening. (jobs at
> SearchForce
> >> dot com)
> >>
> >> If you have anyone else who might be interested, please feel free
> to
> >> forward this email to them.
> >>  Regards,
> >>  Samir Patel
> >>
> >> President & CEO
> >>
> >> SearchForce Inc.
> >>
> >> http://www.SearchForce.com 
> >
> >
> >
>
>
>


--
Thanks

DJ MICK

(Mick Knutson)
http://www.djmick.com
http://www.myspace.com/djmick_dot_com
http://www.thumpradio.com



Re: Which version of TomaHawk components can be used with JSF 1.1 RI and Tomcat 5.5.x?

2007-01-25 Thread Jay Balunas

I've been looking at too many emails :-)

I meant myfaces 1.1.3

sorry for the confusion.

Jay

On 1/25/07, Mike Kienenberger <[EMAIL PROTECTED]> wrote:


myfaces 1.1.4 core and tomahawk 1.1.2 is also not a supported combination
:-)


On 1/25/07, Jay Balunas <[EMAIL PROTECTED]> wrote:
> Agreed  - I have had luck using those versions (tomahawk 1.1.5 & JSFRI
1.1),
>  but that was not an exhaustive application, just a sample or two to try
out
> the RI.
>
> For my production application I use MyFaces1.1.4, and Tomahawk 1.1.2 and
> Facelets 1.1.11
>
> Good Luck,
> Jay
>
>
> On 1/24/07, Mike Kienenberger <[EMAIL PROTECTED]> wrote:
> > http://wiki.apache.org/myfaces/CompatibilityMatrix
> >
> > As I remember, some of the JSF 1.1 RI compatibility (javascript) was
> > broken until Tomahawk 1.1.5, so that'd be the version I'd try to use
> > if I was using JSF 1.1 RI.
> >
> >
> > On 1/24/07, legolas < [EMAIL PROTECTED]> wrote:
> > >
> > > Hi
> > > Thank you for reading my post
> > > Can some one please tell me which version of TomaHawk I should
download
> to
> > > be able to use it with JSF 1.1 RI and tomcat 5.5.x ?
> > >
> > > I download  tomahawk-examples-1.1.5-SNAPSHOT-bin.tar.gz
> and it does not
> > > works with Tomcat 5.5.20
> > >
> > > I should say that i must use TomaHawk components with JSF 1.1 RI,
and
> Also i
> > > need to use PanelNavigation2 component, so Please let me know if :
> > >
> > > 1- TomaHawk does not works with JSF 1.1 RI
> > >
> > > 2- PanelNavigation2  is not present in TomaHawk version that works
with
> > > tomcat 5.5.x and JSF RI 1.1
> > >
> > >
> > >
> > > Thanks
> > > --
> > > View this message in context:
>
http://www.nabble.com/Which-version-of-TomaHawk-components-can-be-used-with-JSF-1.1-RI-and-Tomcat-5.5.x--tf3084292.html#a8571665
> > > Sent from the MyFaces - Users mailing list archive at Nabble.com.
> > >
> > >
> >
>
>



My 1.1.5 looses its state.

2007-01-25 Thread Christian Kölle
Hello,

Prenotes: 
I am not very familiar into the JSF-Myfaces deep-ends. I consider myself
more as a pure user.

Problem: 
Under certain conditions, my  looses its state. More
precisely: Sometimes I receive a page response, where the panalNavigation is
collapsed, also the previously selected sub-item should stay selected.

"Sometimes" and "under certain conditions" means, that the problem only
occurs when i write something into the managed beans from within my
java-code, i.e. like adding an error-message to the context
[context.addMessage("", errMsg);] or when I retrieve a managed bean from
application's variable resolver and amend the content of the managed bean.

The problem did not occur with 
- tomahawk 1.1.2 and 
- myfaces 1.1.3
With those versions mentioned, the  behaved exactly as I
expected.

The problem occurs with 
- tomahawk-1.1.5-SNAPSHOT and 
- tomahawk-sandbox-1.1.5-SNAPSHOT
with either myfaces-core 1.1.3 or myfaces-core 1.1.5-snapshot.

You might ask, why I use 1.1.5-SNAPSHOT? Well I want to have a try on the
Sandbox's . Therefore I need
tomahawk-sandbox-1.1.5-SNAPSHOT. For me it seems that I cannot use
tomahawk-sandbox-1.1.5-SNAPSHOT in combination with tomahawk-1.1.2, where
the  is defined.

Any ideas, quick hacks?
Thanks in advance & regards
Christian



Re: [Tobago] Still NotSerializableException in file upload

2007-01-25 Thread Bernd Bohmann

Ok,

update to commons-fileupload 1.1.1 should fixed the problem.
See  https://issues.apache.org/jira/browse/TOBAGO-257

Regards

Bernd

H. Swaczinna wrote:

Hello,

my fileupload works fine now, but the NotSerializableException
still occurs in two cases:

First, when submitting without file name entered in the file field.
Second, when the selected file is not of the type specified in the
validateFileItem tag.

Not my fault this time, I think.

Regards
Helmut



Re: [Tobago] required has no effect for tc:file

2007-01-25 Thread Bernd Bohmann

Fixed

https://issues.apache.org/jira/browse/TOBAGO-258

H. Swaczinna wrote:

Hello,

the required="true" attribute has no effect in the tc:file tag.
You can submit the page without a file name entered.

Regards
Helmut



Re: [Tobago] Problem with progress bar and PDF download

2007-01-25 Thread Bernd Bohmann

Hello Helmut,

Udo commited the latest changes for progressbar.

You can disable the progressbar with the attribute transition of button 
or link.


Regards

Bernd

H. Swaczinna wrote:

Hello,

now to the problem with the progress bar I mentioned earlier.

I want to download a PDF file as the result of an action. I found code
on the net for doing this 
(http://www.nabble.com/download-file-breaks-lifecycle-t2893828.html).
This works fine. The browser options a dialog box, where you can choose
to open or to store the PDF file. The content of the page remains 
unchanged.


But the page remains disabled and with the progress bar running for
ever, because the page waits for the result of the action, which never
comes. Because there's no target attribute in this case, Tobago can not 
know, that there will be no result from the action. So I think, we need 
some kind of switch, to switch the progress bar off for some special 
cases.


Regards
Helmut

P.S. Sorry for the many (bug) postings and thank you for quick bug fixes
and the fantastic support so far.



Question about value="#{......}

2007-01-25 Thread Thomas Chang
Hi,
   
  Is it possible to put more values in the value="#{...}" such like:
   
  
   
  Thanks
   
  Thomas


-
NEU: Fragen stellen - Wissen, Meinungen und Erfahrungen teilen. Jetzt auf 
Yahoo! Clever.

Re: Question about value="#{......}

2007-01-25 Thread Simon Lessard

Hello Thomas,

Yes, you can do it using .

Note the absence of + and the fact that it's a single string value with
inlined EL expreseeions.


Regards,

~ Simon

On 1/25/07, Thomas Chang <[EMAIL PROTECTED]> wrote:


Hi,

Is it possible to put more values in the value="#{...}" such like:



Thanks

Thomas

--
NEU: Fragen stellen - Wissen, Meinungen und Erfahrungen teilen. Jetzt auf
Yahoo! 
Clever.





Re: removing inputText when using inputCalendar

2007-01-25 Thread Jay Balunas

I am currently using the tomahawk inputDate (I believe it internally uses
the inputCalendar or something similar).  I can change the locale of the
calendar to Chinese just by changing the locale of the browser language
setting.

Give that a shot it might work for the inputCalendar too.  When I looked in
the code I believe it is getting the locale value from the UIViewRoot - so
you should be able to override that programmatically too.  You can also pass
in the timezone to use as well.

-Jay

On 1/25/07, Mike Kienenberger <[EMAIL PROTECTED]> wrote:


I'm surprised that the style only applied to the inputText part.
Glad to hear it worked for you, though.

This url gives a list of all attributes for inputCalendar.   There are
a number of ones for internationalization, although I don't see the
ones for month and day.   There's also one for imageLocation.

http://myfaces.apache.org/tomahawk/tlddoc/t/inputCalendar.html


On 1/25/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Thank you for the solution; style="display:none" worked.
>
> Going to be demanding now...
>
> I noticed that the JS code generated creates arrays with English words
> for days and months (Monday, etc. and January, etc.).  Is there a way to
> internationalize this?
>
> Also, is there a way to change the imgDir variable so I can set my own
> image to use?
>
> Thanks a bunch!
>
> - Original Message -
> From: Mike Kienenberger <[EMAIL PROTECTED]>
> Date: Thursday, January 25, 2007 12:14 pm
> Subject: Re: removing inputText when using inputCalendar
> To: MyFaces Discussion 
>
> > I don't think there is a way to do this yet.  It'd be a good
> > improvement.   Add an attribute (inputTextRendered=false?) and create
> > a patch.
> >
> > Another possiblity would be "inputTextStyle" -- then you could
> > probably use inputTextStyle="display:none"
> >
> > On 1/25/07, Josué Alcalde González <[EMAIL PROTECTED]> wrote:
> > > El jue, 25-01-2007 a las 10:04 -0600, [EMAIL PROTECTED]
> > escribió:> > Is there anyway to not have the inputText when using
> > the inputCalendar
> > > > tag?  I am setting the renderPopupButtonAsImage to true, but
> > dont want
> > > > to show the inputText box.
> > >
> > > style="display:none"
> > > --
> > > ___
> > > Josué Alcalde Gon?alez
> > > [EMAIL PROTECTED]
> > > Dpto. Desarrollo
> > >
> > > CSA - Centro Regional de Servicios Avanzados
> > > C/ López Bravo, 1
> > > Pol. Ind. Villalonquéjar (Burgos)
> > >
> > > Tel. (+34) 947 256 250
> > > Fax. (+34) 947 256 583
> > >
> > > Web: http://www.csa.es
> > >
> > >
> > >
> >
>



Re: [Tobago] tc:file always has a fixed width

2007-01-25 Thread Bernd Bohmann

Hello,

can you add an issue in jira for it.

Regards

Bernd

H. Swaczinna wrote:

Hello,

the width of the tc:file component is always fixed. It doesn't shrink
or spread to the width specified in the gridLayout.

Regards
Helmut



Re: [Tobago] immediate has no effect on tabGroup

2007-01-25 Thread Bernd Bohmann

Hello Helmut,

I can't reproduce your problem. Can you send an example page, please.

Regards

Bernd

H. Swaczinna wrote:

Hello,

the immediate="true" attribute of tc:link or tc:button has no effect,
when the link or button is on a tab in a tabGroup. Clicking the link
or button validates the fields on the page. Is the link or button
outside the tabGroup it does not. The tabGroup has switchType realodTab.

Regards
Helmut



RE: duplicate class definition exception

2007-01-25 Thread Leyzerzon, Simeon
Thank you for your answers.  
 
I've put the suggested by Mike org.apache.myfaces.CHECK_EXTENSIONS_FILTER 
context-param tag in the web.xml and it eliminated the previous errror, but 
introduced a similar one on another component on the page (see below).  
 
Jay, WebLogic version we are using is 8.1 and it doesn't include JSF for sure 
(it didn't exist at the time it was released), I only have the jars I mentioned 
before in the app, and I don't mix RI and myfaces, just myfaces are used.
 
What we have is this stanza in weblogic.xml: 
 




true



 

and here are all the jars we have in web-inf/lib:

  ajax4jsf-1.0.6RC1.jar
  cglib-nodep-2.1_3.jar
  CLRCommons.jar
  commons-beanutils-1.7.0.jar
  commons-codec-1.3.jar
  commons-collections-3.2.jar
  commons-digester-1.7.jar
  commons-el-2.0.jar
  commons-fileupload-1.0.jar
  commons-httpclient-2.0.jar
  commons-javaflow-20060411.jar
  commons-lang-2.1.jar
  commons-logging-1.1.jar
  commons-logging-api-1.1.jar
  commons-validator-1.1.4.jar
  dom4j-1.6.1.jar
  DomainModel.jar
  hibernate-3.2.0.jar
  itext-1.3.1.jar
  jakarta-oro-2.0.7.jar
  jasperreports-1.3.0.jar
  jaxen-1.1-beta-7.jar
  jdom.jar
  jdt-compiler-3.1.1.jar
  jsp-api.jar
  jstl.jar
  jxl-2.6.jar
  log4j-1.2.13.jar
  myfaces-api-1.1.4.jar
  myfaces-impl-1.1.4.jar
  oscache-2.3.2.jar
  png-encoder-1.5.jar
  poi-2.0-final-20040126.jar
  Security.jar
  servlet-api.jar
  spring-2.0-rc4.jar
  standard.jar
  tomahawk-1.1.3.jar

 

Here is the error:
 
<[ServletContext(id=88
06925,name=GISWeb,context-path=/GISWeb)] Root cause of ServletException.
javax.faces.FacesException: duplicate class definition: org/apache/myfaces/tagli
b/core/ValidateLongRangeTag
at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatc
h(ServletExternalContextImpl.java:422)
at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspV
iewHandlerImpl.java:234)
at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapp
er.java:101)
at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandle
r.java:222)
at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:
384)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
at org.apache.myfaces.webapp.MyFacesServlet.service(MyFacesServlet.java:
74)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
(ServletStubImpl.java:971)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:402)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:27)
at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(Extensions
Filter.java:144)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:27)
at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseX
MLFilter.java:75)
at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.
java:213)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:27)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.run(WebAppServletContext.java:6356)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:3635)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:2585)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
Caused by: javax.servlet.ServletException: duplicate class definition: org/apach
e/myfaces/taglib/core/ValidateLongRangeTag
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispat
cherImpl.java:323)
at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatc
 
Appreciate any additional help!!!
Simeon

  _  

From: Jay Balunas [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 25, 2007 3:00 PM
To: MyFaces Discussion
Subject: Re: duplicate class definition exception


Hello,

I have gotten this exception when I have multiple tomahawk jars, or jsf jars 
(RI or myfaces) in the classpath.

I originally got this issue when using jboss and a war file that packaged the 
MyFaces jars.  The classloader is basically finding two instances of the class, 
and not able to determine which to use.  This may also be a check in JSF itself 
- I'm not sure. 

I would check if web logic packages a JSF implementation,  If so the only way I 
found to get around it was to update the rev in JBoss to the one I wanted and 
not include my own in my war.  If this is not an option I think you'll have to 
remove the jsf jars from web l

Re: duplicate class definition exception

2007-01-25 Thread Jay Balunas

That makes it more difficult :-)

I checked my downloads of myfaces-api and myfaces-impl and tomahawk for
duplications - it was a long shot - but as expected no duplicates.

Try this - take out the myfaces-impl jar from the "WEB-INF/lib" because that
is where the duplicate entry is.  If it really is duplicate it should load
or give you some other error because the JSF version will be wrong.  But the
key is that the duplicate entry will be gone.  If that happens then you know
there is another entry somewhere.

I've also had times when I forgot that I put myfaces jars into a shared lib
directory.  Just for sanity - I would check that too.

Hope that helps,

-Jay

On 1/25/07, Leyzerzon, Simeon <[EMAIL PROTECTED]> wrote:


 Thank you for your answers.

I've put the suggested by Mike 
org.apache.myfaces.CHECK_EXTENSIONS_FILTERcontext-param tag in
the web.xml and it eliminated the previous errror, but introduced a
similar one on another component on the page (see below).

Jay, WebLogic version we are using is 8.1 and it doesn't include JSF for
sure (it didn't exist at the time it was released), I only have the jars I
mentioned before in the app, and I don't mix RI and myfaces, just myfaces
are used.

What we have is this stanza in weblogic.xml:





true





and here are all the jars we have in web-inf/lib:

  ajax4jsf-1.0.6RC1.jar
  cglib-nodep-2.1_3.jar
  CLRCommons.jar
  commons-beanutils-1.7.0.jar
  commons-codec-1.3.jar
  commons-collections-3.2.jar
  commons-digester-1.7.jar
  commons-el-2.0.jar
  commons-fileupload-1.0.jar
  commons-httpclient-2.0.jar
  commons-javaflow-20060411.jar
  commons-lang-2.1.jar
  commons-logging-1.1.jar
  commons-logging-api-1.1.jar
  commons-validator-1.1.4.jar
  dom4j-1.6.1.jar
  DomainModel.jar
  hibernate-3.2.0.jar
  itext-1.3.1.jar
  jakarta-oro-2.0.7.jar
  jasperreports-1.3.0.jar
  jaxen-1.1-beta-7.jar
  jdom.jar
  jdt-compiler-3.1.1.jar
  jsp-api.jar
  jstl.jar
  jxl-2.6.jar
  log4j-1.2.13.jar
  myfaces-api-1.1.4.jar
  myfaces-impl-1.1.4.jar
  oscache-2.3.2.jar
  png-encoder-1.5.jar
  poi-2.0-final-20040126.jar
  Security.jar
  servlet-api.jar
  spring-2.0-rc4.jar
  standard.jar
  tomahawk-1.1.3.jar


Here is the error:

   
<[ServletContext(id=88
06925,name=GISWeb,context-path=/GISWeb)] Root cause of ServletException.
*javax.faces.FacesException: duplicate class definition:
org/apache/myfaces/tagli
b/core/ValidateLongRangeTag*
at
org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatc
h(ServletExternalContextImpl.java:422)
at
org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspV
iewHandlerImpl.java:234)
at org.ajax4jsf.framework.ViewHandlerWrapper.renderView
(ViewHandlerWrapp
er.java:101)
at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView
(AjaxViewHandle
r.java:222)
at org.apache.myfaces.lifecycle.LifecycleImpl.render(
LifecycleImpl.java:
384)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
at org.apache.myfaces.webapp.MyFacesServlet.service(
MyFacesServlet.java:
74)
at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
(ServletStubImpl.java:971)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet
(ServletStubIm
pl.java:402)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java
:28)
at weblogic.servlet.internal.FilterChainImpl.doFilter(
FilterChainImpl.ja
va:27)
at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter
(Extensions
Filter.java:144)
at weblogic.servlet.internal.FilterChainImpl.doFilter(
FilterChainImpl.ja
va:27)
at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter
(BaseX
MLFilter.java:75)
at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter
(BaseFilter.
java:213)
at weblogic.servlet.internal.FilterChainImpl.doFilter(
FilterChainImpl.ja
va:27)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.run(WebAppServletContext.java:6356)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs
(Authenticate
dSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(
SecurityManager.java:
118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet
(WebAppSe
rvletContext.java:3635)
at weblogic.servlet.internal.ServletRequestImpl.execute
(ServletRequestIm
pl.java:2585)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
Caused by: javax.servlet.ServletException: duplicate class definition:
org/apach
e/myfaces/taglib/core/ValidateLongRangeTag
at weblogic.servlet.internal.RequestDispatcherImpl.forward
(RequestDispat
cherImpl.java:323)
at
org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatc

Appreciate any additional help!!!
Simeon

 --
*From:* Jay Balunas [mailto:[EMAIL PROTECTED]
*Sent:* Thur

RE: Re: [Tobago] immediate has no effect on tabGroup

2007-01-25 Thread H. Swaczinna
Hello Bernd,

here comes a simple example:


  

  




   

   
   

   

  


If you enter an invalid date in the date field, it is not validated
when you click the first button. It is validated, when you click the
button on the first tab. So far, everything is ok. But when you click
the button on the second tab, validation is also executed, but it  should
not be.

Regards
Helmut


>Hello Helmut,
>
>I can't reproduce your problem. Can you send an example page, please.
>
>Regards
>
>Bernd
>
>H. Swaczinna wrote:
>> Hello,
>> 
>> the immediate="true" attribute of tc:link or tc:button has no effect,
>> when the link or button is on a tab in a tabGroup. Clicking the link
>> or button validates the fields on the page. Is the link or button
>> outside the tabGroup it does not. The tabGroup has switchType realodTab.
>> 
>> Regards
>> Helmut
>>


Re: is there any expandable vertical menu in jsf something like....

2007-01-25 Thread Mike Kienenberger

There are a number of menu items in tomahawkj.
You can see a few of them here:

http://www.irian.at/myfaces/home.jsf


On 1/21/07, legolas <[EMAIL PROTECTED]> wrote:


Thank you for reading my post.
I am looking for a jsf component to simulate the vertical menu shown in this
page.
http://tutorials.alsacreations.com/modelesmenus/vd2.htm

is there any  component in myfaces components set or other free components
set that provide such facilities?

thanks
--
View this message in context: 
http://www.nabble.com/is-there-any-expandable-vertical-menu-in-jsf-something-like-tf3050797.html#a8480592
Sent from the MyFaces - Users mailing list archive at Nabble.com.




Re: Memory leak

2007-01-25 Thread Mike Kienenberger

Actually, the unified EL is available as a part of Tomcat 6.   I think
you can acquire it independently of Tomcat.  You can also grab it as
part of a facelets distribution.

Also, you could either switch to JSF 1.2 or switch to using Facelets
since Facelets automatically uses the new unified EL, or change your
expression language.   I think changing the EL is a matter of
specifying variable-resolver and property-resolver in your
faces-config file, but I've never done it.  I've seen postings of
others who have done so, including a javascript el replacement.


On 1/22/07, Bruno Aranda <[EMAIL PROTECTED]> wrote:

JSP 2.1 includes now the Unified EL (javax.el.*) in the spec, which is
what jsf 1.2 uses. MyFaces 1.2 is not going to depend in apache
commons el anymore,

Cheers,

Bruno

On 22/01/07, Savitsky, Alex <[EMAIL PROTECTED]> wrote:
> Sun JSF RI uses its own EL implementation from Glassfish... but MyFaces
> has explicit code dependencies on Commons EL, so switching is not
> trivial...
>
> Alex
>
> -Original Message-
> From: Wayne Fay [mailto:[EMAIL PROTECTED]
> Sent: Sunday, January 21, 2007 9:13 PM
> To: MyFaces Discussion
> Subject: Re: Memory leak
>
> Good question... Anyone know a Commons EL substitution? Hopefully
> something that is still in active development.
>
> Wayne
>
> On 1/19/07, Mick Knutson <[EMAIL PROTECTED]> wrote:
> > What can you use instead of commons EL?
> >
> >
> > On 1/19/07, Wayne Fay <[EMAIL PROTECTED]> wrote:
> > > Sounds like a bug for Apache Commons EL project... but it seems
> > > pretty dead. 12 bugs posted since 2003 and only 2 fixed.
> > >
> > > Realistically, it seems like you'll need to patch the EL code to
> > > eliminate this bug, as discussed in that Sun.com bug report.
> > >
> > > Wayne
> > >
> > > On 1/19/07, phtan <[EMAIL PROTECTED]> wrote:
> > > > Hi,
> > > >
> > > > We have a memory leak problem when running MyFaces 1.1.3 on
> > > > Websphere
> > 6.1.  We
> > > > used a tool provided by IBM call Memory Dump Diagnostic to compare
>
> > > > 2
> > heap dumps
> > > > or when we get a core dump due to out of memory.  The leak
> > > > candidate
> > shown by
> > > > the tool is almost always the BeanInfoManager in apache commons
> EL.
> > > >
> > > > We googled and found similar reported cases albeit with different
> > > > app
> > server,
> > > > see
> > http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6390584
> > .
> > > >
> > > > Have anyone else faced the same issue and any resolution?  Any
> > > > help much appreciated as our system will go production soon. :-(.
> > > >
> > > > Thanks!
> > > >
> > > > Regards,
> > > > ph tan
> > > >
> > > >
> > >
> >
> >
> >
> > --
> > Thanks
> >
> > DJ MICK
> >
> > (Mick Knutson)
> > http://www.djmick.com
> > http://www.myspace.com/djmick_dot_com
> > http://www.thumpradio.com
>
>
> 
> NOTICE OF CONFIDENTIALITY
> This communication including any information transmitted with it is
> intended only for the use of the addressees and is confidential.
> If you are not an intended recipient or responsible for delivering
> the message to an intended recipient, any review, disclosure,
> conversion to hard copy, dissemination, reproduction or other use
> of any part of this communication is strictly prohibited, as is the
> taking or omitting of any action in reliance upon this communication.
> If you receive this communication in error or without authorization
> please notify us immediately by return e-mail or otherwise and
> permanently delete the entire communication from any computer,
> disk drive, or other storage medium.
>
> If the above disclaimer is not properly readable, it can be found at
> www.td.com/legal
>
> AVERTISSEMENT DE CONFIDENTIALITE
> Ce courriel, ainsi que tout renseignement ci-inclus, destiné uniquement
> aux destinataires susmentionnés,  est confidentiel.  Si vous
> n'êtes pas le destinataire prévu ou un agent responsable de la
> livraison de ce courriel, tout examen, divulgation, copie, impression,
> reproduction, distribution, ou autre utilisation d'une partie de ce
> courriel est strictement interdit de même que toute intervention ou
> abstraction à cet égard.  Si vous avez reçu ce message par erreur ou
> sans autorisation, veuillez en aviser immédiatement l'expéditeur par
> retour de courriel ou par un autre moyen et supprimer immédiatement
> cette communication entière de tout système électronique.
>
> Si l'avis de non-responsabilité ci-dessus n'est pas lisible, vous
> pouvez le consulter à www.td.com/francais/legale
>



Re: Datatable, findComponent and saveState

2007-01-25 Thread Mike Kienenberger

Nothing specific, but you might want to use a t:dataList instead of
dataTable if you're just looking for an iterator.

Also, take a look at this:

http://weblogs.java.net/blog/jhook/archive/2006/02/new_feature_for.html

I'm pretty sure Martin has this implement in Tomahawk as well,
although the name might be slightly different.  ExecuteOnCallback
might be the name in Tomahawk.

UIComponentPerspective.executeOn(javax.faces.context.FacesContext
context, ExecuteOnCallback callback)



On 1/21/07, Matt Tyson <[EMAIL PROTECTED]> wrote:


I've found a few posts in the ballpark of the issue I'm working on right now,
but no solutions.

I have a custom component inside a t:datatable.  I'm actually just using the
datatable to manage multiple instances of my custom component.

The custom component is a floatingPane (from dojo) that sends ajax data back
when it is moved, in order to preserve its location.

I find the component with findComponent using its ID (which is the datatable
id: id="floaterForm:paneTable:0:floatPane").

Its when I go to save the state that I find the problem.  There appears to
be only one floatingPane with a clientId of
floaterForm:paneTable:paneColumn:floatPane during the saveState method, and
the states of the multiple panes are confused with eachother.

Any ideas?

Thanks,

Matt
--
View this message in context: 
http://www.nabble.com/Datatable%2C-findComponent-and-saveState-tf3050405.html#a8479578
Sent from the MyFaces - Users mailing list archive at Nabble.com.




Re: Source code

2007-01-25 Thread lightbulb432

I have another question about MyFaces source code. When looking at the source
code included with MyFaces, I noticed that FacesServlet is specific to
MyFaces, as seen in the line:

SERVLET_INFO="FacesServlet of the MyFaces API implementation

I thought that Sun provided the standard set of APIs and the implementations
just extend/implement everything in the API package. For example, every
implementer of JSF uses the same FacesServlet class provided by the spec and
in their implementation they create a "MyFacesServlet" specific to them. I
didn't realize the way things worked was that they just replace the main
classes!? That seems pretty weird...

Is this a standard kinda way of implementing specs or is this a different
approach. Pardon my ignorance, as I'm inexperienced with all this...

Is there a Java EE 5 version of the JSF classes that get implemented or
replaced by the RI and MyFaces? Or are RI, MyFaces, and any other
implementations the only JSF source code that exist (i.e. there is no
"official" JSF source code)?

I am looking for Java EE 5 source code in general (incl. JSF) and can't find
it anywhere! Where'd you get it from?

Thanks.
-- 
View this message in context: 
http://www.nabble.com/Source-code-tf2978235.html#a8645524
Sent from the MyFaces - Users mailing list archive at Nabble.com.



Re: Source code

2007-01-25 Thread Simon Kitching

lightbulb432 wrote:

I have another question about MyFaces source code. When looking at the source
code included with MyFaces, I noticed that FacesServlet is specific to
MyFaces, as seen in the line:

SERVLET_INFO="FacesServlet of the MyFaces API implementation

I thought that Sun provided the standard set of APIs and the implementations
just extend/implement everything in the API package. For example, every
implementer of JSF uses the same FacesServlet class provided by the spec and
in their implementation they create a "MyFacesServlet" specific to them. I
didn't realize the way things worked was that they just replace the main
classes!? That seems pretty weird...

Is this a standard kinda way of implementing specs or is this a different
approach. Pardon my ignorance, as I'm inexperienced with all this...


This is the way that JSF is intended to be implemented at least. Sun 
provide a spec which includes a batch of javadocs, but the 
implementation of those classes in javax.faces is different for each 
"vendor".


Yes, it is a little different from the "SPI" style of interfaces.




Is there a Java EE 5 version of the JSF classes that get implemented or
replaced by the RI and MyFaces? Or are RI, MyFaces, and any other
implementations the only JSF source code that exist (i.e. there is no
"official" JSF source code)?


There is no "official" implementation. Sun's implementation has no claim 
to be any more "official" than the Apache Myfaces version (or other 
implementations, though I don't know of any).


JBoss comes with the MyFaces version, Glassfish comes with the Sun 
version. I bet that Geronimo (and therefore Websphere Community Edition) 
comes with MyFaces.


I haven't checked what version BEA Weblogic provides, or Oracle.



I am looking for Java EE 5 source code in general (incl. JSF) and can't find
it anywhere! Where'd you get it from?


For the "Glassfish" implementation of the jee 5 spec, search the sun site.

For the JBoss implementation of the jee 5 spec, search the JBoss site.

Apache Geronimo is still working on implementing this version 
(http://geronimo.apache.org/), but you'll find the source they have so 
far on that site.


BEA Weblogic source code isn't available.

Regards,

Simon


Re: Source code

2007-01-25 Thread lightbulb432

Thanks for your insights. Is there a name for this type of interface-style
(if not SPI)?

Is it correct to say that SPI-style interfaces the spec includes the spec
classes and the implementers generally wouldn't package the spec classes
along, in this style there are no spec classes - only specified behavior for
every interface?

I can now see how JSF's source code wouldn't be bundled in with the Java EE
5 source code (because there is no interfaces FacesServlet from that
implementors implement), but are you saying that there is no Java EE 5
source code at all - only implementations? Is every Java EE 5 spec designed
in this non-SPI style where there exist no actual Java EE 5 source code,
only the implementations' source code? e.g. Is there no EntityManager,
HttpServlet, etc source code provided by Sun - only Javadocs? (If not, where
could I get it?)

I can find the J2EE source code here but not Java EE 5:
http://www.sun.com/software/communitysource/j2ee/j2ee/download.xml




Simon Kitching-3 wrote:
> 
> lightbulb432 wrote:
>> I have another question about MyFaces source code. When looking at the
>> source
>> code included with MyFaces, I noticed that FacesServlet is specific to
>> MyFaces, as seen in the line:
>> 
>> SERVLET_INFO="FacesServlet of the MyFaces API implementation
>> 
>> I thought that Sun provided the standard set of APIs and the
>> implementations
>> just extend/implement everything in the API package. For example, every
>> implementer of JSF uses the same FacesServlet class provided by the spec
>> and
>> in their implementation they create a "MyFacesServlet" specific to them.
>> I
>> didn't realize the way things worked was that they just replace the main
>> classes!? That seems pretty weird...
>> 
>> Is this a standard kinda way of implementing specs or is this a different
>> approach. Pardon my ignorance, as I'm inexperienced with all this...
> 
> This is the way that JSF is intended to be implemented at least. Sun 
> provide a spec which includes a batch of javadocs, but the 
> implementation of those classes in javax.faces is different for each 
> "vendor".
> 
> Yes, it is a little different from the "SPI" style of interfaces.
> 
> 
>> 
>> Is there a Java EE 5 version of the JSF classes that get implemented or
>> replaced by the RI and MyFaces? Or are RI, MyFaces, and any other
>> implementations the only JSF source code that exist (i.e. there is no
>> "official" JSF source code)?
> 
> There is no "official" implementation. Sun's implementation has no claim 
> to be any more "official" than the Apache Myfaces version (or other 
> implementations, though I don't know of any).
> 
> JBoss comes with the MyFaces version, Glassfish comes with the Sun 
> version. I bet that Geronimo (and therefore Websphere Community Edition) 
> comes with MyFaces.
> 
> I haven't checked what version BEA Weblogic provides, or Oracle.
> 
>> 
>> I am looking for Java EE 5 source code in general (incl. JSF) and can't
>> find
>> it anywhere! Where'd you get it from?
> 
> For the "Glassfish" implementation of the jee 5 spec, search the sun site.
> 
> For the JBoss implementation of the jee 5 spec, search the JBoss site.
> 
> Apache Geronimo is still working on implementing this version 
> (http://geronimo.apache.org/), but you'll find the source they have so 
> far on that site.
> 
> BEA Weblogic source code isn't available.
> 
> Regards,
> 
> Simon
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Source-code-tf2978235.html#a8645742
Sent from the MyFaces - Users mailing list archive at Nabble.com.



Re: Help with included jsp file Illegal to flush within a custom tag

2007-01-25 Thread Mike Kienenberger

Myfaces api 1.1.4 and impl 1.1.3 are incompatible.
You must use the same version for both api and impl at all times.

This is possibly the cause of your problem.
Use of tomahawk 1.1.3 with Myfaces core (api+impl) 1.1.4 should work.

On 1/19/07, Todd Nine <[EMAIL PROTECTED]> wrote:

Hi all,
  I am constantly receiving this error message. and I can't figure it out.
My parent page is index.jsp, my jsp include page is include/header.jsp.  My
index.jsp is as follows.

<%@ taglib uri=" http://java.sun.com/jsf/html"; prefix="h"%>
 <%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f"%>
..other stuff ..


  

  


  
 


..other stuff...



Here is my header.jsp

<%@ taglib uri=" http://java.sun.com/jsf/html"; prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f"%>










Home













I have tried the attribute flush="false" on the JSP include, and I still
receive this error.  I'm using myface-api 1.1.4, myfaces-impl 1.1.3 and
tomahawk 1.1.3.

Thanks,
Todd



Re: Source code

2007-01-25 Thread Craig McClanahan

On 1/25/07, lightbulb432 <[EMAIL PROTECTED]> wrote:



Thanks for your insights. Is there a name for this type of interface-style
(if not SPI)?

Is it correct to say that SPI-style interfaces the spec includes the spec
classes and the implementers generally wouldn't package the spec classes
along, in this style there are no spec classes - only specified behavior
for
every interface?



No, that is not a correct understanding of how the Java standardization
process works.  For all the gory details, go to  and read
the docuemnts that describes how it really works.  Below is a too-brief
summary of how the JCP rules interact with your questions in this thread.

The JCP rules require that anyone who implements a spec must provide an
implementation of the java.* or javax.* classes that are defined by the
specification (even if they are interfaces).  Part of the compatibility
testing is a verification that the supplied java.* and/or javax.* classes
publish exactly the right set of public methods and variables (no more and
no less than the spec defines).  That is why MyFaces includes a set of
classes and interfaces that correspond to the spec in the
myfaces-api-xxx.jar file.  The RI (a different implementation) ships its own
version of these classes in the jsf-api-xxx.jar file.  Both implementations
(for 1.1) have passed the compatibility tests, so you can be assured that
the public and protected methods and fields in these APIs are the same.

The thing that makes JSF different from many EE specs is that there are a
*lot* of concrete classes, not just interfaces.  This is hardly unique --
even the Servlet Specification defines a few classes with concrete behavior
(like GenericServlet and HttpServlet), and other specs like Swing are mostly
concrete classes with behavior.  (Indeed, so is the core JDK ... you'll
notice that java.util.ArrayList is a concrete class with behavior, which
must be provided by anyone who claims to implement Java SE like the Harmony
project here at Apache.)  In the case of JSF, this was done deliberately so
that a developer just using a base JSF implementation would not have to
start by creating components -- out of the box you get some basic ones that
are guaranteed to be portable across implementations.

I can now see how JSF's source code wouldn't be bundled in with the Java EE

5 source code (because there is no interfaces FacesServlet from that
implementors implement), but are you saying that there is no Java EE 5
source code at all - only implementations? Is every Java EE 5 spec
designed
in this non-SPI style where there exist no actual Java EE 5 source code,
only the implementations' source code? e.g. Is there no EntityManager,
HttpServlet, etc source code provided by Sun - only Javadocs? (If not,
where
could I get it?)



Glassfish includes code for both the API and implementations of all the
specs it includes (for JSF, Glassfish uses the JSF 1.2 RI sources at <
https://javaserverfaces.dev.java.net>).

For Geronimo's code (their EE5 stuff is under development), go to <
http://geronimo.apache.org>.  From what I've seen on the mailing lists, they
plan on shipping the MyFaces JSF 1.2 implementation (in development here on
a branch) when it's done.  That certainly makes a *lot* more sense than
re-inventing it.

I can find the J2EE source code here but not Java EE 5:

http://www.sun.com/software/communitysource/j2ee/j2ee/download.xml



You'll do a lot better at  but be sure to
take note when Glassfish uses other modules for some of its functionality
(like the JSF RI as mentioned above).  This includes both the API classes (
javaee.jar) and an implementation of all the required features of Java EE 5
(plus a bunch of other useful stuff too).

As Simon mentioned, the term "official" has no meaning in the JCP process.
The only implementation that is at all distinguished is the "reference
implementation" that the specification lead is required to provide (along
with a compatibility test kit) before a spec can be voted final.  From the
JCP process perspective, the reason for an RI is to prove that the
specification can actually be implemented.  From the end user perspective,
you cannot reliably draw any quality conclusions about a reference
implementation of a spec simply from the fact that it is an RI.  Some were
designed specifically to be just that proof of concept (look at the basic
Pluto implementation of the JSR-168 portlet spec, for example), while others
are designed to be product quality implementation that is useful in
applications as well as serving the role of proving that the spec can be
implemented.

Check the documentation for the implementation you are interested in, to see
what the intent was, and try it out yourself.  See what other people are
doing with it.  Anyone who claims "because it is an RI it is therefore just
a toy and should not be used in production" does not know what they are
talking about.

Craig

Simon Kitching-3

RE: removing inputText when using inputCalendar

2007-01-25 Thread Madhav Bhargava

I am not sure if you can do that with tomahawk date components.
Try rcfaces  - they have a component called  component
which will by default not provide you an input text. It has to be
explicitly given.
For more information you can go to:
http://rcfaces.org/comps/dateChooserComponent.html


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Thursday, January 25, 2007 9:34 PM
> To: users@myfaces.apache.org
> Subject: removing inputText when using inputCalendar
>
> Is there anyway to not have the inputText when using the inputCalendar
> tag?  I am setting the renderPopupButtonAsImage to true, but dont want
> to show the inputText box.

 CAUTION - Disclaimer *
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
for the use of the addressee(s). If you are not the intended recipient, please 
notify the sender by e-mail and delete the original message. Further, you are 
not to copy, disclose, or distribute this e-mail or its contents to any other 
person and any such actions are unlawful. This e-mail may contain viruses. 
Infosys has taken every reasonable precaution to minimize this risk, but is not 
liable for any damage you may sustain as a result of any virus in this e-mail. 
You should carry out your own virus checks before opening the e-mail or 
attachment. Infosys reserves the right to monitor and review the content of all 
messages sent to or from this e-mail address. Messages sent to or from this 
e-mail address may be stored on the Infosys e-mail system.
***INFOSYS End of Disclaimer INFOSYS***


RE: My 1.1.5 looses its state.

2007-01-25 Thread Madhav Bhargava

I faced a similar problem. I included the source code of tomahawk and debugged 
it.

I found that the encodeBegin has a method which will restore opened states. Now 
this method will not be called when the tree is constructed afresh.

Check to see if the tree is getting constructed again. In my case I had a 
panelNavigation2 inside a custom component and therefore it made it easier for 
me to debug it. I am not sure what is the case with you.

> -Original Message-
> From: Christian Kölle [mailto:[EMAIL PROTECTED]
> Sent: Friday, January 26, 2007 2:13 AM
> To: users@myfaces.apache.org
> Subject: My 1.1.5  looses its state.
>
> Hello,
>
> Prenotes:
> I am not very familiar into the JSF-Myfaces deep-ends. I consider myself
> more as a pure user.
>
> Problem:
> Under certain conditions, my  looses its state. More
> precisely: Sometimes I receive a page response, where the panalNavigation
> is
> collapsed, also the previously selected sub-item should stay selected.
>
> "Sometimes" and "under certain conditions" means, that the problem only
> occurs when i write something into the managed beans from within my
> java-code, i.e. like adding an error-message to the context
> [context.addMessage("", errMsg);] or when I retrieve a managed bean from
> application's variable resolver and amend the content of the managed bean.
>
> The problem did not occur with
> - tomahawk 1.1.2 and
> - myfaces 1.1.3
> With those versions mentioned, the  behaved exactly as I
> expected.
>
> The problem occurs with
> - tomahawk-1.1.5-SNAPSHOT and
> - tomahawk-sandbox-1.1.5-SNAPSHOT
> with either myfaces-core 1.1.3 or myfaces-core 1.1.5-snapshot.
>
> You might ask, why I use 1.1.5-SNAPSHOT? Well I want to have a try on the
> Sandbox's . Therefore I need
> tomahawk-sandbox-1.1.5-SNAPSHOT. For me it seems that I cannot use
> tomahawk-sandbox-1.1.5-SNAPSHOT in combination with tomahawk-1.1.2, where
> the  is defined.
>
> Any ideas, quick hacks?
> Thanks in advance & regards
> Christian


 CAUTION - Disclaimer *
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
for the use of the addressee(s). If you are not the intended recipient, please 
notify the sender by e-mail and delete the original message. Further, you are 
not to copy, disclose, or distribute this e-mail or its contents to any other 
person and any such actions are unlawful. This e-mail may contain viruses. 
Infosys has taken every reasonable precaution to minimize this risk, but is not 
liable for any damage you may sustain as a result of any virus in this e-mail. 
You should carry out your own virus checks before opening the e-mail or 
attachment. Infosys reserves the right to monitor and review the content of all 
messages sent to or from this e-mail address. Messages sent to or from this 
e-mail address may be stored on the Infosys e-mail system.
***INFOSYS End of Disclaimer INFOSYS***


Re: Consultant Developers needed for JSF

2007-01-25 Thread Matthias Wessendorf

That [OT] / [job] thing is preferred, yes.
I think sometimes not everybody knows the "rules". But the subject
says pretty much all about it, so I am really fine with it.

:)

Thanks,
Matthias

On 1/25/07, Jeff Bischoff <[EMAIL PROTECTED]> wrote:

Simon Kitching wrote:
> I don't see any problem with Samir's email. This is where JSF people
> hang out, and I'm sure we all want jobs (though this one is about 10,000
> kms too far away for me :-).
>
> If job postings become *too* frequent it might be necessary to move them
> to a wiki page or similar but I suggest that problem is dealt with
> when(if) it occurs..
>

I think these type of postings are fine, though perhaps they should be
flagged [OT] or some other prefix... [job] ?

> Or maybe Mick thought this was sent direct to him...
>

I suspect he did. :)

> Regards,
>
> Simon
>
> Mick Knutson wrote:
>> How did you get this email? PLEASE REMOVE THIS EMAIL FROM UNSOLICITED
>> CORRESPONDENCE.
>>
>>
>>
>> On 1/24/07, *Samir Patel* < [EMAIL PROTECTED]
>> > wrote:
>>
>> Hello,
>>
>> Our engineering team was looking to see if we can get some help with
>> our Jboss/Hibernate/JSF implementation to build a search marketing
>> management software.
>>
>> We would like a few senior consultants on a full time basis to work
>> out of our San Mateo offices. Please send me your resume or a list
>> of projects to be considered for this opening. (jobs at SearchForce
>> dot com)
>>
>> If you have anyone else who might be interested, please feel free to
>> forward this email to them.
>>  Regards,
>>  Samir Patel
>>
>> President & CEO
>>
>> SearchForce Inc.
>>
>> http://www.SearchForce.com
>
>
>






--
Matthias Wessendorf
http://tinyurl.com/fmywh

further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com


panelLayout and Facelets

2007-01-25 Thread Francesco Consumi

Hi all,

I'm trying to use Facelets in test project.
We make heavy use of t:panelLayout, but there isn't any declaration of 
that tag in tomahawk.taglib.xml.

what's the correct declaration for panelLayout ?

thanks,

--
Francesco Consumi
Istituto degli Innocenti