Failed model update

2008-04-11 Thread Zhen, Jane
With following code, I was trying to udpate a variable in a backing bean with a HtmlInputText component in viewRoot. But the model is never updated. the value is stil the initial one. Could anyone see what went wrong here? this is from a previous post code sample. thank you so much Jane vc

RE: [Shale Clay]

2008-04-11 Thread Gary VanMatre
-- Original message -- From: "Zheng, Xiahong" <[EMAIL PROTECTED]> > Yes, I am use JSF1.2 RI. It's been working for me (at least, the upload > part of tomahawk). I am getting the current problem when I added shale > in the mix. > I see. It sounds like the clay vie

RE: [Shale Clay]

2008-04-11 Thread Zheng, Xiahong
Yes, I am use JSF1.2 RI. It's been working for me (at least, the upload part of tomahawk). I am getting the current problem when I added shale in the mix. -Original Message- From: Gary VanMatre [mailto:[EMAIL PROTECTED] Sent: Friday, April 11, 2008 4:15 PM To: user@shale.apache.org Subjec

RE: [Shale Clay]

2008-04-11 Thread Gary VanMatre
-- Original message -- From: "Zheng, Xiahong" <[EMAIL PROTECTED]> > I tried it and didn't seem to make a difference; it doesn't invoke the > action. It's really weird; without the "enctype" attribute, it at least > invokes the action; I suspect on postback, JSF doe

RE: [Shale Clay]

2008-04-11 Thread Zheng, Xiahong
Yes, I had in my tempalte. -Original Message- From: Richard Eggert [mailto:[EMAIL PROTECTED] Sent: Friday, April 11, 2008 3:47 PM To: user@shale.apache.org Subject: RE: [Shale Clay] This is just a shot in the dark, but have you tried wrapping the form (or the whole page) in a tag that

RE: [Shale Clay]

2008-04-11 Thread Richard Eggert
This is just a shot in the dark, but have you tried wrapping the form (or the whole page) in a tag that has jsfid="f:view"? Rich Eggert Member of Technical Staff Proteus Technologies, LLC http://www.proteus-technologies.com -Original Message- From: Zheng, Xiahong [mailto:[EMAIL PROTECT

RE: [Shale Clay]

2008-04-11 Thread Zheng, Xiahong
I tried it and didn't seem to make a difference; it doesn't invoke the action. It's really weird; without the "enctype" attribute, it at least invokes the action; I suspect on postback, JSF doesn't restore the view correctly because if I change my "javax.faces.STATE_SAVING_METHOD" from client to "s

Re: [Shale Clay]

2008-04-11 Thread Ryan Wynn
On Fri, Apr 11, 2008 at 2:50 PM, Zheng, Xiahong <[EMAIL PROTECTED]> wrote: > I thought about this, but tomahawk doesn't seem to have a form > component. > > > > -Original Message- > From: Gary VanMatre [mailto:[EMAIL PROTECTED] > Sent: Friday, April 11, 2008 1:35 PM > To: user@shale.ap

RE: [Shale Clay]

2008-04-11 Thread Zheng, Xiahong
I thought about this, but tomahawk doesn't seem to have a form component. -Original Message- From: Gary VanMatre [mailto:[EMAIL PROTECTED] Sent: Friday, April 11, 2008 1:35 PM To: user@shale.apache.org Subject: RE: [Shale Clay] From: "Zheng, Xiahong" <[EMAIL PROTECTED]> > Thanks again.

RE: [Shale Clay]

2008-04-11 Thread Gary VanMatre
From: "Zheng, Xiahong" <[EMAIL PROTECTED]> > Thanks again. I have another question. How does shale work with > fileload? I am trying to use t:fileUpload from tomahawk. I copied the > component definition into my clay-config.xml > >componentType="org.apache.myfaces.HtmlInputFileUpload" >

RE: [Shale Clay]

2008-04-11 Thread Richard Eggert
I don't see anything wrong with what you've written there (I would add type="file" to your tag so that it looks right if you view it offline in a browser, but that shouldn't affect how Clay treats it). Does it let you select a file before submitting? Double-check to make sure that you don't

RE: [Shale Clay]

2008-04-11 Thread Zheng, Xiahong
Thanks again. I have another question. How does shale work with fileload? I am trying to use t:fileUpload from tomahawk. I copied the component definition into my clay-config.xml . And I added the following in my html form When I hit the submit button, action

Re: Need to escape special characters in Shale validator script

2008-04-11 Thread Gary VanMatre
You might try wrapping the script in a CDATA before trying to escape the JS. -- Original message -- From: Jeff Tsay <[EMAIL PROTECTED]> > Hi, > > I'm trying to use Shale validator with xulfaces. (XUL is a user > interface language that is a type of XML) The

RE: [Shale Clay]

2008-04-11 Thread Richard Eggert
Yes. Basically, you would have to define a component that inherits from h:dataTable, and give it child elements that inherit from h:column. Each of those child elements would then contain children that make up the content of your columns. Rich Eggert Member of Technical Staff Proteus Technolo