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
-- 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
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
-- 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
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
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
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
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
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.
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"
>
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
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
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
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
14 matches
Mail list logo