ok, I found solution for JBoss 5.1.0. It's enough to use the same url
converter that Geoff pointed out and add "-Djboss.vfs.forceCopy=false" to
JBoss JAVA_OPTS. At least, it solved the problem for me :)
enjoy,
m.
Janko Muzykant wrote:
>
> thanks for this hi
thanks for this hint. i tried to adjust ClassPathURLConverter for JB 5.1 but
i'm not really sure what URL should I return to make it all working. this is
how sample incoming url looks like:
vfszip:/Users/janko/jboss-5.1.0.GA/server/myapp/deploy/myapp-ear.ear/myapp-webapp-1.0-SNAPSHOT.war/WEB-INF/
hi, i'm trying to deploy my application on JBoss and just run into a problem.
although deployment went fine, seems that tapestry components have not been
registered. i got a message about available pages & components:
01:12:03,575 INFO [STDOUT] - Available pages:
ApplicationBasePage: org.myapp.we
treamResponse,
org.apache.tapestry5.runtime.Component.
Content-Type: text/html; charset=utf-8
Content-Encoding: gzip
Transfer-Encoding: chunked
Server: Jetty(6.1.12rc1)
the question is, how it is possible that T5.1.0.5 rejects Block as response
to ajax request? 'X-Requested-With" header confirms t
hi guys,
this is quite strange, but i noticed that actionlinks "sometimes" return
unexpected results. i have a page containing lot of actionlinks
changing/updating certain elements via ajax request/response. from java side
it's nothing more than just returning a block or MultiZoneUpdate as a resu
hi all,
as I can see, something has changed in actionlinks since T5.0.14 and now all
my actionlinks with zone parameter added appear without any arguments. they
just point at correct address with appended /#. it works ok when javascript
is enabled, but fails when js is switched off.
regards,
jm.
hi,
I have a component which should react on two types of provided arguments:
one integer and two integers. These are my handler functions:
@OnEvent(component="pager", value="action")
Block onPageChangedExtended(int index, int visiblePage){}
@OnEvent(component="pager", value=
hi there,
there is closed jira issue (TAPESTRY-2185) that describes palette problem
with disabled buttons. it seems it should be reopened. i may reproduce the
situation when add/remove arrows stay disabled, no matter if something is
selected or not. it happens almost (!) everytime the form is draw
hi, i'm curious how you handle situation when ajax request is being sent but
page fragment cannot be rendererd because it depends on session which has
expired in a meantime.
here is typical request flow in my application:
* users clicks actionLink linked with some zone
* acegi detects no creden
hi, i would like to use "multiple" attribute inside and get all
selected items after form submitting. as for now it is not possible, only
first item is returned.
i found Martin's post[1] and suggestion to write own component basing on
Select source. that's ok, but i'm rendering my dynamically
>
> cheers
> Ben
>
>> -Original Message-
>> From: Janko Muzykant [mailto:[EMAIL PROTECTED]
>>
>>
>> ups, sorry for not specifing that. i'm using latest tapestry 5.0.13.
>>
>> jm.
>> Massimo Lusetti wrote:
>> >
>> >
ups, sorry for not specifing that. i'm using latest tapestry 5.0.13.
jm.
Massimo Lusetti wrote:
>
> On Wed, Jun 18, 2008 at 3:16 PM, Janko Muzykant <[EMAIL PROTECTED]> wrote:
>
>>
>> hi, something is not working with handling events fired by different
hi, something is not working with handling events fired by different submit
buttons (or i have overlooked something...). that's my form:
and the source:
@OnEvent(component="view", value="selected")
void onSelectedFromView() { action = FilterAction.VIEW; }
@OnEvent(component="reset",
hi, i have just discovered something odd while returning the Block element
for Ajax update. if I enter manually URL that should return a Block from
handler method i get the following:
An unexpected application exception has occurred.
A component event handler method returned the value
[EMAIL PRO
ow. it's a namespacing mechanism, but is there any way to bypass
that? it's really confusing... :(
thanks,
jm.
Janko Muzykant wrote:
>
> hi, i have a nested zone with dynamically created components.
> unfortunately i'm not able to link them correctly to the zone as the zone
>
hi, i have a nested zone with dynamically created components. unfortunately
i'm not able to link them correctly to the zone as the zone id changes
(namespace is added) after each update.
so, is there any way to get a zone id, so that inner components could be
correctly linked?
here is how my pag
>}
> }
>
> Robert
>
> On Jun 9, 2008, at 6/95:51 AM , Janko Muzykant wrote:
>
>>
>> hiding the blocks would be easy (excatly as you wrote - it's just
>> html :),
>> but i would like one of the blocks to be _visible_ at the beginning.
>>
.
jm.
nicholas Krul wrote:
>
> style="display:none"
>
> its just html / css
>
> On Mon, Jun 9, 2008 at 11:27 AM, Janko Muzykant <[EMAIL PROTECTED]> wrote:
>
>>
>> hi, i have a couple of t:block components on my page:
>>
>> ..
>>
hi, i have a couple of t:block components on my page:
..
..
and i would like initially block "b1" to be visible. how may I do it?
thanks,
jm.
--
View this message in context:
http://www.nabble.com/T5-invisible-t%3Ablock-component-tp17730085p17730085.html
Sent from the Tapestry - User mai
Thiago H. de Paula Figueiredo wrote on 05 Jun 2008 15:26:58 MET:
> On Thu, 05 Jun 2008 11:18:53 -0300, Janko Muzykant <[EMAIL PROTECTED]>
> wrote:
>
> > Hi Markus,
> > thanks for links, but this unfortunately does not solve the
> > problem. i will
> > try t
Hi Markus,
thanks for links, but this unfortunately does not solve the problem. i will
try to highlight my case. commiting the form currenlty we have no
possibility to select destination zone other when that one assigned in
"form" element (eg. ), right? so how to refresh
different zones depending
hallo all,
is it possible to change zone (area that should be updated) dynamically in
response to invoked action?
for example, user commits a form and depending on selected value i would
like to update zone1 or zone2.
It would be great if I could point the right zone inside my @OnEvent method.
c
how the templates are
> laid out ("report" encloses "header"), but can be much more dynamic
> (witness the jumping around that BeanEditForm accomplishes, literally
> pulling chunks of other pages into the mix).
>
> On Fri, Mar 28, 2008 at 2:01 PM, Janko Muzykant &
hi, i have a following problem with urls generated by nested links components
- lets say, we have a reportUsers page and something like this inside:
header is my component that creates ActionLink with parameter given in
'column' attribute. Generated url looks like this:
http://myhost:p
thanks Ted!
that helped me a lot. one additional question. is it possible to mark as
'zone-to-update' something different than a form element? a simple div for
example?
Ted Steen wrote:
>
> This is a simple example showing ajax with and without forms.
> Hope it helps!
>
>
> --
> /ted
>
>
before 5.0.10 has been released i had implemented my own ajax support based
on dwr. now, it obviously doesn't work at all :) is it possible to disable
somehow built-in tapestry's ajax support and force it not to intercept my
XHRs?
thanks,
m.
--
View this message in context:
http://www.nabble.co
Tapestry's page mentions about zones and update-divs but i'm not able to find
even one example how to use them. is there anyone who successfully tried to
use these features?
cheers,
m.
--
View this message in context:
http://www.nabble.com/T5-ajax-zones-example-tp15991696p15991696.html
Sent fr
hi, i have a number of compilation errors after my upgrade from T5.0.5 to
T5.0.10. some of them were trivial to resolve, but i have no idea how to fix
all of these from AppModule.java:
1. in following i have now no reference to 'response' object. previously it
was given as argument in renderRespo
hi, i would like to add an additional button (something like 'cancel') to
BeanEditForm. how may i do it in the simplest way?
thanks,
jm.
--
View this message in context:
http://www.nabble.com/T5-BeanEditForm-additional-button-tf4711297.html#a13466278
Sent from the Tapestry - User mailing list
:)
regards,
jm.
Janko Muzykant wrote:
>
> ok, it's actually not a problem of submitting, it's a problem of such a
> link:
>
> http://localhost:8080/mygreat-webapp/reports/reportusers.filter.form
>
> if i try to go directly to this link exception mentione
ins a form
which seems to be a trouble. could someone give me a hint why this url
causes such a problem?
thanks,
jm.
Janko Muzykant wrote:
>
> i just noticed a weird thing while form submitting - it fails if session
> expire in a meantime. following are steps i have done:
> - se
i just noticed a weird thing while form submitting - it fails if session
expire in a meantime. following are steps i have done:
- session timeout set to 1 minute
- visited form with submit button
- session expires before submit has been pushed
- acegi redirects to login page
- after login tapestry
ge and
> read the values manually:
>
> @Inject
> Request req;
>
>
> req.getParameter("formfield");
> ...
>
> g,
> kris
>
>
>
>
> Janko Muzykant <[EMAIL PROTECTED]>
> 20.09.2007 10:41
> Bitte antworten an
> "
hi, my form is generated in a runtime, i.e. fields are added/removed by
javascript. is there any way to get list (map) of form fields in a submit
handler? i guess they should be stored somewhere in a request but i'm not
sure exactly where.
thanks,
jm.
--
View this message in context:
http://ww
hi there, i tried to localize my application putting all messages into 3
global resource files:
WEB-INF/app.properties [English messages]
WEB-INF/app_pl.properties [Polish messages]
WEB-INF/app_de.properties [German messages]
according to documentation all these files should be named exactly lik
One more question. What will happen with all nested components when a given
parent component returns false in its SetupRender? Are they automatically
discarded?
thanks,
jm.
DougS wrote:
>
> Also, if you would like to put the logic to determine if a component
> should display or not in that c
hello, i would like to omit some part of my page eg. allow only one component
to be written in output. i did it writing my own MarkupWriter with
enable/disable function which when enabled works as standard writer and when
disabled ignores all writings. It's initially disabled and only specific
com
ee if there's
> a
> newer version of it that can handle JDK 1.6 better.
>
> On 7/31/07, Janko Muzykant <[EMAIL PROTECTED]> wrote:
> >
> > hi all, i found something weird today. i've just changed jvm from 1.5 to
> > 1.6.0.02 and got immediately such an excepti
hi all, i found something weird today. i've just changed jvm from 1.5 to
1.6.0.02 and got immediately such an exception:
java.lang.ClassFormatError: StackMapTable format error: bad class index
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredC
hi Marcus,
this solution is perfect provided i have a
template defined separately for each page. but usually this is written once
in some "Border" or "Layout" component's template. In such a case I cannot
predict how many css links will be placed inside section because many
pages will use th
place where component is used on the
page, not inside
On 7/2/07, Erik Vullings <[EMAIL PROTECTED]> wrote:
Hi Janko,
In your html template, you could use:
Include css file
do something else
Cheers
Erik
On 7/2/07, Janko Muzykant <[EMAIL PROTECTE
hi all,
i would like to have an optional css for each of my components. optional,
because depending on component's parameter i would like/wouldn't like to
include its css link. Lets imagine edit box with calendar for example -
depending on parameter provided in template file, calendar's css file s
hi,
lets assume I have a root component with its html template. one of
components used in a template contains a component that interests me the
most. is it possible to get this embedded component from the root one? I
mean, is it generally possible to any component with allocated id from the
"root"
Being more precise I wanted to use DWR to re-generate my page once again via
XMLHttpRequest. It looks like this:
- javascript calls my ajax java method
- ajax method calls DWR's forwardToString(..) which is essentialy
getRequestDispatcher.forward and returns as a result html content.
and here i r
i couldn't find a proper answers to the following questions so i would be
grateful if someone could enlighten me a bit.
* how to get a current page that component is rendered on? I know there is
almost no difference between pages and components in T5. in such a case, how
to get a 'root' component
hi all,
is anyone able to give me a hint how could I render only one component from
whole the tree of all components that given page consists of? I did such a
thing a few month ago for T4 and it worked exactly like this:
* there was a Border component wrapping all the children
* there was a specia
46 matches
Mail list logo