problem with rich text editor

2014-12-08 Thread nn kk
Hi everyone, I'm using tynamo rich text area (tapestry-ckeditor-0.0.1.jar) I also use tapestry-jquery-3.4.1 I have a js error: document.observe is not a function. It looks like jquery breaks prototype, how can I fix this? - To

problem with jquery.DialogAjaxLink

2014-12-01 Thread nn kk
I have the following code: I have the zone and the dialog inside it... And everything works on my local, when I click the link I see the following request: POST http://localhost:8080/MyPrj/mainadminpage.halfsea

Re: Inject dynamic number of components

2014-07-21 Thread nn kk
I have a form with many inputs, selects, etc, which I want to submit. Some of these inputs are in some custom components in order to reduce repeating code and to add some specific behavior visual as some dynamic css passed to the custom components and functional as some of them are fileuploads

Inject dynamic number of components

2014-07-18 Thread nn kk
Hi all, how can I inject and access dynamic number of custom components, I want to access them in the Java class. I have: I want to access these components as they are injected and to execute in the onSuccess for everyone of them some method as if it is a single component: @inject MyCus

How to call onSuccess in components from page

2014-07-18 Thread nn kk
Hi everyone, I have a page with a couple of custom components in it, most of them are containing different inputs. In the page after all components I have submit button. By pressing the submit button I want to execute different things in the components. I thought the onSuccess methods in the c

how to implement login access

2014-03-09 Thread nn kk
Hi, I want to create login page and validate the login against my db, which is easy and I have already implemented. But, how could I restrict the access to some pages if user is not verified, as it is possible to access some page by just writing ../pageName in the url? Thanks in advance!

Problem by editing form in loop

2014-03-02 Thread nn kk
Hi, I have the following code: Period: ${gameResult.gamePeriod.name} First Team Goals

tapestryZone is not a function

2014-03-01 Thread nn kk
Hi I have the following code: When I try change the select I see the folling in the firebug console: TypeError: $zone.tapestryZone is not a function zoneupdater.js (line 16) params : params Any Ideas? - To

Re: why is tynamo rich text editor overriding the datefield?

2014-02-28 Thread nn kk
No, that was the first thing I did, but the button is not in the dom. Removing the mixin and the date picker button is back therejavascript:SendMsg(); - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additiona

why is tynamo rich text editor overriding the datefield?

2014-02-28 Thread nn kk
Hi I'm trying to create rich text edit form, so I want to use tynamo. I have the following code: Date: So the richtext field is shown and looks ok, but the datafield data picker disappeared. Removing the mixin and the data picker is there. What is overriding the

beaneditor for complex object

2014-02-26 Thread nn kk
Hi I'm trying to create edit form for my hibernate entities. For example: @Entity @Table(name = "SOME_OBJECT") public class SomeObject implements Serializable { ... @ManyToOne(fetch = FetchType.LAZY) @JoinColumn(name = "SUB_OBJECT_ID", nullable = false) private SubObject su

How to implement simple error/exception handling

2013-08-22 Thread nn kk
Hi, I read about exceptions and error handling in tapestry, but still can not find the best way, to send messages to front-end. I want to be able to send exception messages and error codes, as I can do it in jquary ajax success or error blocks. When I throw some custom exception I don't want to

PageActivationContext issue

2013-08-22 Thread nn kk
Hi, I have the following code: class Page1 { @InjectPage private Page2 page2; ... Object onSuccessFrom...() { ... List catList = new ArrayList... catList.add(cat1); catList.add(cat2); page2.setCatList(catList); return page2; } } class Page2 { @PageActivatio

exception handling

2013-08-21 Thread nn kk
Hi, I want to create my custom exception handling, I saw there are a few ways to replace the Exception Report Page or override the RequestExceptionHandler and again replace the default page. But is it possible to handle only specific type of exceptions, or exceptions from specific pages or form

RE: RE: How to add dinamic content

2013-08-21 Thread nn kk
Yes, that's the idea, I want to add any number of components on a page without submitting the whole page. For example: I want some input fields and an "Add button" to click, which openes a component - some form with different input fields. By every click - new such inner form to be opened and t

pagereset breaks form submit

2013-08-21 Thread nn kk
Hi I have a form which I submit, also have onSuccess, onFailure and onPassivate methods and they worked just fine until I put @PageReset void reset() { System.out.println("test"); } Than by submitting the form, I see onSuccess or OnFailure, than onPassivate are executed and after them - 11:57

upload files an zone

2013-08-20 Thread nn kk
, but I do not want to refresh the whole page, just the dynamic content part, so I put the zone, but after that I got some problem with the file persistence - it's not persisted at all, when I try to access it, I got null pointer. > Оригинално писмо -------- >От: nn kk

How to add dinamic content

2013-08-18 Thread nn kk
Hi all, I want to be able to create and insert component dynamicly. For example, I want to have "add button" and by every click to add whole new tapestry page or component. I don't know how many addings will I have, I want this to be handeled dynamicly. It's like using spring to return ModelAnd