HowTo pass cocoon variables into client-side javascript?

2004-11-22 Thread Andrew M
Hi,
in ASP I can do:
var testSessionState = <%= getSessionState %>
How can I achieve the same thing in cocoon?
regards
Andrew
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: JXTemplate test condition

2004-11-22 Thread oceatoon
pguillard wrote:

> Hi,
> 
> Basic question but i can't find the answer: how to write a more complex
> test condition in JXT exprerssion
>  
> 
> 
> or  
> or 
> 
> Regards,
> Phil
This might simply be a syntax problem Phil, once you're in a ${} you can
manipulate all jx variable from the context
I haven't tried this but don't see why it wouldn't run   


...etc

Tibor


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



RE: JXTemplate jx:set ???

2004-11-22 Thread oceatoon
>> > 
>> > 
>> > 
>> > 
>> > 
>> > 
>> > 
>> > 
>> >> 
> 
> Watch the syntax: the name of the parameter is "keys", not "name"!
> 
>> >>  coco
>> >>  kiki
>> >> 
>  
>> my finale meta tag should be
>> 
> 
> Ah, miscommunication. I never understood that this was the intended use.
Sorry
>> and with the above code, I get this :
>> coco kiki
>  
>> close but not quite???
>> Do you know How I can  put the body into the keys attribute?
> 
> I don't think that, without parsing the body, you can add something to the
> attribute. But if you fill the body, you can create a string of all keys
> processed and pass it onto "keys".
I'm stuck with  this [EMAIL PROTECTED] Object, if anyone has an idea of how
too manipulate this object, I think he holds the solution. 

Thanks for the help Helma 
Best Regards
Tibor


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



AW: question on xsl

2004-11-22 Thread Merico Raffaele
Hi Andreas

I you wish to set a new value to a  saxon may have the
extensions you are looking for.
Saxon offers something like . 
Such a variable can than be reset with . I am using saxonb-8.1.1.

HTH
Raffaele


> -Ursprüngliche Nachricht-
> Von: Andres Taborda [mailto:[EMAIL PROTECTED]
> Gesendet: Sonntag, 21. November 2004 03:44
> An: [EMAIL PROTECTED]
> Betreff: question on xsl
> 
> 
> hello list,
> 
> excuse me by the following question
> 
> progamming in any language a value auto-increment is
> for ($i=1;$i<6;$i++)
>  $i+=1;
> 
> in xsl how can make the auto-increment.
> 
> I have the follow code, not make sum and
> auto-increment
> 
> 
> 1
> 
> 
> 
> 
> 
> 
>  
> 
> 
> the output should be 
> 1
> 2
> 3
> 4
> 5
> 6
> 
> the ouput what display is
> 1
> 1
> 1
> 1
> 1
> 
> some  know how make it?
> 
> thanks
> 
> _
> Do You Yahoo!?
> Información de Estados Unidos y América Latina, en Yahoo! Noticias.
> Visítanos en http://noticias.espanol.yahoo.com
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 

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



Multiple forms on one page

2004-11-22 Thread Upayavira
Hi,
I need to put two forms onto one page.
Scenario: a homepage showing a selection of 'products', displayed as a 
repeater on a form, and a login form.

These need to be separate HTML forms, so that typing into a box and 
pressing enter submits the relevant form.

Is there a way to do this without having to go all the way and aggregate 
two completely separate pipelines? Having to do the this for just one 
page would be a real pain.

Thanks for any ideas.
Regards, Upayavira

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


Re: HowTo pass cocoon variables into client-side javascript?

2004-11-22 Thread Andrew M
Hi,
just to make things more understandable.

1. User clicks on a link which opens a pop-up window
2. javascript in the pop-up window determines whether the session is still current
3. If the session has expired, close the pop-up window, and reload the referrer window

Hence the reason I need to know how to pass cocoon variables into client-side javascript, not unless server-side javascript (rhino) is now capable of this!! ;-)

regards

Andrew
On 22 Nov 2004, at 09:03, Andrew M wrote:

Hi,
in ASP I can do:

var testSessionState = <%= getSessionState %>

How can I achieve the same thing in cocoon?


regards

Andrew


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


<>
 +The home of urban music
+ http://www.beyarecords.com

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

Re: AW: question on xsl

2004-11-22 Thread Derek Hohls
Raffaele / Andreas

I think the preferred way (ie. processor independant)
is to use either the recursive loop concept or the 
Xpath pos() function given in previous replies.
reply.

Derek 

>>> [EMAIL PROTECTED] 2004/11/22 11:38:53 AM >>>
Hi Andreas

I you wish to set a new value to a  saxon may have the
extensions you are looking for.
Saxon offers something like . 
Such a variable can than be reset with . I am using saxonb-8.1.1.

HTH
Raffaele


> -Ursprüngliche Nachricht-
> Von: Andres Taborda [mailto:[EMAIL PROTECTED] 
> Gesendet: Sonntag, 21. November 2004 03:44
> An: [EMAIL PROTECTED] 
> Betreff: question on xsl
> 
> 
> hello list,
> 
> excuse me by the following question
> 
> progamming in any language a value auto-increment is
> for ($i=1;$i<6;$i++)
>  $i+=1;
> 
> in xsl how can make the auto-increment.
> 
> I have the follow code, not make sum and
> auto-increment
> 
> 
> 1
> 
> 
> 
> 
> 
> 
>  
> 
> 
> the output should be 
> 1
> 2
> 3
> 4
> 5
> 6
> 
> the ouput what display is
> 1
> 1
> 1
> 1
> 1
> 
> some  know how make it?
> 
> thanks
> 
> _
> Do You Yahoo!?
> Información de Estados Unidos y América Latina, en Yahoo! Noticias.
> Visítanos en http://noticias.espanol.yahoo.com 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED] 
> For additional commands, e-mail: [EMAIL PROTECTED] 
> 
> 
> 
> 

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



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


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



Re: Multiple forms on one page

2004-11-22 Thread Reinhard Poetz
Upayavira wrote:
Hi,
I need to put two forms onto one page.
Scenario: a homepage showing a selection of 'products', displayed as a 
repeater on a form, and a login form.

These need to be separate HTML forms, so that typing into a box and 
pressing enter submits the relevant form.

Is there a way to do this without having to go all the way and aggregate 
two completely separate pipelines? Having to do the this for just one 
page would be a real pain.

Thanks for any ideas.
AFAIK this is an open issue for cForms. Therefore I move it over to 
dev-list.
I think one problem is our flowscript API:
 var form = new Form("...");
 form.show("mypipeline", bizdata);
This way you can only show one form a page. Maybe we can do somethink like
 var multiform = new Multiform({form1 : form1, form2 : form2);
 multiform.show("myMultiformPipeline", bizdata);
The next step would have to be an enhancement of the forms transformer because 
it would have to render more than one form. This would probably require a unique 
id in the forms template. This id needs to be the same as the id used in "new 
Multiform(...)".

- o -
If you go the aggregation way, there could be problems with the generated HTML 
and Javascript because there are some tags set in the header of the HTML page 
and the body tag uses onload().

Does anybody have experiences with this (e.g. with the portal)?
--
Reinhard
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: JXTemplate test condition

2004-11-22 Thread Jan Hoskens
You need to set the complete jexl expression in the curly braces , and 
if working with strings, I prefer .equals():

http://java.sun.com/webservices/docs/1.0/tutorial/doc/JSTL4.html#65865)

Kind Regards,
Jan
oceatoon wrote:
pguillard wrote:
 

Hi,
Basic question but i can't find the answer: how to write a more complex
test condition in JXT exprerssion
   
   
   or  
   or 
Regards,
Phil
   

This might simply be a syntax problem Phil, once you're in a ${} you can
manipulate all jx variable from the context
I haven't tried this but don't see why it wouldn't run   


   ...etc

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


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


Re: Cocoon 2.1.6 and Java 1.5.0

2004-11-22 Thread Miha Šetina
I would also like to know the answer to this.
I have tried to compile it over the weekend and it does not end at this. You 
can change target versions in init-build.xml from 1.3 to 1.5, but then comes 
the rest.
1.5.0 comes with (probably) new dom classes. Next thing I encountered was 
the DocumentWrapper class which is missing some abstract members from 
Document and Node classes.

Regards , Miha ¦etina
MiGA d.o.o.
1000 Ljubljana
tel: 01/5819242
fax: 01/5819241
- Original Message - 
From: "Christian Rosenberger" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, November 21, 2004 4:53 PM
Subject: Cocoon 2.1.6 and Java 1.5.0


Hi,
is the new Cocoon version 2.1.6 compatible to Java SDK 1.5.0?
At my debian server the build process failed:
#:/opt/cocoon-2.1.6# export JAVA_HOME=/usr/java/1.5.0/
#:/opt/cocoon-2.1.6# ./build.sh
Buildfile: build.xml
init-tasks:
Compiling 5 source files to /opt/cocoon-2.1.6/tools/anttasks
javac: target release 1.3 conflicts with default source release 1.5
BUILD FAILED
/opt/cocoon-2.1.6/tools/targets/init-build.xml:159: Compile failed; see 
the comp
iler error output for details.

Total time: 1 second
Which version of Cocoon will have built-in-support for 1.5.0?
Any solution? The mails in the archive said, that this was fixed with 
current CVS version. (before 2.1.6 release)

Regards,
Christian Rosenberger



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


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.796 / Virus Database: 540 - Release Date: 13.11.2004 

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


HTMLarea and Tabbed layout

2004-11-22 Thread Derek Hohls
Its now been established that HTMLarea does *not*
work under IE6 when using tables... see:
http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=109203952322577&w=2
and that page layout needs to be achieved through 
 tags instead:
http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=109203952322577&w=2

While its simple enough to do for simple page layouts,
its more problematic when using the built-in Cocoon
stylesheets to render templates specified, for example,
with: 

as the stylesheets use the "archaic" approach of tables
to achieve page layout, requiring a rewrite of a number
of templates.

Before I tackle this myself, I wondered if anyone else had
attempted this (and would be willing to share code) and,
also, if we should not look at "upgrading" the default sheets
supplied with the Cocoon installation in order to ensure 
that (a) all the components play nicely together and (b)
support a more standards-compliant approach to page
rendering?

Thanks
Derek

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


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



Re: HowTo pass cocoon variables into client-side javascript?

2004-11-22 Thread oceatoon
with JXTemplate 
var myvar = "#{document/yourvalue/@val}"; //for a string

Regards,
Tibor

Andrew M wrote:

> Hi,
> in ASP I can do:
> 
> var testSessionState = <%= getSessionState %>
> 
> How can I achieve the same thing in cocoon?
> 
> 
> regards
> 
> Andrew



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



Re: HowTo pass cocoon variables into client-side javascript?

2004-11-22 Thread Derek Hohls
Andrew

Maybe you should expand this a bit more; doesn't
the ASP code you quote run on the server? If
so, then there are obviously Cocoon equivalents.
Secondly, the javascript code that runs on the 
client machine can be generated on the server -
and at generation time (ie. just before the popup
window is created by the server) the session status
could be determined and made part of the code.

Just some speculative ideas!!
Derek

>>> [EMAIL PROTECTED] 2004/11/22 11:55:12 AM >>>
Hi,
just to make things more understandable.

1. User clicks on a link which opens a pop-up window
2. javascript in the pop-up window determines whether the session is 
still current
3. If the session has expired, close the pop-up window, and reload the

referrer window

Hence the reason I need to know how to pass cocoon variables into 
client-side javascript, not unless server-side javascript (rhino) is 
now capable of this!! ;-)

regards

Andrew
On 22 Nov 2004, at 09:03, Andrew M wrote:

> Hi,
> in ASP I can do:
>
> var testSessionState = <%= getSessionState %>
>
> How can I achieve the same thing in cocoon?
>
>
> regards
>
> Andrew
>
>
>
-
> To unsubscribe, e-mail: [EMAIL PROTECTED] 
> For additional commands, e-mail: [EMAIL PROTECTED] 
>
>

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


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



Re: JXTemplate test condition

2004-11-22 Thread Upayavira
pguillard wrote:
Right. Thanks a lot, 
You're welcome.
thanks for the photo album too !
Huh?
Regards, Upayavira
Upayavira wrote:
pguillard wrote:
Hi,
Basic question but i can't find the answer: how to write a more 
complex test condition in JXT exprerssion

   
   
   or  
   or 


should do it, I believe.


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


RE: HTMLarea and Tabbed layout

2004-11-22 Thread H . vanderLinden
Derek,

the fact that HTMLarea does not work under IE(6), comes from a timing
problem. In detail: the HTMLarea is rendered before the table cell
containing the textarea is. Since I'm stuck with tables myself, I need to
solve this too. My questions concerning this resulted in suggestions to
modify the forms_onload handler to include your own modified HTMLarea loader
function. 

I haven't yet thoroughly tracked all of them down, but I don't mind you
beating me on this. :-)

