-
1. Re: What would be the best way to reformat a
tom.baeyens Oct 18, 2005 5:12 PM (in response to davidsan1001)good question. now the read-only fields look similar cause i didn't know how to do it otherwise with plain jsf.
if you know how to do that in jsf. feel free to experiment and if it works, let us know, preferrably via a jira issue.
regards, tom. -
2. Re: What would be the best way to reformat a
kukeltje Oct 18, 2005 6:39 PM (in response to davidsan1001)working on it. If I remember during the day to send 'the' fax, I can check it in. Read-only variables render as normal text or as a disabled input. It is configurable (currently in web.xml)
Required vars are rendered even differently. css can be used to configure this.
I wonder why nobody asked for 'required' variables to be 'optional' if the process is just saved, but not advanced from a task. This currently does not work, so maybe nobody uses it or nobody dares to report it. -
3. Re: What would be the best way to reformat a
davidsan1001 Oct 18, 2005 7:10 PM (in response to davidsan1001)Are you saying this should be possible by changing the web.xml, but there is a bug with that that no one has reported. Or just that even now the read-only variables should not be showing up that way?
I was going down this path as a solution. I added this to task.jsp. It wasn't quite working so the sytax must be off a bit somewhere.
<h:column>
<c:choose>
<c:when test='${formParameter.readOnly == "readonly"}'>
<h:outputText value="#{formParameter.value}" />
</c:when>
<c:otherwise>
<h:inputText value="#{formParameter.value}" readonly="#{formParameter.readOnly}" />
</c:otherwise>
</c:choose>
</h:column> -
4. Re: What would be the best way to reformat a
davidsan1001 Oct 19, 2005 1:25 PM (in response to davidsan1001)I finally saw on a browser at my brothers house that the read only variables had grey backgrounds. I'm still investigating.
-
5. Re: What would be the best way to reformat a
kukeltje Oct 19, 2005 2:37 PM (in response to davidsan1001)No, I meant that either displaying readonly fields as an inputbox or just as outputtext is in my extension configurable in the web.xml.
-
6. Re: What would be the best way to reformat a
davidsan1001 Oct 19, 2005 3:01 PM (in response to davidsan1001)Can you elaborate?
I checked this web.xml "the only one I could find"
./src/resources/jbpm.war/WEB-INF/web.xml
but it only had the normal servlet and filter stuff. -
7. Re: What would be the best way to reformat a
kukeltje Oct 20, 2005 11:24 AM (in response to davidsan1001)It is not checked in yet.
-
8. Re: What would be the best way to reformat a
davidsan1001 Dec 15, 2005 10:12 PM (in response to davidsan1001)Any update on this or is it part a grander UI update?