You have to use hivemind Registry object. This is initialized in
ApplicationServlet. So you can subclass it and add special method e.g.
getRegistry(). Or lookup Registry in servlet context where it's
stored.
But I think that hard coding Registry lookup into your code isn't best
practice
2005/
Hello,
I have a component PageLink that opens a Page in a pop-up window (using
PopupLinkRenderer). This component is within the boundaries of form. When I
trigger that link, a new page is shown as it should. But when I submit that
form, I get the following exception: java.lang.NullPointerExcep
Hi,
I am not getting what I need to add in my hivemodule.xml file for
the create-instance class element value.
The content in my hivemodule.xml is:
Actually I have a login page where in I have 2 fields, ie use
Thanks for the reply, I will try out this method and will get back to you
whether it worked or not...
Regards,
Anjali
-Original Message-
From: Waimun Yeow [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 08, 2005 9:21 PM
To: tapestry-user@jakarta.apache.org
Subject: Re: Need help on
Unfortunately, disabling the submit button in this manner will prevent
your submit listener from being invoked since the value of the submit
button (like any disabled form component) is not submitted with the
form. This value is looked for by the submit component to determine
whether or not to inv
hi,all
How to write unit test for tapestry4?
Thanks.
Jun Tsai
--
Welcome to China Java Users Group(CNJUG).
http://cnjug.dev.java.net
I wirte some service using hivemind .How to access the object using hard
code not using @InjectObject.
Thanks.
Jun Tsai
--
Welcome to China Java Users Group(CNJUG).
http://cnjug.dev.java.net
If you specify an onClick you also then need to submit the form usin
javascript so your onCLick will become
onClick="this.disabled=true; document.form1.submit();"
where form1 is the name of your form.
The http://tacos.sourceforge.net project web-site has been upgraded to use
forrest for documentation and site generation. Other than new information
being available there shouldn't be anything too exciting to see, but I
thought I would spam the list anyways.
jesse
Kevin,
Thanks for your input.
Unfortunately I am still getting the same error.
Played around with changing the name of the Visit class implementation.
Plus also tried casting it. I am still getting the same error.
Anyone with any other suggestions
Regards
Andrew Pym
-Original Message---
.page :
.java :
class {
public boolean getUserEnabled;
}
Ananya Goswami wrote:
Hi All,
I need help on knowing what's the component to be used in
my .page and .html files for the check box field.
Thanks in Advance,
*/Thanks & Regards/*//
The default ValidationDelegate produces this output; it's very common
to subclass it to change the rendering methods for just this purpose.
On 9/8/05, Radim Burget <[EMAIL PROTECTED]> wrote:
> I am a bit surprised that I found tag in html code if validation
> failed.
> Is there any way how to ch
I agree, however I don't think we will see it in Tapestry 3. I am looking for
just the right point to switch to Tapestry 4 which solves this and other
problems. However, we are releasing a product before T4 will be released, so
it will be sometime in the future. If you can make the switch...
That all depends on a number of factors I think. If said tree didn't have
any logic to handle these partial "ajax" requests then I would have to agree
about the performance problem..
I do know however that the latest version of the tacos tree ~does~ take into
account the fact that it is involve
This is silly. In my original email, I stated "Thats a terrible model for a
dynamic tree though..."
EOT
-Original Message-
From: Konstantin Ignatyev [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 08, 2005 4:37 PM
To: Tapestry users
Subject: RE: Presenting really large trees
Would
I am a bit surprised that I found tag in html code if validation
failed.
Is there any way how to change that for something more CSS friendly?
Thanks in advance.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comman
Would the 'nested set' work well or not does not
depend on size, but on 'stability' of the tree.
For 'stable' tree (updated nightly) nested set model
does excellent job no matter what the size is. And of
course I mean working hierarchical queries, not simple
'lazy' navigation.
--- Karthik Abram
I have a need to send log4j dynamic info during each reqest so that it
will display the user id of the requestor. I am using log4j's Nested
Diagnostic Context (NDC) to do this and it seems to work well.
I have hacked this into a Tapestry 3.0.3 application to get it to work
and would like to kn
Yes ... even got rid of the hideous blue background!
On 9/8/05, Kevin Menard <[EMAIL PROTECTED]> wrote:
>
> On Sep 7, 2005, at 8:12 PM, Gregor Melhorn wrote:
> >
> > Any idea what this could be? I'm getting this error with tapestry
> > 4.0 beta 4 and beta 5.
>
> Try it out in beta 6. Howard mad
About a month ago I had a problem in that I had to remove the column
header sorting html out of the table. It turned out that it was because
that LinkSubmit could not take an image as that causes the form rewind
to fail.
In
contrib/src/java/org/apache/tapestry/contrib/table/components/inserted
just got bit; is
org.apache.tapestry.contrib.table.model.IPrimaryKeyConvertor going away
in favor of org.apache.tapestry.components.IPrimaryKeyConverter?
tia,
Yori
-
To unsubscribe, e-mail: [EMAIL PROTECTE
This would work for small trees, not "really large trees" as requested in
the email. For insertions and moves, you are good as long as you can avoid
the "step" problem, however, when you do hit it, you have to adjust half the
nodes. It gives particularly poor performance when you have concurrent
Not really. Left and Right values can be incremented
in 'steps' and depending on the step size we could
insert many nodes without the need to recalculate
entire tree.
Deletion is always cheap - no recalculation required.
--- Karthik Abram <[EMAIL PROTECTED]> wrote:
>
> Thats a terrible model
Excellent, thanks :)
Looks like a better solution than mine, although not as good as a
solution that makes all listeners kick in after a full rewind without
additional coding.
Inge
Mark Stang wrote:
Inge,
The wiki has an example:
http://wiki.apache.org/jakarta-tapestry/FrequentlyAskedQue
Thats a terrible model for a dynamic tree though...
-Original Message-
From: Konstantin Ignatyev [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 08, 2005 3:37 PM
To: Tapestry users; [EMAIL PROTECTED]
Subject: Re: Presenting really large trees
Not necessarily about UI, but 'nested se
I actually have the same problem with tacos trees. :)
The first step in a solution has been solved by making the tree Partially
renderable, ie ajax capable. This does however still require an initial load
of the tree, and depending on your tree's size this could become very
unwieldy.
The sec
Not necessarily about UI, but 'nested set' tree
representation works extremely well and simplifies a
lot of typical hierarchical queries
http://www.dbmsmag.com/9603d06.html
I recomment Joe's book 'SQL for Smarties'
--- Tapestry Stuff <[EMAIL PROTECTED]> wrote:
> Hi, wondering if anyone has come
Hi, wondering if anyone has come up with a nicer way to present LARGE sets
of hierarchical data. Trees are fine but the large set makes the tree
unwieldy. We have been using tacos tree for a long time but now the set has
grown so large as to cause us grief with page layout and looong db queries.
Inge,
The wiki has an example:
http://wiki.apache.org/jakarta-tapestry/FrequentlyAskedQuestions/SubmitListener
regards,
Mark
-Original Message-
From: Inge Solvoll [mailto:[EMAIL PROTECTED]
Sent: Thu 9/8/2005 11:23 AM
To: Tapestry users
Subject: Re: Form rendering and listeners problem
Thanks, guys. No, I'm not using tag/selected values, I'm going to look
into that :)
Inge
Mark Stang wrote:
Inge,
I think that the only solution for 3 is what you are doing. We found that we
either had to put the buttons on the bottom of the screen after all of the
editable fields or use th
I would like to indent some of the options in my
IPropertySelectionModel. I tried to put 2 characters before the
text, but the '&' is escaped by the framework. Is there any way to skip
this escaping behaviour?
Inge
-
To uns
Hi Jesse,
thanks but that did not work either. The code in the function (the
"observer") is not executed. Fortunately it turns out that this is a bug
in overlib 4.00 which suppressed all window.onLoad functions. At least
in the current version 4.21 this seems to be fixed.
Werner
Jesse Kuhn
Ruben,
does Graphviz leave the images in a path that is "visible" from the
document root? In that case, you could do as simple as
and in the .java
public String getPathToImage() {
// determine the path to the image reading other environment parameters
// (visit, properties, etc)
retur
> Why not have the key as a persistent property and then load the company
> object in pageBeginRender()?
because it is a pain in the ass, especially when it comes to multiple
BOs properties per page and how about collections of BOs. I have a
squeezer that squeezes Hibernate objects, arrays of Hibe
On Sep 7, 2005, at 8:12 PM, Gregor Melhorn wrote:
Any idea what this could be? I'm getting this error with tapestry
4.0 beta 4 and beta 5.
Try it out in beta 6. Howard made a lot of changes to the Inspector
in beta 6.
--
Kevin
Gregor Melhorn web.de> writes:
> 53
> 54
> 55
> 56
Should be:
Please file a bug report in the Tapestry JIRA.
--
Author of an e-Book for learning Tapestry (http://www.agileskills2.org/EWDT)
-
To unsubscribe, e-mail
Paul Field db.com> writes:
> Unfortunately, the entire Company is being serialized into the http session
> and it would be far better if
> just the key was stored.
Why not have the key as a persistent property and then load the company
object in pageBeginRender()?
--
Author of an e-Book for le
On Sep 8, 2005, at 12:08 PM, [EMAIL PROTECTED] wrote:
Hello,
Do you know if there is a tools for the complete the differents
properties in Fr,De, EN during the Tapestry session ?
I've been pretty happy with the ResourceBundleEditor plugin for
Eclipse. NetBeans has a nice i18n editor
Aleksej ivs.lt> writes:
>
> How to access user roles from tapestry 4?
> I need analog of Request's isUserInRole( String ).
WebRequest does have an isUserInRole() method (since beta 4).
--
Author of an e-Book for learning Tapestry (http://www.agileskills2.org/EWDT)
---
Hello,
Do you know if there is a tools for the complete the differents
properties in Fr,De, EN during the Tapestry session ?
Best regards Cédric
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
Wang Wayne gmail.com> writes:
> 10
> 11
> 12
> 13
> 14
Use:
The default binding has been changed to ognl for all bindings
in .page files since beta 4.
--
Author of an e-Book for learning Tapestry (http://www.agileskills2.org/EWDT)
Hi Anjali
You could have a property (boolean) in Login page and before you return
back to Login page, you can set that property to true. By doing so, in
your Login page, you can use the @Conditional comp to decide whether to
output the message "welcome back from forget password page".
logi
Inge,
I think that the only solution for 3 is what you are doing. We found that we
either had to put the buttons on the bottom of the screen after all of the
editable fields or use the formListener. It is less elegant but I have about
75 screens with buttons all over the place and it works.
T
Another possibility is with and external page.
However I think that implement a service is a better way.
Here my ExternalPage code that I use for images and other files...
-
public class BinaryOutput extends BasePage implements IExternalPage {
private Long _persistentId;
Hey guys. I'm new here. :) Anyway, so lets so I have 2 sections of a
site, the main site and the admin site (located under /admin). Now if I
have a border component for the admin site called AdminBorder is there
any way that i can put that component in /admin rather than in /context?
Right now I ha
change
@InjectObject ("engine-service:dynimage")
public abstract DynImageService getDynImageService();
to
@InjectObject ("engine-service:dynimage")
public abstract IEngineService getDynImageService();
the reason for that is that your engine service will be a proxy
and not the engine service ob
Anyone?
Leonardo Quijano Vincenzi escribió:
How can I process page parameters?
I'd like to do the following:
1) Use mostly external URLs througout the whole application. So, every
page would be like: "/module/SomePage.html?param=value¶m2=value",
etc. That's bookmarkeable, also, and avoids th
What you need I think would be easily solved by taking a look at the
org.apache.tapestry.form.Form.js library file.
To get the desired result you could add this javascript to your page:
Tapestry.onsubmit("yourFormElementId", yourFunctionName);
You need this to happen in the initialization secti
On Thu, 2005-09-08 at 15:38 +0100, Adam Henderson Azudio wrote:
> Hi Rubens,
>
> Try:
>
> output is ResponseOutputStream
>
> BufferefImage image = ImageIO.read(yourInputStream);
>
>
> // WHOOPS! forgot...
> output.setContentType("image/jpeg");
>
> ImageIO.write(image,"jpg",output);
>
Adam,
On Thu, 2005-09-08 at 15:26 +0100, Joe Trewin wrote:
> You could implement a custom service to access the image source and
> stream it on to the client - I would guess this would be similar in
> concept to the asset service.
I was already thinking implementing this as a service might be the best
a
Sorry for posting this twice, but a lot of activity here yesterday.
Hoping someone will see this the second time around.
I need to disable the submit button after a user presses it. I have
found some examples how to do this. Some more complicated than others.
I am opting to go for the sim
Hi Rubens,
Try:
output is ResponseOutputStream
BufferefImage image = ImageIO.read(yourInputStream);
// WHOOPS! forgot...
output.setContentType("image/jpeg");
ImageIO.write(image,"jpg",output);
Good luck,
Adam
-
To unsub
Hi Rubens,
Try:
output is ResponseOutputStream
BufferefImage image = ImageIO.read(yourInputStream);
ImageIO.write(image,"jpg",output);
Good luck,
Adam
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-
You could implement a custom service to access the image source and
stream it on to the client - I would guess this would be similar in
concept to the asset service.
-Original Message-
From: rverlind [mailto:[EMAIL PROTECTED]
Sent: 08 September 2005 15:24
To: Tapestry users
Subject: Image
Is there any possibility I could show an image coming from an
InputStream using Tapestry?
The server needs to access Graphviz ( http://www.graphiz.org ) using JNI
to create image files from a graph description. The output image from
Graphviz is saved as a file (can't use a fixed file name, can be
If you're using Tapestry 4 you can use the 'defer' parameter for the
submit components. This causes the listeners to be called at the end of
the rewind (I believe).
If Tapestry 3 ... well, I'm afraid I don't know ...
-Original Message-
From: Inge Solvoll [mailto:[EMAIL PROTECTED]
Sent: 0
Hi
I guess this is a pretty common problem that has been discussed many
times on this list. But I haven't found any solutions yet while
searching the web.
The problem:
I have a couple of ListEdit components on my page, where I want to track
which of the elements have been checked when the l
You could make overlib use prototype to do it's onload event capture logic.
See http://www.sergiopereira.com/articles/prototype.js.html.
The code you'd want to look at might be something like this:
Event.observe(window, 'load', showMessage, false);
jesse
On 9/8/05, Werner Lehmann <[EMAIL PROT
Hi,
I have a problem with the datepicker component when used in combination
with the overlib popup/hint javascript library (1) on Mozilla based
browsers. Pages which use either datepicker or overlib work perfectly,
but if a page requires both datepicker and hints the datepicker does not
popup
Paul,
Nope, my hivemodule.xml looks ok, no spaces after the hyphen, its
just where gmane has put in line breaks.
Adam.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I am not sure of the solution to your problem but a quick observation is
that every "-" has a space after it e.g. "service- id" this does not seem
right.
Hope this helps
Paul
Adam Henderson <[EMAIL PROTECTED]> wrote:
Hi,
I'm attempting to add a new Engine Service to Tapestry 4, cannibalised
Hi All,
I Need help on how to display a message on my login page.
I have a scenario wherein where in I move from my login page to "forgot
Password" page, and in the forgot password page I have a submit button
wherein after all validation if successful I need to display a Message say
"
Hi All,
I need help
on knowing what's the component to be used in my .page and
.html files for the check box field.
Thanks in Advance,
Thanks & Regards
-
Ananya Goswami
Software Developer
-
mail:
[EMAIL PROT
Hi,
I'm attempting to add a new Engine Service to Tapestry 4,
cannibalised from ChartService to do something vaguely similar, but
I'm getting:
The value obtained using locator 'engine-
service:dynimage' () is not
compatible with the existing property (of type
com.azudio.project1.DynImag
What you can do is use the validation delegate to pass information -
then check this on the form listener.
There are 3 or 4 new listeners to the form (as of beta5 or 6): I think
success, cancel and refersh. maybe they serve your needs.
Cheers,
Ron
Joe Trewin:
Thanks Mark - an interesting s
Read thoroughly the quick start about forms here:
http://jakarta.apache.org/tapestry/QuickStart/forms.html
Also some excelent tutorials are to be found on the web who explain how
tapestry forms work.
Cheers,
Ron
Ananya Goswami:
I have added as per
your suggestion to my .html page but
Thunderbird does an excelent job! Of course, you have to build the
archive by being on the list for some time.
-Borut
On 8.9.2005 12:09, Martin Strand wrote:
Hi. :)
I was just wondering whether ther's a *searchable* archive anywhere
for this mailing list?
-Martin
Adam,
OK got it to work, the following is what I did along with a little
bit of code.
In hivemodule.xml:
interface="com.azudio.project1.MySqueezeAdaptor">
value="spring:myService" />
The Adaptor class:
*Note: This is
http://news.gmane.org/gmane.comp.java.tapestry.user
The link is on the Tapestry main page under the *Tapestry Community*
chapter (http://jakarta.apache.org/tapestry/#Tapestry+Community),
should you lose the direct link. =)
Martin Strand wrote:
Hi. :)
I was just wondering whether ther's a *se
Indeed it does. :) Thanks.
On Thu, 08 Sep 2005 12:09:15 +0200, Joe Trewin <[EMAIL PROTECTED]> wrote:
Hi,
I use the mail archive:
http://www.mail-archive.com/index.php?hunt=tapestry
Not the best interface, but does the job.
-Original Message-
From: Martin Strand [mailto:[EMAI
Hi,
I use the mail archive:
http://www.mail-archive.com/index.php?hunt=tapestry
Not the best interface, but does the job.
-Original Message-
From: Martin Strand [mailto:[EMAIL PROTECTED]
Sent: 08 September 2005 11:10
To: tapestry-user@jakarta.apache.org
Subject: Searchable ar
Hi all,
I'm using Tapestry 3.0.3.
I have a page that shows information about a company. It has a persistent
property 'company' that contains one of my business objects (a Company).
The page is bookmarkable, so I've implemented the IExternalPage interface and
use a custom ISqueezeAdaptor to con
Hi. :)
I was just wondering whether ther's a *searchable* archive anywhere for
this mailing list?
-Martin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Thanks Mark - an interesting solution! I'll see if I can adapt it for my
needs.
-Original Message-
From: Mark Stang [mailto:[EMAIL PROTECTED]
Sent: 07 September 2005 18:20
To: Tapestry users; Tapestry users
Subject: RE: Form listener control
In Tapestry 3, I have been doing something sim
I have added as per
your suggestion to my .html page but I am getting the following exception:
Unable to read OGNL expression '' of
[EMAIL PROTECTED]: $Login_0.booleanProperty
Do I need to add anything in my .page and .java file??
Thanks & Regards
-
Ananya Goswam
the check box will set the boolean property to true or false.
cheers,
Ron
ציטוט Anjali Abraham:
Hi All,
I am not able to find what can be the code to be added to my
.page, .html and in .java file if I want to add a check box field in my web
page.
I am using Teapestry4.0v for my w
Hi All,
I am not able to find what can be the code to be added to my
.page, .html and in .java file if I want to add a check box field in my web
page.
I am using Teapestry4.0v for my web page development.
Thanks in Advance,
Regards,
Anjali
77 matches
Mail list logo