You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by George Christman <gc...@cardaddy.com> on 2012/03/01 01:55:03 UTC

?t:lb=t being appended to query parameter

Could someone tell me how to stock ?t:lb=t from being appended to my url
query parameter? I'm passing a clean id into my context and it continues to
add those additional parameters. Thanks in advance. 

--
View this message in context: http://tapestry.1045711.n5.nabble.com/t-lb-t-being-appended-to-query-parameter-tp5526503p5526503.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: ?t:lb=t being appended to query parameter

Posted by Howard Lewis Ship <hl...@gmail.com>.
Hard to say, I'm about 200% over booked right now, so I haven't had a
chance to peek in on this.

On Thu, Mar 8, 2012 at 11:21 AM, George Christman
<gc...@cardaddy.com> wrote:
> Hi Howard, was I able to provide enough useful data?
>
> --
> View this message in context: http://tapestry.1045711.n5.nabble.com/t-lb-t-being-appended-to-query-parameter-tp5526503p5548536.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: ?t:lb=t being appended to query parameter

Posted by George Christman <gc...@cardaddy.com>.
Hi Howard, was I able to provide enough useful data?

--
View this message in context: http://tapestry.1045711.n5.nabble.com/t-lb-t-being-appended-to-query-parameter-tp5526503p5548536.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: ?t:lb=t being appended to query parameter

Posted by George Christman <gc...@cardaddy.com>.
Hi Howard, see snippets, js, url's below. Let me know if I could provide
anything else. 



CompanyTree.class Component called from layout component. 

    @SessionState
    private CompanyInfo companyInfo;
    @Inject
    private Session session;
    @InjectPage
    private Index index;
    @Property
    private String searchField;
    @InjectComponent
    private Zone formZone;
    @Property
    private Company company;
    @Property
    private List<Company> companies;

    List<String> onProvideCompletionsFromSearchField(String partial) {
        List<Company> filteredList =
session.createCriteria(Company.class).add(Restrictions.like("name", partial
+ "%").ignoreCase()).addOrder(Order.desc("name")).setMaxResults(15).list();
        List<String> companyNames = new ArrayList<String>();

        for (Company _company : filteredList) {
            companyNames.add(_company.getName());
        }
        return companyNames;
    }

    Object onSubmit() {
        if(searchField != null) {
            searchField.replaceAll( "[^\\d]", "" );
            companies =
session.createCriteria(Company.class).add(Restrictions.like("name",
searchField + "%")).setMaxResults(25).list();

            if(companies.isEmpty()) {
                return null;
            }

            if (companies.size() > 1) {
                return formZone.getBody();
            }
            companyInfo.setCompany((Company) session.get(Company.class,
companies.get(0).getId()));

            return index;
        }
        return null;
    }


CompanyTree.tml

    <t:Zone t:id="formZone" visible="true" update="show">
        <t:security.HasRole role="admin">            
            <t:Form t:id="navSearch" zone="formZone" id="navSearch">
                <div class="innerWrap autocomplete">
                    
                        
                            <t:TextField placeholder="Search"
t:id="searchField" frequency=".1" t:mixins="jquery/autocomplete"/>
                            <button class="searchBtn"/>
                        
                    
                </div>
            </t:Form>
        </t:security.HasRole>
    </t:Zone>


Layout.tml 
//uses JqueryTabs and calls companyTree component in one of the tabs

<t:If test="userInfo.user">
                <div id="left-nav">
                    <t:jquery.tabs t:tabs="Tab1,Tab2"
t:activePanelId="activeElement">
                        <p:Tab1>
                            <t:CompanyTree/>
                        </p:Tab1>
                        <p:Tab2>
                            
Administration

                            <hr style="margin-bottom:0"/>
                            <ul>
                                <li class="nav-background"><t:PageLink
page="user">Contacts</t:PageLink></li>
                                <t:security.HasRole role="admin">
                                    <li class="nav-background"><t:ActionLink
t:id="addCompany">Add Company</t:ActionLink></li>
                                    <li class="nav-background"><t:PageLink
