Where cocoon forms = cforms = the new name for woody
[EMAIL PROTECTED] wrote:
hi !
For formulaire, you have to use Cocoon Forms or Woody.
You can imagine to split your questionnaire in multiple pages and let
cocoon handle the flow via a Flowscript that will control by example
that the user
requires a restart of your web container to change them -
not just a redeployment.
Ralph
-Original Message-
From: Leon Widdershoven [mailto:[EMAIL PROTECTED]
Sent: Sunday, May 09, 2004 10:48 AM
To: [EMAIL PROTECTED]
Subject: Re: Business Objects vs Data Objects [was Re: JXTemplates-what' sin
as a controller and not containing the business logic.
Leon
Ralph Goers wrote:
What presentation framework allows you to replace a jar without redeploying?
Ralph
-Original Message-
From: Leon Widdershoven [mailto:[EMAIL PROTECTED]
Sent: Saturday, May 08, 2004 3:33 PM
To: [EMAIL PROTECTED]
Subject
The map:match... part should be in an authentication frameword map:act
I think. At least - there should
be a map:act somewhere to insert the auth context.
And where the bizzData goes in part two I do not know:(
And in stead of nr: someData.size() - if you use forEach - you might want
a forEach
I *know* it has been asked before, but I didn't follow the thread.
If no wizard steps in, you could have a look at:
marc.theaimsgroup.com
Threads which may be of interest:
http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=107909805318390w=2
http://marc.theaimsgroup.com/?t=10627256282r=1w=2
I fully agree that the needs of users are seldom the same. So if we're
talking an experienced user I'd say a bunch of examples on all possible
ways is ok.
But this topic, as I understand it, is focussed on starting users. So I
think that it's not so much important how many examples and ways are
JD Daniels wrote:
Derek:
Short answer: I'm Hiding from it. heh heh. I have a project now that
is a month overdue because I tried to jump on the woody -- Cforms
bandwagon. I am just not Java literate enough. I came from php... it
is the separation of content and logic that made me move to
Ugo Cei wrote:
snip/
Ralph,
while yours is certainly a well though-out rationale, I tend to agree
more with Reinhard's arguments, so I won't repeat them here.
I just wanted to add my 0.02.
It's worth a lot more to me:)
It's undoubtedly true that you can abuse flowscript and implement too
Hi Christopher,
the better combination seems to be flowscript + woody + O/R
with O/R to be either Hibernate or OJB.
There are some examples in the Wiki. Unfortunately, I find the
combination neither
very clean nor easy to learn, though experienced users vouch it is both
easy and
clean.
I think
You might try a map:resource entry called e.g. success-resource
in which you HTMLGenerate src=cocoon:/success-config.html and
call that resource where you now call cocoon:/success-config
That way you load a properly formatted XML document based on
the html document in your pipeline, and not the
You could try an Object/Relational bridge, like OJB or Hibernate,
and combine it with Flowscript.
You can use the JX generator to write bean information in the pages
dynamically (using, of course, flowscript and cocoon.sendPage)
There are tutorials and introductions on the WIKI on that subject.
Ugo Cei wrote:
Leon Widdershoven wrote:
It is, of course, strongly recommended that you have some knowledge
about java if you're going to build a O/R bridge. But not that much.
I would strongly advise against *building* an O/R bridge. It's not
easy at all to get it right and there are many
lechael wrote:
Basically content of the page is generalized from the database.
There are variable number of user inputs. Each input can be
-textfields, radio, select list etc.
Names of these inputs are inquired from database, and transformed by a
xstl because I know all possible names
I cannot agree. Sometimes I need to allow user on first page to choose
which page will be next. For example, on first page user can check some
checkboxes and regarding to user choice I would like to show forms
which are availiable for choosed by user options. I don't want him to
waste a time for
Hi Frank,
you might want to visit www.w3schools.com. Lot's of simple tutorials there.
If you really need books, consider Safari.oreilly.com. You have access
to quite a lot of books
there. You could at least take the 14 day trial (free) and review the
books you want. There
even is a cocoon book
}
/xsp:logic
Leon Widdershoven wrote:
Hi Frank,
you might want to visit www.w3schools.com. Lot's of simple tutorials
there.
If you really need books, consider Safari.oreilly.com. You have access
to quite a lot of books
there. You could at least take the 14 day trial (free) and review
Easiest is to make 3 tables:
table 1 Posts: Column id, Column Post
table 2 Comments: Column id, Column Comment
table 3 Combination: Column id, Column PostID, column CommentID
When deleting a comment, (and all references to it):
DELETE FROM Comments WHERE ID = request:get-parameter
You did read:
http://www.aerialbear.com/cocoon/documents/developing/webapps/authentication.html
(search for subsitemap) ?
Gautam Ganguly wrote:
hi Leon,
I tried that,but that creates a totally new security handler,which
takes me through the whole login process again.The docs talk about
accessing
can't you put a Transformer with an appropriate xsl stylesheet (which
combines the
entries) just after the receiving match in the sitemap?
Leon
Sebastian wrote:
Hi there,
I've following problem. I'm using woody with binding to hibernate.
In my database I've field called NIP (it is polish rate
It would be interesting to see whether the session transformer can get
information out
of the authentication context using getxml.
xsp-session:getxml context=authentication
path=authentication/data/foo/
and then use transform type=session/ in the subsitemap. The handler
may not be knowm,
bit
I don't know whether you use flowscript or xsp.
If you use flowscript, you could look at the custom validation demo.
That way you can
validate the data on the form using any logic (javascript) you wish.
If you use xsp you could use, before the map:act type=process an entry like
map:transform
Gautam,
I'm only guessing here, but you couldn't rewrite the link in your parent
sitemap to pass
the jsession id as a request param or something like that?
or put a encodeURL before the next call (e.g. the redirect or something)?
If that's not the case I'm out of ideas:(
In any case the best
If you have xhtml you probably don't have namespace prefixes to the element.
Is a default namespace set (the one your xsl works on)?
Philipp Burkert wrote:
Hej,
i wanna transform the xhtml file which generated by
htmlgenerator with xsl style sheet. [...] but seems my
test.xsl doesn't make
Hi,
Rereading my own mail: start with the bottom advice = remove newlines
between tags.
what I noticed is that you use get-column name like:
esql:get-column-name
esql:param name=column
xsp:expri/xsp:expr
/esql:param
/esql:get-column-name
What I would do if I'd like to call
esql:get-column-name
Hi,
yes you can and no it's not difficult.
I can give you one advice: Look at the examples. Woody (renamed to
cforms:) is a good form block.
And if you want to do it by hand, look at the generated pages using your
browser's View Page Source option.
Incredibly usefull that option, and available
As far as I know you need not invalidate pages used with sendPageAndWait(),
only the bookmarks you set.
Leon
Joose Vettenranta wrote:
Hi,
I'm using flow and I want to be sure that user won't go back after flow
is executed. I tried calling
cocoon.WebContinuation.invalidate() but it didn't work.
(Finalpage, {foo...}, null, 1);
- reload - it still is loading that finalpage
It's very important that those SQL-queries are not done again - killing
this flow will do that.
Cache is not a problem, because cache won't do those SQL-queries...
- Joose
16.4.2004 kello 11:48, Leon Widdershoven kirjoitti
edit catalina.sh in Notepad or something
On unix:
Add a line:
JAVA_OPTS=$JAVA_OPTS -Dxindice.configuration=path/to/system.xml
on top of the file (below the comments or something).
That makes catalina call java like:
java -Dxindice.configuration stuff
on windows something like:
JAVA_OPTS is a shell variable.
It may also be my fault that this went wrong, but what you want to do is
change the variable on top of the file so that the next reading of that
variable yields something with -Dxindice.configuration
I have reviewed the syntax and I think what you should have done
Hi,
I am trying to do logic within an XSP based on the settings
within an authentication context, using the authentication
framework.
Unfortunately, this is not directly supported (at least not using
my sitemap). The Authentication Session data is of course used
in the xsp page, using
or search for sendmail-action to see how mails can be send from the
sitemap when
a form action=mail/send-a-mail ... in the page is used.
It could be that you need to install the java mail api (from sun).
Leon
Mark Lundquist wrote:
On Apr 16, 2004, at 2:50 AM, Nils Kster wrote:
Hi there,
I actually agree with Joose; the lack of wizards in MySQL is very
disturbing.
OK. Bad joke. But I do agree; I think there are situations where MySQL
is not the solution. As it happens nested queries have only just been
introduced, which is kind of a nice feature to have. Not required - but
nice.
A bit off topic and maybe not what you want - but if it's normal
static content, isn't forrest better suited for that?
Markus Strickler wrote:
Hi-
I'm trying to use Cocoon to generate a static website. After some
twaeking and reading through the list archives I was able to get the cli
and ant
The logging config is in
cocoon/WEB-INF/logger.xconf
There you define the loggers. In the sitemap you can assign such a
logger to a component;
they tend to log to cocoon/WEB-INF/logs/*
If they don't log there, it's probably tomcat/logs/localhost-*.log (or
.txt). Otherwise
it's
Could it be that the xsp:expr embedded in the xsp:logic block is the
culprit? I read somwhere that that is not a wise combination. (which is
logical as in an xsp:logic you don't need an xsp:expr).
Please note: I did not try this, and have never used the esql:call. But
it seems
that all tags are
Did anyone notice that Windows Longhorn has a graphics subsystem called
Avalon?
When I read it I thought of apache avalon - funny that:)
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
leon
Leon Widdershoven wrote:
Could it be that the xsp:expr embedded in the xsp:logic block is the
culprit? I read somwhere that that is not a wise combination. (which is
logical as in an xsp:logic you don't need an xsp:expr).
Please note: I did not try this, and have never used the esql:call
To me, the error message looked like the java program could not be
generated by the xsp generator. It looks to me like it could not find
update_bookmark_list_xsp which is I think the auto-generated file.
I also don't know where
call bookmark.update_bookmark_list
comes from. But if that were the
Another non-answer (I had something similar a while ago), if the passwords
are stored in a MySQL database and you just wish to verify the password
you could use MySQL's MD5() function (maybe also supported by other db's).
This is of course of no use at all if you're comparing with encoded pw's
in
Hi,
under Tomcat, you can run multiple instances of the web app cocoon (in theory
- didn't test it) but you might be looking for somthing like the
automount facility.
That means you all have different apps (a copy of the base app you work on)
mounted under different directories. You can each
Hi,
I have a separate machines for development and deployment. On the
development machine, I have the datasources
named exactly like the deployment machine, but the URL they point to
differ (cocoon.xconf).
If you run multiple cocoons in one tomcat, you can configure each
cocoon.xconf
Well,
I think it is a bad idea to add for 100+ users a datasource
jdbc:somedb://someip/uniqueID in the cocoon.xconf. That
makes it large and not easily maintainable.
What I would use for a unique data source per user is forget about
cocoon pooling, but make some static java
function which
Hi,
the way I do it is create in an xsp:logic block my WHERE clause (as a
String), using
the xsp:get-parameter name=type/ and such, and then use an
xsp:exprwhere_string/xsp:expr
in the esql statement.
xsp:logic
String mytype = xsp:get-parameter name=type/;
String where_string = WHERE;
if (
.
I hope someone can give me a hint as I get a headache from complicated
javascript (My prototype is in JavaScript; it processes Excel spreadsheets
and consists of a single file with 10+ classes and over a 1000 lines -
I truly wish to organize it as a Java lib!)
Regards,
Leon Widdershoven
source for some meat.
-Ursprungliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Auftrag
von Leon Widdershoven
Gesendet: Freitag, 9. April 2004 12:37
An: users
Betreff: How to obtain the Manager, or a Component
Hi,
I am looking for a way to get a database pool from cocoon
only one instance
of it and it gets instantiated at startup) and e.g. Servicable to receive a
ServiceManager.
-Ursprungliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Auftrag
von Leon Widdershoven
Gesendet: Freitag, 9. April 2004 13:09
An: [EMAIL PROTECTED]
Betreff: Re: AW
I have found that supporting multiple browser is a nightmare when using
CSS. You need to have the test results of all supported browser at hand,
or you will forget something.
If you test on Mozilla, you will be shocked when viewing the results
on IE6, if you develop for IE6 you get problems with
I forgot to mention something.
If I use xsp to generate my xml tree, I use xsl to format
it. It's easy and clear, and it allows you to include or
import other xsl template files. (Each more complex table
type it's own xsl file so it's easier to keep an overview).
If I use JavaScript or Java to
have you tried image/pdf? That seems to be used by some platforms:)
I assume you have acrobat reader installed:)
depub2 wrote:
Using a reader, it is impossible to read a PDF file.
I am unable to get MS Internet Explorer 6.0 to display a PDF
file that comes from a reader. IE6 works fine when
It also looks like ie6 requires the content-length to be set. Does a
Read do that?
(Search Microsoft.com for explorer pdf mime:)
Does a right-click Save-As function?
depub2 wrote:
Using a reader, it is impossible to read a PDF file.
I am unable to get MS Internet Explorer 6.0 to display a PDF
Maybe I'm blind but you defined both the hsqldb driver
and the JdbcOdbc driver in a single param-value
The ibm thing is commented out and the hsldb thing should also
be commented out (or in a separate init-param I think)
Floris T'Joen wrote:
Hi ,
I knew, I already added in web.xml following
And that could also be (re-)loaded without stopping the other
cocoon-dependent applications? That would be great:)
Jorg Heymans wrote:
Leon Widdershoven wrote:
Thanks,
it sounds pretty complicated. though, especially the configuration of
cocoon.xconf.
I have a problem declaring app specific
I can understand the question. I also had the same feeling, especially
when reading
the default configuration. It is not so much complex as very large.
I think the trick is to - indeed - read the INSTALL file. I'm not quite sure
whether all references are fully stated in the
Is the error at the same position in the source the same each time
(div1/div0)? Or does
it vary and do you get a different part of the document each time
(probably depending
on the time the second request comes in)?
There are no intermediate files, which get overwritten by the second
request
54 matches
Mail list logo