Bye, Helma


> -Original Message-
> From: Derek Hohls [mailto:[EMAIL PROTECTED] 
> Sent: Monday, 22 November, 2004 08:06
> To: [EMAIL PROTECTED]
> Subject: HTMLarea and Tabbed layout
> 
> 
> Its now been established that HTMLarea does *not*
> work under IE6 when using tables... see: 
> http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=109203952322577&w=2
> and that page layout needs to be achieved through 
>  tags instead: 
> http://marc.theaimsgroup.com/?l=xml-cocoon-> users&m=109203952322577&w=2
> 
> While its simple enough to do for simple page layouts,
> its more problematic when using the built-in Cocoon
> stylesheets to render templates specified, for example,
> with: 
> 
> as the stylesheets use the "archaic" approach of tables
> to achieve page layout, requiring a rewrite of a number
> of templates.
> 
> Before I tackle this myself, I wondered if anyone else had 
> attempted this (and would be willing to share code) and, 
> also, if we should not look at "upgrading" the default sheets 
> supplied with the Cocoon installation in order to ensure 
> that (a) all the components play nicely together and (b) 
> support a more standards-compliant approach to page rendering?
> 
> Thanks
> Derek
> 
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> MailScanner thanks transtec Computers for their support.
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

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



Re: HowTo pass cocoon variables into client-side javascript?

2004-11-22 Thread Andrew M
Derek,
maybe you missed my earlier post, but my solution was this:

In jx page (pop-up):

	





In xsl template:



There must be a more efficient way to do this!!? regards Andrew On 22 Nov 2004, at 10:13, Derek Hohls wrote: Andrew Maybe you should expand this a bit more; doesn't the ASP code you quote run on the server? If so, then there are obviously Cocoon equivalents. Secondly, the javascript code that runs on the client machine can be generated on the server - and at generation time (ie. just before the popup window is created by the server) the session status could be determined and made part of the code. Just some speculative ideas!! Derek [EMAIL PROTECTED] 2004/11/22 11:55:12 AM >>> Hi, just to make things more understandable. 1. User clicks on a link which opens a pop-up window 2. javascript in the pop-up window determines whether the session is still current 3. If the session has expired, close the pop-up window, and reload the referrer window Hence the reason I need to know how to pass cocoon variables into client-side javascript, not unless server-side javascript (rhino) is now capable of this!! ;-) regards Andrew On 22 Nov 2004, at 09:03, Andrew M wrote: Hi, in ASP I can do: var testSessionState = <%= getSessionState %> How can I achieve the same thing in cocoon? regards Andrew - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <>  +The home of urban music + http://www.beyarecords.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: HTMLarea and Tabbed layout

2004-11-22 Thread Derek Hohls
Helma

OK, I had not realized it was a timing issue (those threads
did not deal with it)... in the meantime I have started with
my own +div+ tags... (call me a would-be CSS purist!) but 
if the table-based approach can be made to work as well,
then I think that will be a Good Thing.

>>> [EMAIL PROTECTED] 2004/11/22 12:54:06 PM >>>
Derek,

the fact that HTMLarea does not work under IE(6), comes from a timing
problem. In detail: the HTMLarea is rendered before the table cell
containing the textarea is. Since I'm stuck with tables myself, I need
to
solve this too. My questions concerning this resulted in suggestions
to
modify the forms_onload handler to include your own modified HTMLarea
loader
function. 

I haven't yet thoroughly tracked all of them down, but I don't mind
you
beating me on this. :-)

Bye, Helma