page="third_party">Programs</t:PageLink></li>
                                    <li class="nav-background"><t:PageLink
page="admin">System Administration</t:PageLink></li>
                                </t:security.HasRole>
                            </ul>
                        </p:Tab2>
                    </t:jquery.tabs>
                </div>
            </t:If>
            <div id="content"><t:body/></div>

Index.class
//Sets company object from companyInfo SessionState. This is what I'm trying
to set in the CompanyTree from the Search Field

    @SessionState
    private CompanyInfo companyInfo;

    void onActivate() {
        if(companyInfo.getCompany() != null) {
            company = (Company) session.get(Company.class,
companyInfo.getCompany().getId());
        } else {
            company = new Company();
        }
    }

inline scripts
    

PageURL

http://localhost:8080/DeepBlue/?t:lb=t

Thanks Howard, hope this helps, let me know if you need anything else. I'm
not aware of a js debugger for IE to get you more info. If your aware of
any, feel free to let me know. 

--
View this message in context: http://tapestry.1045711.n5.nabble.com/t-lb-t-being-appended-to-query-parameter-tp5526503p5539711.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: ?t:lb=t being appended to query parameter

Posted by Howard Lewis Ship <hl...@gmail.com>.
George ; don't expect a response without supplying real useful data
(that Tapestry itself provides), such as the URL, the Java and/or
JavaScript code responsible, snippets from the template, etc.

See http://catb.org/esr/faqs/smart-questions.html

