Re: multiple submit button on a form

2002-04-03 Thread Mario Brust

hi,
you give the buttons some names and select for the names.
in my option they can have the same with different values, but I'm not sure
in this point.

I'm sure you can't select for value - cocoon doesn't know what is "value".

cu Majo

# Fiedler, Raul wrote:
#
# Hi
#
# I have a HTML form with fields. In order to process the fields in 2
# different ways I need 2 submit buttons.
# How can one assign different actions to the 2 buttons.
#
# Ultimately I want to have 2 pipelines.
#
# Can it be done with:
# HTML form
# 
# 
#
#
# sitemap
# 
# 
# 
#   
# 
# 
#   
# 
# 
#
# thanks

---

System Development
VIRBUS AG
ICQ   24139151
[EMAIL PROTECTED]
www.virbus.de


-
Please check that your question has not already been answered in the
FAQ before posting. 

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




AW: Cocoon and CMS

2002-01-04 Thread Mario Brust

hi,
maybe prowler is usefull -> http://infozone-group.org.

cu majo

# Hi,
# 
# In the past I have experimented with some opensource CMS 
# systems like the
# ones from mmbase.org and opencms.org. 
# As far as I can see the opencms.org cms cannot be used 
# without the front-end
# they provide and integration with cocoon will be hard.
# The mmbase.org cms could be used with cocoon for content 
# publishing (right
# now they only provide a jsp tag library but I suppose this 
# could be turned
# into a logic sheet).
# Only it doesn't store XML.
# 
# Did anybody find a XML based cms that seperates content 
# management from
# content publishing and could be used with cocoon for publishing?
# 
# (Now that Xindice is an apache project, maybe a cms using 
# xindice, cocoon
# and maybe other stuff would be a great showcase?)
# 
# TIA,
# 
# Michael


-
Please check that your question has not already been answered in the
FAQ before posting. 

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




AW: Locale-Action

2001-09-11 Thread Mario Brust

hi,

no I get the language and want to set it (anywhere). Later I will access the
locale - this part is  working now.

The Question is:
  How can I set the locale in the sitemap?


thx Mario Brust

---

System Development
VIRBUS AG
ICQ   24139151
[EMAIL PROTECTED]
www.virbus.de


# > I'm using cocoon2b2 and want to use the Locale-Action. But
# I did not found
# > any way to extract the language out of the uri.
# > I want to have a uri like
# > http://bla.bla/cocoon/bla/sitemaproot/de_DE/site.html.
# >
# > If I extract the locale I don't know what to do with.
# > 
# >   
# > 
# > 
# > 
# > 
# > 
# >   
# > 
#
#   I'm not 100% sure what you're trying to do there, but
# is this what
#   you're trying to achieve ? :
#
#   
# 
#  
#  
# 
#   
#
#   The only issue this the generate line above is that the
# 'country'
#   field might not be set (eg. if the user has only 'de'
# specified as
#   their preferred langauge, and not de_DE). An
# alternative would be to
#   use {locale} instead, but make sure you have some technique for
#   handling locales you do not yet support.
#
#   For more complete internationalization have a look at the
#   I18nTransformer. It's been recently added to the
# cocoon2.0 branch, and
#   is also in trunk.
#
#   Hope that helps.


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

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




AW: Locale-Action

2001-09-11 Thread Mario Brust

hi,

this is not the problem. The values are correct but they don't work in this
case.
This values don't work, too.

  
  

thx,
cu Mario Brust

---

System Development
VIRBUS AG
ICQ   24139151
[EMAIL PROTECTED]
www.virbus.de


# -Ursprüngliche Nachricht-
#
# Use ../1 instead of 1:
#
# 
#   
# 
# 
# 
# 
# 
#   
# 


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

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




Locale-Action

2001-09-11 Thread Mario Brust

hi,

I'm using cocoon2b2 and want to use the Locale-Action. But I did not found
any way to extract the language out of the uri.
I want to have a uri like
http://bla.bla/cocoon/bla/sitemaproot/de_DE/site.html.

If I extract the locale I don't know what to do with.

  





  


thx in advance
Mario Brust

---

System Development
VIRBUS AG
ICQ   24139151
[EMAIL PROTECTED]
www.virbus.de


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

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




AW: Can the sitemap pass parameters to XSP, like it passes them to XSL?

2001-08-10 Thread Mario Brust

hi,
you can use the i18transformer.
I map requests on en/** to {1}?lang=en. To transform the page you can use
the LocalAction an the i18nTransformer. This is only necessary for the start
page, later the language (and locale) is stored in the Session data or
Cookie. The default value is the locale of the server.

cu majo

---

System Development
VIRBUS AG
[EMAIL PROTECTED]

Besuchen Sie uns auf unserer neuen Website!
www.virbus.de



-
Please check that your question has not already been answered in the
FAQ before posting. 

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




AW: Is there a way to read xml-configurations from the sitemap?

2001-08-10 Thread Mario Brust

hi,

# [..] I've written a class for filtering XML documents - implemented as a
# Transformer.
# It is target at extracting xml-fragments. The parameters I
# need are nested, [..]

I have no solution, but a work around. You can write the xml-fragments in
extra files. The parameter would be the name of the file -> this is String.

cu majo

---

System Development
VIRBUS AG
[EMAIL PROTECTED]

Besuchen Sie uns auf unserer neuen Website!
www.virbus.de



-
Please check that your question has not already been answered in the
FAQ before posting. 

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




AW: Problems with Cocoon2 b2

2001-08-08 Thread Mario Brust

hi,

# I had Cocoon2 b1 up and running with Tomcat 3.2.1 and Tomcat 4.0 b6.
# When it came out I tried to install Cocoon2 b2 but and internal server
# error appeared in both cases.

I had the same problem with Tomcat 3.2.x and I solved it by using the Sun
JDK 1.3 instead of the IBM JDK 1.3. I don't know if this will help you.

---
cu majo

~~~~
~~Mario~Brust~~~
~~email~:~[EMAIL PROTECTED]~~~
~~phone~:~yes,~a~white~one~~




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

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




Log-Transformer

2001-08-07 Thread Mario Brust

hi,

I tried to use the LogTransformer with Cocoon 2.0b2.
If I use the simple form it works.
  
But if I try to use some parameters I get error
"org.apache.cocoon.ProcessingException: Language
Exception:org.apache.cocoon.components.language.LanguageException: Error
compiling sitemap_xmap:
Line 596, column 7:  '}' expected.".
I don't have the error, if I don't use the parameters.

The form how it is described in the documentation don't work:

  
  


thx,
cu majo

---

System Development
VIRBUS AG
[EMAIL PROTECTED]
www.virbus.de



-
Please check that your question has not already been answered in the
FAQ before posting. 

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




how can I give a parameter to an action in the sitemap?

2001-07-23 Thread Mario Brust

hi,

I want to use the LangSelect-Action (included in c2). They has a method
storeLanguage (public static java.lang.String
getLang(java.util.Map objectModel,
org.apache.avalon.framework.parameters.Parameters par)).

Now I want to get the language out of the uri (e.g..
www.bla.de/en/index.html for the English page).
So I use in a pipeline the following map:match.

  
  


  

I couldn't found how to do this.

thx in advance
Mario Brust


---

System Development
VIRBUS AG
[EMAIL PROTECTED]
www.virbus.de



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

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