Hi,

I didn't find info on the subject, to how to pass information to
AddAction from sitemap.

I have created resource, which I call with certain parameters. These
parameters I would like to add to database.. little like this:

<map:resource name="foo">
 <map:act type="mod-db-add">
  <map:parameter name="table-set" ... />
 </map:act>
</map:resource>

<map:match ...>
 <map:call resource="foo">
  <map:parameter name="bar" value="{1}" />
  <map:parameter name="foo" value="session-attr:fiu" />
  ...
 </map:call>
</map:match>

Why I use resource? because it's doing more than just db-add-action and
I wouldn't want to duplicate the code all over sitemap...

Thanks,
 Joose

-- 
Joose Vettenranta <[EMAIL PROTECTED]>  GSM: 044 561 0270
* Always remember that you are unique.
                          Just like everyone else.*

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

Reply via email to