> -Original Message-
> From: Derek Hohls [mailto:[EMAIL PROTECTED] 
> Sent: Monday, 22 November, 2004 08:06
> To: [EMAIL PROTECTED] 
> Subject: HTMLarea and Tabbed layout
> 
> 
> Its now been established that HTMLarea does *not*
> work under IE6 when using tables... see: 
>
http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=109203952322577&w=2

> and that page layout needs to be achieved through 
>  tags instead: 
> http://marc.theaimsgroup.com/?l=xml-cocoon->
users&m=109203952322577&w=2
> 
> While its simple enough to do for simple page layouts,
> its more problematic when using the built-in Cocoon
> stylesheets to render templates specified, for example,
> with: 
> 
> as the stylesheets use the "archaic" approach of tables
> to achieve page layout, requiring a rewrite of a number
> of templates.
> 
> Before I tackle this myself, I wondered if anyone else had 
> attempted this (and would be willing to share code) and, 
> also, if we should not look at "upgrading" the default sheets 
> supplied with the Cocoon installation in order to ensure 
> that (a) all the components play nicely together and (b) 
> support a more standards-compliant approach to page rendering?
> 
> Thanks
> Derek
> 
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> MailScanner thanks transtec Computers for their support.
> 
> 
>
-
> To unsubscribe, e-mail: [EMAIL PROTECTED] 
> For additional commands, e-mail: [EMAIL PROTECTED] 
> 

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


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


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



Using htmlArea 'output' with SVG

2004-11-22 Thread Derek Hohls
I'd like to be able to use htmlArea to allow my users
to create content that gets displayed in an SVG.

Although they will only be given access to some buttons
when creating text content, one fucntion required is 
that of subscripting.  I can match on an  element
and create the necessary SVG equivalent, BUT it seems
as though htmlArea "codes" are wrrittne out to file
as, for example, 2<.

In addition, Unicode characters are not handled properly.

Does anyone know how to get htmlArea to store XML 
or how else to perform the necessary conversions?

Thanks
Derek

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


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



Re: HTMLarea and Tabbed layout

2004-11-22 Thread Florian Leinberger
Derek Hohls  csir.co.za> writes:

> Before I tackle this myself, I wondered if anyone else had
> attempted this (and would be willing to share code) and,
> also, if we should not look at "upgrading" the default sheets
> supplied with the Cocoon installation in order to ensure 

hi,
we created a cocoon-based portal without any html-tables (pure css-layout).
therfore we modified the xsl-stylesheets in skins/*/styles and the
xsl-stylesheets that are used to render Cocoon-Forms
(forms-page-styleing.xsl...). the modification was possible without any
difficulties. I don't think our files are of great use to you because the layout
is rather specific.  

Gurss, F. Leinberger


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



RE: HTMLarea and Tabbed layout

2004-11-22 Thread H . vanderLinden

I've been thinking about rewriting my table-based layout to a non-table
based layout, not only to avoid this problem, but also because I read that
table-based layout were not "in" any more.
After several hours of trying I finally gave up because I wasn't able to
easily reproduce my current setup: menu bar on the left, sub menu bar on the
far right and the remaining space in the middle used for content. 
I've looked at various CSS-based setup (including CSS ZEN-garden), but they
all use a left-menubar only setup or the right bar is moved to an arbitrary
location (usually compliant with 800 x 600 resolution), which makes it very
awkward on my higher resolution screen.

If you have a nice CSS-based solution for this, I'd like to know.


> OK, I had not realized it was a timing issue (those threads
> did not deal with it)... in the meantime I have started with

Well, I've read something about deferring scripts (add defer tag to

Re: HTMLarea and Tabbed layout

2004-11-22 Thread Derek Hohls
Thanks Gurss

I have managed to create a custom forms-page-style-css.xsl;
I guess I should post it on the Wiki in case anyone else
needs it.

Derek

>>> [EMAIL PROTECTED] 2004/11/22 03:40:05 PM >>>
Derek Hohls  csir.co.za> writes:

> Before I tackle this myself, I wondered if anyone else had
> attempted this (and would be willing to share code) and,
> also, if we should not look at "upgrading" the default sheets
> supplied with the Cocoon installation in order to ensure 

hi,
we created a cocoon-based portal without any html-tables (pure
css-layout).
therfore we modified the xsl-stylesheets in skins/*/styles and the
xsl-stylesheets that are used to render Cocoon-Forms
(forms-page-styleing.xsl...). the modification was possible without
any
difficulties. I don't think our files are of great use to you because
the layout
is rather specific.  

Gurss, F. Leinberger


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


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


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



Re: [OT] User Preferences and Webapp Configs

2004-11-22 Thread Julian
Derek,

Users are able to make runtime changes.  As far as
CForms, I am unable to use it so it's a lost cause. 
Thanks for the help though, I appreciate it.

Julian

--- Derek Hohls <[EMAIL PROTECTED]> wrote:

> Julian
> 
> I was assuming your users *were* likely to be
> making changes at runtime.  Or do you see this
> as a once-off process, completed before the app
> is even launched?  AFAICS, Cocoon in general seems
> pretty scalable - see previous threads for more 
> details - my experience is that the limiting factor
> is
> usually memorry (Java being v. memory hungry).
> CForms are useful for extracting data from both XML
> and Java Beans... not sure about both at the same 
> time, though - perhaps post separately on this topic
> and see if anyone else has tackled this use case.
> 
> Derek
> 
> >>> [EMAIL PROTECTED] 2004/11/19 04:21:56 PM >>>
> Derek,
> 
> Thanks for the reply and tips.  Is it necessary to
> use
> CForms?  How scalable is a solution based on parsing
> XML at runtime, especially if I need to access the
> XML
> in my Java domain model (aka have to parse the XML
> into POJOs/XMLBeans) so users and the system can
> update the info?
> 
> Thanks again,
> Julian
> 
> --- Derek Hohls <[EMAIL PROTECTED]> wrote:
> 
> > Julian
> > 
> > You could use a combination of CForms and XML...
> > you do not need to even have a database with this
> > type 
> > of setup.  Each user could have his/her own config
> > file or you could just keep it all in one file,
> > depending
> > on number of user and number of config options.
> > 
> > Derek
> > 
> > 
> > >>> [EMAIL PROTECTED] 2004/11/18 10:47:44 PM >>>
> > Hi all,
> > 
> > I was wondering if anyone could point me to some
> > resources or offer some suggestions for building a
> > user preferences and webapp configuration system. 
> I
> > would like users to be able to update their
> > preferences and the webapps config.  The user's
> > would
> > be able to inherit preferences based on which
> roles
> > they have.  The configs consist of available
> > functionality for the web application (e.g.
> > available
> > modules, thrid party integration options).  On the
> > other side, the preferences would include skins,
> > pop-up preferences, form auto-fill data (i.e.
> > favorite
> > reponses to frequently filled out forms), etc.  I
> > currently use Java 1.4, Cocoon 1.2.
> > 
> > Thanks in advance,
> > Julian
> > 
> > 
> > 
> > __ 
> > Do you Yahoo!? 
> > The all-new My Yahoo! - Get yours free! 
> > http://my.yahoo.com 
> >  
> > 
> > 
> >
>
-
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED] 
> > For additional commands, e-mail:
> > [EMAIL PROTECTED] 
> > 
> > 
> > -- 
> > This message has been scanned for viruses and
> > dangerous content by MailScanner, and is
> > believed to be clean.
> > MailScanner thanks transtec Computers for their
> > support.
> > 
> > 
> >
>
-
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED] 
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > 
> > 
> 
> 
> =
> Live simply so others may simply live. 
>  
> -Ghandi 
>  
> Pluralitas non est ponenda sine neccesitate.
> "Entities should not be multiplied unneccesarily" 
>  
> -William of Occam
> 
> 
> 
> 
> __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED] 
> For additional commands, e-mail:
> [EMAIL PROTECTED] 
> 
> 
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> MailScanner thanks transtec Computers for their
> support.
> 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


=
Live simply so others may simply live. 
 
-Ghandi 
 
Pluralitas non est ponenda sine neccesitate.
"Entities should not be multiplied unneccesarily" 
 
-William of Occam




__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



Re: [OT] CSS resources (was: HTMLarea and Tabbed layout)

2004-11-22 Thread Derek Hohls
As is the "Designing without Tables" by Dan Shafer.

>>> [EMAIL PROTECTED] 2004/11/22 04:21:15 PM >>>
Le 22 nov. 04, à 14:00, [EMAIL PROTECTED] a écrit :

> ...If you have a nice CSS-based solution for this, I'd like to know.

I'm currently *teaching* CSS (which is a great way of learning it ;-), 
at a very basic level so I'm not a guru yet. But I know one: Eric 
Meyer's books and examples on CSS are very good: 
http://www.meyerweb.com/eric/css/ - definitely recommended.

-Bertrand


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


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



Re: [OT] User Preferences and Webapp Configs

2004-11-22 Thread Derek Hohls
Julian

What are the problems with CForms; are they
technical (installation?) or conceptual... I have to
say I was able to figure them out from the samples
and the brief on-line docs.  Not too hard - but if
you have specific issues, the list is here to help ;-)

Derek

>>> [EMAIL PROTECTED] 2004/11/22 04:27:08 PM >>>
Derek,

Users are able to make runtime changes.  As far as
CForms, I am unable to use it so it's a lost cause. 
Thanks for the help though, I appreciate it.

Julian

--- Derek Hohls <[EMAIL PROTECTED]> wrote:

> Julian
> 
> I was assuming your users *were* likely to be
> making changes at runtime.  Or do you see this
> as a once-off process, completed before the app
> is even launched?  AFAICS, Cocoon in general seems
> pretty scalable - see previous threads for more 
> details - my experience is that the limiting factor
> is
> usually memorry (Java being v. memory hungry).
> CForms are useful for extracting data from both XML
> and Java Beans... not sure about both at the same 
> time, though - perhaps post separately on this topic
> and see if anyone else has tackled this use case.
> 
> Derek
> 
> >>> [EMAIL PROTECTED] 2004/11/19 04:21:56 PM >>>
> Derek,
> 
> Thanks for the reply and tips.  Is it necessary to
> use
> CForms?  How scalable is a solution based on parsing
> XML at runtime, especially if I need to access the
> XML
> in my Java domain model (aka have to parse the XML
> into POJOs/XMLBeans) so users and the system can
> update the info?
> 
> Thanks again,
> Julian
> 
> --- Derek Hohls <[EMAIL PROTECTED]> wrote:
> 
> > Julian
> > 
> > You could use a combination of CForms and XML...
> > you do not need to even have a database with this
> > type 
> > of setup.  Each user could have his/her own config
> > file or you could just keep it all in one file,
> > depending
> > on number of user and number of config options.
> > 
> > Derek
> > 
> > 
> > >>> [EMAIL PROTECTED] 2004/11/18 10:47:44 PM >>>
> > Hi all,
> > 
> > I was wondering if anyone could point me to some
> > resources or offer some suggestions for building a
> > user preferences and webapp configuration system. 
> I
> > would like users to be able to update their
> > preferences and the webapps config.  The user's
> > would
> > be able to inherit preferences based on which
> roles
> > they have.  The configs consist of available
> > functionality for the web application (e.g.
> > available
> > modules, thrid party integration options).  On the
> > other side, the preferences would include skins,
> > pop-up preferences, form auto-fill data (i.e.
> > favorite
> > reponses to frequently filled out forms), etc.  I
> > currently use Java 1.4, Cocoon 1.2.
> > 
> > Thanks in advance,
> > Julian
> > 
> > 
> > 
> > __ 
> > Do you Yahoo!? 
> > The all-new My Yahoo! - Get yours free! 
> > http://my.yahoo.com 
> >  
> > 
> > 
> >
>
-
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED] 
> > For additional commands, e-mail:
> > [EMAIL PROTECTED] 
> > 
> > 
> > -- 
> > This message has been scanned for viruses and
> > dangerous content by MailScanner, and is
> > believed to be clean.
> > MailScanner thanks transtec Computers for their
> > support.
> > 
> > 
> >
>
-
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED] 
> > For additional commands, e-mail:
> > [EMAIL PROTECTED] 
> > 
> > 
> 
> 
> =
> Live simply so others may simply live. 
>  
> -Ghandi 
>  
> Pluralitas non est ponenda sine neccesitate.
> "Entities should not be multiplied unneccesarily" 
>  
> -William of Occam
> 
> 
> 
> 
> __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED] 
> For additional commands, e-mail:
> [EMAIL PROTECTED] 
> 
> 
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> MailScanner thanks transtec Computers for their
> support.
> 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED] 
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


