Re: RES: tomahawk config

2006-09-02 Thread yangontha

Hi,

Yes. Calendar is nested in the h:form





[It is working correctly with tomahawk.jar, previous version.]

The stack trace:-
org.apache.jasper.JasperException: The absolute uri:
http://myfaces.apache.org/extensions cannot be resolved in either web.xml or
the jar files deployed with this application

org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:50)

org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)

org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:114)

org.apache.jasper.compiler.TagLibraryInfoImpl.generateTLDLocation(TagLibraryInfoImpl.java:316)

org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:147)
org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:418)
org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483)
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1543)
org.apache.jasper.compiler.Parser.parse(Parser.java:126)

org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211)

org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:146)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)

org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)

com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)

com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)

org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)


However I have not changed according to the 2 wiki pages.
I will read and change accordingly. (However just now I treid to change the
extension filter name and put in the myfaces-impl... myfaces-api...
caused another error. the servlet can't start. Probably I missed some point.
I will read again. I am not using Maven.)

thanks,





iamnoah wrote:
> 
> Is your calendar nested inside an h:form?
> 
> What is the error? Can you give us the stack trace?
> 
> Have you tried
> http://wiki.apache.org/myfaces/Upgrading_to_Tomahawk_1%2e1%2e3
> and
> http://wiki.apache.org/myfaces/More_tips_on_Upgrading_to_Tomahawk_1%2e1%2e3
> ?
> 
> On 9/1/06, yangontha <[EMAIL PROTECTED]> wrote:
>>
>> Hi,
>>
>> I am facing the same problem. Previously I use (tomahawk.jar) and
>> Calendar
>> works fine. then I changed to (tomahawk-1.1.3.jar) and it occured the
>> error.So I change back to (tomahawk.jar) and is working.
>> Now I want to use (1.1.3). Which commons file do I need to put? Can you
>> give
>> me more deatil information?
>> I have put the commons-fileupload-1.1.jar with tomahawk 1.1.3. But it is
>> not
>> working.
>> Which commons---.jar do I need to add?
>>
>> thanks in advance,
>>
>>
>> I just added the commons jar.. Non of the documentation states that this
>> was
>> needed.. a bit confusing.. but, I got the calendar working and it was
>> very
>> simple.. Nice to see something easy.. I've been fighting with the Sun JSF
>> impl for a few weeks and it's been disappointing..
>>
>> thanks
>> dan
>>
>> --
>> View this message in context:
>> http://www.nabble.com/tomahawk-config-tf2166374.html#a6093310
>> Sent from the MyFaces - Users forum at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/tomahawk-config-tf2166374.html#a6119321
Sent from the MyFaces - Users forum at Nabble.com.



Re: Table Captions

2006-09-02 Thread Mike Kienenberger

On 9/2/06, Dennis Byrne <[EMAIL PROTECTED]> wrote:

I just checked the code and it appears to only be in the 1.2 branch.  It's more 
work, but you can always override the Renderer in JSF.


Brad,

You could also backport this feature to the t:dataTable.
Should be pretty simple if it's already part of the 1.2 branch.


Re: Table Captions

2006-09-02 Thread Dennis Byrne
I just checked the code and it appears to only be in the 1.2 branch.  It's more 
work, but you can always override the Renderer in JSF.

In your faces-config,


javax.faces.Data
org.apache.myfaces.Table
com.foo.HtmlTableRenderer


... where com.foo.HtmlTableRenderer extends 
org.apache.myfaces.renderkit.html.ext.HtmlTableRenderer

In com.foo.HtmlTableRenderer, override the part that prints  and make it 
print blag .

This of course means you may have to do some refactoring when you want to 
upgrade to a newer version of MyFaces ( where 
org.apache.myfaces.renderkit.html.ext.HtmlTableRenderer might change ) or move 
to a different JSF implmentation altogether ( a completely different Renderer 
to extend).

Dennis Byrne

>-Original Message-
>From: Brad Smith [mailto:[EMAIL PROTECTED]
>Sent: Saturday, September 2, 2006 07:19 PM
>To: 'MyFaces Discussion'
>Subject: Re: Table Captions
>
>Thanks for the information Dennis. When I use the code Dennis suggested
>below, no caption appears. When I use:
>
>Does this work?
>
>I get the same result, ie no caption. In both instances, any errors (if
>any) are silently disposed of.
>
>Brad
>
>
>On Sat, 2006-09-02 at 22:23 +, Dennis Byrne wrote:
>
>> What happens if you do this?
>>
>> 
>>   
>> 
>>
>> This is a requirement for JSF 1.2 .
>
>




Re: Table Captions

2006-09-02 Thread Brad Smith
Thanks for the information Dennis. When I use the code Dennis suggested
below, no caption appears. When I use: 

Does this work? 

I get the same result, ie no caption. In both instances, any errors (if
any) are silently disposed of.

Brad


On Sat, 2006-09-02 at 22:23 +, Dennis Byrne wrote:

> What happens if you do this?
> 
> 
>   
> 
> 
> This is a requirement for JSF 1.2 .



signature.asc
Description: This is a digitally signed message part


Re: Table Captions

2006-09-02 Thread Dennis Byrne
Someone contributed a patch a few months ago.  I know I committed it to the 1.2 
branch (no release) but I can't remember if it was committed to the 1.1 branch. 
 If it was committed, I also can't tell you if it happened before or after the 
last release (1.1.3).

What happens if you do this?


  


This is a requirement for JSF 1.2 .

Dennis Byrne

>-Original Message-
>From: Brad Smith [mailto:[EMAIL PROTECTED]
>Sent: Saturday, September 2, 2006 05:28 PM
>To: 'MyFaces Discussion'
>Subject: Table Captions
>
>I have been looking for a way to add captions with the caption element
>using either  or  but do not see this in any
>examples or manuals. Am I overlooking the obvious?
>
>Thanks
>
>Brad
>
>




Table Captions

2006-09-02 Thread Brad Smith
I have been looking for a way to add captions with the caption element
using either  or  but do not see this in any
examples or manuals. Am I overlooking the obvious?

Thanks

Brad



signature.asc
Description: This is a digitally signed message part


[tomahawk] collapsiblePanel in a panelTabbedPane

2006-09-02 Thread Nicolas Kalkhof
hello folks,

i was unable to get a collapsiblePanel to work in a panelTabbedPane. it just 
wonŽt expand after klicking. any information if this has ever tested before?

version used: tomahawk 1.1.3 and lastest 1.1.5-snapshot.

regards,
nicolas
_
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=0066