ConvertDateTimeTagBase.setConverterType(FacesContext, DateTimeConverter,
String) line: 206
ConvertDateTimeTag(ConvertDateTimeTagBase).createConverter() line: 89
ConvertDateTimeTag(ConverterTag).doStartTag() line: 66
columnsTest.jsp line: 12
columnsTest.jsp line: not available
columnsTest.jsp line: not available
columnsTest.jsp line: not available
columnsTest.jsp line: not available
columnsTest.jsp line: not available
columnsTest.jsp line: not available
testpage_jsp(HttpJspBase).service(HttpServletRequest,
HttpServletResponse)
line: 98
testpage_jsp(HttpServlet).service(ServletRequest, ServletResponse) line:
803
JspServletWrapper.service(HttpServletRequest, HttpServletResponse,
boolean)
line: 328
JspServlet.serviceJspFile(HttpServletRequest, HttpServletResponse,
String,
Throwable, boolean) line: 315
JspServlet.service(HttpServletRequest, HttpServletResponse) line: 265
JspServlet(HttpServlet).service(ServletRequest, ServletResponse) line:
803
ApplicationFilterChain.internalDoFilter(ServletRequest, ServletResponse)
line: 269
ApplicationFilterChain.doFilter(ServletRequest, ServletResponse) line:
188
FilterChainProxy$VirtualFilterChain.doFilter(ServletRequest,
ServletResponse) line: 264
FilterSecurityInterceptor.invoke(FilterInvocation) line: 107
FilterSecurityInterceptor.doFilter(ServletRequest, ServletResponse,
FilterChain) line: 72
FilterChainProxy$VirtualFilterChain.doFilter(ServletRequest,
ServletResponse) line: 274
ExceptionTranslationFilter.doFilter(ServletRequest, ServletResponse,
FilterChain) line: 110
FilterChainProxy$VirtualFilterChain.doFilter(ServletRequest,
ServletResponse) line: 274
SecurityContextHolderAwareRequestFilter.doFilter(ServletRequest,
ServletResponse, FilterChain) line: 81
FilterChainProxy$VirtualFilterChain.doFilter(ServletRequest,
ServletResponse) line: 274
AuthenticationProcessingFilter(AbstractProcessingFilter).doFilter(ServletRequest,
ServletResponse, FilterChain) line: 217
FilterChainProxy$VirtualFilterChain.doFilter(ServletRequest,
ServletResponse) line: 274
HttpSessionContextIntegrationFilter.doFilter(ServletRequest,
ServletResponse, FilterChain) line: 153
FilterChainProxy$VirtualFilterChain.doFilter(ServletRequest,
ServletResponse) line: 274
FilterChainProxy.doFilter(ServletRequest, ServletResponse, FilterChain)
line: 148
FilterToBeanProxy.doFilter(ServletRequest, ServletResponse, FilterChain)
line: 98
ApplicationFilterChain.internalDoFilter(ServletRequest, ServletResponse)
line: 215
ApplicationFilterChain.doFilter(ServletRequest, ServletResponse) line:
188
ApplicationDispatcher.invoke(ServletRequest, ServletResponse,
ApplicationDispatcher$State) line: 691
ApplicationDispatcher.processRequest(ServletRequest, ServletResponse,
ApplicationDispatcher$State) line: 469
ApplicationDispatcher.doForward(ServletRequest, ServletResponse) line:
403
ApplicationDispatcher.forward(ServletRequest, ServletResponse) line:
301
ServletExternalContextImpl.dispatch(String) line: 419
JspTilesViewHandlerImpl.dispatch(ExternalContext, UIViewRoot, String)
line:
236
JspTilesViewHandlerImpl.renderView(FacesContext, UIViewRoot) line: 222
RenderResponseExecutor.execute(FacesContext) line: 41
LifecycleImpl.render(FacesContext) line: 132
FacesServlet.service(ServletRequest, ServletResponse) line: 140
ApplicationFilterChain.internalDoFilter(ServletRequest, ServletResponse)
line: 269
ApplicationFilterChain.doFilter(ServletRequest, ServletResponse) line:
188
FilterChainProxy$VirtualFilterChain.doFilter(ServletRequest,
ServletResponse) line: 264
FilterSecurityInterceptor.invoke(FilterInvocation) line: 107
FilterSecurityInterceptor.doFilter(ServletRequest, ServletResponse,
FilterChain) line: 72
FilterChainProxy$VirtualFilterChain.doFilter(ServletRequest,
ServletResponse) line: 274
ExceptionTranslationFilter.doFilter(ServletRequest, ServletResponse,
FilterChain) line: 110
FilterChainProxy$VirtualFilterChain.doFilter(ServletRequest,
ServletResponse) line: 274
SecurityContextHolderAwareRequestFilter.doFilter(ServletRequest,
ServletResponse, FilterChain) line: 81
FilterChainProxy$VirtualFilterChain.doFilter(ServletRequest,
ServletResponse) line: 274
AuthenticationProcessingFilter(AbstractProcessingFilter).doFilter(ServletRequest,
ServletResponse, FilterChain) line: 217
FilterChainProxy$VirtualFilterChain.doFilter(ServletRequest,
ServletResponse) line: 274
HttpSessionContextIntegrationFilter.doFilter(ServletRequest,
ServletResponse, FilterChain) line: 229
FilterChainProxy$VirtualFilterChain.doFilter(ServletRequest,
ServletResponse) line: 274
FilterChainProxy.doFilter(ServletRequest, ServletResponse, FilterChain)
line: 148
FilterToBeanProxy.doFilter(ServletRequest, ServletResponse, FilterChain)
line: 98
ApplicationFilterChain.internalDoFilter(ServletRequest, ServletResponse)
line: 215
ApplicationFilterChain.doFilter(ServletRequest, ServletResponse) line:
188
ExtensionsFilter.doFilter(ServletRequest, ServletResponse, FilterChain)
line: 147
ApplicationFilterChain.internalDoFilter(ServletRequest, ServletResponse)
line: 215
ApplicationFilterChain.doFilter(ServletRequest, ServletResponse) line:
188
StandardWrapperValve.invoke(Request, Response) line: 210
StandardContextValve.invoke(Request, Response) line: 174
StandardHostValve.invoke(Request, Response) line: 127
ErrorReportValve.invoke(Request, Response) line: 117
StandardEngineValve.invoke(Request, Response) line: 108
CoyoteAdapter.service(Request, Response) line: 151
Http11Processor.process(InputStream, OutputStream) line: 870
Http11Protocol$JmxHttp11ConnectionHandler(Http11BaseProtocol$Http11ConnectionHandler).processConnection(TcpConnection,
Object[]) line: 665
PoolTcpEndpoint.processSocket(Socket, TcpConnection, Object[]) line:
528
LeaderFollowerWorkerThread.runIt(Object[]) line: 81
ThreadPool$ControlRunnable.run() line: 685
ThreadWithAttributes(Thread).run() line: 595
Mike Kienenberger wrote:
>
> In Eclipse, if you're stopped at a breakpoint, you can then copy the
> stack trace from the debug view. I'm not sure how it works in other
> IDEs, but that's probably your best bet.
>
> I suppose the other quick-fix would be to change the EL expression to
> "#{someBean.property}" and simply have that bean property getter throw
> the stack trace.
>
> On 6/4/07, Daniel Herb <[EMAIL PROTECTED]> wrote:
>>
>> Thank you for your fast replying.
>>
>> Maybe a dumb question but how can I make a stacktrace without the
>> write-privilege in the tomahawk? I thought can copy the source-code
>> directly
>> in my project but something seems to be wrong.
>>
>> Is there an easy way to do a stacktrace within tomahawk?
>>
>>
>> Mike Kienenberger wrote:
>> >
>> > I wasn't clear (or wasn't reading your post closely enough).
>> >
>> > Post the stack track for the execution of the following call:
>> >
>> > ============================
>> > Further you can set a breakpoint to the line 197 in the file
>> >
>> "org.apache.myfaces.shared_impl.taglib.core.ConvertDateTimeTagBase.class".
>> > - This method is called correctly (value is the EL-Expression
>> > "#{columnData.dateString}").
>> > - The method detects correctly that the value is an EL-Expression
>> > - The correct value for the EL-Expression can't be found so the vale
>> for
>> > the
>> > attribute is set to null.
>> > ============================
>> >
>> >
>> > On 6/4/07, Daniel Herb <[EMAIL PROTECTED]> wrote:
>> >>
>> >> Hi ,
>> >> thank you for answering.
>> >>
>> >>
>> >> Mike Kienenberger wrote:
>> >> >
>> >> > Can you post a stack trace from when getDateString() is called?
>> >> >
>> >> But the problem is that getDateString() is not called, so I can't make
>> a
>> >> stacktrace.
>> >> As written in my last post the getDateString method can't be resolved
>> by
>> >> the
>> >> "ELVariableResolver".
>> >> Maybe I misunderstood you.
>> >>
>> >>
>> >> Mike Kienenberger wrote:
>> >> >
>> >> > Can you post a stack trace from when getDateString() is called?
>> >> >
>> >> > Perhaps the converter is caching the value during component tree
>> build
>> >> > time or being called when the table row index is not set.
>> >> >
>> >> >
>> >> > On 6/2/07, Daniel Herb <[EMAIL PROTECTED]> wrote:
>> >> >>
>> >> >> After some further testing I am relative sure that is it a bug from
>> >> >> myfaces.
>> >> >> I hope with this post I can clearly descibe the problem.
>> >> >>
>> >> >> I have set up a complete fresh
>> >> >> System:
>> >> >> - Tomcat 5.0.28
>> >> >> - MyFaces/Tomahawk 1.1.5
>> >> >>
>> >> >> Bugdescription:
>> >> >> The getter of the Attribute "date" is not called by the
>> >> convertDateTime
>> >> >> when
>> >> >> you are using the var-variable which was set by the columns-tag.
>> >> >> (Test that by setting a breakpoint in the getter-Method of the
>> >> >> "date"-attribute)
>> >> >> Also try to add the following line after the inputText-tag to
>> confirm
>> >> >> that
>> >> >> the var-variable works correctly for other tags:
>> >> >> <h:outputText value="#{columnData.dateString}"></h:outputText>
>> >> >>
>> >> >> It seems that all tags within "http://java.sun.com/jsf/core" can't
>> >> access
>> >> >> the var-variable which was set by the colums-tag. (That was not
>> >> >> completely
>> >> >> tested but it seems so)
>> >> >>
>> >> >> Further you can set a breakpoint to the line 197 in the file
>> >> >>
>> >>
>> "org.apache.myfaces.shared_impl.taglib.core.ConvertDateTimeTagBase.class".
>> >> >> - This method is called correctly (value is the EL-Expression
>> >> >> "#{columnData.dateString}").
>> >> >> - The method detects correctly that the value is an EL-Expression
>> >> >> - The correct value for the EL-Expression can't be found so the
>> vale
>> >> for
>> >> >> the
>> >> >> attribute is set to null.
>> >> >>
>> >> >> Here are my testfiles:
>> >> >> -ListItem.java-
>> >> >> public class ListItem {
>> >> >> private String dateString;
>> >> >> public ListItem()
>> >> >> {
>> >> >> dateString = "date";
>> >> >> }
>> >> >> public String getDateString() {
>> >> >> return dateString;
>> >> >> }
>> >> >>
>> >> >> public void setDateString(String tollerString) {
>> >> >> this.dateString = tollerString;
>> >> >> }
>> >> >> }
>> >> >>
>> >> >> -MyBean.java-
>> >> >> import java.util.ArrayList;
>> >> >> import java.util.List;
>> >> >> public class MyBean {
>> >> >> private List justAList;
>> >> >> public MyBean()
>> >> >> {
>> >> >> justAList = new ArrayList<ListItem>();
>> >> >> justAList.add(new ListItem());
>> >> >> }
>> >> >> public List getJustAList() {
>> >> >> return justAList;
>> >> >> }
>> >> >> public void setJustAList(List justAList) {
>> >> >> this.justAList = justAList;
>> >> >> }
>> >> >> }
>> >> >>
>> >> >> -columnsTest.jsp-
>> >> >> <%@ page language="java" pageEncoding="ISO-8859-1"%>
>> >> >> <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
>> >> >> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
>> >> >> <%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
>> >> >> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
>> >> >> <html>
>> >> >> <body>
>> >> >> <f:view>
>> >> >> <t:dataTable value="#{myBean.justAList}"
>> >> var="rowData">
>> >> >> <t:columns value="#{myBean.justAList}"
>> >> >> var="columnData" >
>> >> >> <h:inputText>
>> >> >> <f:convertDateTime
>> >> >> type="#{columnData.dateString}" />
>> >> >> </h:inputText>
>> >> >> </t:columns>
>> >> >> </t:dataTable>
>> >> >> </f:view>
>> >> >> </body>
>> >> >> </html>
>> >> >> --
>> >> >> View this message in context:
>> >> >>
>> >>
>> http://www.nabble.com/Possible-bug-in-the-columns-tag-with-the-convertDateTime-tag-tf3845423.html#a10933120
>> >> >> Sent from the My Faces - Dev mailing list archive at Nabble.com.
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/Possible-bug-in-the-columns-tag-with-the-convertDateTime-tag-tf3845423.html#a10955982
>> >> Sent from the My Faces - Dev mailing list archive at Nabble.com.
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Possible-bug-in-the-columns-tag-with-the-convertDateTime-tag-tf3845423.html#a10957369
>> Sent from the My Faces - Dev mailing list archive at Nabble.com.
>>
>>
>
>
--
View this message in context:
http://www.nabble.com/Possible-bug-in-the-columns-tag-with-the-convertDateTime-tag-tf3845423.html#a10963463
Sent from the My Faces - Dev mailing list archive at Nabble.com.