Hi,
I have a table, one of the row () has been included in a Zone. But when
I ajax-update this zone, I see that this zone is removed from the table and
is displayed in a div just before the table.
Why this modification at zone update ? And how to prevent it ?
I have this :
1. content: ":
> What happens when you view the network traffic in the chrome developer
> tools? Can you see the values as request parameters?
>
> Are the select element ids (in the html) what you think they are? There's
> an issue where the clientId is ignored by tapestry for s
Do you see why observe does not work? Or another method to make working
what I want to do ? I'm stuck on this.
2014-09-22 16:39 GMT+02:00 squallmat . :
> Ok the javascript works now, but not the mixin itself.
> I have a first select where i chose a value, and then a second selec
ue of the first select, but still
it doesn't keep it even with this observer... am i missing something ?
2014-09-22 16:27 GMT+02:00 squallmat . :
> ok I used bind function instead of observe. And even with the original
> values $(spec.id) without the # the code works now.
>
ok I used bind function instead of observe. And even with the original
values $(spec.id) without the # the code works now.
First time i make a javascript working :p
2014-09-22 15:56 GMT+02:00 squallmat . :
> Hi Lance, thanks for the help. Yes i really need to learn javascript, I
> still h
Hi Lance, thanks for the help. Yes i really need to learn javascript, I
still have an error on the js you gave me :
apparently the observe() function is a prototype one, i'm trying to find an
equivalent in jquery but i didn't found yet.
Do you know how i could convert this observe() to jquery ?
20
Could you explain me what need to be changed to make the mixin compatible
with jquery ?
2014-09-22 11:39 GMT+02:00 squallmat . :
> In the chrome javascript console I have :
>
> Uncaught TypeError: undefined is not a function
>
> I use jquery, because I use some components from
>
In the chrome javascript console I have :
Uncaught TypeError: undefined is not a function
I use jquery, because I use some components from
http://tapestry5-jquery.com/
I'm really bad at javascript and I don't even understand what this error
means. What i need to change to make it works with jque
It works now, thanks Thiago
2014-09-19 19:35 GMT+02:00 Thiago H de Paula Figueiredo
:
> On Fri, 19 Sep 2014 13:03:45 -0300, squallmat .
> wrote:
>
> Hi,
>>
>
> Hi!
>
> like said in title I have a radiogroup with a dynamic list of objects,
>> and i'd l
seeing a name clash since both select and observe accept a "zone"
> parameter.
>
> You can qualify the parameter name so that the mixin gets it instead of
> select.
>
> I think you can say observe.zone="foo" (if not it's observe/zone).
> On 19 Sep 2014 1
Hi,
I'm trying to use the observe mixin from here :
http://tapestry-stitch.uklance.cloudbees.net/observedemo
I have the code tml :
in controller :
Block onObserveSelectApp(ClientDto clientSelected) {
selectedClient = clientSelected;
return formZone.getBody();
}
but when I try to launch this
Hi,
like said in title I have a radiogroup with a dynamic list of objects, and
i'd like to put a specific default value to it, but contrary to a simple
radiogroup with literal values, It doesn't work.
I have :
${contactDtoLoopValue.nom}
${contactDtoLoopValue.prenom}, ${contactDtoLoopValue.mai
Hi,
I have two selects on my page, each one ajax updating a zone containing
these two selects.
When i change the value of a select, the value of the other disappear. Is
there a way in the method onValueChanged to save or reaffect the value of
the other select ?
I hope i'm clear...
humm, I really hate coding in javascript ... Is there a way to "fake" Post
a form to save the values ? :p
2014-09-12 14:42 GMT+02:00 Thiago H de Paula Figueiredo
:
> On Fri, 12 Sep 2014 04:44:36 -0300, squallmat .
> wrote:
>
> My data are in a form with many others da
OK, I didn't changed anything in my code, and now the download works...
There's is now just the naming problem.
2014-09-12 10:13 GMT+02:00 squallmat . :
> another problem,
> the page that works is "renaming" my files by adding strange values :
>
>
> original n
3.docx
It seems to add $0020 on each space, why ?
2014-09-12 9:47 GMT+02:00 squallmat . :
> I receive a file named "false" with a size randomly between 0 Byte and 1.5
> MB
>
> 2014-09-11 19:40 GMT+02:00 Thiago H de Paula Figueiredo <
> thiag...@gmail.com>:
>
>
I receive a file named "false" with a size randomly between 0 Byte and 1.5
MB
2014-09-11 19:40 GMT+02:00 Thiago H de Paula Figueiredo
:
> On Thu, 11 Sep 2014 14:21:38 -0300, squallmat .
> wrote:
>
> Hi,
>>
>
> Hi!
>
> I would like to know if
My data are in a form with many others data, If I submit I will Post them.
What are the other ways to do that ?
2014-09-11 19:41 GMT+02:00 Thiago H de Paula Figueiredo
:
> On Thu, 11 Sep 2014 13:52:50 -0300, squallmat .
> wrote:
>
> I don't submit the form in Ajax request so.
Hi,
I would like to know if there are some problems to get a file by
streamresponse if an eventlink has many context parameters.
I have an eventlink with one parameter returning a StreamResponse that
works perfectly well.
I used the same thing on another page, but with 3 param context and the
down
I don't submit the form in Ajax request so...
Is there way(s) to save values without submitting form ?
2014-09-11 16:06 GMT+02:00 Thiago H de Paula Figueiredo
:
> On Thu, 11 Sep 2014 10:47:14 -0300, squallmat .
> wrote:
>
> Hi,
>>
>
> Hi!
>
> So, on aja
Hi,
I have a zone where I add/remove dynamically a list of object,
the object is made of a boolean that is associated with a t:checkbox. When
I modify the checkbox (check/uncheck) and then update the zone (because
list of objects change : add/remove) the value of checkboxes come back to
there orig
OK, i found. I used the wrong Inject class on a page
2014-09-11 13:28 GMT+02:00 squallmat . :
> Hi,
> I have a layout that I use now for months on many pages, It always worked
> well. But when I try to launch my webapp now, it suddenly stopped to work
> and give me this error :
&
Hi,
I have a layout that I use now for months on many pages, It always worked
well. But when I try to launch my webapp now, it suddenly stopped to work
and give me this error :
Exception assembling root component of page NouvelApplicatif: Exception
assembling embedded component 'mainlayout' (of ty
H de Paula Figueiredo
:
> On Tue, 09 Sep 2014 10:03:26 -0300, squallmat .
> wrote:
>
> Hi,
>>
>
> Hi!
>
>
>
>> I have url stored in DB, like "www.google.com" and I just pass them in my
>> template to an href attribute, like this :
>>
>&
Hi,
I have url stored in DB, like "www.google.com" and I just pass them in my
template to an href attribute, like this :
- ${url}
The value of ${url} in the href attribute is rewrote to concatenate the
actual displayed page url. Why is there url rewriting here ? And how can I
disable it ?
pts here:
> 1. The object being iterated by the AjaxFormLoop
> 2. The UploadedFile property binding
>
> 1 can't be null, 2 can be null (in onAdd).
>
> I'd probably create a wrapper bean for the iteration and use a custom
> ValueEncoder. eg:
> http://tinyurl.com/nx895
perty for "onAdd".
> On 7 Sep 2014 02:50, "squallmat ." wrote:
>
> > Hi,
> >
> > I'm trying to put dynamic multiple upload buttons in Tapestry with an
> > AjaxFormLoop component.
> >
> > But in the "onAdd" event where you
Hi,
I'm trying to put dynamic multiple upload buttons in Tapestry with an
AjaxFormLoop component.
But in the "onAdd" event where you have to create a new UploadedFile Object
and return it, it doesn't seems to have any method to do that, because
UploadedFile can't be instantiated by a new.
Is ther
t;
>
> On 25 August 2014 15:55, squallmat . wrote:
>
> > Hi,
> >
> > As said in title, I would like to know if it's possible to add special
> > values in a select list of objects, that are not "bind to encoder" like
> the
> > blank one, I need to add a delimitation in the list of my entities to
> > select.
> >
> > Thanks.
> >
>
Hi,
As said in title, I would like to know if it's possible to add special
values in a select list of objects, that are not "bind to encoder" like the
blank one, I need to add a delimitation in the list of my entities to
select.
Thanks.
Hi,
I would like to know if is possible to put a method with a contextualized
value in it. For example :
Is this possible ?
Hi,
each time on a submit failed the field values associated to a simple string
persist without requiring @Persist annotation. But when you have any other
type of fields, for example a list from an ajaxformloop, or a file
selection, their values doesn't persist naturally, you have to use @Persist
Hi,
I have a form with different fields of text and one field with a t:Upload
of file,
when I have a submit fail, the data of the textfields stay, but the file
selection made is reinitialized.
Why the t:Upload doesn't act like the textfields ? Is there a way to make
it keep file selection at faile
Hi,
I have a zone in which I have a select with a list of objects. When I
select a value, this one should be add in another list of chosen values,
and this value should disappear in the select. I've done that :
(${message:selectToAdd})
- ${chosenTerminal.getNom()}
public Object onValueC
Hi,
I have a form with fields associated to the different members of an entity.
Certain fields are lists on which I use the Ajaxformloop.
When I try to submit and that validation problems occur, the fields retain
their values except the lists on which I use Ajaxformloop.
Then If i want failed-su
> @Override
> public void run(JavaScriptSupport javascriptSupport) {
> javascriptSupport.addScript('callUpdateZone()");
> }
> });
>
> You have to import
> org.apache.tapestry5.services.javascript.JavaScriptSupport;
>
> Thanks,
> Duy.
>
>
>
>
>
thanks for your answer Chung, I tried it but when i add a row I got this
error :
No object of type
org.apache.tapestry5.services.javascript.JavaScriptSupport is available
from the Environment.
2014-08-07 10:08 GMT+02:00 Chung Khanh Duy :
> Hi,
>
> You could not call updating zone in onAddRow or
Any help ? :(
2014-08-06 15:21 GMT+02:00 squallmat . :
> Hi,
>
> I try to do a zone-update when adding or removing a row from an
> ajaxformloop component. I have :
>
>
>
>
>
> ${message:fieldName}
> ${message:fieldContent}
>
>
>
>
>
&
Hi,
I try to do a zone-update when adding or removing a row from an
ajaxformloop component. I have :
${message:fieldName}
${message:fieldContent}
${message:deleteField}
${message:addField}
And in the actions for adding and removing rows I do :
// when adding a field row
Obj
2014-07-22 18:01 GMT+02:00 Thiago H de Paula Figueiredo
:
> On Tue, 22 Jul 2014 12:45:05 -0300, squallmat .
> wrote:
>
> ok great,
>> but what I don't know it's how to integrate javascript functions on a
>> file and integrate the result in the UploadedFile Objec
ok great,
but what I don't know it's how to integrate javascript functions on a file
and integrate the result in the UploadedFile Object.
2014-07-22 17:26 GMT+02:00 Thiago H de Paula Figueiredo
:
> On Tue, 22 Jul 2014 11:53:50 -0300, squallmat .
> wrote:
>
> Hello,
>
Hello,
I would like to upload a client-resized image. I don't see tools for that
in tapestry documentation. Is it possible to use javascript to handle file
iploading and resize image before populating UploadedFile Object ?
; Do the Errors use globalOnly="true"?
>
> Are the error messages being generated by server-side code? And are they
> being recorded on the right form (eg. form1.recordError()?
>
> Are you giving each Errors an id? Is it unique?
>
> Are you giving each Form an id?
loop1
>
> Geoff
>
> On 22 Jul 2014, at 7:14 pm, squallmat . wrote:
>
> > Hello,
> >
> > as said in title I have a loop on a list of objects (with his encoder) :
> >
> >
> >
> >
> >
Hello,
as said in title I have a loop on a list of objects (with his encoder) :
${message:typeName}
${message:remarks}
${message:delete}
I initialize the list of objects in onActivate() :
// initialize list of types if null
if (typeClientDtoList == null) {
typeClient
The language switchers are in a component layout including the pages where
there is the forms. And I don't want (and the client too :p) to change the
presentation.
2014-07-17 17:34 GMT+02:00 Thiago H de Paula Figueiredo
:
> On Thu, 17 Jul 2014 11:49:56 -0300, squallmat .
> wrote:
&
I used at many times injections of spring services bean in my tapestry
pages and that works really well.
But now I need to use them in Encoders class, when I do that :
public class ApplicatifDtoEncoder implements ValueEncoder {
@Inject
IServiceApplicatif serviceApplicatif;
...
My serviceApp
.
>
>
> http://jumpstart.doublenegative.com.au/jumpstart7/examples/localization/bymessagecatalog
>
> http://jumpstart.doublenegative.com.au/jumpstart7/examples/localization/bytemplate
>
> Geoff
>
> On 17 Jul 2014, at 11:32 pm, squallmat . wrote:
>
> > hello Geoff,
&g
gt; (which is a very unusual use case) then try Submit with mode="cancel" or
> mode="unconditional".
>
>
> http://people.apache.org/~hlship/t5api/apidocs/org/apache/tapestry5/corelib/components/Submit.html
>
> On 17 Jul 2014, at 8:26 pm, squallmat . wrote:
>
> >
ocale switching
without having to "fail-submit" before ?
2014-07-17 10:23 GMT+02:00 squallmat . :
> I added @Persist on both source and value, now fields persist between
> languages.
> But localization switching reload the page, so I assume if I want the
> field that we
, right ?
Is this possible to have localization switchin without page reloading, and
only the labels "ajaxly" updated ?
2014-07-16 21:02 GMT+02:00 Thiago H de Paula Figueiredo
:
> On Wed, 16 Jul 2014 12:55:24 -0300, squallmat .
> wrote:
>
> Still, in the Client entity that
ting in db ?
And also, how can I change the the text "Add row" ?
(And yet : thanks for your help)
2014-07-16 17:39 GMT+02:00 Thiago H de Paula Figueiredo
:
> On Wed, 16 Jul 2014 11:05:30 -0300, squallmat .
> wrote:
>
> I'm using an ajaxformloop component, that w
And while I'm here,
is it possible to change the text of "Add row" for what we want ?
2014-07-16 16:05 GMT+02:00 squallmat . :
> I'm using an ajaxformloop component, that works really well.
>
> But my webapp is developed in two languages : english and french, an
I'm using an ajaxformloop component, that works really well.
But my webapp is developed in two languages : english and french, and when
I tried to switch to another localization the added rows disappear,
and if i switch back to the first langauge the rows are reappearing and are
empty.
Is there m
).
2014-07-15 17:32 GMT+02:00 Thiago H de Paula Figueiredo
:
> On Tue, 15 Jul 2014 10:48:02 -0300, squallmat .
> wrote:
>
> Ok I resolved the problem,
>>
>> I went from declaring the encoder with :
>> @Property
>> private TypeClientDtoEncoder typeClientDt
H de Paula Figueiredo
:
> On Tue, 15 Jul 2014 07:03:32 -0300, squallmat .
> wrote:
>
> the null pointer exception comes from :
>> at org.apache.tapestry5.internal.util.SelectModelRenderer.
>> option(SelectModelRenderer.java:51)
>>
>>
>&
eing one of the values in the
> OptionModel.
>
> It might also be worth trying secure="literal:false" on the Select.
>
> On 15 Jul 2014, at 5:59 pm, squallmat . wrote:
>
> > I tried to see what was in my selectmodel after the factory loading with
&
s have a lot of identical code. In my case the problem
> was that the SelectModel had all of the expected values *except* the
> selected value. Tapestry didn't do a good job with the error messages
> in that case.
>
> On Fri, Jul 11, 2014 at 5:36 AM, squallmat . wrote:
> >
String of an
object contained in the list, is this what have to be done ?
2014-07-10 16:57 GMT+02:00 Thiago H de Paula Figueiredo
:
> On Thu, 10 Jul 2014 09:51:08 -0300, squallmat .
> wrote:
>
> Caused by: java.lang.NullPointerException
>> at
>> org.apache
I'm trying to do implement a select component on a page.
I have this :
*CreerClient.java:*
*.*
// value encoders
@Property
private ApplicatifDtoEncoder applicatifDtoEncoder;
@Property
private TypeClientDtoEncoder typeClientDtoEncoder;
// select models for client types and applications
@Prop
Hello,
I would like to know if it is possible in an to replace
the Addrowlink by a t:Select that adds different values depending on what
is chosen in the list ?
Hello,
I am developping a webapp with Tapestry 5 and I need to implement a
"secured/rights-managed file serving/downloading".
I don't know how to implement that, is there components, tutorials or then
"best practices" to implement such system ?
redo
:
> On Mon, 07 Jul 2014 05:58:30 -0300, squallmat .
> wrote:
>
> I have two t:form embedded components defined in my java class with the
>> good ids.
>>
>
> What do you mean by good ids?
>
>
> When I tried to launch that I got th
I have two t:form embedded components defined in my java class with the
good ids.
And in my template file I have defined them also, but each one surrounded
by a t:if, and at the page launch only one of the these t:if will be true,
so only one of my two embedded forms will be rendered.
When I tried
Hello,
I launch my webapp that I'm developping in development mode, I try to go on
my "Login" page taht has "@Secure" annotation. I put this in my development
mode configuration :
*configuration.add(SymbolConstants.SECURE_ENABLED, false);*
But when i go to the login page it redirects me to an htt
thank you
2014-07-03 16:57 GMT+02:00 Thiago H de Paula Figueiredo
:
> On Thu, 03 Jul 2014 10:35:18 -0300, squallmat .
> wrote:
>
> I see that when i just use "layout/layout.css" it searches in the package
>> of my component.
>> Is it possible to tell
I see that when i just use "layout/layout.css" it searches in the package
of my component.
Is it possible to tell link it a resource at the root of classpath ?
2014-07-03 15:11 GMT+02:00 squallmat . :
> Thank you, it works now.
>
>
>
> 2014-07-03 14:50 GMT+02:00 Thi
Thank you, it works now.
2014-07-03 14:50 GMT+02:00 Thiago H de Paula Figueiredo
:
> On Thu, 03 Jul 2014 09:33:31 -0300, squallmat .
> wrote:
>
> I should have seen that before, but in my console I have:
>>
>> Caused by: java.lang.IllegalArgumentException: Unknown
va:182)
at atos.smt.livraison.components.LoginLayout.(LoginLayout.java)
... 111 more
[INFO] AppModule.TimingFilter Request time: 1555 ms
2014-07-03 14:11 GMT+02:00 squallmat . :
> LoginLayout :
>
> @Import(stylesheet = "asset:layout/layout.css")
> public class Logi
ls(currentPage)) {
return "active";
}
return "";
}
}
2014-07-03 13:35 GMT+02:00 Thilo Tanner :
> Hi!
>
> Is the layout class itself maybe private or protected?
>
> Otherwise, could you provide us a (anonymous version) of your code?
>
> Thanks and best,
ructor or the constructor is
> private or protected. Check the Tapestry component lifecycle in case you
> want to setup your component (for example by using @SetupRender)
>
> Best,
> Thilo
>
>
>
> ____
> From: squallmat .
> Sent:
Hello I have an embedded component into another component but when I try to
launch i got this :
"Exception assembling root component of page Index: Exception assembling
embedded component 'mainlayout' (of type
atos.smt.livraison.components.MainLayout, within Index): Exception
assembling embedded c
Hello,
>From what I've seen on the official Tapestry site, They're only talking
about one file about uploading.
I have a project with Tapestry 5 and I need to upload multiple files (an
amount not fixed), How can I do multiple files uploading with Tapestry 5 ?
Thanks.
73 matches
Mail list logo