On Mon, Mar 5, 2012 at 6:32 AM, George Christman
<gc...@cardaddy.com> wrote:
> Hi Howard, here's the stack trace caused by ?t:lb
>
> Input string '?t:lb=t' is not valid; the character '?' at position 1 is not
> valid.java.lang.IllegalArgumentException: Input string '?t:lb=t' is not
> valid; the character '?' at position 1 is not valid. at
> org.apache.tapestry5.internal.services.URLEncoderImpl.decode(URLEncoderImpl.java:144)
> at $URLEncoder_322e886d576ddc.decode(Unknown Source) at
> org.apache.tapestry5.internal.services.ContextPathEncoderImpl.decodePath(ContextPathEncoderImpl.java:92)
> at $ContextPathEncoder_322e886d576db7.decodePath(Unknown Source) at
> org.apache.tapestry5.internal.services.ComponentEventLinkEncoderImpl.checkIfPage(ComponentEventLinkEncoderImpl.java:421)
> at
> org.apache.tapestry5.internal.services.ComponentEventLinkEncoderImpl.decodePageRenderRequest(ComponentEventLinkEncoderImpl.java:395)
> at
> org.apache.tapestry5.internal.services.linktransform.LinkTransformerInterceptor.decodePageRenderRequest(LinkTransformerInterceptor.java:68)
> at $ComponentEventLinkEncoder_322e886d576da5.decodePageRenderRequest(Unknown
> Source) at
> org.apache.tapestry5.internal.services.PageRenderDispatcher.dispatch(PageRenderDispatcher.java:41)
> at $Dispatcher_322e886d576da7.dispatch(Unknown Source) at
> $Dispatcher_322e886d576da0.dispatch(Unknown Source) at
> org.apache.tapestry5.services.TapestryModule$RequestHandlerTerminator.service(TapestryModule.java:302)
> at
> org.apache.tapestry5.internal.services.RequestErrorFilter.service(RequestErrorFilter.java:26)
> at $RequestHandler_322e886d576da1.service(Unknown Source) at
> org.apache.tapestry5.services.TapestryModule$3.service(TapestryModule.java:902)
> at $RequestHandler_322e886d576da1.service(Unknown Source) at
> org.apache.tapestry5.services.TapestryModule$2.service(TapestryModule.java:892)
> at $RequestHandler_322e886d576da1.service(Unknown Source) at
> org.apache.tapestry5.internal.services.StaticFilesFilter.service(StaticFilesFilter.java:90)
> at $RequestHandler_322e886d576da1.service(Unknown Source) at
> $RequestHandler_322e886d576d92.service(Unknown Source) at
> org.apache.tapestry5.services.TapestryModule$HttpServletRequestHandlerTerminator.service(TapestryModule.java:253)
> at
> org.got5.tapestry5.jquery.services.AjaxUploadServletRequestFilter.service(AjaxUploadServletRequestFilter.java:26)
> at $HttpServletRequestHandler_322e886d576d94.service(Unknown Source) at
> org.apache.tapestry5.internal.gzip.GZipFilter.service(GZipFilter.java:53) at
> $HttpServletRequestHandler_322e886d576d94.service(Unknown Source) at
> org.apache.tapestry5.upload.internal.services.MultipartServletRequestFilter.service(MultipartServletRequestFilter.java:44)
> at $HttpServletRequestHandler_322e886d576d94.service(Unknown Source) at
> org.apache.tapestry5.internal.services.IgnoredPathsFilter.service(IgnoredPathsFilter.java:62)
> at $HttpServletRequestFilter_322e886d576d8f.service(Unknown Source) at
> $HttpServletRequestHandler_322e886d576d94.service(Unknown Source) at
> org.tynamo.security.filter.SecurityRequestFilter$2.doFilter(SecurityRequestFilter.java:169)
> at
> org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:359)
> at
> org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:275)
> at
> org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
> at
> org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
> at
> org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:344)
> at
> org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:272)
> at
> org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:81)
> at
> org.tynamo.security.filter.SecurityRequestFilter.service(SecurityRequestFilter.java:164)
> at $HttpServletRequestFilter_322e886d576d90.service(Unknown Source) at
> $HttpServletRequestHandler_322e886d576d94.service(Unknown Source) at
> org.apache.tapestry5.services.TapestryModule$1.service(TapestryModule.java:852)
> at $HttpServletRequestHandler_322e886d576d94.service(Unknown Source) at
> $HttpServletRequestHandler_322e886d576d8c.service(Unknown Source) at
> org.apache.tapestry5.TapestryFilter.doFilter(TapestryFilter.java:171) at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
> at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98) at
> com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
> at
> org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:326)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:227)
> at
> com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:170)
> at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:822)
> at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:719) at
> com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1013) at
> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
> at
> com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
> at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
> at
> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
> at
> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
> at com.sun.grizzly.ContextTask.run(ContextTask.java:71) at
> com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
> at
> com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
> at java.lang.Thread.run(Thread.java:662)
>
> --
> View this message in context: http://tapestry.1045711.n5.nabble.com/t-lb-t-being-appended-to-query-parameter-tp5526503p5537679.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: ?t:lb=t being appended to query parameter

Posted by George Christman <gc...@cardaddy.com>.
Hi Howard, here's the stack trace caused by ?t:lb

