> From: Joseph Rajkumar [mailto:[EMAIL PROTECTED]] 
> 
> Hi
>       I understand that db.xsl has to be modified,
> but my problem is that I am not able to set any
> attribute values for the db:employees tag.
> 
>       In this case I am trying to set the 
> attribute start to some value or default of 0
> and count to some value or a default of 7, but
> when I try to print the value of @start or @count
> in the db.xsl, it does not contain any values at all.

So, maybe the problem is not in db.xsl? Are you sure that you get request
params as expected? Look at the generated XSP java class to see where the
problem can be.

--
Konstantin Piroumian 
[EMAIL PROTECTED]

> 
> Regards
> Joseph Rajkumar 
> ==============================================================
> > > <!-- This portion does not work -->
> > > <xsp:element name="db:employees">
> > >   <xsp:attribute name="start">
> > >     <xsp:content>
> > >       <xsp:expr>
> > >          <xsp-request:get-parameter name="start" default="0"/>
> > >       </xsp:expr>
> > >     </xsp:content>
> > >     </xsp:attribute>
> > >     <xsp:attribute name="count">
> > >      <xsp:content>
> > >        <xsp:expr>
> > >          <xsp-request:get-parameter name="count" default="7"/>
> > >        </xsp:expr>
> > >      </xsp:content>
> > >    </xsp:attribute>
> > > </xsp:element>
> > 
> > Range attributes are not supported by db logicsheet, it's just a 
> > sample. To add some new features you should add them to the 
> logicsheet 
> > (see db.xsl).
> 
> ---------------------------------------------------------------------
> Please check that your question has not already been answered 
> in the FAQ before posting. 
<http://xml.apache.org/cocoon/faqs.html>

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

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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

Reply via email to