Dear Friends,
My name is Josema Alonso and I'm from Spain. Please, excuse my english if
sometimes I do not write something properly, but I always try to do my best.
I'm a Cocoon newbie. Well, not so. I used version 1.8 for some time and
learned a lot with it. Now I've been following this list
Thanks to Konstantin Piroumian, we now have a form for
release comments on the web site. You can access it via:
http://xml.apache.org/cocoon/feedback.html
It seems the form doesn't work properly. It seems it is using a mailto
action to an unknown address.
Error message I've just
Dear all,
Finally I could start a 100% Cocoon based project. I've been developing web
applications using scripting languages, mainly ASP on the server and
Javascript on the client, for some 4 years now. I always try to use them the
cleanest possible way; unfortunately it's always a mess at then
Dear all,
Please, excuse my double post. I do not what I did but it seems I sent it
twice from two different accounts. I'm sorry.
Best.
-
Please check that your question has not already been answered in the
FAQ before
Hi, All.
...
* Regression Testing:
JUnit (http://www.junit.org/)
JXUnit (http://jxunit.sourceforge.net/)
JMeter (http://jakarta.apache.org/jmeter)
...
I haven't seen testing frameworks for web applications mentioned, and maybe
it would be good to add these too:
Canoo Web Test
Don't know what was wrong, maybe something went wrong when updating to
latest CVS, but it's working again after checking out today's head.
Best.
- Original Message -
From: Josema Alonso [EMAIL PROTECTED]
To: Cocoon-Users [EMAIL PROTECTED]
Sent: Sunday, August 25, 2002 1:45 AM
Subject
Hello.
I have XIndice working with Cocoon. I followed the directions at
Cocooncenter and everything is going fine when requesting XMLDB URIs. Now
I'd want to have a XSP querying the database so I could encapsulate the DB
calls and pass parameters easily. I searched trough the archives and found
Dear Friends,
Since I got no response to my previous email message, I tried it hard and I
finally could make a xmldb logicsheet to work with Cocoon. It's the eXist
logicsheet. I could only try it for retrieving documents by now but it works
as expected.
I'm too tired now. It's been a lot of
I've sent email. Why do you need xsp logicsheet and why don't you use
xmldb protocol with cinclude? This works out of the box, with no effort.
I'm sorry Vadim, I've just browsed through the archives and I saw your
reply. I do not know why I haven't got it. It seems I have some problem with
my
Gritsenko [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, October 10, 2002 7:02 AM
Subject: Re: Xindice logicsheet - initial success
Josema Alonso wrote:
Dear Friends,
Since I got no response to my previous email message,
I've sent email. Why do you
xmldb entry I have also followed the set path but I'm
experiencing problems
cos Cocoon won't talk to Xindice - Resource not found error.Tried
iteration and more of the same .
Cheers in advance if possible just to double check .
Vadim Gritsenko wrote:
Josema Alonso wrote:
Hello.
I
Anyway, I have read some of your previous replies regarding this subject.
Have tried the util logicsheet and it's working out of the box, even for
XPath queries. Great feature, thanks!
But what I would like to do is to edit, remove, update...documents in
Xindice.
Try also
Dear all,
I'm trying to use the transformer but it seems something's going wrong. I've
searched through all the sitemaps and couldn't find it in any of them. I
checked the API and the .jar and I see it's still there, so I defined it
like this:
map:transform logger=sitemap.transformer.simpleform
Hello, all.
It's been all day long and I'm still stuck with this.
I can make the XMLForms Wizard demo to work nicely, but everytime I try to
change just one property to test a custom solution, the 'invalid for data'
message appears. I guess this is because of some mapping problems between
forms
Hi, all.
This is what I'm trying to do:
1.- I want to have a form similar to the wizard sample. In the first page I
want to have a input box that can hold a number and another for a name.
Something like this:
?xml version=1.0?
document xmlns:xf=http://xml.apache.org/cocoon/xmlform/2002;
I tried to figure how the xf:repeat and xf:group tags work, maybe that's
the
way to go. Still not much info about it anyway.
I think I've almost got it:
xf:repeat nodeset=languages[position() lt;= /descriptionsNumber]
id=descriptionLangs
xf:textbox ref=. class=info
xf:captionLanguage
...
How many boxes do you expect to render?
One solution is to change the getter method for the languages property, so
that it pads the array with blank entries to match the value of
descriptionsNumber if the array's current size() is less than that of
descriptionsNumber .
It seems you were
Hello.
I have a working XMLForm. I want to add the generated data in the last step
to a Xindice database.
I also have the XMLDBTransformer configured and working just fine.
In case you haven't heard of the XMLDBTransformer, it takes a XML file or
string and works with it. For example, the insert
Hello, all.
Is it possible to choose what an action perform at runtime based on sitemap
parameters? I have the pipeline below for processing XMLForms. It is working
just nice for one form if I do not use the {1} param but hard code the
Action name. I would like to make it work as described so I
Just use appropriate selector:
http://xml.apache.org/cocoon/userdocs/selectors/selectors.html
I already tried but haven't found a nice way of using them for this purpose.
I can make something like the pipeline below, but i have dozens of similar
cases and it doesn't seem like a good approach.
It's also possible to only have the map:generate/ as child of
map:select/ and map:act/ and the rest comes after map:select/:
...
I see, thanks.
But for my eyes still everything seems to be the same except the action
interna. Maybe it's better to use only one action and choosing there
You don't have to include the parts of your pipeline that are the
same in the map:when elements. You can just include the map:act
element, since it appears that you're not returning any parameters from
your action, and then you won't have to duplicate the part that doesn't
vary.
I'm
Well, after reading replies to my emails I have a better idea of wht to do
and unfortunately not a chance to do it.
I explain it.
A quick summary. I would like to manage many XMLForms in my sitemap. I would
like to declare a pipeline like this:
!-- XMLForms pipeline --
map:pipeline
Hi, Mark.
Thanks for writing. After reading your message I can only say...wow!
I think it is very interesting the way you made things work and I really
would love to see it.
More than that, I'm with you when you say you're doing things from a very
different approach when comparing to the average
Well, this is a followup to my previous message regarding this subject.
I coded the Dispatcher, but I must say I didn't know what I was doing
exactly. Surprisingly, it works but only from time to time...the behaviour
is really weird...
I'm copying the code below and hope someone could review it.
Hello, all.
This is driving me crazy...
In the following sitemap snippet the second select goes ALWAYS for the
otherwise section. I have checked the sitemap.log and the value of the page
attribute is, in the last stage of my XMLForm processing, equal to 'end'.
Well, it doesn't go for the when
: Josema Alonso [mailto:alonso;aafunky.com]
Gesendet: Donnerstag, 7. November 2002 21:16
An: Cocoon-Users
Betreff: nested map:select type=parameter in sitemap are not working
Hello, all.
This is driving me crazy...
In the following sitemap snippet the second select goes ALWAYS for the
otherwise
Because that one give me access to a request parameter and I need to get the
{page} value returned by my action to do the selection.
Best.
-Mensaje original-
De: Ludovic de Beaurepaire [mailto:ludovic.debeaurepaire;axonie.com]
Enviado el: viernes, 08 de noviembre de 2002 11:01
Para:
[snip]
//get the Action
if(actionName.equalsIgnoreCase(EquipmentTypeAction)) {
EquipmentTypeAction equipmentTypeAction = new EquipmentTypeAction();
//add this action to the manager
equipmentTypeAction.compose(this.manager);
This is incorrect. It allows the equipmentTypeAction
Ludovic is right, ParameterSelector only works if you use
name=parameter-selector-test as parameter. Take a look at the source code!
What you could do to solve the problem is writing the action return value by
use of SessionPropagatorAction into session and then use
SessionAttributeSelector to
would also recommend that you use the standard xml:lang attribute
instead
of a non-qualified one.
Ivelin
- Original Message -
From: Josema Alonso [EMAIL PROTECTED]
To: Cocoon-Users [EMAIL PROTECTED]
Sent: Saturday, November 09, 2002 12:40 PM
Subject: XMLForm - xf:repeat tag on DOM
I am not sure if I would do this like you did.
There are is a certain lifecycle contract between every Cocoon component
and
the container.
By invoking directly you may be violating this contract.
I would probably let the sitemap do the forwarding to actions.
In your case action sets might be
Yes. This has been requested multiple times.
Please open a feature request ticket in Bugzilla and describe with a few
detailed use cases, what is it exactly that you would like to have.
Others will add their thoughts to the ticket and someone (maybe I) will
eventually implement it.
I've done
Just open org.apache.cocoon.samples.xmlform.WizardAction.java
then look more carefully in webapp/samples/xmlform
I did but haven't found anything new...any tips?
I see in the sitemap the WizardAction and the UsageFeedbackAction declared
and a hardcoded pipeline for each one. I would not like to
It needs further clarification before we can start design.
Hopefully other people who asked for this feature will add a few more use
cases.
I know, thank you.
Btw, what about filling a DOM node in the model from outside?
For example, I'm using Xindice, and there's that nice pseudo protocol
Hi, all.
I'm writing some actions for XMLForms. Everytime I modify the file to make
some tests, I have to stop Tomcat, copy the action to the correct
subdirectory under WEB-INF/classes and start it again. If not, Tomcat uses
the old action.
I'm wondering, is being cached somewhere? Is there a
Ouch...
Thanks, Reinhard.
- Original Message -
From: Reinhard Poetz [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, November 14, 2002 5:47 PM
Subject: RE: developing/installing custom actions without restarting app
server?
I'm wondering, is being cached somewhere? Is there a
Hi, all.
I tried the XMLForm wizard demo where I see some select boxes created for
processor, ram, servlet engine and java version elements in ths system
information page.
I see the values for those are hard coded in 'system.xml' and I want to
create a select box from a DOM Node. I got the
restarting app
server?
On top of this, Tomcat 4.x can be configured to allow a web app's
classloader
to reload the complete web app if a class file or a JAR has changed. Which I
believe is quite handy when developing ...
Werner
Charles Brewster wrote:
Josema Alonso wrote:
Hi, all.
I'm writing
Look closer at the demo and examine the itemset elements under the select
elements.
I see. I'm sorry I didn't notice them before.
It's working, thank you very much.
- Original Message -
From: Josema Alonso [EMAIL PROTECTED]
To: Cocoon-Users [EMAIL PROTECTED]
Sent: Thursday
I've just took a look.
It is using the AxisRPCReader. I thought a reader was something like a
complete pipeline. I mean, it gets the request, and makes the needed steps
to generate, transform and serialze.
I'm using a transformer that already generates the wanted XML response. How
could I embed
Hello.
I had a very similar problem a few days ago. The way to go is the itemset
tag as used in the wizard demo. Take a look at the 'userIdentity.xml' file
where the Hobbies get listed:
xf:selectMany ref=/hobby selectUIType=checkbox
xf:captionHobbies/xf:caption
xf:itemset nodeset=allHobbies
If I have well understood, I could replace the hard-coded values of
allHobbies by a query to a database. isn't it?
Yes. Just fill the appropriate Java structure of your choice with the
database values after querying it.
What would be the solution if I want to retrieve the allHobbies values from
Yes I'm interested for your complete example!
Ok, I'll send the example later this evening.
I think that the access to Xindice or to a XML file are nearly the same?!?
Well, mostly...let's say you can get XML documents from Xindice. Think about
it as a XML documents repository that are stored in
Hello.
Ok, the AxisRPCReader essentially wraps an Axis SOAP server, and
makes it available in the sitemap to handle incoming requests.
...
Ok, I understand this.
You should also be able to access pipelines from within an Axis
webservice by making an internal request via the cocoon:/ protocol.
I'd recommend getting the soap-server sample working in the Cocoon
webapp (remember to use the -Dinclude.scratchpad.libs=yes directive)
and then start modifying it to do what you need.
Ok, I'll try it.
I need to think about writing a CocoonProvider or similar for the
AxisRPCReader to allow
Hi,
For what I know, the access to the properties by JXPath relies on the getter
and setter methods. So if you read the code in UserBean.java you'll see:
public String[] getHobby()
{
return hobbies;
}
public void setHobby( String[] newHobbies )
{
hobbies = newHobbies;
}
And
When you say 'So, but how is the xmlform framework determining the name?' I
do not know exactly what you mean.
Maybe you need the help of someone more expert than me in the framework. As
I told you in my previous message I think is JXPath making the mappings, but
haven't investigate this point
I am trying to use xmlForm on my DB actions (enter, update).
With enter I understood, but questions on update:
I have general actions some like DatabaseAddAction, DatabaseUpdateAction
and
use these on my actions.
So after retrieve data from DB by ID (use DatabaseSelectAction), what the
next?
i18n and XMLForm declaration in
sitemaphttp://xml.apache.org/cocoon/howto/howto-i18n-xmlform.html
ps: please, no HTML email next time, thanks.
- Original Message -
From: Hong Gia Dinh
To: [EMAIL PROTECTED]
Sent: Monday, December 09, 2002 8:19 AM
Subject: i18n and XMLForm declaration in
FORMSHello,
Yes, you must download 2.1 from CVS and build it. Information on how to get
it and build it step by step is available at:
http://xml.apache.org/cocoon/installing/index.html
Then you could test the XMLForm samples. I've been succesfully using them
for a few months backed by a Xindice
, 18 de diciembre de 2002 5:01
Para: [EMAIL PROTECTED]
Asunto: Re: FORMS
Josema,
Many people requested an example of XMLForm with Xindice.
Can you submit some source code or even better a HOW-TO doc?
Thank you,
Ivelin
- Original Message -
From: Josema Alonso [EMAIL PROTECTED
Hello,
I assume the user can choose between the formats at the last page of the
form, right?
If so, I think you could use a sitemap parameter. You could then make this:
First, you get the value in the model at that page step.
Second, you could make the value available to the sitemap via a
I do not know if there's a better way, but I usually get them in the act
method as in:
http://xml.apache.org/cocoon/userdocs/concepts/actions.html
Best.
Josema Alonso
AAFunky Software
- Original Message -
From: A. Geluk [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, December 24
Hi, all.
Ivelin, I should have done it a long while ago, but it was not possible for
me until this day.
I added a HowTo on using Xindice with XMLForms. I tried to use the easiest
possible way. I hope I had not too many faults.
Please review it and comment it if you want.
Hope it could be useful.
Ouch...I forgot to include the URL. I'm sorry.
http://wiki.cocoondev.org/Wiki.jsp?page=XMLFormXindice
Thanks :)
-Mensaje original-
De: Ivelin Ivanov [mailto:[EMAIL PROTECTED]]
Enviado el: jueves, 23 de enero de 2003 4:24
Para: [EMAIL PROTECTED]
Asunto: Re: XMLForm Xindice Howto added to
Hello.
First of all, thanks for commenting on this.
Comments inline...
I strongly believe in XForms, but the sample you pointed show that the use
with Java Beans for DB connectivity and data validation is currently too
complex. I am thinking in what will happen if every form will be code like
I'd say current docs on eXist are better than the ones on Xindice.
Anyway, I'd also say Xindice is much more powerful. For example, I think
eXist does not have XUpdate support yet.
In case you want to use Xindice in XSPs, I adapted the logicsheet so you can
use it with Xindice. you can find a
Excelent document.
Thank you.
I would like to suggest a slight improvement.
The Model part can be improved quite a bit if you use a DOM object
directly
instead of a JavaBean wrapper.
more specificly:
...
Wow. It sounds very very good. I really need to learn much more about
JXPath.
I'll try
Ivelin,
I'm trying to code your suggestions but I have problems and some doubts.
1) You can remove ArtistBean altogether
Done.
2) Store the empty id structure in a static file or local constant
Done.
3) Override the getForm() method in the action
Wouldn't it be enough to override the
Hello again,
Ivelin, I have coded the changes and finally got it working.
The part I don't like too much is where I need to get the model in order to
add the document to the DB. Until that part everything seems to fit quite
nicely.
Remember I got the model stored in a XMLDocumentContainer and now
I understand. It looks like you've been in a really good mood to get this
casting to work ;)
Yeah! ;-)
I suggest emailing the JXPath lead Dmirti for ideas, his email is
[EMAIL PROTECTED]
I'm sending email to him.
Go ahead. This will be a nice addition to the samples and how-tos.
Great.
could see it all. If you feel it's ok, then we'll talk about
how to make it available for the official docs, ok?
Thanks for your help.
- Original Message -
From: Dmitri Plotnikov
To: Josema Alonso
Sent: Monday, January 27, 2003 11:19 PM
Subject: Re: please help about a problem using JXPath
Ivelin and all,
I finally had the time to refactor the example. Following the ideas we
exchanged these past days, I put it altogether at Wiki and I think we have
now a much better sample :-)
http://wiki.cocoondev.org/Wiki.jsp?page=XMLFormXindice
Please, review it if you want to and inform me of
Hello Sylvain,
I see you have still some problems with the XMLForms...
I have investigated them more and more and wrote a new howto at Wiki about
using XMLForm with Xindice. I do not remember if you were using a relational
database or a native XML one. If the latter, you could find some new
Hello again, Ivelin.
The new revision is excelent.
Thank you very much.
Please follow the instructions to submit an official HOWTO
http://xml.apache.org/cocoon/howto/howto-author-howto.html
Diana will take it from there.
I'll do once solved the doubts below. Thanks.
In the fragment below,
I think you are correct.
The point is to identify the exact xpath to the @id attribute.
Ok, so I let it that way then.
If you get it started, I can review the changes and we should be able to
wrap it up in a few iterations.
Well, first I'll see what to do regarding the howto. I mean, I'll
Please modify it to /Artist/@id, do not leave it as //
That's what I meant. Sorry if I didn't write it clearly.
Best.
-
Please check that your question has not already been answered in the
FAQ before posting.
Sure. You just need to use the cocoon:/ protocol.
See info about Protocols at:
http://xml.apache.org/cocoon/userdocs/concepts/sitemap.html
Best.
-Mensaje original-
De: Sonny Sukumar [mailto:[EMAIL PROTECTED]]
Enviado el: miercoles, 12 de febrero de 2003 8:59
Para: [EMAIL PROTECTED]
Dear all,
I need your suggestions and opinions in extending the current XMLForm model
approach. If you use XMLForm or are thinking about using it soon, I'd
suggest youy to read this message and send some feedback to the list.
Some days ago, and with some ideas I exchanged with Ivelin, I made a
Hello, Sylvain.
The old forms would work as they already do, but it would be a better
approach when the model is a pure XML model. You won't need to convert XML
elements and attributes to Java properties and back. You won't need to store
your XML model in a DOM property in the bean. In fact, you
to.
Btw, glad you like it.
Thanks.
- Original Message -
From: Jeremy Quinn [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, February 15, 2003 11:24 AM
Subject: Re: extending XMLForms for different kinds of models...opinions?
On Friday, February 14, 2003, at 01:07 PM, Josema Alonso
.
a.. Depending on your setup you may use nfs:, jndi: protocols, too.
-=Ivelin=-
- Original Message -
From: Josema Alonso [EMAIL PROTECTED]
To: Cocoon-Users [EMAIL PROTECTED]
Sent: Friday, February 14, 2003 7:07 AM
Subject: extending XMLForms for different kinds of models...opinions
Hello, Chris.
I wonder if it would be easier and cleaner to have different actions
depending on the model (e.g. bean / dom) like you demonstrate on the
wiki page or at least two different parameters for specifying the
model. Automagic is fine but hiding the information whether it is a
class
Tastes differ and both have their use. I'd like to second Sylvain on this.
Regarding Sylvain's opinion, please forgive me on this cause it seems I lost
the thread somewhere, but I guess you're talking about this:
snip
Sylvain Wallez wrote:
This is a good idea when you need to use the
Dear all,
I'm playing around with the CInclude transformer and the Directory generator
for aggregation in latest 2.1(within the included Jetty engine). I've chosen
this way and not the Aggregate one cause I want the included files to be
dynamically select.
Anyway, each time I request the URL,
the doctype declarations, but this is just a quick
workaround. I do not know what's going on...still investigating...
Any help is appreciated.
- Original Message -
From: Josema Alonso [EMAIL PROTECTED]
To: Cocoon-Users [EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 1:43 AM
Subject: cinclude
Dear Martin,
You were absolutely right. The DTDs were not being resolved locally. Once I
updated the catalog adding the Docbook stuff, everything went back to
normal.
Sometimes I still feel Cocoon is too big... there are some components I
haven't used yet... and I've been using Cocoon for almost
I don't know if you're aware of XMLForms:
http://xml.apache.org/cocoon/userdocs/concepts/xmlform.html
Best,
Josema
- Original Message -
From: Andrew Watt [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 07, 2003 8:56 PM
Subject: Cocoon 2.1 and W3C XForms
I am interested to
Hello,
I couldn't solve your problem but maybe I can give you more ideas...
In you rule:
rule context=/repeatedPassword
report test=(string-length(/password) gt; 0) and (string-length(.) =
0)
Please confirm your password.
/report
/rule
I would say you are setting the context to
Hey, Irv
There's a XMLDBTransformer available. It was in Scratchpad but it was moved
to a new xmldb block in the CVS repository.
Please, checkout a fresh 2.1 from CVS and you'll foun it there or at its
block: http://cvs.apache.org/viewcvs.cgi/xml-cocoon2/src/blocks/xmldb/
I have used it
in the source, but any docs or even any examples that make use of it would
be a huge help.
Thanks,
Irv
Josema Alonso wrote:
Hey, Irv
There's a XMLDBTransformer available. It was in Scratchpad but it was moved
to a new xmldb block in the CVS repository.
Please, checkout a fresh 2.1 from CVS
running this, I get Failed to update resource xmldb-object-id: 1
The sitemap log file says it cannot compile the query. What is the oid
supposed to be? I don't have anything that seems to match up, or does
that even matter?
Irv
Josema Alonso wrote:
Irv,
I remember I built the javadoc
Hi, all.
My company is using Websphere Developer Studio 4.0.3 (WASD4.0.3) for project
development and WAS as the container.
Since I'm more and more inlvolved in projects, and I've been using Cocoon
for almost a couple years now, I finally had the chance to use it in a real
project for my
Thanks for your help.
Stupid me, I forgot to attach the Cocoon app to the Server instance...oh,
my...
Now it's working.
On the second question, please, could you tell me what you needed to make it
work?
I'm still trying to figure out how to send requests (I'm thinking about the
request
Ok. Thanks anyway.
-Mensaje original-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Enviado el: viernes, 14 de marzo de 2003 19:58
Para: [EMAIL PROTECTED]
Asunto: RE: integrating cocoon with websphere developer studio, is
possible?
Sorry...we don't implement Cocoon as an application
Ok. Thanks anyway.
-Mensaje original-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Enviado el: viernes, 14 de marzo de 2003 19:58
Para: [EMAIL PROTECTED]
Asunto: RE: integrating cocoon with websphere developer studio, is
possible?
Sorry...we don't implement Cocoon as an application
Vadim,
result of the Cocoon processing in my JSP + Response already
committed -- you are trying to call Cocoon too late in the game; it
must be before you commit your response, i.e., call Cocoon before you
have any other content generated by JSP.
I thought so. I tried it at the beginning and
Hi, all.
I've found some documents at Wiki and some threads in the mailing list about
integrating servlets in Cocoon, but not the other way round. And that's what
I need.
I have a webapp in JSP and Servlets and I need to integrate some
URLs processed by Cocoon for a news system I've built.
I
Hi, there.
If you prefer to go the XML way, you can take a look at XUpdate and its
transformer, available in 2.1 CVS. This thread can help you a bit:
http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=104714942428556w=2
If you prefer to go the Java way, this how-to can make a good starting point
Hello.
Try:
xindiceadmin ac -c /db -n Artist
Anyway, I usually use some of the GUI tools available for Xindice. Take a
look at http://xml.apache.org/xindice/related.html
Btw, the wiki how-to was accepted as a official how-to some weeks ago, and I
polished it a bit before submitting it. See
Dear all,
Just a quick question.
What do I need to generate licenses like the sunBow one for my own product?
We're developing some widgets for Flash using Java, XML and Cocoon and my
company would like to distribute it with a XML license like the sunBow one,
for a given period of time, for
If i remember correctly, the Request is held in the objectModel, so in your
act method you can do:
Request request = (Request) objectModel.get(Constants.REQUEST_OBJECT);
And get the desired paramater from there.
Best.
-Mensaje original-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
-Message d'origine-
De: Josema Alonso [mailto:[EMAIL PROTECTED]
Date: lundi, 31. mars 2003 11:58
À: [EMAIL PROTECTED]
Objet: RE: XMLForm: how to retrieve URL parameter?
If i remember correctly, the Request is held in the objectModel, so in your
act method you can do:
Request request
Sure:
public Map act (Redirector redirector, SourceResolver resolver,
Map objectModel, String source, Parameters params) throws
java.lang.Exception {
Map resultMap = super.act(redirector, resolver, objectModel, source,
params);
Request request = (Request)
Hi, Yury.
It could be due to a number of reasons. It could depend on JDK version
you're using, if you're using DOM or SAX, the XPath expression you're using,
if you're validating data or not...or even a bug...you have provided very
little info.
Anyway, I suggest you should try at [EMAIL
96 matches
Mail list logo