Alias in database descriptor file

2003-06-11 Thread Amelie Cordier
Hello ! Is anybody knows where I can find documentation about alias that are used in database descriptor files? I'm looking for a solution to a simple problem : I want to describe a table in two different way and call the first one in one table-set and the other one in a second table-set...

Re: Alias in database descriptor file

2003-06-11 Thread Amelie Cordier
Thanks... I have already looked at it but with no success so I'm looking for an example... Anyway, thanks for the time you spend to answer my question :) Amelie Amelie Cordier dijo: I want to describe a table in two different way and call the first one in one table-set and the other one

Re: Alias in database descriptor file

2003-06-11 Thread Amelie Cordier
Thanks for your explantion... this is what I understood by reading the wiki page... but the matter is it still doesn't work... I wonder if there is an option to check in order to enable aliases or something like that... And,by the way, I do want to modifiy the wiki page but I need to make it work

Re: Alias in database descriptor file

2003-06-11 Thread Amelie Cordier
And,by the way, I do want to modifiy the wiki page but I need to make it work first... :) :-) Here is what I've done so far : snip what=correct code/ The two descriptions work independently, I've check them both...but when they are together in the file, only the first one works

Re: Alias in database descriptor file

2003-06-11 Thread Amelie Cordier
On 11.Jun.2003 -- 03:42 PM, Amelie Cordier wrote: How do you know it doesn't work? I've two forms : one to fill the DB according to the first description and the other to fill it according to the second one... when I use the 2 separately it works... If you use the default parameter names

Re: mod-db - Updating multiple rows

2003-06-09 Thread Amelie Cordier
Hi again Christian Haul dijo: One thing is impossible, though: update may not affect key columns. This has been requested by Antonio but he didn't come up with a patch so far ;-) Yes, I read that on the mailing list archive last week :) Hi! I dont made the patch since it is posible

Re: mod-db - Updating multiple rows

2003-06-09 Thread Amelie Cordier
Ok... it works perfectly thank to your sample Chris... thanks a lot. I don't know why but I've just changed 'name=request-param type=request' into 'name=request-param type=all'... Thanks again to Chris and Antonio... Amélie. Amelie Cordier wrote: Christian Haul dijo: I've tried all

RE: CSS in Cocoon

2003-06-09 Thread Amelie Cordier
Hello Why using params in your xsl? Why don't you try something like that : In your xsl : link rel=stylesheet type=text/css href=style.css/ And in the sitemap : map:match pattern=style.css map:read mime-type=text/css src=stylesheets/style.css/ /map:match This is what I do

mod-db - Updating multiple rows

2003-06-08 Thread Amelie Cordier
Hello ! I have some troubles while updating multiple rows in my DB with modular database actions. Insertion of multiple rows with set=master and set=slave stuff works well but I don't know what to do with the update action. Here is the situation : In my table, there is four keys element. Only

Re: mod-db - Updating multiple rows

2003-06-08 Thread Amelie Cordier
Hi Antonio, Thanks for your quick response :) I've tried your solution but it doesn't work :( Do I really need to use the sets too? Hi: We had the same problem. Create and alias for your table and put the variable keys element not into keys tag, but as values. It must work. We have some

Managing users' permissions through the sitemap

2003-03-31 Thread Amelie Cordier
Hi everybody, I have a problem, maybe simple, but I don't know how to deal with. I'm sure some of you have enough skills an experience to help me :) In my database, I've got a table managing the users' permissions. There's a global menu (for all the users). To know if an user is allowed to open a

Cocoon logs

2003-03-16 Thread Amelie Cordier
Hi, I'm using cocoon with a postgresql database and there is a problem when I try to insert datas in my database. There is no information in the log files in the WEB_INF directory of cocoon. Is there any other log files where I can find help? Thanks in advance Regards, Am.

Re: Logicsheets

2003-03-09 Thread Amelie Cordier
Hi All, I try to run the XSP examples in the Cocoon Developer's Handbook. The 2nd XSP example, with the abc.xsl logicsheet doesnt work. If there is somebody who got this working can you please let me know, because I want to ask some questions. I also tried the logicsheet examples as

Re: Generating dynamic attributes in xsp [OK]

2003-03-09 Thread Amelie Cordier
Amelie Cordier wrote: Hi again. To sum up, I'm trying to use request parameters in a logicsheet that I've made on my own. According to Marco's suggestions (thanks a lot Marco!), I've tried this : In the .xsp : mytag:year yearxsp-request:get-parameter name=yearparam//year /mytag:year

Re: Generating dynamic attributes in xsp

2003-03-04 Thread Amelie Cordier
Hi again. To sum up, I'm trying to use request parameters in a logicsheet that I've made on my own. According to Marco's suggestions (thanks a lot Marco!), I've tried this : In the .xsp : mytag:year yearxsp-request:get-parameter name=yearparam//year /mytag:year In the logicsheet :

Re: Generating dynamic attributes in xsp

2003-03-04 Thread Amelie Cordier
Amelie Cordier wrote: Hi again. To sum up, I'm trying to use request parameters in a logicsheet that I've made on my own. According to Marco's suggestions (thanks a lot Marco!), I've tried this : In the .xsp : mytag:year yearxsp-request:get-parameter name=yearparam//year /mytag:year

Generating dynamic attributes in xsp

2003-03-02 Thread Amelie Cordier
Hello, I have an xsp page and a logicsheet where I have defined my own tags. In my logicsheet I use thinks like that : xsl:template match=mytag:[EMAIL PROTECTED] in order to perform specifics resquests on a database. This work perfectly if I use a tag like mytag:user name=foo/ in the xsp. But

Re: archive searchable?

2003-03-02 Thread Amelie Cordier
Before I bother the list with my questions, could someone tell me if the archives for this list are searchable or not? (URL please!) Thanks, Robert - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: AW: Generating dynamic attributes in xsp

2003-03-02 Thread Amelie Cordier
hi amelie (nice name ;-), thanks :) mytag:user namexsp-request:get-parameter name=user//name /mytag:user and your modified logicsheet would look something like this: ... xsl:include href=logicsheet-util.xsl/ xsl:param name=namespace-urihttp://your/namespace/uri/xsl:param !--

Re: AW: AW: Generating dynamic attributes in xsp

2003-03-02 Thread Amelie Cordier
hi again too :) hi again, see inline... And in my xsl: xsl:include href=logicsheet-util.xsl/ xsl:param name=namespace-urihttp://mynamspace/mytag/xsl:param xsl:template match=mytag:[EMAIL PROTECTED] xsl:variable name=varyear xsl:call-template name=get-string-parameter

Re: AW: Generating dynamic attributes in xsp

2003-03-02 Thread Amelie Cordier
hi again too :) :-D I agree with you but each time I add year or year or @year or @year or year, cocoon crashes with this error : // start error (lines 95-95) expected import // end error where does this one show up? on the page or in the logs? a bit more context around that

Re: AW: Generating dynamic attributes in xsp

2003-03-02 Thread Amelie Cordier
seems like that import statement is the delinquent. maybe you fiddled around too much with those logicsheets? ;-) if you're doing sql/esql stuff within your custom logicsheet you should check that. don't know why that import statement wraps onto the next line. Still doesn't work :( :( In