=
Live simply so others may simply live. 
 
-Ghandi 
 
Pluralitas non est ponenda sine neccesitate.
"Entities should not be multiplied unneccesarily" 
 
-William of Occam




__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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


-- 
This message has been scanned for viruses and
dangerous content by MailScanne

Re: Using htmlArea 'output' with SVG

2004-11-22 Thread Ugo Cei
Derek Hohls wrote:
Does anyone know how to get htmlArea to store XML 
or how else to perform the necessary conversions?
Parse the value of HTMLArea's content using an XML parser. HTMLArea 
should produce well-formed XHTML most of the times, but when it doesn't 
(like when you paste content from MSWord, for instance), passing it 
through Neko or JTidy will fix it.

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


RE: Using htmlArea 'output' with SVG

2004-11-22 Thread H . vanderLinden
> Parse the value of HTMLArea's content using an XML parser. HTMLArea 
> should produce well-formed XHTML most of the times, but when 
> it doesn't 
> (like when you paste content from MSWord, for instance), passing it 
> through Neko or JTidy will fix it.

Check Outerthought's Daisy. They already have an HTMLCleaner that can clean
up the content of the HTMLarea before storing. And it's flexible enought to
config it with an XML file.

HTH.

Bye, Helma

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



Re: HTMLarea and Tabbed layout

2004-11-22 Thread Ugo Cei
[EMAIL PROTECTED] wrote:
If you have a nice CSS-based solution for this, I'd like to know.
http://glish.com/css/
HTH,
Ugo
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: [OT] CSS resources (was: HTMLarea and Tabbed layout)

2004-11-22 Thread H . vanderLinden
Can I come over and "teach"? :-)

Bye, Helma

> -Original Message-
> From: Bertrand Delacretaz [mailto:[EMAIL PROTECTED] 
> Sent: Monday, 22 November, 2004 15:21
> To: [EMAIL PROTECTED]
> Subject: [OT] CSS resources (was: HTMLarea and Tabbed layout)
> 
> 
> Le 22 nov. 04, à 14:00, [EMAIL PROTECTED] a écrit :
> 
> > ...If you have a nice CSS-based solution for this, I'd like to know.
> 
> I'm currently *teaching* CSS (which is a great way of 
> learning it ;-), 
> at a very basic level so I'm not a guru yet. But I know one: Eric 
> Meyer's books and examples on CSS are very good: 
> http://www.meyerweb.com/eric/css/ - definitely recommended.
> 
> -Bertrand
> 

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



Re: Using htmlArea 'output' with SVG

2004-11-22 Thread Reinhard Poetz
Ugo Cei wrote:
Derek Hohls wrote:
Does anyone know how to get htmlArea to store XML or how else to 
perform the necessary conversions?

Parse the value of HTMLArea's content using an XML parser. HTMLArea 
should produce well-formed XHTML most of the times, but when it doesn't 
(like when you paste content from MSWord, for instance), passing it 
through Neko or JTidy will fix it.
Daisy already has a HTMLCleaningConvertor which creates valid XHTML. Only needs 
to be added to CocoonForms ... patches are welcome :-)

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


Problem display the web page

2004-11-22 Thread Ben habib Esma
Hello,

I want to display a web page with cocoon.

When, I use only this, the web page will display


   
  
   
   
   
  
   
   



But, when I use this 


   
  
  http://www.yahoo.com/News?"/>




   
  
   
   
   
  
   
   


I have problem. In fact, it display the code of web
page instead of the web page

It display this :




Your subscription is now active!  Click on Accueil to
turn over to the site.




instead of that it display just this :

Your subscription is now active!  Click on Accueil to
turn over to the site.










Vous manquez d’espace pour stocker vos mails ? 
Yahoo! Mail vous offre GRATUITEMENT 100 Mo !
Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/

Le nouveau Yahoo! Messenger est arrivé ! Découvrez toutes les nouveautés pour 
dialoguer instantanément avec vos amis. A télécharger gratuitement sur 
http://fr.messenger.yahoo.com

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



Re: [OT] User Preferences and Webapp Configs

2004-11-22 Thread Julian
Derek,

My issue is a mix of conceptual and technical. 
Technically, I already have a legacy JSP/Servlet
application, and porting would be costly at this time.
 To a lesser extent, CForms is a proprietary solution
and not yet released as part of a Cocoon Milestone. 
Conceptually...for future projects, it may be possible
to use CForms.  I would look forward to broad industry
acceptance, but in the mean time I am stuck.

HTH,
Julian

--- Derek Hohls <[EMAIL PROTECTED]> wrote:

> Julian
> 
> What are the problems with CForms; are they
> technical (installation?) or conceptual... I have to
> say I was able to figure them out from the samples
> and the brief on-line docs.  Not too hard - but if
> you have specific issues, the list is here to help
> ;-)
> 
> Derek
> 
> >>> [EMAIL PROTECTED] 2004/11/22 04:27:08 PM >>>
> Derek,
> 
> Users are able to make runtime changes.  As far as
> CForms, I am unable to use it so it's a lost cause. 
> Thanks for the help though, I appreciate it.
> 
> Julian
> 
> --- Derek Hohls <[EMAIL PROTECTED]> wrote:
> 
> > Julian
> > 
> > I was assuming your users *were* likely to be
> > making changes at runtime.  Or do you see this
> > as a once-off process, completed before the app
> > is even launched?  AFAICS, Cocoon in general seems
> > pretty scalable - see previous threads for more 
> > details - my experience is that the limiting
> factor
> > is
> > usually memorry (Java being v. memory hungry).
> > CForms are useful for extracting data from both
> XML
> > and Java Beans... not sure about both at the same 
> > time, though - perhaps post separately on this
> topic
> > and see if anyone else has tackled this use case.
> > 
> > Derek
> > 
> > >>> [EMAIL PROTECTED] 2004/11/19 04:21:56 PM >>>
> > Derek,
> > 
> > Thanks for the reply and tips.  Is it necessary to
> > use
> > CForms?  How scalable is a solution based on
> parsing
> > XML at runtime, especially if I need to access the
> > XML
> > in my Java domain model (aka have to parse the XML
> > into POJOs/XMLBeans) so users and the system can
> > update the info?
> > 
> > Thanks again,
> > Julian
> > 
> > --- Derek Hohls <[EMAIL PROTECTED]> wrote:
> > 
> > > Julian
> > > 
> > > You could use a combination of CForms and XML...
> > > you do not need to even have a database with
> this
> > > type 
> > > of setup.  Each user could have his/her own
> config
> > > file or you could just keep it all in one file,
> > > depending
> > > on number of user and number of config options.
> > > 
> > > Derek
> > > 
> > > 
> > > >>> [EMAIL PROTECTED] 2004/11/18 10:47:44 PM
> >>>
> > > Hi all,
> > > 
> > > I was wondering if anyone could point me to some
> > > resources or offer some suggestions for building
> a
> > > user preferences and webapp configuration
> system. 
> > I
> > > would like users to be able to update their
> > > preferences and the webapps config.  The user's
> > > would
> > > be able to inherit preferences based on which
> > roles
> > > they have.  The configs consist of available
> > > functionality for the web application (e.g.
> > > available
> > > modules, thrid party integration options).  On
> the
> > > other side, the preferences would include skins,
> > > pop-up preferences, form auto-fill data (i.e.
> > > favorite
> > > reponses to frequently filled out forms), etc. 
> I
> > > currently use Java 1.4, Cocoon 1.2.
> > > 
> > > Thanks in advance,
> > > Julian
> > > 
> > > 
> > >   
> > > __ 
> > > Do you Yahoo!? 
> > > The all-new My Yahoo! - Get yours free! 
> > > http://my.yahoo.com 
> > >  
> > > 
> > > 
> > >
> >
>
-
> > > To unsubscribe, e-mail:
> > > [EMAIL PROTECTED] 
> > > For additional commands, e-mail:
> > > [EMAIL PROTECTED] 
> > > 
> > > 
> > > -- 
> > > This message has been scanned for viruses and
> > > dangerous content by MailScanner, and is
> > > believed to be clean.
> > > MailScanner thanks transtec Computers for their
> > > support.
> > > 
> > > 
> > >
> >
>
-
> > > To unsubscribe, e-mail:
> > > [EMAIL PROTECTED] 
> > > For additional commands, e-mail:
> > > [EMAIL PROTECTED] 
> > > 
> > > 
> > 
> > 
> > =
> > Live simply so others may simply live. 
> >  
> > -Ghandi 
> >  
> > Pluralitas non est ponenda sine neccesitate.
> > "Entities should not be multiplied unneccesarily" 
> >  
> > -William of Occam
> > 
> > 
> > 
> > 
> > __
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> > protection around 
> > http://mail.yahoo.com 
> > 
> >
>
-
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED] 
> > For additional commands, e-mail:
> > [EMAIL PROTECTED] 
> > 
> > 
> > -- 
> > This message has been scanned for viruses and
> > dangerous content by MailScanner, and is
> > believed to be clean.
> > Mai

