Re: need help to connect MS ACCESS

2007-09-04 Thread dinesh kumar
hi , i am currently learning tapestry and im interested in knowing how MSACCESS is accessed via tapestry . if u know how plz help me. --dinesh- On 9/1/07, Jonathan Barker <[EMAIL PROTECTED]> wrote: > > > I think MS Access is a great tool, and I've built some amazing stuff on > it, > but

session variables and links

2007-09-04 Thread Michele Russo
Hello, I'm a new user of Tapestry. Please could you help me in solving the following problems: 1) I would like to extract an attribute from an url. For instance, if I've the following url: http://foo?name=xxx I want to extract the name and insert it as a session variable. 2) Next, I would l

Re: T5: using DOJO?

2007-09-04 Thread Christian Koeberl
Hello T5 developers! As everybody likes to have a different JavaScript Framework for Ajax use, it's probably the best to make that flexible as Kristian suggested in: https://issues.apache.org/jira/browse/TAPESTRY-1650 I think of something like tapestry-upload - you can use it or you can build y

Re: [T5] BeanEditForm - Edit a bean within a bean?

2007-09-04 Thread Erik Vullings
A quick-and-dirty way is to just replace the two beans with one bean with all required fields, just for editing :-) Erik On 9/4/07, Peter Beshai <[EMAIL PROTECTED]> wrote: > > I have a bean, Course, with a field of type CourseId, which has a > String department abbreviation and an Integer number.

Re: [T5] xml namespace support (facebook, fbml)

2007-09-04 Thread Charles Mason
On 8/31/07, Fernando Padilla <[EMAIL PROTECTED]> wrote: > Yes I've been looking all over the code. Right now I think that I have > two options. Could I get some more feedback? > > 1) hack :) >write a mixin that will go through the dom after rendering and > replace element/attribute names with

Re: session variables and links

2007-09-04 Thread Erik Vullings
Hi Michele, 1. Why would you do this? For example, you would normally do something like this in your mypage.html: Link text and something like this in your mypage.java: @Persist String myName; public void onActionFromName(String name) { myName = name; } 2. You can create a page in your java

Re: need help to connect MS ACCESS

2007-09-04 Thread D&J Gredler
You might want to investigate using this library: http://jackcess.sourceforge.net/ On 9/4/07, dinesh kumar <[EMAIL PROTECTED]> wrote: > > hi , > > i am currently learning tapestry and im interested in knowing how > MSACCESS is accessed via tapestry . if u know how plz help me. > --dinesh

tapestry components and applets

2007-09-04 Thread Jamie Counihan
Hi there, I'm having a few problems with creating a component that contains an applet in tapestry 4.1.2. I wanted my applet to play a simple mp3 file. The applet loaded on the first 2 attempts but did not load on subsequent requests. I then created a simple applet that did nothing to see how

Re: [OT]: IntelliJ and Tapestry

2007-09-04 Thread Kevin Menard
Thanks. That indeed did the trick. There's a bit more delay than in Eclipse, but not too bad. Now I guess I know what constitutes "frame deactivation". I thought it had to do with stack frames or something. -- Kevin On 9/3/07 11:51 AM, in article [EMAIL PROTECTED], "andyhot" <[EMAIL PROTECT

Re: [OT]: IntelliJ and Tapestry

2007-09-04 Thread Angelo Chen
hi, I'm using Intellij too, what's that frame deactivation means? A.C. nirvdrum wrote: > > Thanks. That indeed did the trick. There's a bit more delay than in > Eclipse, but not too bad. > > Now I guess I know what constitutes "frame deactivation". I thought it > had > to do with stack fra

Re: [OT]: IntelliJ and Tapestry

2007-09-04 Thread Kevin Menard
IntelliJ refers to its window as a frame, presumably because it is written in Swing. "frame deactivation" then means "when you switch the window". -- Kevin On 9/4/07 8:21 AM, in article [EMAIL PROTECTED], "Angelo Chen" <[EMAIL PROTECTED]> wrote: > > hi, > > I'm using Intellij too, what's th

