To customize the label for your selects, you'll have to implement you
own IPropertySelection or inherit from existing one and override
getLabel(int).
As for disabling/hiding stuff dynamically: you can set submitOnChange to
true (see
http://tapestry.apache.org/tapestry3/doc/ComponentReference/Prope
Hi everyone,
This is a general web design question.
Does anybody knows how to avoid flickering on loading pages?
I'm developing a tapestry4 app with tacos, and it suffers of a lot of
flcikering when loading pages. This means the browser goes blank before
rendering a page, even thought
they are usi
Not really, I’m retrieving data from the database that has code and
description. If I display code in the PropertySelection then that doesn’t
make any sense to user. I would like to display the description beside the
code.
I also need to enable and disable some of the fields according to the ite
Do you mean having two lists where the second list depends on
what is selected in the first?
I use this ~all~ the time in combination with @EventListener to update
the second list when something changes via "onchange" in the first.
On 8/13/07, Nazmul Bhuiyan <[EMAIL PROTECTED]> wrote:
>
> Hello,
Make your image very large by default (or however large the largest
box would ever be) and let the browser scale it down for you
automatically. Nothing can make images scale up, but almost
anything can do a reasonable job at going down..
This should all be possible with 0 help from tapestry /
You should try the dojo support forums - there's no such thing as a
Tapestry Dojo tree component. (at least there better not be, not in
tapestry at least ;) )
http://dojotoolkit.org/forums/forums/support/dijit
On 8/13/07, mn <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I am new in tapestry first of
He will have >more< of those AJAX features in soon - one way or
another. After 4.1.3 goes out I'm thinking of easing off T4.1.X
some, except maybe bug fixes. (if I can get away with it)
On 8/13/07, Kolesnikov, Alexander GNI
<[EMAIL PROTECTED]> wrote:
> Well, I am in chapter 5 now, out of
try 4.1.3-snapshot? There was more work done in that function
recently with the new javascript @EventListener function parameters
being able to be passed in to listeners via special methods in the
BrowserEvent object.
On 8/11/07, Frank <[EMAIL PROTECTED]> wrote:
> Hi,
>
> When I make a simple Eve
I don't think ognl really handled enums (very well) before 2.7.
On 8/8/07, Peter Schröder <[EMAIL PROTECTED]> wrote:
> i dont think that logging an issue to jira will be successfull. T4.0.2 seems
> not to be supported any longer...
>
> -Ursprüngliche Nachricht-
> Von: Nick Westgate [mailt
It sounds sort of familiar. It's not been anything I've run across
in normal app development but it sounds familiar in various bug
hunting stuff I may have done.
Is this stuff you see while debugging with firebug by any chance?
I've noticed that firebug has a "bug" in the "net" tab view where
vi
Yeah that's mostly how it's done.
But - you may want to think about handling this differently if you
have the opportunity. At least from a ui perspective - I've not been
particularly fond of web forms that display all my errors at the top
or bottom in a list that I then need to re lookup for eac
Yep, that's exactly how you should do it.
On 8/3/07, Ben Dotte <[EMAIL PROTECTED]> wrote:
> Yes, a threaded service is created and bound to the current request
> thread the first time it is requested. There is a more detailed
> explanation here:
>
> http://hivemind.apache.org/hivemind1/services.ht
Don't forget the new IMarkupWriter.appendAttribute() function - which
does what the name implies. (could possibly combine this with a
custom RenderWorker hivemind contribution)
On 8/3/07, Christian Haselbach <[EMAIL PROTECTED]> wrote:
> On Thu, Aug 02, 2007 at 06:32:06PM -0700, kael20 wrote:
> >
Or create a new IBinding type that you stick in parameters like
disabled="perm:something" . That's what I've done in the past.
On 8/3/07, Andrea Chiumenti <[EMAIL PROTECTED]> wrote:
> It's a matter of tastes, you could also put a js code that does a
> dojo.event.connect (and sons ;-p ).
>
> Cia
Right. Redirects aren't really handled by xml http request - so any
implementation of them is haphazard at best.
On 8/2/07, Andrea Chiumenti <[EMAIL PROTECTED]> wrote:
> you could als set via javascript the input components you need and then call
> dojo.byId('idsubmit').click(); to take advantag
\s ? Not sure. Could be a bug I suppose.
On 7/31/07, Siddhartha Argollo <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> Is it possible to use a string with spaces as a constraint for a validator?
> For example: t:validate="required,date=dd/MM/ HH:mm"
> I tried without quotes, single quotes and doub
Probably something is mapped weird in your web.xml file or you have a
context name hard coded somewhere. Deploying it as root.war means it
becomes the root context and has no context name.
ie normally it'd be :
http://appname:port/contextname
but now it's just
http://appname:port/
On 7/31/07
Glad you liked it. :) 4.1.3 is even faster if you can believe it
On 7/31/07, Peter Stavrinides <[EMAIL PROTECTED]> wrote:
> Thank guys for your hard work on Tapestry 4.1.2, I have noticed a
> massive performance improvement, especially with the asynchronous stuff.
>
> well done! ;-)
>
> Peter
Yep, it's impossible to do. (and would be extremely inefficient if
tapestry did do it for very large apps)
I'd recommend using something like the tacos SiteMap service - I still
seem to end up using it on almost every project I work on.
http://tacos.sourceforge.net/hivemind/SiteMap.html
On 7/3
I've suddenly run into what seems to be a bug that appears when I pass
an integer to a custom component that itself contains a radiogroup
that uses the inherit:value as its own value. For some reason it will
only take a string. If the value is an int, for example, it throws the
exception below. I f
On your running web app copy and paste the url that is generated to
jquery and just see if you can hit it directly.. If you are
successful you'll see the javascript source code.
On 7/28/07, Chinchih <[EMAIL PROTECTED]> wrote:
> I have a question about how the tag in script templates is
> used
>
In IE you can only replace the inner content of td elements, anything
above that is off limits.
But..tables are still a perfectly acceptable way to lay content
out. I've played the floating div css whatever game and found it to
be more trouble than it's worth a lot (but not always) of the tim
There isn't currently a way to do this. I have thought about it and
think I have a good idea on how to do this with T5 but am thinking
that it's not worth the investment in T4. (it would require a lot of
behind the scenes refactoring and such that might be time better spent
on T5)
On 7/27/07, Ch
No idea, if you file an issue with ~exact~ object types / values
being used - independent of anything happening in tapestry - I should
be able to look at it.
I do everything on linux so I probably would have seen something there
by now but 64 bit stuff in general is still kind of wanky for libstd
You should try 4.1.3-snapshot to be sure - but sometimes the problem
is just conflicting css rules on your page.
Try segregating the dialog in to a minimal page with little to no css
rules and work your way out from there. (if 4.1.3 doesn't solve it)
On 7/26/07, Martino Piccinato <[EMAIL PROTECTE
Sounds like you need to create a new "depends on" validator. I've
been meaning to do it but haven't yet.
On 7/26/07, #Cyrille37# <[EMAIL PROTECTED]> wrote:
> Perhaps I can present my question in a different way :
>
> What's the way to have an inter-fields validation for a form, like if
> checkbox
I'm not sure I understand what you are seeing as expected vs. actual behavior.
I do remember seeing a bug with DirectLinks not passing that parameter
to the link factory but don't know how it applies to your situation
that isn't controllable via setting stateful = true/false.
On 7/26/07, Patrick
Hmm ...Sounds interesting. I don't have a specific need for
something like that right now - but am always happy to accept patches
(+ tests) .
On 7/26/07, Lionel Touati <[EMAIL PROTECTED]> wrote:
> It actually saved the content of the assets in a specified directory, so
> they'd be served by Apac
Hello,
I want the user to choose Code and Description. But I can only let the user
choose Code or the Description by the PropertySelection.
Is there any component similar to PropertySelection that I can use for this
purpose, so that user can see Code and Description?
Some code example would be gr
I have some thoughts on ordering, but first could you elaborate on, or
better yet point me to documentation on teh Environmental service? I've
seen it mentioned but know nothing about it.
Robert Zeigler wrote:
Overall, that looks pretty good, but you could handle it easier, I
think, by using t
Well, one could peek to get the markupwriter, but perhaps you may want
to dig through the sourcecode to see what Howard's done to support
adding javascript files on the fly. He uses a 'service'
DocumentScriptBuilder to 'declare' the various scripts as well as keep
them unique and then once all
Overall, that looks pretty good, but you could handle it easier, I
think, by using the environment service.
The top level document is available during render from the
Environment service, so you could use that in place of steps 2 and 3.
Consistent ordering would be nice... the difficult thing t
So it looks like one would need to (re)create something similar to the
T4 Shell component.
I've taken a brief look at the DOM api, and if I were to write something
as focused as a Style component, then it looks like I'd have to:
1) create my component class, either in my.namespace.components, o
I would like to know as well. I believe someone else asked about
generating html email content using Tapestry 5, and I think the
response was that it's just not possible at the moment. HTML email
generation would be nice!
On 8/11/07, Jonathan Barker <[EMAIL PROTECTED]> wrote:
> Hi all,
>
>
>
>
T5 renders with a dom.
Gives you a lot of control...
You could create a "style" component that finds the head and inserts
the appropriate element.
Then your components could add their own stylesheets using the style
component, with the page and containing components none the wiser.
You would
An exception has occurred.
You may continue by restarting the session.
[ +/- ] Exception: Missing classpath resource '/js/dojo/dojo.js'.
org.apache.hivemind.ApplicationRuntimeException
Missing classpath resource '/js/dojo/dojo.js'.
location: Annotation
@org.apache.tapestry.annotations.Asset(val
I cannot even use tapestry-4.1.1 and ognl-2.6.9
[INFO] Started Jetty Server
2007-08-13 17:58:23,090 [btpool0-2] WARN tapestry.services.Asset -
Classpath resource '/dojo/
tapestry/namespace.js' does not exist.
2007-08-13 17:58:23,105 [btpool0-2] WARN tapestry.services.Asset -
Classpath resou
One of the nice things I learned in my brief investigation of T4.1.2 was
that the Shell component would automatically pick up any style sheets a
page declared using the @Style annotation (or something like that). I've
been wondering how something like this might be achieved in T5, using
the ava
yes . iam attaching the doc2.doc file showing my file structure,
On 8/13/07, Marcos Chicote <[EMAIL PROTECTED]> wrote:
>
> where is the .page file? under web-inf too?
>
> On 8/13/07, dinesh kumar <[EMAIL PROTECTED]> wrote:
> >
> > hello thanks for the reply . but i still have a problem.
> >
> >
where is the .page file? under web-inf too?
On 8/13/07, dinesh kumar <[EMAIL PROTECTED]> wrote:
>
> hello thanks for the reply . but i still have a problem.
>
> 1. in the home.html i used the @pagelink to page="page1" ( both having
> no java class files)
>
> 2. i created a page1.html in W
hello thanks for the reply . but i still have a problem.
1. in the home.html i used the @pagelink to page="page1" ( both having
no java class files)
2. i created a page1.html in WEB-INF folder .
3. then i deployed and saw in the web browser. when i click the page1
link it shows this
Any ideas what I can do?
Why can't I use 4.1 ? Does dojo work on that rev?
Best regards
Ken in nashua
C:\Prototype\Mavenized\Product\tapestry-4.1.1\trunk\tapestry-framework\src\java\org\apache\tap
estry\services\ExpressionEvaluator.java:[18,20] package ognl.enhance does
not exist
C:\Prototyp
Thanks!
Shing
--- Jonathan Glanz <[EMAIL PROTECTED]> wrote:
> Use
>
> @Inject
> Private RequestGlobals globals;
>
> Then
>
> Globals.getHTTPServletRequest();
>
>
> -cheers, Jon
>
> -Original Message-
> From: Shing Hing Man [mailto:[EMAIL PROTECTED]
> Sent: Sunday, August 12, 200
Do I dare build T-4.1.2 against ognl-2.6.7 ? It seems like my only logical
solution.
Best regards
Ken in nashua
_
More photos, more messages, more storageget 2GB with Windows Live Hotmail.
http://imagine-windowslive.com/hotmail/?
Ok, t-4.1.2 and ognl-2.7 works better.. for dojo
But I still cannot get past the ognl bug 111. Thats why I backed down to
t-4.1 ognl-2.6.7 (which worked my ognl code fine)
[
http://jira.opensymphony.com/browse/OGNL-111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#ac
You forgot to write a corresponding page class for Page3. If you did
make sure that you either referenced it in your Page3.page or that you
put it into the package denoted by the
org.apache.tapestry.page-class-packages configuration property (see
http://tapestry.apache.org/tapestry4.1/usersguid
Does t-4.1.2 depend on ognl-2.7
I am anchored to ognl-2.6.7 due to an ognl-2.7 bug that wipes out my whole
app.
t-4.1.2 is built against ognl... which one though?
What do I provide for dojo source?
Thank You
_
Learn.Laugh.Share
hey iam new to tapestry . i started with the quick start tutorials in the
tapestry page after compleating that i found this error can any one help me
how to sort it .. how to fix this in the application name space.
home.html
form tutorial
Tapestry Component Database
You really should use 4.1.2, from
http://tapestry.apache.org/download.html
For the dojo path use @Asset("/dojo-0.4.3/")
Ken nashua wrote:
Folks,
I am receiving bootstrap problems with my webapp using T-4.1
4.1
2.6.7
2.0.6
All I am trying to do is operate dojo with T-4.1 as it comes bundled
Folks,
I am receiving bootstrap problems with my webapp using T-4.1
4.1
2.6.7
2.0.6
All I am trying to do is operate dojo with T-4.1 as it comes bundled with
T-4.1 right?
I receive this stack dump...
0:8080
[INFO] Started Jetty Server
2007-08-
Hi!
A new version of our date picker component is released.
Compability issues with 5.0.5 is resolved.
There are new features in un-commited code here, sent to me by Martin
Dietze, but we want to have a closer look before we add it.
http://code.google.com/p/tapestry5-jscalendar/
--
/ted
--
I try to get a full filepath of one file, i try the
resquestGlobal.getHTTPServletRequest().getSession().getServletContext().getRealPath("/")...
but the server report errors!
--
徐 依伟
Folks,
I want to operate JSON during
Basically I have a Border.html that operates a custom which renders a
header image.
But my header images are not scaling to the exact size of the box.
So I would like to operate JSON during ONLOAD in order to ask the server
what the actual size of
Hi Daniel,
thanks, if you've confirmed that Lionel's solution solves your problem,
that's fine. No need for an example then. I've just not been sure that
it really solved the problem you had.
best regards,
Marcus
> -Original Message-
> From: Daniel Kleine-Albers [mailto:[EMAIL PROTECTED
Hi,
I am new in tapestry first of all :) How to use dojo tree component? I tried
this, but it doest't work (lack dojo definition error...). What should I do
to use other widget that are not included in tapestry (other than
autocompleter etc.)?
http://www.w3.org/TR/html4/strict.dtd";>
Dojo Tree
Great! Looking forward it it :)
On 8/13/07, Kolesnikov, Alexander GNI
<[EMAIL PROTECTED]> wrote:
> Well, I am in chapter 5 now, out of nine planned. The trick is that chapter 9
> should be about AJAX and I only hope that Howard will add AJAX features soon.
> If all goes well, the manuscript
Hi Marcus,
I could have a look into building a small example, but the corrected
version of the wireElementFormEvents() in EventConnectionVisitor that
is attached to the following JIRA fixed my problem (using the second
version):
https://issues.apache.org/jira/browse/TAPESTRY-1556
Thanks
Well, I am in chapter 5 now, out of nine planned. The trick is that chapter 9
should be about AJAX and I only hope that Howard will add AJAX features soon.
If all goes well, the manuscript should be ready by the end of September, and
then it should take something like a month to have it printed.
58 matches
Mail list logo