Re: [OT] CSS resources (was: HTMLarea and Tabbed layout)

2004-11-22 Thread Bertrand Delacretaz
Le 22 nov. 04, à 16:06, [EMAIL PROTECTED] a écrit :
Can I come over and "teach"? :-)
hehe...but quite frankly, teaching something that you think you know 
about is the best way of finding out what you don't know (hope I'm 
being clear ;-)

-Bertrand


smime.p7s
Description: S/MIME cryptographic signature


Premature end of file error with xinclude?

2004-11-22 Thread Derek Hohls
I have an app that is tested and working on the development
machine (Windows), but when I upload and run the production
box (Unix) I get the following strange error:

ERROR   (2004-11-22) 12:32.14:117   [sitemap.transformer.xinclude]
(/cocoon215/soc/indicators) Thread-20/XIncludeTransformer.XIncludePipe:
Error in processXIncludeElement
org.xml.sax.SAXParseException: Premature end of file

This comes after running a file list generate option.  It results
in an XML file which looks like:


http://www.w3.org/2001/XInclude";
xmlns:dir="http://apache.org/cocoon/directory/2.0";>
http://www.joe.com/schema/etek/air/itemml/v01)xpointer(//inml:item/meta)"/>
http://www.joe.com/schema/etek/air/itemml/v01)xpointer(//inml:item/meta)"/>
...


But when I add the next step in the pipeline: 


I get the above error.

Any ideas why this is happening (running
Cocoon 2.1.5 on both platforms)?

Thanks
Derek

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


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



Re: Client side controls

2004-11-22 Thread Luca Garulli
I try to explain more: for "client side controls" I mean a sort of
client-side validation using the form-definition rules.

bye,
Luca Garulli
www.Pro-Netics.com (member of Orixo.com - The XML business alliance)
OrienTechnologies.com - Light ODBMS, All in one JDO solution


On Mon, 22 Nov 2004 17:31:38 +0100, Luca Garulli <[EMAIL PROTECTED]> wrote:
> Hi,
> does CForms support minimal client-side validation? Such as
> field-length, field-presence, etc.?
> 
> Thank you

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



Dynamic adoption of SQL-Query in ESQL based on parameter

2004-11-22 Thread Markus Vaterlaus
Hi list, 

Is there a way to dynamically adopt an SQL-Query  in a ESQL based on
request-parameters? Based on the following excerpt from an ESQL I can
think of two use cases for such a possibility:

1. the parameter "sort" is not present in the request, the query
is anyhow processed and the result displayed, but the result rows are 
unsorted.
2. the query is enhanced with an additional where clauses 
( e.q. AND c1.id > ).
 The additional condition is taken into account only, if the
 parameter limit exists and is valid. 

...

  
   SELECT
c1.id, c1.intl_id, c1.descn, o1.key, o1.text_ge
   FROM 
table1 c1,  table2 o1
   WHERE 
 c1.id = o1.key
   AND c1.id > 
  ORDER BY by   
 



Is there an easy way to do this? I didn't find any references in the docu.

Thank you for your support!

Markus

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



Re: [OT] CSS resources (was: HTMLarea and Tabbed layout)

2004-11-22 Thread Bloomfield Nutrition
>..but quite frankly, teaching something that you think you know
> about is the best way of finding out what you don't know

This quote is now posted outside of my cube. 

CSS learning by example: glish.com/css, or csszengarden.com.  Then
get comfortable with the w3c CSS validator.

/T

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



Re: Client side controls

2004-11-22 Thread Reinhard Poetz
Luca Garulli wrote:
I try to explain more: for "client side controls" I mean a sort of
client-side validation using the form-definition rules.
No, not that I know. Patches would be welcome :-)
--
Reinhard
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: [OT] CSS resources (was: HTMLarea and Tabbed layout)

2004-11-22 Thread H . vanderLinden
> > Can I come over and "teach"? :-)
> 
> hehe...but quite frankly, teaching something that you think you know 
> about is the best way of finding out what you don't know (hope I'm 
> being clear ;-)

I know. I've been teaching classes where I was only one chapter ahead of the
students and then I ran into issues. And I've been teaching English to
foreigners where my knowledge of English was severely tested.

:-)

Bye, Helma

PS. I can always be your most nasty student. ;-)

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



Deployment of Cocoon apps. Best practices?

2004-11-22 Thread Bent André Solheim
Hi Cocoon users!

I have been developing an application for document presentation based
on cocoon, and time is coming for full scale test deployment.

The way I have developed the application is that I have an own project
for the cocoon instance tailored for our application needs. Here I
maintain the main sitemap, the dependencies (jars) for cocoon to work
and other cocoon files. When building a war file of this project I get
a functioning cocoon application that can be deployed to an
application server, but with no functional pipelines. Lets call this
project A.

I also have a project B (a cocoon application) where I maintain a sub
sitemap, a custom generator and a custom transformer, and some other
stuff. In addition I have a project C where we maintain a bunch of
xslt transformations that are used across our enterprise. One
requirement is that it must be possible to deploy projects B and C
separately from project A. This is because there will pop up projects
similar to project B at a later time, and we must be able to deploy
them separately from the cocoon instance.

My questions are; 
- How do you other cocoon users deploy your applications? 
- How do you deal with several cocoon applications using the same
cocoon instance when deploying?
- Would it be possible for cocoon to use the transformations in
project C if I deployed them as a jar file?
- How/where do you maintain your mount-table.xml file?
- Are there people using cocoon and maven? How do you guys deploy?
(this is of particular interest to me, as we use maven for all our
projects).

That's a lot of questions for one posting, but I hope this can develop
into a discussion on best practices for cocoon application deployment
with ant or maven or other similar tools.


Best regards,
Bent Andre Solheim

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



Browser caching

2004-11-22 Thread BRAUD Denis
Hi,

Is there a best practice with Cocoon to avoid browser caching ?
Is there a way to configure http headers globally ?

I'm using the html head meta tags (pragma=no-cache,...) but it is not
sufficient for certain browsers like those of the mobile telephones.

Thanks
Denis Braud



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



Re: Browser caching

2004-11-22 Thread Bertrand Delacretaz
Le 22 nov. 04, à 19:44, BRAUD Denis a écrit :
...Is there a best practice with Cocoon to avoid browser caching ?
Is there a way to configure http headers globally ?
Not globally AFAIK, but you might find the info at
http://wiki.apache.org/cocoon/ControllingModCache
useful. I recently added it as an example of controlling mod_cache, 
behaviour is probably similar for browsers.

-Bertrand

smime.p7s
Description: S/MIME cryptographic signature


Client side controls

2004-11-22 Thread Luca Garulli
Hi,
does CForms support minimal client-side validation? Such as
field-length, field-presence, etc.?

Thank you

bye,
Luca Garulli
www.Pro-Netics.com (member of Orixo.com - The XML business alliance)
OrienTechnologies.com - Light ODBMS, All in one JDO solution

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



RE: HTMLarea and Tabbed layout

2004-11-22 Thread Hugo Burm

Hello,

To add some more details:

I remenber from a HTMLArea faq that the HTMLArea.replace() function is
causing the problem.

In every  cell in IE hit by this problem, there is a Javascript
HTMLArea.replace() call following the  element.
The only thing that has to be modified to the CForms stylesheets is to move
this call to the "onLoad" of the  tag.

I just did this little experiment.
- I produced a file from my CForms pipeline that was OK in Firefox and not
OK on IE (three HTMLArea fields in  cells). IE did show the toolbar
only.
- I did a save source as HTML in the browser and saved it as a .html file
- I added a resource mapping  for this *.html to my pilepline
- I loaded the *. html file in IE: same problem.
- I loaded the html file in an editor and moved the HTMLArea.replace() calls
to the onLoad of the body.
- I reloaded the *. html file in IE, and now it was working OK.
- So it is working OK when your  elements are in the 
element. But your HTMLArea.replace() calls must be in onload.
- The solution that works for IE is also working for FireFox (I tested with
Mozilla 1.7).

Hope this helps.


Hugo Burm



> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 22, 2004 11:54 AM
> To: [EMAIL PROTECTED]
> Subject: RE: HTMLarea and Tabbed layout
>
>
> Derek,
>
> the fact that HTMLarea does not work under IE(6), comes from a timing
> problem. In detail: the HTMLarea is rendered before the table cell
> containing the textarea is. Since I'm stuck with tables
> myself, I need to
> solve this too. My questions concerning this resulted in
> suggestions to
> modify the forms_onload handler to include your own modified
> HTMLarea loader
> function.
>
> I haven't yet thoroughly tracked all of them down, but I
> don't mind you
> beating me on this. :-)
>
> Bye, Helma
>
>
> > -Original Message-
> > From: Derek Hohls [mailto:[EMAIL PROTECTED]
> > Sent: Monday, 22 November, 2004 08:06
> > To: [EMAIL PROTECTED]
> > Subject: HTMLarea and Tabbed layout
> >
> >
> > Its now been established that HTMLarea does *not*
> > work under IE6 when using tables... see:
> >
> http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=109203952322577&w=2
> > and that page layout needs to be achieved through
> >  tags instead:
> > http://marc.theaimsgroup.com/?l=xml-cocoon->
> users&m=109203952322577&w=2
> >
> > While its simple enough to do for simple page layouts,
> > its more problematic when using the built-in Cocoon
> > stylesheets to render templates specified, for example,
> > with:
> > 
> > as the stylesheets use the "archaic" approach of tables
> > to achieve page layout, requiring a rewrite of a number
> > of templates.
> >
> > Before I tackle this myself, I wondered if anyone else had
> > attempted this (and would be willing to share code) and,
> > also, if we should not look at "upgrading" the default sheets
> > supplied with the Cocoon installation in order to ensure
> > that (a) all the components play nicely together and (b)
> > support a more standards-compliant approach to page rendering?
> >
> > Thanks
> > Derek
> >
> > --
> > This message has been scanned for viruses and
> > dangerous content by MailScanner, and is
> > believed to be clean.
> > MailScanner thanks transtec Computers for their support.
> >
> >
> >
> -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


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



RE: bored with *talks* about docs (was: New documentation project?)

2004-11-22 Thread Tim.Holloway

OK, I'll sing a chorus. As it happens, I spent the weekend constructing 
documentation on the Cocoon Portal, trying to fill in some holes and allow for 
people who aren't familiar with Cocoon and the pipeline paths specific to the 
Portal. Still a ways to go, but it's been a good start. I'll be glad to publish 
it once it's reasonably fit for human consumption. I don't yet know whether it 
would fit into the wiki, be suitable for inclusion in the mainstream docs, 
become a "howto" or even end up in dead tree form. All I can hope is that is 
proves useful. Since several people I'm working with are going to be depending 
on it, there is a certain incentive!

I've done this in xdoc form, but I'd appreciate some help with the tools. I 
can't seem to find an XDOC DTD, so I'm concerned that I may have structural 
faults. Also, I'd like to find an XSLT to go from xdoc to PDF (FO), if I could.

  Thanks,

   Tim Holloway

> -Original Message-
> From: Bertrand Delacretaz [mailto:[EMAIL PROTECTED]
> Sent: Saturday, November 13, 2004 8:29 AM
> To: [EMAIL PROTECTED]
> Subject: Re: bored with *talks* about docs (was: New
> documentation project?)
>
> Le 13 nov. 04, à 14:21, Upayavira a écrit :
> > ...You see, I think this will happen best if we use what we've got,
> > and start small, rather than trying to create something
> new. The wiki
> > isn't hard to use, and anyone who wants to can participate...
>
> +1, and the formats used today (xdocs and wiki) can be moved to any
> other format or system fairly easily if needed anyway, so
> you're very right that the first thing is to work on the content!
>
> -Bertrand
>

This e-mail and any files transmitted with it are confidential and are intended 
solely for the use of the individual or entity to whom it is addressed.  If you 
are not the intended recipient or the person responsible for delivering the 
e-mail to the intended recipient, be advised that you have received this e-mail 
in error, and that any use, dissemination, forwarding, printing, or copying of 
this e-mail is strictly prohibited.

If you received this e-mail in error, please return the e-mail to the sender 
and delete it from your computer. Although our company attempts to sweep e-mail 
and attachments for viruses, it does not guarantee that either are virus-free 
and accepts no liability for any damage sustained as a result of viruses.

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



cforms - ojb: generate unique id

2004-11-22 Thread Jorge Davila
Hello all!:
I'm trying to agregate a new record in a postgresql database ... but 
when i put a widget field in my definition file I obtain an:

forms_onsubmit();
in my form (in the html page).
then, my result page is not showed.
How generate the unique id using flow?
Best regards,
Jorge Dávila.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: bored with *talks* about docs (was: New documentation project?)

2004-11-22 Thread Joerg Heinicke
On 22.11.2004 22:43, [EMAIL PROTECTED] wrote:
OK, I'll sing a chorus. As it happens, I spent the weekend
constructing documentation on the Cocoon Portal, trying to fill in
some holes and allow for people who aren't familiar with Cocoon and
the pipeline paths specific to the Portal. Still a ways to go, but
it's been a good start. I'll be glad to publish it once it's
reasonably fit for human consumption. I don't yet know whether it
would fit into the wiki, be suitable for inclusion in the mainstream
docs, become a "howto" or even end up in dead tree form. All I can
hope is that is proves useful. Since several people I'm working with
are going to be depending on it, there is a certain incentive!
Hi Tim,
good to hear somebody starts ...
I've done this in xdoc form, but I'd appreciate some help with the
tools. I can't seem to find an XDOC DTD, so I'm concerned that I may
have structural faults. Also, I'd like to find an XSLT to go from
xdoc to PDF (FO), if I could.
All the xdoc stuff is maintained in the forrest project now. They also 
have the DTDs:
http://svn.apache.org/viewcvs.cgi/forrest/branches/FORREST_05_BRANCH/src/resources/schema/dtd/
IIRC Cocoon still uses v10 of the DTDs. For the conversion to HTML or 
PDF Forrest is used too. To test and build the docs yourself you can try 
the instruction at http://wiki.apache.org/cocoon/CocoonWebsiteUpdate.

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


Re: Cocoon portal and META Tag

2004-11-22 Thread Anna Bikkina


Can anyone provide input on this problem? I still cannot get the
post/get methods working as they should.

Thanks,
Anna.

On Wed, 2004-11-17 at 16:53, Anna Bikkina wrote:
> I think cocoon is somewhere internally storing my previous request
> values because before submit I called a javascript and checked the
> variables entered in page2 it displays right variables but then it still
> posts page1 variables and this is happening only when the submit type of
> form in page2 is post. How can I get rid of this?
> 
> 
> On Wed, 2004-11-17 at 16:32, Anna Bikkina wrote:
> > Hi,
> > 
> > I have a wierd problem using META tab in  of my HTML in cocoon
> > portal. May be this is a html question more than a portal question. Can
> > someone please help me solve this one.. I have been working on this for
> > more than a week now.
> > 
> > I have a html form in a cocoon coplet(page1.xsp). When I submit the form
> > it goes to wait.xsp which just displays a animated gif saying searching
> > results . Wait.xsp  has 
> > 
> >  > content="1;url=page1.xsp?param1="xx"¶m2="YY">
> > 
> > where the url in content  contains all the request parameters that come
> > to wait.xsp.
> > 
> > Now this one goes to the same sitemap match as page1  and the sitemap
> > directs it to page2 depending on some conditions page2 displays results
> > and also has  almost the same html form as in page1. When I submit the
> > form in page2 it submits details as in page1 when the method type =
> > "post" when the method type = "get" it works the way it should by
> > posting parameters in page2 .Not sure what difference it makes when it
> > is a get/post. Any  help is greatly appreciated.
> > 
> > Here is the sitemap component for the coplet
> > 
> > 
> >   
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >  > label="raw"/>   
> > 
> >  > src="context://newhistoryserver/styles/searchresult.xsl"/>
> >  
> > 
> > 
> > 
> > 
> > 
> >   
> >
> > 
> > 
> > 
> > 
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


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



Re: Cocoon portal and META Tag

2004-11-22 Thread Johannes Textor
Hi Anna,
I'm having a hard time figuring out what your problem
might be ... it would be useful if you could include source
codes for your xsp and provide more information about how
you actually pass your parameters.
cocoon itself does not differentiate between post and get
request methods neither does it store values of previous
request, so I would guess you're either doing something wrong
when reading out the parameters ore it's a browser cache issue.
cheers,
Johannes
Anna Bikkina wrote:
Can anyone provide input on this problem? I still cannot get the
post/get methods working as they should.
Thanks,
Anna.
On Wed, 2004-11-17 at 16:53, Anna Bikkina wrote:
 

I think cocoon is somewhere internally storing my previous request
values because before submit I called a javascript and checked the
variables entered in page2 it displays right variables but then it still
posts page1 variables and this is happening only when the submit type of
form in page2 is post. How can I get rid of this?
On Wed, 2004-11-17 at 16:32, Anna Bikkina wrote:
   

Hi,
I have a wierd problem using META tab in  of my HTML in cocoon
portal. May be this is a html question more than a portal question. Can
someone please help me solve this one.. I have been working on this for
more than a week now.
I have a html form in a cocoon coplet(page1.xsp). When I submit the form
it goes to wait.xsp which just displays a animated gif saying searching
results . Wait.xsp  has 



where the url in content  contains all the request parameters that come
to wait.xsp.
Now this one goes to the same sitemap match as page1  and the sitemap
directs it to page2 depending on some conditions page2 displays results
and also has  almost the same html form as in page1. When I submit the
form in page2 it submits details as in page1 when the method type =
"post" when the method type = "get" it works the way it should by
posting parameters in page2 .Not sure what difference it makes when it
is a get/post. Any  help is greatly appreciated.
Here is the sitemap component for the coplet
 
   
   
   	
   		
   		
			
		
   		
			
label="raw"/>				  		
 			
src="con	text://newhistoryserver/styles/searchresult.xsl"/>
			 
   
   	

  		  
	
	  
  
 

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


Re: Cocoon 2.1.6 and Java 1.5.0

2004-11-22 Thread Antonio Gallardo
Hi:

I am able to run the 2.1.6 with java 1.5.

Talking about "official compatibility"... I think it is too early to
speak. Why? Because few people tested it. I am not using java 1.5 for my
development environment. I am only "playing" with java 1.5 on time to
time.

There are also some issues to be solved. One of them is the XSP compiler
support for java 1.5.

AFAIK, currently the only compiler with full support for java 1.5 is the
sun compiler (javac shipped in java 1.5). We shipped cocoon 2.1.6 with
eclipse compiler (version 3.0.1) by default. The eclipse compiler still
have not java 1.5 support. The eclipse community will ship the java 1.5
support in version 3.1 (Release date? Who knows.).

As you can see, we still cannot talk about a "full 1.5 compatibility", but
we already did some proggress in that ;-)

The other big problem is that AFAIK, there is no java 1.5 for Mac's and we
have a lot of people using Mac And this is one of the BIG advantages
using a Intel machine! ;-)

