I am trying to use dasl search in my site. I'm still trying to understand dasl 
by experimenting various things. I want to know if I can set a default value in 
dasl. what i am trying to do is:
in my dasl i have:
        <d:limit>
          <d:nresults>${cocoon.parameters.results}</d:nresults>
        </d:limit>

this way, I can limit the nr of result using a request parameter. so now when I 
write 
www.mysite.com?results=5, I have 5 results on the page. what I want (and don;t 
know how to achieve) is to tell dasl to ignore the condition if the parameter 
does not exists..so if I only have www.mysite.com, then it will display all 
results, if the parameter however is defined (?results=5) then it would display 
that number of results. I don;t know exactly how to do it. is there a way to 
put if conditions in dasl? 

P.S. for those that have experience in dasl. is there any documentation on dasl 
on the internet? I've searched a bunch on google and didn;t find much. 10x in 
advance





       
____________________________________________________________________________________
Get the Yahoo! toolbar and be alerted to new email wherever you're surfing.
http://new.toolbar.yahoo.com/toolbar/features/mail/index.php

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to