Dev at weitling pisze:
Hi people, hi Grzegorz,
I have a CForm (2.1.10) where an action in an ajaxified form shall
change a variable preset in the flow. This variable is later used in the
template in a JX/JEXL tag. Now my problem:
- When I have the variable as form attribute I can use it in the action
but don't have access to it in my Jexl
Are you sure? My gut feeling is that it may be not true.
- When I use cocoon.context.setAttribute() access is fine but the view
doesn't update the Jexl part
I don't parse this sentence. What does "the view doesn't update the Jexl part"
mean?
- When I use the variable in a business object provided to
form.showForm() I can use it in the Jexl but not in action
This may be true, but I don't know details.
Grzegorz, is this what was your Object model refactoring was/is about?
YES. My work is about simplifying things so it should be always obvious how to access and pass various bits of data. I have not touch forms
stuff yet, though.
--
Grzegorz Kossakowski
http://reflectingonthevicissitudes.wordpress.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]