/me hopping to not start a flame war style: Mac vs. Intel :-)

BTW, on the SVN there is already a fix for the problem reported by
Christian Rosenberger.

If you need more help, please let us know. ;-)

Hope this help.

Best Regards,

Antonio Gallardo.

Miha ¦etina dijo:
> I would also like to know the answer to this.
> I have tried to compile it over the weekend and it does not end at this.
> You
> can change target versions in init-build.xml from 1.3 to 1.5, but then
> comes
> the rest.
> 1.5.0 comes with (probably) new dom classes. Next thing I encountered was
> the DocumentWrapper class which is missing some abstract members from
> Document and Node classes.
>
> Regards , Miha ¦etina
> MiGA d.o.o.
> 1000 Ljubljana
> tel: 01/5819242
> fax: 01/5819241
>
> - Original Message -
> From: "Christian Rosenberger" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Sunday, November 21, 2004 4:53 PM
> Subject: Cocoon 2.1.6 and Java 1.5.0
>
>
>> Hi,
>>
>> is the new Cocoon version 2.1.6 compatible to Java SDK 1.5.0?
>>
>> At my debian server the build process failed:
>>
>> #:/opt/cocoon-2.1.6# export JAVA_HOME=/usr/java/1.5.0/
>> #:/opt/cocoon-2.1.6# ./build.sh
>> Buildfile: build.xml
>>
>> init-tasks:
>> Compiling 5 source files to /opt/cocoon-2.1.6/tools/anttasks
>> javac: target release 1.3 conflicts with default source release 1.5
>>
>> BUILD FAILED
>> /opt/cocoon-2.1.6/tools/targets/init-build.xml:159: Compile failed; see
>> the comp
>> iler error output for details.
>>
>> Total time: 1 second
>>
>> Which version of Cocoon will have built-in-support for 1.5.0?
>>
>> Any solution? The mails in the archive said, that this was fixed with
>> current CVS version. (before 2.1.6 release)
>>
>> Regards,
>> Christian Rosenberger
>>
>>
>>
>>
>>
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.796 / Virus Database: 540 - Release Date: 13.11.2004
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


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



RE: HTMLarea and Tabbed layout

2004-11-22 Thread Derek Hohls
Hugo

We appreciate the time taken to follow this one through;
as before, my point stands - can we not upgrade the 
exisitng Cocoon stylesheets to ensure that htmlArea in 
Cocoon *as shipped* can work properly with tables (now
that we know its possible).

Derek

>>> [EMAIL PROTECTED] 2004/11/22 10:41:07 PM >>>

Hello,

To add some more details:

I remenber from a HTMLArea faq that the HTMLArea.replace() function is
causing the problem.

In every  cell in IE hit by this problem, there is a Javascript
HTMLArea.replace() call following the  element.
The only thing that has to be modified to the CForms stylesheets is to
move
this call to the "onLoad" of the  tag.

I just did this little experiment.
- I produced a file from my CForms pipeline that was OK in Firefox and
not
OK on IE (three HTMLArea fields in  cells). IE did show the
toolbar
only.
- I did a save source as HTML in the browser and saved it as a .html
file
- I added a resource mapping  for this *.html to my pilepline
- I loaded the *. html file in IE: same problem.
- I loaded the html file in an editor and moved the HTMLArea.replace()
calls
to the onLoad of the body.
- I reloaded the *. html file in IE, and now it was working OK.
- So it is working OK when your  elements are in the 
element. But your HTMLArea.replace() calls must be in onload.
- The solution that works for IE is also working for FireFox (I tested
with
Mozilla 1.7).

Hope this helps.


Hugo Burm



> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] 
> Sent: Monday, November 22, 2004 11:54 AM
> To: [EMAIL PROTECTED] 
> Subject: RE: HTMLarea and Tabbed layout
>
>
> Derek,
>
> the fact that HTMLarea does not work under IE(6), comes from a
timing
> problem. In detail: the HTMLarea is rendered before the table cell
> containing the textarea is. Since I'm stuck with tables
> myself, I need to
> solve this too. My questions concerning this resulted in
> suggestions to
> modify the forms_onload handler to include your own modified
> HTMLarea loader
> function.
>
> I haven't yet thoroughly tracked all of them down, but I
> don't mind you
> beating me on this. :-)
>
> Bye, Helma
>
>
> > -Original Message-
> > From: Derek Hohls [mailto:[EMAIL PROTECTED] 
> > Sent: Monday, 22 November, 2004 08:06
> > To: [EMAIL PROTECTED] 
> > Subject: HTMLarea and Tabbed layout
> >
> >
> > Its now been established that HTMLarea does *not*
> > work under IE6 when using tables... see:
> >
>
http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=109203952322577&w=2

> > and that page layout needs to be achieved through
> >  tags instead:
> > http://marc.theaimsgroup.com/?l=xml-cocoon->
> users&m=109203952322577&w=2
> >
> > While its simple enough to do for simple page layouts,
> > its more problematic when using the built-in Cocoon
> > stylesheets to render templates specified, for example,
> > with:
> > 
> > as the stylesheets use the "archaic" approach of tables
> > to achieve page layout, requiring a rewrite of a number
> > of templates.
> >
> > Before I tackle this myself, I wondered if anyone else had
> > attempted this (and would be willing to share code) and,
> > also, if we should not look at "upgrading" the default sheets
> > supplied with the Cocoon installation in order to ensure
> > that (a) all the components play nicely together and (b)
> > support a more standards-compliant approach to page rendering?
> >
> > Thanks
> > Derek
> >
> > --
> > This message has been scanned for viruses and
> > dangerous content by MailScanner, and is
> > believed to be clean.
> > MailScanner thanks transtec Computers for their support.
> >
> >
> >
>
-
> > To unsubscribe, e-mail: [EMAIL PROTECTED] 
> > For additional commands, e-mail: [EMAIL PROTECTED] 
> >
>
>
-
> To unsubscribe, e-mail: [EMAIL PROTECTED] 
> For additional commands, e-mail: [EMAIL PROTECTED] 
>
>


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


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


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



RE: HTMLarea and Tabbed layout

2004-11-22 Thread Derek Hohls
Helma

Sorry, no 'instant solution'; unless you want to send me your
layout to try and reproduce it - but I have found the "designing
without tables" book (Dan Shafer) to be extremely useful in 
learning CSS layout techniques.

Derek

>>> [EMAIL PROTECTED] 2004/11/22 03:00:46 PM >>>

I've been thinking about rewriting my table-based layout to a
non-table
based layout, not only to avoid this problem, but also because I read
that
table-based layout were not "in" any more.
After several hours of trying I finally gave up because I wasn't able
to
easily reproduce my current setup: menu bar on the left, sub menu bar
on the
far right and the remaining space in the middle used for content. 
I've looked at various CSS-based setup (including CSS ZEN-garden), but
they
all use a left-menubar only setup or the right bar is moved to an
arbitrary
location (usually compliant with 800 x 600 resolution), which makes it
very
awkward on my higher resolution screen.

If you have a nice CSS-based solution for this, I'd like to know.


> OK, I had not realized it was a timing issue (those threads
> did not deal with it)... in the meantime I have started with

Well, I've read something about deferring scripts (add defer tag to

Re: [OT] User Preferences and Webapp Configs

2004-11-22 Thread Derek Hohls
Julian

Sounds like you are stuck at an awkard place; perhaps
best to use what you know already (JSP) to do the 
user-specific configuration stuff, and let Cocoon handle
the presentation.  As you say, CForms could then be
used in a future application that has no legacy issues.
I would consider CForms "stable" - I am not sure what
you mean by 'not yet released as part of a Cocoon 
Milestone' - it has been in both versions 2.1.5 and 2.1.6
and these are probably equivalent to X.x releases of other
projects (consider that 1.8 came out 5 years ago!) - 
and, AFAICS, is relatively stable (albeit subject to adding
new features).  The risk of it being 'proprietary' is no more
or less than using many other aspects/features built-in to
Cocoon... and the less of those you use, the less sense it
makes to use Cocoon in the first place --- my take is that
more code you write yourself (JSP, Java et al) the more
proprietary *your* application becomes.

YMMV
Derek

>>> [EMAIL PROTECTED] 2004/11/22 05:43:49 PM >>>
Derek,

My issue is a mix of conceptual and technical. 
Technically, I already have a legacy JSP/Servlet
application, and porting would be costly at this time.
 To a lesser extent, CForms is a proprietary solution
and not yet released as part of a Cocoon Milestone. 
Conceptually...for future projects, it may be possible
to use CForms.  I would look forward to broad industry
acceptance, but in the mean time I am stuck.

HTH,
Julian

--- Derek Hohls <[EMAIL PROTECTED]> wrote:

> Julian
> 
> What are the problems with CForms; are they
> technical (installation?) or conceptual... I have to
> say I was able to figure them out from the samples
> and the brief on-line docs.  Not too hard - but if
> you have specific issues, the list is here to help
> ;-)
> 
> Derek
> 
> >>> [EMAIL PROTECTED] 2004/11/22 04:27:08 PM >>>
> Derek,
> 
> Users are able to make runtime changes.  As far as
> CForms, I am unable to use it so it's a lost cause. 
> Thanks for the help though, I appreciate it.
> 
> Julian
> 
> --- Derek Hohls <[EMAIL PROTECTED]> wrote:
> 
> > Julian
> > 
> > I was assuming your users *were* likely to be
> > making changes at runtime.  Or do you see this
> > as a once-off process, completed before the app
> > is even launched?  AFAICS, Cocoon in general seems
> > pretty scalable - see previous threads for more 
> > details - my experience is that the limiting
> factor
> > is
> > usually memorry (Java being v. memory hungry).
> > CForms are useful for extracting data from both
> XML
> > and Java Beans... not sure about both at the same 
> > time, though - perhaps post separately on this
> topic
> > and see if anyone else has tackled this use case.
> > 
> > Derek
> > 
> > >>> [EMAIL PROTECTED] 2004/11/19 04:21:56 PM >>>
> > Derek,
> > 
> > Thanks for the reply and tips.  Is it necessary to
> > use
> > CForms?  How scalable is a solution based on
> parsing
> > XML at runtime, especially if I need to access the
> > XML
> > in my Java domain model (aka have to parse the XML
> > into POJOs/XMLBeans) so users and the system can
> > update the info?
> > 
> > Thanks again,
> > Julian
> > 
> > --- Derek Hohls <[EMAIL PROTECTED]> wrote:
> > 
> > > Julian
> > > 
> > > You could use a combination of CForms and XML...
> > > you do not need to even have a database with
> this
> > > type 
> > > of setup.  Each user could have his/her own
> config
> > > file or you could just keep it all in one file,
> > > depending
> > > on number of user and number of config options.
> > > 
> > > Derek
> > > 
> > > 
> > > >>> [EMAIL PROTECTED] 2004/11/18 10:47:44 PM
> >>>
> > > Hi all,
> > > 
> > > I was wondering if anyone could point me to some
> > > resources or offer some suggestions for building
> a
> > > user preferences and webapp configuration
> system. 
> > I
> > > would like users to be able to update their
> > > preferences and the webapps config.  The user's
> > > would
> > > be able to inherit preferences based on which
> > roles
> > > they have.  The configs consist of available
> > > functionality for the web application (e.g.
> > > available
> > > modules, thrid party integration options).  On
> the
> > > other side, the preferences would include skins,
> > > pop-up preferences, form auto-fill data (i.e.
> > > favorite
> > > reponses to frequently filled out forms), etc. 
> I
> > > currently use Java 1.4, Cocoon 1.2.
> > > 
> > > Thanks in advance,
> > > Julian
> > > 
> > > 
> > >   
> > > __ 
> > > Do you Yahoo!? 
> > > The all-new My Yahoo! - Get yours free! 
> > > http://my.yahoo.com 
> > >  
> > > 
> > > 
> > >
> >
>
-
> > > To unsubscribe, e-mail:
> > > [EMAIL PROTECTED] 
> > > For additional commands, e-mail:
> > > [EMAIL PROTECTED] 
> > > 
> > > 
> > > -- 
> > > This message has been scanned for viruses and
> > > dangerous content by MailScanner, and is
> > > believed to be clean.
> > > MailScanner thanks transtec Comput

