Hi everyone,
sorry for the length of the post.
What I intend to do :
I want to be able to put a selection-list in the model declaration of a
repeater so it will be created with as many rows as items as in the SL. I
would also like to link a widget in my repeater with the items row.
The advantage o
Hi everyone
This is an unanswered user post maybe I'll have more luck here.
I would like to create my repeater rows from a selection list on creation
(externalfile), I wanted to launch my fillRepeater() script on the
repeaters on-create event but it isn't implemented.
So I have a few possibilit
Hi every one
I'm working with selectors and realised that it wasn't possible to do this
or region,province or region|province
if I have to do the same thing for region and for province the code has to
be duplicated for both identical use cases.. :(
it seemed natural that it existed but after R
Hi Luca
> I made my first Cocoon widget :)
>
> It isn't at all that hard, though I managed to waste time by trying to
> subclass my widget from the Action class :(
Congratulations , I'll definitly be looking into this
>
> Anyway, here's how to use it:
> 1) Definition document:
>
>
> refresh.hi
> Sure we can.
Great.
> Shall I remember you our little Geoid project (
> http://geoid.cocoondev.org/ ) ?
I am not at all from the GIS , and project Geoid seems to be just that, If
I'm not mistaken it allows to plug into existing ArcIMS and others with
Cocoon. I'm really looking to find a Map sys
>>filled through binding or on-create listener and this would be yet another
>>initialisation possiblity.
>
> So what do you suggest: a new "mapped-repeater" widget which extends
> repeater with a selection-list to create the rows?
exactly, the selection-list could be placed on any widget inside
> Do you mean to feed a Repeater from an Array?
yes but with a selection list. and not in the binding nore on create
It would be in the definition.
>
>> Example:
>> my repeater contains a label outputfield, and a few field widgets
>> if the label is made "selectionlistable" this would generate as
Hi every one
This might allready have been proposed and done but I haven't seen it around
and it works fine for me to create all forms from one definiton and one
binding file. (multiple page search form).
The problems were with the widgets that weren't used couldn't be validated,
and therefore we
Hi Sylvain
> IIUC what you describe here is a kind of Map, where the key set would be
> the selection list and the values would be the widget rows. Am I right?
Yes that right
> I don't think we need a new widget type for this as the repeater is
> versatile enough. Either a binding or a helper on-cr
Hi everyone
As I can see there are quite a bit of movement around selection-list, I'll
reopen an old request of mine about repeaters being able to be generated
from a selection list. meaning if a selection list is positionned on a
widget inside a repeater, the repeater will generate as many rows th
> 2 interfaces? I only see
> org.apache.cocoon.forms.formmodel.SelectableWidget. It has no
> removeSelectionList(), but a javadoc comment at
> setSelectionList(SelectionList):
Thanks Joerg
I finally found my way on this. the removeSelectionList() was the solution.
sorry for not closing that post
> The map-viewing platform I envisage will be very simple and work even
> with very big fonts and buttons, and it should do this without
> JavaScript, frames and mouse (I mean, mouse is considered an optional,
> useful, but not necessary).
Very interesting,
Maps are largely laking around internet
>
> I have been doing waaay too much GIS stuff ... I saw something about
> "map" and straight away thought you meant geo-map :-)
What is geo-map ? is this a current project ?
I'm looking for simple (dynamic clickable points on map, with possibility to
play on the gfx styling) GIS systems, are th
Hi every one
When dealing with any page coming from Flow, if there's an error(during
dev), I used to get very clean explicit error definitions, but since a
while I noticed these stop at the sitemap error level by only sending
map:function call or continuation, which is the base of my Flow call???
Hi everyone
Sorry to still bother with this InputModuel thing,
I managed finally to declare my component in Flow
but the realpath module getAttributeNames("") returns an attribute called
requestURI and when I getAttribute("requestURI", null,null), I get a null
pointer exception ??
Here's my code
Hi Sylvain
> Well, error handlers have been reported to be working fine for years...
Yes that's what I figured,
> Is the page where this problem occurs the main request, or is there some
> surrounding environment such as aggregation, cocoon: et al?
no very basic error handler.it sends an xhtml se
Hi devers
here again after not finding an answer in user, sorry.
My problem concerns using
It seems I must be doing something wrong, because on a simple not-found
exeption, everything goes great...hmmm...he finds the file(error.html) I
give in sitemap...but then when I visit a proper page the err
e detail on how to use the
InputModuleHelper, sorry I don't quite get it? The name sounds great but
how could this help me ?
Thanks for the help
Regards
Tibor
> oceatoon wrote:
>> Hi devers
>>
>> I posted this in Users, but with no luck I'm trying the devers.
>&
Hi devers
I posted this in Users, but with no luck I'm trying the devers.
Is it possible to call an input module from flow to retreive a value like
realpath?
I know I could pass it from the sitemap but it's a bit complicated, because
this particular variable concerns all my pipelines.
My other qu
Hi
I get a peculiar response when making an onchange submission of a CForm,
Description:
org.apache.cocoon.ProcessingException: did not send
a response,
The problem appears when the Flow tries to re-enter the ShowForm after the
onchange submit, Failed to execute pipeline.
The interesting pa
Vadim Gritsenko wrote:
> oceatoon wrote:
>> Hello every one
>>
>> I have a weird warning(below) when using the svg2jpeg serailiser ??
>> The result seems fine but I constantly get this warning in my logs.
>> I found no post about it and my url seems to be correct
Hello every one
I have a weird warning(below) when using the svg2jpeg serailiser ??
The result seems fine but I constantly get this warning in my logs.
I found no post about it and my url seems to be correct, I had to use
realpath module so it's even got the absolute path to the image.
Is this kn
Hi everyone
Sorry to insist on this maybe Carsten Ziegeler can help me on this, I'm
trying to find out why the redirect coming out of the authetication reacts
differently towards Tomcat5 than any other cocoon redirect .
I don't know much about internals but looked into webapps.authetication but
w
Thanks Roy
This isn't promissing (well blocking )at all for deploying Cocoon Apps in
newer version of Tomcat5.
If they aren't going to change it, we should add it to the docs because
this impacts quite seriously apllication structural choices.
Maybe Cocoon devers would like to participate in the
Hello everyone
I posted his to user list but found no solution which brings me here.
I'm deploying our CooonApp in Tomcat5, I'm generalising the contextpath to
all our urls with the request:contextPath module And I'm faced with this
problem: (Joachim told me he had the same problem and this came
Vadim Gritsenko wrote:
> oceatoon wrote:
>> Hello every one,
>>
>> We have an image upload system in our cforms, we need to put up a system
>> that resizes and adds some stuff onto the images and saves them back to
>> disk.
>>
>> We are allready use
Hello every one,
We have an image upload system in our cforms, we need to put up a system
that resizes and adds some stuff onto the images and saves them back to
disk.
We are allready use the svg2jpg serialiser and now we would like to save
this well formed image to disk.
We thought of using proc
ne understand ?
Thanks
Tibor
oceatoon wrote:
> Hi every one,
>
> I'm getting a weird bug on my cforms since while,when any server side
> process is launched (like a repeater addrow submit is made, or on-change),
> everything goes well on a normal submit.
> The process goes
Hi every one,
I'm getting a weird bug on my cforms since while,when any server side
process is launched (like a repeater addrow submit is made, or on-change),
everything goes well on a normal submit.
The process goes up to the setbookmark but when it re-enters the ShowForm I
get this error ??? (b
Thanks for the help,
> I cannot seem to reproduce the bug (although I already had it once
> myself). Could you provide an isolated test case - as simple as it can be?
well as Marco simply described it,
it's just the
where ever you put it, the tag that follows the import will carry the weird
Hi everyone
> It shouldn't be that difficult to fix.
I could do with a few pointers though ;-)
is there a better place to start ?
> Should we track all namespace redefinitions?
Sorry Daniel but this would finally close quite a large bug in our
production which allready off schedule. I haven't had
Thanks Marco
> this weird namespace issue is actually caused by a nested redefinition
> of a prefix mapping; just look at what's before the element in
> the template.
Indeed
seems to be the source of the bug... nice one
> the imported file redefines the jx namespace within the
> element t
**
http://apache.org/cocoon/forms/1.0#definition";
xmlns:i18n="http://apache.org/cocoon/i18n/2.1";
xmlns:jx="http://apache.org/cocoon/templates/jx/1.0";>
>> > > Is anybody aware of such a thing as JX generating a weirds
>> > > namespaces??
>
>> > Yes, and this has already been reported. But AFAICT it is
>> > *not* blocking. You may be facing another problem without any
>> > relation to this namespace oddity.
>
>> Do you have a bugid for
Thanks Jean-Baptiste
> * oceatoon:
>
>> Is anybody aware of such a thing as JX generating a weirds
>> namespaces??
>
> Yes, and this has already been reported.
>
> But AFAICT it is *not* blocking. You may be facing another
> problem without any
Hi everyone
Is anybody aware of such a thing as JX generating a weirds namespaces??
weird !! and blocking...g
This seems to happen only on a cforms / jx mixed page, I tested simple jx is
ok.
Offcourse this is blocking all following transformations
I'd really appreciate any info on this
Leszek Gawron wrote:
> RHINO USAGE WARNING: Missed Context.javaToJS() conversion:
> Rhino runtime detected object
> [EMAIL PROTECTED]
> of class com.mobilebox.
> cocoon.components.SpringApplicationContextFetcher where it expected
> String, Number, Boolean or Scriptable instance. Please ch
> eck yo
Hi everyone
I posted this in "user list" but got no response, maybe someone here can
help me onthis one.
I have a field widget(1) that becomes a selection list by a value change of
another widget(2) in the page. This works great.
But for a certain value of the widget(2), on change, I would n
>>Hmm... the problems is that "cocoon.request.blah" was released and maybe
>>is used is used (by us and other people?) in a lot of places and maybe
>>other peopl! :-(
Sorry for peecking into this post but till today I thought
cocoon.request.blah was a normal call, and seemed quite natural ;) in a
Hi
this thread is getting quite complicated to follow and the snake seems to be
bighting it's own tail;) , but the idea is quite simple and seems an easy
patch.
> I don't get why you are so obsessed with being able to do everything
> from the sitemap. Once, when the community started to develop Coc
Hi
Since I started working with JX I have come accross some amazing bugs
(probably like everyone) and thought a list of these might be usefull so
that they are not forgotten and kept in the new one.
To not do the same job twice, does such a list exist ? or are they declared
in bugzilla ?
Regards
> Then I think that it shouldn't be part of the JXTG code but rather part
> of the TemplateObjectModelHelper or some supporting classes, that in
> turn are used by JXTG. This way it could be used outside JXTG.
>
> Wouldn't it be better if JXTG supported input modules with syntax
> like:
>>
Daniel Fagerstrom wrote:
> I agree with that the behaviour is weird, but it is designed to be that
> way. What happens is that your data is always placed in the session data
> in the servlet. But then the request object, session objects etc are
> placed in a different place if you use them from
Daniel Fagerstrom wrote:
> I agree with that the behaviour is weird, but it is designed to be that
> way. What happens is that your data is always placed in the session data
> in the servlet. But then the request object, session objects etc are
> placed in a different place if you use them from
Hi
I see things are going well ahead with the refactoring of JX and as we use
it quite extensivly we could try and use it for tests. But we are on tight
schedule and I hope this wont pull us back.
I'd have a few questions concerning differences concerning all the JX tags
set forEach macro out Nu
Carsten Ziegeler wrote:
> Leszek Gawron wrote:
>> Carsten Ziegeler wrote:
>>
>>> oceatoon wrote:
>>>
>>>> This is wishfull thinking and probably no news to those refactoring
>>>> JX. But
>>>> access to the session context
HI everyone
We are having weird effects poping up some structure questions about FOM and
more precisly about FOM_session. I use Flow to put some data into
cocoon.session.setAttribute("data",data) and retreive this easily from my
jx file coming from flow.
Thinking this is part of a global session
This is wishfull thinking and probably no news to those refactoring JX. But
access to the session context object like the session-context input module
would be great (like for example with the authentication context). I have
found other post asking about and for this sort of functionality. it would
> please try ${request.locale} and it should work.
Well I tried that one, It works but returns the locale of the browser and
not the one in my url :)
but it's a matter a fact it solves my problem
Thanks a lot
Tibor
Leszek Gawron wrote:
This might be more complete:
This is my use case:
I call /home/europe?locale=fr
where url is a xml file containing jx code
processed by
and in my home_jx.xml I have
Hi Leszek
> Question is: is jxtg directly from pipeline or from flow (sorry for my
> syntax)?
>
>From pipeline, :) or :( ??
This is a post from the user list that might have it's place here?
> I trying to retreive the value of my locale paramater in the url from
> within jx but , with a url /url?locale=fr ${cocoon.request.locale} returns
> nothing. It seems to be in the docs though. am I doing something wrong or
> is i
[EMAIL PROTECTED] wrote:
> Hi guys,
>
> I'm trying to create a jx:macro that does some processing and then stores
> the result in a variable. I would like this macro to behave as a function,
> i.e. pass the content of this variable to an external variable.
>
> I've tried several approaches, but
Sylvain Wallez wrote:
> oceatoon wrote:
>
>>I tried to retreive your latest update of field styling but didn't find
>>the new template you described , is it all ready up on svn ?
>>
>>
>
> Well, it was for a few hours, and then got overriden by Reinhar
I tried to retreive your latest update of field styling but didn't find the
new template you described , is it all ready up on svn ?
Thx
Tibor
> Sylvain Wallez wrote:
>
>> oceatoon wrote:
>>
>>>Hi everyone
>>>
>>>I tried posting this too the user list but got no answer hope I'll be
>>>luckier in dev :)
>>>
>>>in our website, I tried to make a link that launche
Sylvain Wallez wrote:
> oceatoon wrote:
>
>>Hi everyone
>>
>>I tried posting this too the user list but got no answer hope I'll be
>>luckier in dev :)
>>
>>in our website, I tried to make a link that launches the addrow action
>>instead of
Hi everyone
I tried posting this too the user list but got no answer hope I'll be
luckier in dev :)
in our website, I tried to make a link that launches the addrow action
instead of the usual submit type button launching on my repeater,
but I can't get it to launch the action??
this is what is
Luca Garulli wrote:
> On Thu, 25 Nov 2004 16:48:16 +0100, oceatoon <[EMAIL PROTECTED]>
> wrote:
>
>> No pb , but if you send me your xsl's I can integrate them and help debug
>> or test drive it, and maybe contribute(t dot katelbach at systheo dot
>> com)
&g
Luca Garulli wrote:
> On Thu, 25 Nov 2004 13:33:17 +0100, oceatoon <[EMAIL PROTECTED]>
> wrote:
>> >> But then don't you have double validation ?
>> >
>> > Yes, server side validation must be always guarantee. Client side
>> > validation
>> But then don't you have double validation ?
>
> Yes, server side validation must be always guarantee. Client side
> validation is useful basically for two reasons:
>
> 1. avoid unnecessary server load
> 2. some customer doesn't want page refresh. There are other techniques
> to avoid page relo
Luca Garulli wrote:
> I think that client-side validation is a very common use case. I'm
> writing a XSL to apply in the pipeline just after the cform
> generation.
>
> If anyone want client-side validation (always in adding to the
> server-side validation and never in place of) just insert a
> t
Bertrand Delacretaz wrote:
> Le 23 nov. 04, à 10:53, oceatoon a écrit :
>> ...Is different JS really coded for different browsers? I thought
>> there were
>> only those with JS and those without, in the second case validation
>> would
>> go back to Server Side bu
>> I once proposed that validators could produce a small snippet of JS that
>> would be included in the produced page. However, this somehow mixes some
>> client-side technology in the validators which isn't a good thing.
>>
>> So the idea now is that a validator produces an XML representation of
Sylvain Wallez wrote:
> [Moving a private email to dev@ as it's really where it should be
> [discussed]
>
> Luca Garulli wrote:
>
>>Hi,
>>my customer want a minimal client-side validation for same fields. We
>>are using CForms and seems to be lack of this feature.
>>
>>I'd like to have a single
Bruno Dumon wrote:
> On Mon, 2004-11-22 at 15:32 +0100, oceatoon wrote:
>> Are there any docs on this?
>
> Over here:
> http://cocoon.apache.org/2.1/userdocs/forms/templatetransformer.html
>
Thx.
>> or use cases ?
>
> I wouldn't know, I haven't ever h
Sylvain Wallez wrote:
> oceatoon wrote:
>
>>Are there any docs on this?
>>or use cases ?
>>We have done a solution where we have one huge form model, and then the
>>template is devide in multiple tabs ,It all works great but now we're
>>trying to structur
Are there any docs on this?
or use cases ?
We have done a solution where we have one huge form model, and then the
template is devide in multiple tabs ,It all works great but now we're
trying to structure the validation system (freshly speaking)
This MultiForms might be the solution to our problems
Yes Sorry, my mistake for wanting to go to fast
Tibor
Jorg Heymans wrote:
>
>
> oceatoon wrote:
>>>>[Lorg.w3c.dom.Node;@d4c191 seems to be my object, so I tried to
>>>>getValueNode() on this but it gets worse
>
> In any case, this should be getNodeValue().
>
>
> Jorg
Well my final goal is to put tags inside the jx:set variable so
I won't be able to use the value attribute.. :(
> I'm no jx expert, but wouldn't the following also work :
>
> ?
>
>
> Regards
> Jorg
>
> oceatoon wrote:
>> Hi everyone
>&g
Hi Leszek
> I had the same behaviour once. I do not think that is a bug - rather a
> design choice.
Are you sure coz this doesn't seem very clean to be left this way as a
design decision don't you think?
Yes that works perfectly
I need to have it but I will be putting tags in my content so I can't put it
in the value attribute like this
Cococo
Jorg Heymans wrote:
> I'm no jx expert, but wouldn't the following also work :
>
> ?
>
>
> Regards
> Jorg
Hi everyone
I have an odd behavior or I just can't see what I'm doing wrong, maybe
someone will have an inlightened eye tot is:
***
if I do this in my html.jx file:
${keywords}
This works fine. the result is correctly :
but now I n
Thanks worked Great
just have to pass the key value to the widget.
Regards
Tibor
>>I see the solution, it solves the problem as long as the value of the
>>output, meaning also the key of the i18n isn't a whole sentence, which
>>offcourse ends out being my case. ;-) , I think I'll manage to cut my
>>sentences short, so this should work for me thanks.
>>
>>
>
> Why couldn't it
Thanks for the response Vadim
Vadim Gritsenko wrote:
> my.key.
>
I don't know about this syntax
isn't it supposed to be
I tried your syntax my.key.keyvalue but got no result ??
Thanks for the help
Tibor
>>Are there any documents about , I have googlised it and
>
> Ahem... it's currently only in the source file's javadoc:
> http://JavaScriptJXPathBindingBuilder.java
Thx
> Mmh.. I see the problem. Are the i18n keys related to the selection list
> item values, i.e. can you use an item's value to b
Merci Sylvain,
> These are:
> - the javascript binding, where you can do whatever you want with the
> widget and bound data. Back in june (after 2.1.5), I added a
> to the js binding to allow the container structure
> to be handled by the js code and delegate binding of elements to unary
> bindin
Hi,
I rather ask some advice before moving on.
I am reading through all the existent post and wiki's about creating new
widgets, also looked through Tim's GUI New, Class, Union, Struct way of
doing things, to try and sort out a way of creating a widget that maps on
an extenal selection list, and
79 matches
Mail list logo