I have an Error page which implements ExceptionReporter and intercepts all
exceptions thrown by other pages. As every other page in my app, Error page
contains locale switcher - user should be able to change language of
displayed error message. (Locale switcher is part of Layout component).
In e
Hi,
I use LinkSubmit on two pages of my app. On one page it works fine but on
the other it's not; when I click on that link nothing happens. The only
difference I have noticed is in form action generated by T5. On "working"
page it looks like:
action="/appContext/pageName.formId"
and on "n
DH-14 wrote:
>
> In that case, the context is only useful for Login page, but not the
> following page, so only returning logic name of source page would not
> carry the context.
> Try PageRenderLinkSource#createPageRenderLinkWithContext(String pageName,
> Object... context) and return that lin
Some pages of my app are available only to authorized users. When user
enters such a page and is not logged in, appropriate message is shown with
link to login page. After logon user should return to the same page he came
from to login page.
So I pass logical name of restricted page and it's con
Thiago H. de Paula Figueiredo wrote:
>
> Em Wed, 30 Sep 2009 13:24:40 -0300, shymon
> escreveu:
>
>> Hi,
>
> Hi!
>
>> Moreover, during the second pass my activation context variable has
>> unexpected value. eg.:
>
> Make sure you use ${asset:
rom.
What could be the problem?
How should I embed java applets in tapestry page?
thx for any help,
Shymon
--
View this message in context:
http://www.nabble.com/Strange-java-applet-behavior-with-T5-tp25684505p25684505.html
Sent from the Tapestry - User mailing list archive at
How can I change grid sorting constraints from actionLink event handler?
--
View this message in context:
http://www.nabble.com/changing-grid-sort-constraints-from-event-handler-tp24570524p24570524.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
--
Ok, to exclude influence of some other components I'm using in project, I
have created new project using Tapestry 5 Quickstart Archetype (5.1.0.5) and
put long placeholder text in Index.tml. In internet explorer background was
scrolled _with_ the rest of content.
So then I added following code t
Hi,
I have noticed that whenever I put TextField component on my page eg. like
this:
element in generated page source in MSIE gets additional style
attribute:
style="background-attachment: fixed;"
This occurs _only_ in MSIE.
Is it a bug or feature?
(T5.1.0.5)
--
View this message i
Thiago H. de Paula Figueiredo wrote:
>
> On Tue, Jul 7, 2009 at 12:15 PM, shymon wrote:
>
> You don't need a component id to handle its event: just handle the
> event normally:
>
> @OnEvent("nameOfYourEvent")
> void handle() {...}
>
> If
How can I insert actionLink into message from resource bundle?
I have message with parameter which I replace using messages.format method.
I also create link object with createEventLink() and element using Element
class.
It almost works, but link created this way has no id so I cannot handle o
I need to exchange small amount of data (for now one string value) between
majority of my app pages, but I want to store this value in the page url.
AFAIK SessionState offers only 'session' strategy.
Moreover I don't want to handle this single value in each page's onActivate.
I thought I could
Hello,
I'm trying to deploy t5 app to Tomcat 6.0.18 with security manager turned
on. In the beginning there were some access exceptions but I have granted
following Permissions:
grant codeBase "file:${catalina.base}/webapps/myapp/WEB-INF/lib/-" {
permission java.lang.reflect.ReflectPermission "
I have a file placed in WEB-INF folder - file which I want to be deployed
with application.
I also want to load that file in page code. How can I obtain path to that
file?
--
View this message in context:
http://www.nabble.com/Path-to-files-in-WEB-INF--tp20679893p20679893.html
Sent from the Tap
Ok, I solved my "problem" :)
I was not quite aware of how to use maven plugin.
--
View this message in context:
http://www.nabble.com/T-5.0.16---maven-repository-tp20599623p20602492.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---
.maven.org/maven2/)
I can see 5.0.16 is there.
What have I to do to see 5.0.16 from netbeans? How can I add 5.0.16
dependency?
please help,
Shymon
--
View this message in context:
http://www.nabble.com/T-5.0.16---maven-repository-tp20599623p20599623.html
Sent from the Tapestry - User mailing list
Forgive me my question but I'm not very familiar with maven stuff:
How can I get 5.0.16 from maven repository?
I have updated Central Repository index and still nothing. 5.0.15 is the
newest version I can find.
I also have 'Include snapshots' option turned on. (netbeans plugin)
How can I create ActionLink dynamically in component class?
Especially, how can I add zone attribute?
addParameter() method of Link is not what I want.
And how can I write this link through Writer?
When I use Writer I'm not able to write Tapestry components like ActionLink.
When I use template, I
Thiago H. de Paula Figueiredo wrote:
>
> Use a MarkupWriter instead:
>
> @BeginRender
> public void render(MarkupWriter writer) {
> // read the MarkupWriter section in
> http://tapestry.apache.org/tapestry5/guide/dom.html.
> }
>
But can I use @BeginRender if i use template?
And i h
I want to create an ajax component: kind of tree which shows current node and
all its parent and child nodes (but only for current node - nodes which are
not relatives of current are not visible). Component consists of zone which
is reloaded after user clicks on any of visible nodes.
Component t
Your action link event handler probably returns Block.
So you can use delegate component:
...
shymon
--
View this message in context:
http://www.nabble.com/How-do-you-initialize-contents-of-a-Zone-when-the-page-is-loaded--tp20494166p20497787.html
Sent from the Tapestry - User
Thiago H. de Paula Figueiredo wrote:
>
>
>> Of course, I was not precise.
>> The problem is that I can't place form in zone. Only one form element
>> should be ajax reloaded - not whole form.
>
> If there's not a JIRA filed for it, we should file one, because this
> limitation can be quit
Thiago H. de Paula Figueiredo wrote:
>
>
>> If form elements are not allowed in zones, what is the solution?
>
> This is not strictly true. Form elements are allowed in zones as long as
> they're inside a form that is completely enclosed in a Zone.
>
>
Of course, I was not precise.
The p
I have written an ajax component: kind of tree which shows current node and
all its parent ind child nodes (but only for current node - nodes which are
not relatives of current are not visible). Component consists of zone which
is reloaded after user clicks on any of visible nodes.
I want this co
Thiago H. de Paula Figueiredo wrote:
>
>
> You're welcome again!
>
> Is it just me or this message list has been having an increase in new
> members? This is very good news, IMHO. :)
>
>
I'm totally new member so
this._messageListUsers++; ;)
After about two years of dealing with serv
g/apache/tapestry5/EventContext.html.
>
>
I was just playing with activation context. Finally I replaced all
onActivate methods with one
taking object array as argument: onActivate(Object[] aParams). But now I
will give EventContext a try.
Thanks once again :),
Shymon
--
View this m
hmmm, what to say... thanks :)
--
View this message in context:
http://www.nabble.com/T5%3A-Multiple-handlers-for-one-event---calling-order-tp20239292p20239594.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
--
In comments to
http://tapestryjava.blogspot.com/2007/08/handling-direct-urls-in-tapestry-5.html
Lewis has written that:
> When a single method is overloaded with different parameters, the order of
> invocation is fewest parameters to most parameters.
> So onActivate() will be invoked before onA
akochnev wrote:
>
> Shymon,
>I'm not sure what the solution to your problem is going to be. The
> reason
> why things worked in the original setup is that when you specify
> archiveClasses to false, when the app is deployed in Glassfish, it's
> deployed as
akochnev wrote:
>
> Shymon,
>I think your issue with the missing jar entry might have to do with how
> Maven deploys the war
> In the meantime, try switching the archiveClasses option to false (by
> default it's true).
>
>
>
shymon wrote:
>
>
> ...
> [INFO] AppModule.TimingFilter Request time: 1 ms
> [INFO] AppModule.TimingFilter Request time: 3 ms
> [INFO] AppModule.TimingFilter Request time: 0 ms
>
> When onPassivate method is called for the first time all characters are
> ok, but i
.
Application source and output encoding is set to UTF-8.
thanks in advance for any help.
Shymon
--
View this message in context:
http://www.nabble.com/String-encoding-in-activation-context-tp20075742p20075742.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
Andy Huhn-3 wrote:
>
> Hi Shymon,
>
> If you don't want the pager to show up at all on the grid component, you
> can set
>
> pagerPosition="none"
>
> on the grid. This might prevent the row count from being generated at
> all.
>
> Andy
d have to send ALL
results through XML-RPC and limit them in prepare method - I don't think
it's a good idea...
regards,
Shymon
--
View this message in context:
http://www.nabble.com/Grid-component-and-available-rows-number-tp19964529p19968644.html
Sent fro
I wanted to use a grid component to display search results. So I tried to
define a class which implements GridDataSource interface. Unfortunatelly
getAvailableRecords() method is called by T5 before prepare(...) method.
This doesn't suit me as I receive total record number with search results
onl
I have a bean with property of type java.util.Date. There is also a
constructor getting Date value as parameter. When I try to use BeanEditForm
with this bean RenderQueueException is thrown saying:
...(for service 'BeanModelSource'): No service implements the interface
java.util.Date
Another
akochnev wrote:
>
> Shymon,
>I know you said you already resolved your issue. However, instead of
> using a stock netbeans Web Application project, I would strongly recommend
> using the NetBeans Maven support when starting a project; it really makes
> the ramp up almo
kristian.marinkovic wrote:
>
> do you have the library in your classpath?
>
Now it works.
I removed only tapestry-hibernate... jars.
tapestry-spring-5.0.15.jar also had to be removed.
Thanx!
--
View this message in context:
http://www.nabble.com/Tapestry-5.0.15%2C-NetBeans-6.1-and-Hibernat
kristian.marinkovic wrote:
>
> you have to remove the dependency to tapestry-hibernate
>
> g,
> kris
>
Didn't help.
Now, I added only one dependency to tapestry-core-5.0.15.jar.
And the problem remains the same:
java.lang.NoClassDefFoundError: org/hibernate/Session
...
Caused by: java.lang.
I'm trying to create my first simple application using Tapestry 5.015. My
IDE is NetBeans 6.1, and app is deployed to Glassfish v2ur2.
I have created web application, added Tapestry to project libraries,
configured web.xml, created Start.tml and Start class. But when I deploy app
to appserver I
40 matches
Mail list logo