Re: how to tile/stretch a header image in css

2007-09-04 Thread Ken nashua
Ok, so how does one instrument the usage of css3 thanks _ Get a FREE small business Web site and more from Microsoft® Office Live! http://clk.atdmt.com/MRT/go/aub0930003811mrt/direct/01/ -

RE: T5: Activation contexts

2007-09-04 Thread Joel Wiegman
I'm actually seeing the behavior Marcus is referring to, where all possible matches are applied in a specific order (In my previous post, I was only trying the 3-arg method). Either way, it's not really that much of an inconvenience. As long as the behavior is predictable I can code accordingly.

[T4]Injecting page into a Popup

2007-09-04 Thread Marcelo C. de Freitas
Hello Tapestry Gurus! Is there a simple way to inject a page into a popup window from an async listener in tapestry 4.1? -- Marcelo C. Freitas IM's: MSN: [EMAIL PROTECTED] ICQ: 24263609 Jabber: [EMAIL PROTECTED] GTalk: [EMAIL PROTECTED] Yahoo: baterausp

Re: [T4]Injecting page into a Popup

2007-09-04 Thread Marcelo C. de Freitas
Let me elaborate more on my issue. I want to open a page in a popup window, but I need to set some properties in it first. Hence, I thought it'd be best to use listeners and page injection to do so (returning the page with the properties set by the listener). The problem is: how can I open the re

JavaScript *.js, *.script - not showing up in markup

2007-09-04 Thread Ken nashua
Folks, I am trying to operate some JavaScript within a component T-4.1.2 It is not coming out in the rendering of the markup. Is there any magic to this...? Some flag that needs to be set? My component is rendering fine. Code follows: thanks Best regards Ken in nashua Customhead.script ht

Re: [T4]Injecting page into a Popup

2007-09-04 Thread Shing Hing Man
Have you tried DireckLink with a renderer ? Please take a look at the example on popups below. http://lombok.demon.co.uk/tapestry4Demo/app Shing --- "Marcelo C. de Freitas" <[EMAIL PROTECTED]> wrote: > Let me elaborate more on my issue. > > I want to open a page in a popup window, but I need

Re: JavaScript *.js, *.script - not showing up in markup

2007-09-04 Thread Igor Drobiazko
Some issues: 1) Move scaleHeader() into initCustomHead() is redundant. 2) Same for dojo.event.connect(); 3) What is the value of ${completer}? Where is it specified? br Igor On 9/4/07, Ken nashua <[EMAIL PROTECTED]> wrote: > > Folks, > > I am trying to operate some JavaScript within a

RE: [T4]Injecting page into a Popup