Re: bored with *talks* about docs (was: New documentation project?)

2004-11-22 Thread Derek Hohls
Joerg

Could you supply the actual URL of the DTD itself... all I
could find pages discussing changes to the DTD.

>>> [EMAIL PROTECTED] 2004/11/23 12:05:03 AM >>>
On 22.11.2004 22:43, [EMAIL PROTECTED] wrote:

> OK, I'll sing a chorus. As it happens, I spent the weekend
> constructing documentation on the Cocoon Portal, trying to fill in
> some holes and allow for people who aren't familiar with Cocoon and
> the pipeline paths specific to the Portal. Still a ways to go, but
> it's been a good start. I'll be glad to publish it once it's
> reasonably fit for human consumption. I don't yet know whether it
> would fit into the wiki, be suitable for inclusion in the mainstream
> docs, become a "howto" or even end up in dead tree form. All I can
> hope is that is proves useful. Since several people I'm working with
> are going to be depending on it, there is a certain incentive!

Hi Tim,

good to hear somebody starts ...

> I've done this in xdoc form, but I'd appreciate some help with the
> tools. I can't seem to find an XDOC DTD, so I'm concerned that I may
> have structural faults. Also, I'd like to find an XSLT to go from
> xdoc to PDF (FO), if I could.

All the xdoc stuff is maintained in the forrest project now. They also

have the DTDs:
http://svn.apache.org/viewcvs.cgi/forrest/branches/FORREST_05_BRANCH/src/resources/schema/dtd/

IIRC Cocoon still uses v10 of the DTDs. For the conversion to HTML or 
PDF Forrest is used too. To test and build the docs yourself you can
try 
the instruction at http://wiki.apache.org/cocoon/CocoonWebsiteUpdate.

Joerg

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


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


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



Re: Using htmlArea 'output' with SVG

2004-11-22 Thread Derek Hohls
Ugo

Thanks; are there any example demo'ing how this
approach can be integrated into Cocoon... I'm afraid
this hint is less than obvious to me, especially as it
seem htmlArea is not producing tags at all...

Thanks
Derek

>>> [EMAIL PROTECTED] 2004/11/22 04:56:10 PM >>>
Derek Hohls wrote:
> Does anyone know how to get htmlArea to store XML 
> or how else to perform the necessary conversions?

Parse the value of HTMLArea's content using an XML parser. HTMLArea 
should produce well-formed XHTML most of the times, but when it doesn't

(like when you paste content from MSWord, for instance), passing it 
through Neko or JTidy will fix it.

Ugo


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


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


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



css file wih images

2004-11-22 Thread pguillard
Hi,
I have a css stylesheet that contains images.  I don't see them on my 
HTML pages. When i put the css style directly in my  XSL stylesheet in 
the html header they are rendered correctly, that means my entries for 
css and gif in sitemap are ok. Any idea ?

Regards
Phil
--
in main.css:
div#foo
   {
   background: transparent url("imgcss/foo.gif") repeat-x bottom left;
   height: 26px;
   margin-bottom: 10px;
   }

In sitemap:
   

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


Re: css file wih images

2004-11-22 Thread Ugo Cei
Il giorno 23/nov/04, alle 08:22, pguillard ha scritto:
I have a css stylesheet that contains images.  I don't see them on my 
HTML pages. When i put the css style directly in my  XSL stylesheet in 
the html header they are rendered correctly, that means my entries for 
css and gif in sitemap are ok. Any idea ?
When you put relative URLs in your CSS files, they are interpreted as 
relative to the location of the CSS file itself. When you wite CSS code 
inline, relative URLs are interpreted as relative to the location of 
the containing HTML file.

Ugo
--
Ugo Cei - http://beblogging.com/


smime.p7s
Description: S/MIME cryptographic signature


AW: [SPAM] css file wih images

2004-11-22 Thread Merico Raffaele
Hi Phil

That has probably to do with the location of the "imgcss" directory.
It seems that the "imgcss" dir. is located under the xml dir.
The css url() instruction tries to resolve the "imgcss/foo.gif" from the
position of the css dir. 
And this can not be done, because the imgcss dir. is located unter the xsl
dir. 
Adjust your relative urls or use absolute instead.

Hope this helps
Raffaele 


> -Ursprüngliche Nachricht-
> Von: pguillard [mailto:[EMAIL PROTECTED]
> Gesendet: Dienstag, 23. November 2004 08:23
> An: users cocoon
> Betreff: [SPAM] css file wih images 
> 
> 
> Hi,
> 
> I have a css stylesheet that contains images.  I don't see them on my 
> HTML pages. When i put the css style directly in my  XSL 
> stylesheet in 
> the html header they are rendered correctly, that means my 
> entries for 
> css and gif in sitemap are ok. Any idea ?
> 
> Regards
> Phil
> --
> in main.css:
> div#foo
> {
> background: transparent url("imgcss/foo.gif") repeat-x 
> bottom left;
> height: 26px;
> margin-bottom: 10px;
> }
> 
> In sitemap:
> 
>  
>
> 
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 
> 

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