WebWork in Action error correction (label)

Source: Internet
Author: User

The No. 208 page of the original book

Talk <ww:url> tag, say "but you don't need to pass the CategoryID and Page Properties ..."

I think this place is reversed, exactly the need to pass the CategoryID and Page properties

For example, my current page link is http://localhost:81/WebworkStudy/testIterator.dhtml?abc=1&def=2&page=0

If I want to generate the next page of the link, in fact, only change page=1 on, the other conditions (abc=1,def=2) is the query condition, need to be preserved, we original practice is to construct the next page of the link is to add these query conditions all side, in webwork use <WW: Url> only need to set the conditions for the change, for example, the following method to generate a link to the next page

<a href= "<ww:url>
<ww:param name= "page" value= "1"/>
</ww:url> ">nextpage</a>

So, I think the word in the book is reversed, it is precisely the need to pass

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.