2007-09-04 Thread Jonathan Barker
What about implementing IExternalPage for the page you want in the popup, and passing the parameters through an ExternalLink? > -Original Message- > From: Marcelo C. de Freitas [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 04, 2007 10:56 AM > To: Tapestry users > Subject: Re: [T4]

Re: Help out Matt Raible: Looking for Web Framework Stories

2007-09-04 Thread Francois Armand
Howard Lewis Ship wrote: Matt Raible is looking for stories of how people chose a JVM Web Framework and how it worked out for them. I'd encourage all Tapestry users to drop in with a story or two. http://raibledesigns.com/rd/entry/choosing_a_jvm_web_framework1 Done :) -- Francois Armand E

Re: T5: Activation contexts

2007-09-04 Thread Nick Westgate
Keep an eye on this JIRA then: https://issues.apache.org/jira/browse/TAPESTRY-1730 Cheers, Nick. Joel Wiegman wrote: I'm actually seeing the behavior Marcus is referring to, where all possible matches are applied in a specific order (In my previous post, I was only trying the 3-arg method). E

Re: [T4]Injecting page into a Popup

2007-09-04 Thread Marcelo C. de Freitas
thanks for both answers! They both work and are awesome, but I think I'll stick with the renderer approach. 2007/9/4, Jonathan Barker <[EMAIL PROTECTED]>: > > What about implementing IExternalPage for the page you want in the popup, > and passing the parameters through an ExternalLink? > > > > ---

Re: JavaScript *.js, *.script - not showing up in markup

2007-09-04 Thread Ken nashua
Thanks Friend... completer was extra text taken from the autocompleter example... extraneous... I can put it in... should I... I am still trying to interpret this new framework for scripting. Below is what I have so far... any thoughts? Best regards Ken in nashua CustomHead.script --

Re: JavaScript *.js, *.script - not showing up in markup

2007-09-04 Thread Ken nashua
Still no rendering... on markup of this script. ? Any ideas... Best regards Ken in nashua CustomHead.script -- http://jakarta.apache.org/tapestry/dtd/Script_4_0.dtd";>

Re: JavaScript *.js, *.script - not showing up in markup

2007-09-04 Thread andyhot
I dont see the script getting included anywhere... Aren't you using http://tapestry.apache.org/tapestry4.1/components/general/script.html ? Ken nashua wrote: Still no rendering... on markup of this script. ? Any ideas... Best regards Ken in nashua CustomHead.script -

[T4] is it possible to dinamically update a from a page a component's component with ResponseBuilder?

2007-09-04 Thread Martino Piccinato
This is my situation: I have a page containing component ComponentA, this component contains another component (B), I want to dinamically/ajax update ComponentB (and just component B) from the main page. Is this possible at all? My idea was to delegate dynamic updating through first component, the

Re: JavaScript *.js, *.script - not showing up in markup

2007-09-04 Thread Ken nashua
Well... heck... thats what I am looking for. I didn't know it had to be included in the template. Thanks for pointing that out. I will give that a shot. Best regards Ken in nashua CustomHead.script -- http://jakarta.apache.org/tapestry/dtd/Script_4_0.dtd";>

Re: JavaScript *.js, *.script - not showing up in markup

2007-09-04 Thread Ken nashua
I thought by including it in the JWC file it would be taken care of. Best regards Ken in nashua CustomHead.script -- http://jakarta.apache.org/tapestry/dtd/Script_4_0.dtd";>

Re: JavaScript *.js, *.script - not showing up in markup

2007-09-04 Thread Ken nashua
Andy, Regarding the ID in the script... who initiates that? Is it suppose to be a parameter in my java module? I am wondering where If at all I need to specify... or if there is a general way for tracking ID. I guess my usage of ID is just for my Customhead component... although I have not u

Re: JavaScript *.js, *.script - not showing up in markup

2007-09-04 Thread Ken nashua
Andy, I am all set... I will change my usage of ID and just operate the way COMPONENT is used in the page you sent me to. Thanks _ It’s the Windows Live™ Hotmail® you love — on your phone! http://www.windowsmobile.com/hotmailmob

Re: JavaScript *.js, *.script - not showing up in markup

2007-09-04 Thread Ken nashua
Andy, Below is my border.html... I am receiving NPE on "ognl:components.headComponent" Is that a valid usage of providing the input of my component/widget? It is declared at the top in my ? BORDER.HTML script="/org/trails/demo/components/CustomHead.script" co

Re: JavaScript *.js, *.script - not showing up in markup

2007-09-04 Thread Ken nashua
Well I cannot do anything with this script... getScript is failing java.lang.NullPointerException Stack Trace: org.apache.tapestry.util.xml.RuleDirectedParser.parse(RuleDirectedParser.java:122) org.apache.tapestry.script.ScriptParser.parse(ScriptParser.java:112) org.apache.tapestry.engi

Re: JavaScript *.js, *.script - not showing up in markup

2007-09-04 Thread Ken nashua
Ok, I added abstract getScript()... to my component and others. I am receiving a parse exception... see bottom Can someone look at my script and tell whats wrong? SCRIPT FOLLOWS: http://jakarta.apache.org/tapestry/dtd/Script_4_0.dtd";> RE: T5 on JDK 1.6 or newer
Although this is really not a good way to investigate a bug (lack of time), I still want to report that our application has been running fine since upgrading to "JVM 6 update 2". So it seems that it was the JVM bug Howard mentioned before and it is indeed fixed. If it shows up again, I'll post abo

Re: T3: CheckBox

Hi Nick, Is there any method that I can use to create a ObjectPropertySelectionModel model instead of StringPropertySelectionModel as below? public static final IPropertySelectionModel theModel = new StringPropertySelectionModel(new String[] {"a", "b", "c"}); My page displays a li

A experimental JPA Module/Service

Hi all! I create one new Service for Tapestry, for use with JPA. The Service is like Tapestry-Hibernate, and I call Tapestry-JPA. For first release go to http://pdtec.dev.java.net/dist/tapestry-jpa-0.0.2.jar Thanks;

T5: How to use org.apache.tapestry.corelib.components.Select ?

Dear all, I had a problem using the Select component. I have a List of Members that I want to populate into the Select component. Here is my html template: And here's my Page class: @Inject @Parameter Member member; private List members; But I get this exception: No adapter from type com.taxa

Re: A experimental JPA Module/Service

could you give a little bit explanation bout how to use it...? thnx u... dwi ardi irawan ~ http://dwiardiirawan.blogspot.com ~ Carlos Delfino Carvalho Pinheiro wrote: Hi all! I create one new Service for Tapestry, for use with JPA. The Service is like Tapestry-Hibernate, and I call Tapestry-

Re: T5: How to use org.apache.tapestry.corelib.components.Select ?

Even if you supply a ValueEncode you might run into a bug in T5.0.5. https://issues.apache.org/jira/browse/TAPESTRY-1597 (This was just fixed in SVN.) Anyway, your first stop for questions like this should be: http://wiki.apache.org/tapestry/Tapestry5HowTos Cheers, Nick. Joshua Jackson wrote:

Re: A experimental JPA Module/Service

Can you also upload the source so we can study it? Thanks in advance. On 9/5/07, Carlos Delfino Carvalho Pinheiro <[EMAIL PROTECTED]> wrote: > Hi all! > > I create one new Service for Tapestry, for use with JPA. > > The Service is like Tapestry-Hibernate, and I call Tapestry-JPA. > > For first re

T5: URL and locale

Hi, T5's localization works well, however some user want want to see the locale as part of url, example: http://mydomain.com/en/search http://mydomain.com/zh/search Any tips to accomplish this? Thanks, A.C. -- View this message in context: http://www.nabble.com/T5%3A-URL-and-locale-tf43819

Re: JavaScript *.js, *.script - not showing up in markup

Parameter "component" is not allowed for Script http://tapestry.apache.org/tapestry4.1/components/general/script.html Well, I can't promise anythig but if you post all your code its easier to help you. On 9/4/07, Ken nashua <[EMAIL PROTECTED]> wrote: > > Ok, I added abstract getScript()... to my

Re: A experimental JPA Module/Service

There is a CVS repository: https://pdtec.dev.java.net/source/browse/pdtec/ Cheers, Nick. Joshua Jackson wrote: Can you also upload the source so we can study it? Thanks in advance. On 9/5/07, Carlos Delfino Carvalho Pinheiro <[EMAIL PROTECTED]> wrote: Hi all! I create one new Service for T

Re: T5: How to use org.apache.tapestry.corelib.components.Select ?

Again, Thanks very much Nick. I'm interested with the code from here: http://www.phy6.net/wiki/tiki-index.php?page=Tapestry+5+GenericSelectionModel I think it would be great if it is bundled in T5 core. :) Thanks in advance On 9/5/07, Nick Westgate <[EMAIL PROTECTED]> wrote: > Even if you supp