Input string '?t:lb=t' is not valid; the character '?' at position 1 is not
valid.java.lang.IllegalArgumentException: Input string '?t:lb=t' is not
valid; the character '?' at position 1 is not valid. at
org.apache.tapestry5.internal.services.URLEncoderImpl.decode(URLEncoderImpl.java:144)
at $URLEncoder_322e886d576ddc.decode(Unknown Source) at
org.apache.tapestry5.internal.services.ContextPathEncoderImpl.decodePath(ContextPathEncoderImpl.java:92)
at $ContextPathEncoder_322e886d576db7.decodePath(Unknown Source) at
org.apache.tapestry5.internal.services.ComponentEventLinkEncoderImpl.checkIfPage(ComponentEventLinkEncoderImpl.java:421)
at
org.apache.tapestry5.internal.services.ComponentEventLinkEncoderImpl.decodePageRenderRequest(ComponentEventLinkEncoderImpl.java:395)
at
org.apache.tapestry5.internal.services.linktransform.LinkTransformerInterceptor.decodePageRenderRequest(LinkTransformerInterceptor.java:68)
at $ComponentEventLinkEncoder_322e886d576da5.decodePageRenderRequest(Unknown
Source) at
org.apache.tapestry5.internal.services.PageRenderDispatcher.dispatch(PageRenderDispatcher.java:41)
at $Dispatcher_322e886d576da7.dispatch(Unknown Source) at
$Dispatcher_322e886d576da0.dispatch(Unknown Source) at
org.apache.tapestry5.services.TapestryModule$RequestHandlerTerminator.service(TapestryModule.java:302)
at
org.apache.tapestry5.internal.services.RequestErrorFilter.service(RequestErrorFilter.java:26)
at $RequestHandler_322e886d576da1.service(Unknown Source) at
org.apache.tapestry5.services.TapestryModule$3.service(TapestryModule.java:902)
at $RequestHandler_322e886d576da1.service(Unknown Source) at
org.apache.tapestry5.services.TapestryModule$2.service(TapestryModule.java:892)
at $RequestHandler_322e886d576da1.service(Unknown Source) at
org.apache.tapestry5.internal.services.StaticFilesFilter.service(StaticFilesFilter.java:90)
at $RequestHandler_322e886d576da1.service(Unknown Source) at
$RequestHandler_322e886d576d92.service(Unknown Source) at
org.apache.tapestry5.services.TapestryModule$HttpServletRequestHandlerTerminator.service(TapestryModule.java:253)
at
org.got5.tapestry5.jquery.services.AjaxUploadServletRequestFilter.service(AjaxUploadServletRequestFilter.java:26)
at $HttpServletRequestHandler_322e886d576d94.service(Unknown Source) at
org.apache.tapestry5.internal.gzip.GZipFilter.service(GZipFilter.java:53) at
$HttpServletRequestHandler_322e886d576d94.service(Unknown Source) at
org.apache.tapestry5.upload.internal.services.MultipartServletRequestFilter.service(MultipartServletRequestFilter.java:44)
at $HttpServletRequestHandler_322e886d576d94.service(Unknown Source) at
org.apache.tapestry5.internal.services.IgnoredPathsFilter.service(IgnoredPathsFilter.java:62)
at $HttpServletRequestFilter_322e886d576d8f.service(Unknown Source) at
$HttpServletRequestHandler_322e886d576d94.service(Unknown Source) at
org.tynamo.security.filter.SecurityRequestFilter$2.doFilter(SecurityRequestFilter.java:169)
at
org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:359)
at
org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:275)
at
org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
at
org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
at
org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:344)
at
org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:272)
at
org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:81)
at
org.tynamo.security.filter.SecurityRequestFilter.service(SecurityRequestFilter.java:164)
at $HttpServletRequestFilter_322e886d576d90.service(Unknown Source) at
$HttpServletRequestHandler_322e886d576d94.service(Unknown Source) at
org.apache.tapestry5.services.TapestryModule$1.service(TapestryModule.java:852)
at $HttpServletRequestHandler_322e886d576d94.service(Unknown Source) at
$HttpServletRequestHandler_322e886d576d8c.service(Unknown Source) at
org.apache.tapestry5.TapestryFilter.doFilter(TapestryFilter.java:171) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98) at
com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
at
org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:326)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:227)
at
com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:170)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:822)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:719) at
com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1013) at
com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
at
com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
at
com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
at
com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
at com.sun.grizzly.ContextTask.run(ContextTask.java:71) at
com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
at
com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
at java.lang.Thread.run(Thread.java:662) 

--
View this message in context: http://tapestry.1045711.n5.nabble.com/t-lb-t-being-appended-to-query-parameter-tp5526503p5537679.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: ?t:lb=t being appended to query parameter

Posted by George Christman <gc...@cardaddy.com>.
Hi Howard, should I file this as a bug in Jira?

--
View this message in context: http://tapestry.1045711.n5.nabble.com/t-lb-t-being-appended-to-query-parameter-tp5526503p5713977.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: ?t:lb=t being appended to query parameter

Posted by George Christman <gc...@cardaddy.com>.
It's looking like all of them.

-George

----- Reply message -----
From: "Kalle Korhonen-2 [via Tapestry]" <ml...@n5.nabble.com>
Date: Sat, Mar 10, 2012 4:37 pm
Subject: ?t:lb=t being appended to query parameter
To: "George Christman" <gc...@cardaddy.com>



--
View this message in context: http://tapestry.1045711.n5.nabble.com/t-lb-t-being-appended-to-query-parameter-tp5526503p5553906.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: ?t:lb=t being appended to query parameter

Posted by Kalle Korhonen <ka...@gmail.com>.
On Fri, Mar 2, 2012 at 10:11 AM, George Christman
<gc...@cardaddy.com> wrote:
> Yes, Its causing exceptions in IE. I don't have the app in front of me, but
> I'll do my best to explain.

Seems like CompanyTree uses @PageReset. For which version of IE is it
a problem, all of them?

Kalle


> I have an autocomplete search box on the frontend.
>
> On the backend I have an onSubmit method.
>
> I'm grabbing the string value from the search field on submit performing a
> simple query for the related object. then populating a sessionState before
> reloading the page.
>
> I'm getting an exception that says something along the lines of ?t:lb=t is
> an invalid parameter, I could get you the exact exception tonight, it's been
> a couple days since I last played with it.
>
> --
> View this message in context: http://tapestry.1045711.n5.nabble.com/t-lb-t-being-appended-to-query-parameter-tp5526503p5531719.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: ?t:lb=t being appended to query parameter

Posted by George Christman <gc...@cardaddy.com>.
Yes, Its causing exceptions in IE. I don't have the app in front of me, but
I'll do my best to explain. 

I have an autocomplete search box on the frontend.

On the backend I have an onSubmit method. 

I'm grabbing the string value from the search field on submit performing a
simple query for the related object. then populating a sessionState before
reloading the page.

I'm getting an exception that says something along the lines of ?t:lb=t is
an invalid parameter, I could get you the exact exception tonight, it's been
a couple days since I last played with it. 

--
View this message in context: http://tapestry.1045711.n5.nabble.com/t-lb-t-being-appended-to-query-parameter-tp5526503p5531719.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: ?t:lb=t being appended to query parameter

Posted by Howard Lewis Ship <hl...@gmail.com>.
Not currently. Why is it a problem?

On Fri, Mar 2, 2012 at 9:22 AM, George Christman
<gc...@cardaddy.com> wrote:
> Thanks Howard, so this only occurs when the component has a pageReset
> lifecycle method? If this is true, is there a way to prevent it from
> happening?
>
> --
> View this message in context: http://tapestry.1045711.n5.nabble.com/t-lb-t-being-appended-to-query-parameter-tp5526503p5531610.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: ?t:lb=t being appended to query parameter

Posted by George Christman <gc...@cardaddy.com>.
Thanks Howard, so this only occurs when the component has a pageReset
lifecycle method? If this is true, is there a way to prevent it from
happening?

--
View this message in context: http://tapestry.1045711.n5.nabble.com/t-lb-t-being-appended-to-query-parameter-tp5526503p5531610.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: ?t:lb=t being appended to query parameter

Posted by Howard Lewis Ship <hl...@gmail.com>.
You'll see the t:lb (loopback) parameter on pages where some component
has a pageReset() lifecycle method.

On Wed, Feb 29, 2012 at 4:59 PM, George Christman
<gc...@cardaddy.com> wrote:
> I think it's happening because I have a tree on the left nav bar and I'm
> reloading the index page with a new parameter.
>
> --
> View this message in context: http://tapestry.1045711.n5.nabble.com/t-lb-t-being-appended-to-query-parameter-tp5526503p5526514.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: ?t:lb=t being appended to query parameter

Posted by George Christman <gc...@cardaddy.com>.
I think it's happening because I have a tree on the left nav bar and I'm
reloading the index page with a new parameter. 

--
View this message in context: http://tapestry.1045711.n5.nabble.com/t-lb-t-being-appended-to-query-parameter-tp5526503p5526514.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org